:root {
  --ink: #10252c;
  --ink-soft: #31474e;
  --paper: #f4f0e8;
  --white: #fffdf9;
  --sage: #b5ccbd;
  --mint: #dce9de;
  --gold: #be9358;
  --line: rgba(16, 37, 44, .17);
  --shadow: 0 28px 70px rgba(11, 31, 37, .16);
  --serif: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 clamp(1.25rem, 4vw, 5rem); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(244,240,232,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { display: grid; place-items: center; width: 58px; height: 50px; }
.brand-logo img { display: block; width: 55px !important; max-width: 55px !important; height: 48px !important; max-height: 48px !important; object-fit: contain; object-position: center; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.brand-name span { color: #597768; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.7vw, 2.7rem); font-size: .89rem; font-weight: 650; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: #597768; }
.nav-cta { padding: .65rem 1.05rem; border: 1px solid var(--ink); border-radius: 100px; }
.menu-button { display: none; background: none; border: 0; padding: .5rem; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 4px; background: var(--ink); }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; max-width: 1500px; margin: 0 auto; padding: 150px clamp(1.5rem, 7vw, 7rem) 90px; overflow: hidden; }
.eyebrow, .mini-label { margin: 0 0 1rem; font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { color: #587466; }
h1, h2, h3, blockquote { font-family: var(--serif); }
h1 { max-width: 850px; margin: 0; font-size: clamp(3.3rem, 6.2vw, 6.7rem); line-height: .96; letter-spacing: -.055em; font-weight: 700; }
.hero-lead { max-width: 700px; margin: 2rem 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.35rem; border-radius: 100px; font-weight: 750; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--ink); color: white; }
.text-button { gap: .6rem; }
.outline { border: 1px solid rgba(255,255,255,.65); color: white; }
.full { width: 100%; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: .2rem; }
.hero-facts dt { font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.hero-facts dd { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 580px; }
.hero-visual::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); }
.visual-card { position: relative; z-index: 1; width: min(420px, 88%); transform: rotate(2.5deg); background: var(--white); box-shadow: var(--shadow); }
.visual-topline { display: flex; justify-content: space-between; padding: .9rem 1rem; border-bottom: 1px solid var(--line); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.lot-image { display: grid; place-items: center; min-height: 325px; background: #e4e5e0; }
.lot-image img { width: 68%; }
.visual-content { padding: 1.4rem 1.5rem 1.5rem; }
.visual-content h2 { margin: 0 0 1rem; font-size: 1.65rem; }
.progress { height: 5px; background: #dde3df; }
.progress span { display: block; width: 67%; height: 100%; background: var(--gold); }
.stage-row { display: flex; justify-content: space-between; margin-top: .55rem; color: var(--ink-soft); font-size: .65rem; }
.seal { position: absolute; z-index: 2; right: 2%; bottom: 10%; display: grid; place-items: center; width: 108px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-family: var(--serif); font-weight: 700; text-align: center; transform: rotate(-9deg); }

.statement { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 10vw, 12rem); background: var(--white); text-align: center; }
.statement p { max-width: 1100px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2rem, 4.3vw, 4.7rem); line-height: 1.12; letter-spacing: -.035em; }
.statement .statement-accent { margin-top: .35rem; color: #627f70; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 6rem; max-width: 1250px; margin: 0 auto 4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 4.5vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p:last-child { align-self: end; max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1400px; margin: 0 auto; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-card { min-height: 330px; padding: 1.5rem; border-right: 1px solid var(--line); }
.process-card:first-child { border-left: 1px solid var(--line); }
.process-card > span { color: #71877d; font-size: .72rem; font-weight: 800; }
.process-card h3 { margin: 6rem 0 1rem; font-size: 1.55rem; line-height: 1.12; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.pilot-section { background: var(--ink); }
.pilot-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(4rem, 8vw, 9rem); max-width: 1300px; margin: 0 auto; color: white; }
.light { color: var(--sage); }
.pilot-intro h2 { margin: 0 0 1.5rem; font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.pilot-intro > p:not(.eyebrow) { color: #c7d1d2; }
.pilot-intro .button { margin-top: 1.5rem; }
.pilot-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.pilot-actions .button { margin-top: 0; }
.demo-button { background: var(--sage); color: var(--ink); }
.pilot-specs { margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.pilot-specs div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.pilot-specs dt { color: var(--sage); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pilot-specs dd { margin: 0; font-family: var(--serif); font-size: 1.18rem; }

.guarantees-section { background: var(--white); }
.section-heading.narrow { grid-template-columns: 1fr; max-width: 1000px; margin-left: auto; margin-right: auto; text-align: center; }
.guarantee-layout { display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(3rem, 8vw, 8rem); max-width: 1300px; margin: 0 auto; }
.guarantee { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.guarantee:last-child { border-bottom: 1px solid var(--line); }
.guarantee > span { color: #71877d; font-weight: 800; }
.guarantee h3 { margin: 0 0 .5rem; font-size: 1.45rem; }
.guarantee p { margin: 0; color: var(--ink-soft); }
.control-card { align-self: center; padding: clamp(2rem, 4vw, 3.5rem); background: var(--mint); }
.control-card blockquote { margin: 0; font-size: clamp(1.75rem, 2.7vw, 2.6rem); line-height: 1.15; }
.control-divider { width: 60px; height: 1px; margin: 2rem 0; background: var(--ink); }
.control-card > p:last-child { margin-bottom: 0; }

.economics-section { padding-top: 0; background: var(--white); }
.economics-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; max-width: 1300px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem); border: 1px solid var(--line); background: var(--paper); }
.economics-card h2 { margin: 0; font-size: clamp(2.3rem, 3.8vw, 4rem); line-height: 1.05; }
.economics-card > div:last-child { align-self: end; color: var(--ink-soft); font-size: 1.05rem; }
.legal-note { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }

.contact-section { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(4rem, 10vw, 10rem); max-width: 1400px; margin: 0 auto; }
.contact-copy h2 { margin: 0 0 1.5rem; font-size: clamp(3rem, 5vw, 5.7rem); line-height: 1; letter-spacing: -.05em; }
.contact-copy > p:last-child { max-width: 650px; color: var(--ink-soft); }
.contact-card { align-self: center; padding: 2.3rem; background: var(--white); box-shadow: var(--shadow); }
.contact-card h3 { margin: 0; font-size: 1.7rem; }
.contact-card .button { margin-top: 1.2rem; font-size: .87rem; }
.privacy-copy { color: var(--ink-soft); font-size: .7rem; }
.site-footer { display: flex; justify-content: space-between; gap: 3rem; padding: 3rem clamp(1.5rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand p, .footer-meta p { margin: .2rem 0; color: var(--ink-soft); font-size: .75rem; }
.footer-meta { text-align: right; }

.legal-page { min-height: 100vh; background: var(--white); }
.legal-page .site-header { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-main { max-width: 900px; margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 1.5rem; }
.legal-main h1 { max-width: none; font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-main .legal-intro { max-width: 720px; margin: 1.5rem 0 4rem; color: var(--ink-soft); font-size: 1.1rem; }
.legal-main section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal-main h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main address { font-style: normal; }
.legal-main .back-link { display: inline-flex; margin-top: 2rem; font-weight: 750; text-decoration: none; }

.demo-page { min-height: 100vh; background: #eef0ec; }
.demo-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 clamp(1rem, 4vw, 4rem); background: rgba(255,253,249,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.demo-header-actions { display: flex; align-items: center; gap: 1rem; }
.demo-nav { display: flex; align-items: center; gap: 1.15rem; }
.demo-nav a { color: var(--ink-soft); font-size: .72rem; font-weight: 750; text-decoration: none; }
.demo-nav a:hover { color: var(--ink); }
.demo-back { font-size: .8rem; font-weight: 750; text-decoration: none; }
.demo-status { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 100px; background: #f0e7d7; color: #6f4e24; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.demo-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.demo-main { max-width: 1450px; margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem) 7rem; }
.demo-notice { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; padding: 1rem 1.2rem; border: 1px solid #d8c49f; background: #fff8ea; color: #604b2b; font-size: .82rem; }
.demo-notice strong { text-transform: uppercase; letter-spacing: .08em; }
.demo-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; margin-bottom: 3.2rem; }
.demo-hero h1 { max-width: 820px; font-size: clamp(3.2rem, 6vw, 6.8rem); }
.demo-hero p:not(.eyebrow) { max-width: 600px; margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); align-self: stretch; border: 1px solid var(--line); background: var(--white); }
.countdown div { display: grid; place-items: center; align-content: center; min-height: 120px; border-right: 1px solid var(--line); }
.countdown div:last-child { border-right: 0; }
.countdown strong { font-family: var(--serif); font-size: 2rem; }
.countdown span { color: var(--ink-soft); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.demo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 3rem; border: 1px solid var(--line); background: var(--white); }
.demo-kpis div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.demo-kpis div:last-child { border-right: 0; }
.demo-kpis dt { color: var(--ink-soft); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.demo-kpis dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.demo-toolbar h2 { margin: 0; font-size: 2.2rem; }
.demo-toolbar > div:first-child { max-width: 690px; }
.section-copy { margin: .45rem 0 0; color: var(--ink-soft); font-size: .92rem; }
.filter-group { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-button { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--ink); font: 700 .75rem var(--sans); cursor: pointer; }
.filter-button.active { background: var(--ink); color: white; }
.lot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.demo-lot { overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .2s, box-shadow .2s; }
.demo-lot:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(16,37,44,.1); }
.lot-art { position: relative; display: grid; place-items: center; min-height: 250px; overflow: hidden; background: var(--lot-bg, #dce9de); }
.lot-art img { width: min(76%, 245px); height: 190px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(16,37,44,.14)); transition: transform .25s ease; }
.demo-lot:hover .lot-art img { transform: translateY(-4px) scale(1.025); }
.lot-id { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: .35rem .55rem; background: rgba(255,255,255,.8); font-size: .65rem; font-weight: 850; }
.lot-body { padding: 1.3rem; }
.lot-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.lot-body h3 { margin: .6rem 0 1.2rem; font-size: 1.45rem; }
.lot-state { min-height: 2.8em; margin: -0.5rem 0 1rem; color: var(--ink-soft); font-size: .74rem; }
.bid-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.bid-row span { color: var(--ink-soft); font-size: .65rem; text-transform: uppercase; }
.bid-row strong { display: block; font-family: var(--serif); font-size: 1.6rem; }
.watch-button { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 1rem; }
.watch-button.active { background: var(--ink); color: white; }
.lot-actions { display: flex; align-items: center; gap: .55rem; }
.detail-button { padding: .55rem .75rem; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: 750 .7rem var(--sans); cursor: pointer; }
.demo-block { scroll-margin-top: 105px; }
.buyer-section, .controls-section, .settlement-section { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.demo-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: 2.4rem; }
.demo-section-heading h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.03; }
.demo-section-heading > p { max-width: 590px; margin: 0; color: var(--ink-soft); }
.buyer-flow { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; border: 1px solid var(--line); background: var(--white); list-style: none; }
.buyer-flow li { min-height: 220px; padding: 1.25rem; border-right: 1px solid var(--line); }
.buyer-flow li:last-child { border-right: 0; }
.buyer-flow span { color: #6f877b; font-size: .7rem; font-weight: 850; }
.buyer-flow strong { display: block; margin-top: 3.2rem; font-family: var(--serif); font-size: 1.2rem; }
.buyer-flow p { margin: .5rem 0 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.municipal-panel { margin: 5rem calc(-1 * clamp(1rem, 4vw, 4rem)) 0; padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem); background: var(--ink); color: white; }
.demo-section-heading.light > p { color: #c7d1d2; }
.municipal-panel .eyebrow { color: var(--sage); }
.panel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 1.2rem; border: 1px solid rgba(255,255,255,.17); }
.panel-kpis div { padding: 1.35rem; border-right: 1px solid rgba(255,255,255,.17); }
.panel-kpis div:last-child { border-right: 0; }
.panel-kpis dt { color: #acbbbd; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.panel-kpis dd { margin: .25rem 0 0; font-family: var(--serif); font-size: 2rem; }
.panel-kpis small { color: var(--sage); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.panel-card { padding: 1.5rem; background: #17333c; border: 1px solid rgba(255,255,255,.12); }
.panel-card-wide { grid-column: 1 / -1; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid currentColor; border-color: rgba(255,255,255,.16); }
.card-heading h3 { margin: 0; font-size: 1.3rem; }
.card-heading > span { color: #acbbbd; font-size: .68rem; text-transform: uppercase; }
.bar-list { display: grid; gap: 1rem; padding-top: 1.25rem; }
.bar-list span { display: flex; justify-content: space-between; font-size: .75rem; }
.bar-list i { display: block; width: var(--bar); height: 8px; background: var(--sage); }
.funnel { margin: 1rem 0 0; }
.funnel div { display: flex; justify-content: space-between; padding: .55rem .75rem; margin: .35rem auto; background: rgba(181,204,189,.14); }
.funnel div:nth-child(1) { width: 100%; }.funnel div:nth-child(2) { width: 88%; }.funnel div:nth-child(3) { width: 76%; }.funnel div:nth-child(4) { width: 64%; }
.funnel dt { font-size: .75rem; }.funnel dd { margin: 0; font-family: var(--serif); font-weight: 700; }
.incident-list > div { display: grid; grid-template-columns: 70px 1fr 30px; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.incident-list > div:last-child { border: 0; }
.incident-list p { margin: 0; }.incident-list small { display: block; color: #acbbbd; }
.severity { padding: .3rem .45rem; border-radius: 100px; text-align: center; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.severity.low { background: #dce9de; color: var(--ink); }.severity.medium { background: #f0e0b9; color: #594018; }
.trace-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.trace-section h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1.02; }
.trace-list { margin: 0; padding: 0; list-style: none; }
.trace-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.trace-list strong { font-family: var(--serif); }
.trace-list strong small { display: block; margin-top: .2rem; color: var(--ink-soft); font-family: var(--sans); font-size: .7rem; font-weight: 500; }
.trace-list time { color: var(--ink-soft); font-size: .72rem; }
.trace-check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); font-weight: 850; }
.trace-check.pending { background: #eee5d6; }
.controls-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.controls-grid article { padding: 1.4rem; border-right: 1px solid var(--line); }
.controls-grid article:last-child { border: 0; }
.controls-grid article > span { color: #70857a; font-size: .7rem; font-weight: 850; }
.controls-grid h3 { margin: 2.5rem 0 .5rem; font-size: 1.35rem; }
.controls-grid p, .controls-grid li { color: var(--ink-soft); font-size: .78rem; }
.controls-grid ul { padding-left: 1.1rem; }
.document-register { margin-top: 1.2rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--white); }
.document-register .card-heading { border-color: var(--line); }
.document-register .card-heading > span { color: var(--ink-soft); }
.document-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.document-row:last-child { border: 0; }
.document-row > span { padding: .35rem; background: var(--mint); font-size: .62rem; font-weight: 850; text-align: center; }
.document-row p { margin: 0; }.document-row small { display: block; color: var(--ink-soft); }.document-row > b { color: #587466; font-size: .7rem; text-transform: uppercase; }
.settlement-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.2rem; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap caption { padding: 1.15rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; text-align: left; }
.table-wrap th, .table-wrap td { padding: .9rem 1rem; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table-wrap th { color: var(--ink-soft); font-size: .66rem; text-transform: uppercase; }
.table-wrap td { font-size: .78rem; }
.table-status { padding: .3rem .5rem; border-radius: 100px; background: var(--mint); font-size: .62rem; font-weight: 800; }
.settlement-summary { padding: 1.5rem; background: var(--ink); color: white; }
.settlement-summary dl { margin: 0; }
.settlement-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.settlement-summary dt { color: #bdcacc; font-size: .75rem; }.settlement-summary dd { margin: 0; font-family: var(--serif); }
.settlement-summary .total { margin-top: .5rem; font-weight: 800; }.settlement-summary .total dt { color: white; }
.settlement-summary > p:last-child { margin: 1.3rem 0 0; color: #bdcacc; font-size: .72rem; }
.close-demo { max-width: 900px; margin: 6rem auto 0; text-align: center; }
.close-demo h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.04; }.close-demo > p:not(.eyebrow) { max-width: 650px; margin: 1.2rem auto 1.8rem; color: var(--ink-soft); }
.lot-dialog { width: min(820px, calc(100% - 2rem)); max-height: 90vh; padding: clamp(1.4rem, 4vw, 3rem); border: 0; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.lot-dialog::backdrop { background: rgba(7,23,28,.7); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 1.4rem; cursor: pointer; }
.lot-dialog h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4rem); }.dialog-lead { color: var(--ink-soft); }
.lot-specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1.5rem 0; border: 1px solid var(--line); }
.lot-specs div { padding: .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.lot-specs div:nth-child(4n) { border-right: 0; }.lot-specs div:nth-last-child(-n+4) { border-bottom: 0; }
.lot-specs dt { color: var(--ink-soft); font-size: .6rem; font-weight: 800; text-transform: uppercase; }.lot-specs dd { margin: .25rem 0 0; font-family: var(--serif); font-size: .95rem; }
.dialog-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.dialog-columns > div { padding: 1rem; background: #eef0ec; }.dialog-columns h3 { margin: 0; }.dialog-columns li { color: var(--ink-soft); font-size: .76rem; }
.dialog-note { margin-top: 1rem; padding: .8rem 1rem; background: #fff8ea; color: #604b2b; font-size: .72rem; }
.demo-footer { padding: 2rem clamp(1rem,4vw,4rem); background: var(--ink); color: white; text-align: center; }
.demo-footer p { margin: 0; color: #c7d1d2; font-size: .8rem; }

.access-page { min-height: 100vh; background: var(--ink); }
.access-layout { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.access-intro { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 6vw, 6rem); background: var(--paper); }
.access-intro > div { max-width: 760px; }
.access-intro h1 { font-size: clamp(3.4rem, 7vw, 7.4rem); }
.access-intro > div > p:last-child { max-width: 650px; margin-top: 1.8rem; color: var(--ink-soft); font-size: 1.05rem; }
.access-legal { margin: 3rem 0 0; color: var(--ink-soft); font-size: .72rem; }
.access-card { align-self: center; width: min(560px, calc(100% - 3rem)); margin: 3rem auto; padding: clamp(2rem, 5vw, 4.5rem); background: var(--white); box-shadow: var(--shadow); }
.access-card h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.06; }
.access-card > p:not(.mini-label) { color: var(--ink-soft); }
.access-form { display: grid; gap: .7rem; margin: 2rem 0; }
.access-form label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.access-form input { width: 100%; min-height: 54px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font: 700 1.05rem var(--sans); letter-spacing: .08em; }
.access-form input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.access-form button { margin-top: .4rem; border: 0; cursor: pointer; }
.access-error { margin: 1rem 0; padding: .8rem 1rem; border-left: 3px solid #9c3f32; background: #f8e8e5; color: #6c261e; font-size: .82rem; }
.access-request { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.access-request p { margin: .35rem 0; color: var(--ink-soft); font-size: .8rem; }
.access-request a { font-size: .8rem; font-weight: 800; }
.access-back { display: inline-flex; margin-top: 2rem; color: var(--ink-soft); font-size: .75rem; font-weight: 750; text-decoration: none; }
.locked { overflow: hidden; }
.locked > :not(.site-gate) { display: none !important; }
.site-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow-y: auto; padding: 1rem; background: var(--ink); }
.site-gate[hidden] { display: none; }
.gate-panel { width: min(560px, 100%); padding: clamp(2rem, 5vw, 4rem); background: var(--white); box-shadow: var(--shadow); }
.gate-panel .brand-logo { margin-bottom: 2rem; }
.gate-panel h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.gate-panel > p:not(.eyebrow) { color: var(--ink-soft); }
.gate-form { display: grid; gap: .7rem; margin: 2rem 0; }
.gate-form label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gate-form input { min-height: 54px; padding: .8rem 1rem; border: 1px solid var(--line); color: var(--ink); font: 700 1.05rem var(--sans); }
.gate-form button { border: 0; cursor: pointer; }
.gate-error { margin: 0; color: #8b3025; font-size: .78rem; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 530px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:last-child { grid-column: 1 / -1; min-height: 230px; }
  .pilot-panel, .guarantee-layout, .economics-card, .contact-section { grid-template-columns: 1fr; }
  .contact-card { max-width: 520px; }
  .demo-hero, .trace-section { grid-template-columns: 1fr; }
  .lot-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-nav { display: none; }
  .buyer-flow { grid-template-columns: repeat(3, 1fr); }
  .buyer-flow li:nth-child(3) { border-right: 0; }.buyer-flow li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .controls-grid { grid-template-columns: repeat(2, 1fr); }.controls-grid article:nth-child(2) { border-right: 0; }.controls-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .settlement-layout { grid-template-columns: 1fr; }
  .access-layout { grid-template-columns: 1fr; }
  .access-intro { min-height: 540px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 0; }
  .nav-cta { margin-top: .5rem; text-align: center; }
  .hero { padding-top: 120px; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-facts { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:first-child { min-height: 240px; border-left: 1px solid var(--line); }
  .process-card:last-child { grid-column: auto; }
  .process-card h3 { margin-top: 3rem; }
  .pilot-specs div { grid-template-columns: 1fr; }
  .economics-card { gap: 2rem; }
  .site-footer { flex-direction: column; }
  .footer-meta { text-align: left; }
  .demo-header-actions .demo-status { display: none; }
  .demo-notice { align-items: flex-start; flex-direction: column; }
  .countdown, .demo-kpis { grid-template-columns: repeat(2, 1fr); }
  .countdown div:nth-child(2), .demo-kpis div:nth-child(2) { border-right: 0; }
  .countdown div:nth-child(-n+2), .demo-kpis div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .demo-toolbar { align-items: flex-start; flex-direction: column; }
  .lot-grid { grid-template-columns: 1fr; }
  .trace-list li { grid-template-columns: 40px 1fr; }
  .trace-list time { grid-column: 2; }
  .demo-section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .buyer-flow, .panel-kpis, .panel-grid, .controls-grid { grid-template-columns: 1fr; }
  .buyer-flow li, .buyer-flow li:nth-child(3), .controls-grid article, .controls-grid article:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .buyer-flow strong { margin-top: 1.5rem; }
  .panel-kpis div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .panel-card-wide { grid-column: auto; }.incident-list > div { grid-template-columns: 60px 1fr; }.incident-list > div > b { display: none; }
  .document-row { grid-template-columns: 40px 1fr; }.document-row > b { grid-column: 2; }
  .lot-specs { grid-template-columns: repeat(2, 1fr); }.lot-specs div:nth-child(2n) { border-right: 0; }.lot-specs div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }.lot-specs div:nth-last-child(-n+2) { border-bottom: 0; }
  .dialog-columns { grid-template-columns: 1fr; }
  .access-intro { min-height: 480px; padding: 1.5rem; }
  .access-card { width: calc(100% - 2rem); margin: 1rem auto; }
  .demo-header-actions .demo-back:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
