:root {
    --ink: #0a0b0d;
    --surface: #131519;
    --raised: #1a1d22;
    --bone: #ede8df;
    --paper: #f4f1ea;
    --steel: #8e9499;
    --rule: #24282e;
    --gold: #c4a35a;
    --gold-hi: #d4b872;
    --sapphire: #1e3a5f;
    --verified: #7fb894;
    --ink-text: #14161a;
    --ink-muted: #5c6168;
    --paper-rule: #d9d3c6;
    --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    --serif: 'Fraunces', Georgia, serif;
    --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
    --r: 3px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--ink); color: var(--bone); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.w { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; }
.lead { color: var(--steel); font-size: 17px; max-width: 560px; margin-top: 18px; }
.muted { color: var(--steel); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 14px; border-radius: var(--r); padding: 0 20px; height: 46px; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-line { border-color: #3a3f46; color: var(--bone); }
.btn-line:hover { border-color: var(--bone); }
.btn .arr { font-family: var(--mono); font-weight: 400; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(10,11,13,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.mono-mark { width: 30px; height: 30px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--steel); transition: color .2s; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid #3a3f46; border-radius: var(--r); background: none; color: var(--bone); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--rule); padding: 8px 0 18px; }
.mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.menu-open .mobile-menu { display: block; }
.nav-links a:hover { color: var(--bone); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 13px; }
.cta-short { display: none; }
@media (max-width: 480px) { .cta-long { display: none; } .cta-short { display: inline; } .brand-name { font-size: 16px; } .mono-mark { width: 26px; height: 26px; font-size: 11px; } .nav .btn { padding: 0 13px; } }
@media (max-width: 350px) { .brand-name { font-size: 14px; } .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; } }

/* Hero */
.hero { border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 640px; }
.hero-copy { padding: 88px 56px 64px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.035em; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 18px; max-width: 500px; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 56px; }
.stat { border-top: 1px solid var(--rule); padding-top: 14px; padding-right: 16px; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--steel); }
.hero-object { position: relative; display: grid; place-items: center; padding: 56px 0 56px 56px; overflow: hidden; }
.hero-object .caption { position: absolute; left: 56px; bottom: 26px; font-family: var(--mono); font-size: 11px; color: var(--steel); letter-spacing: 0.06em; text-transform: uppercase; }

/* Specimen certificate */
.cert { width: 100%; max-width: 380px; background: var(--paper); color: var(--ink-text); border-radius: 2px; padding: 26px 26px 22px; transform: rotate(-2.5deg); box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 2px 0 rgba(0,0,0,0.3); position: relative; }
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid #cfc6b2; pointer-events: none; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; }
.cert-brand { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.cert-title { font-family: var(--serif); font-size: 23px; line-height: 1.1; margin-top: 18px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.holo { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(from 30deg, #d9c27e, #9fc6c0, #c6a9d6, #e6d39a, #a8c9e8, #d9c27e); box-shadow: inset 0 0 0 3px rgba(255,255,255,0.45); display: grid; place-items: center; font-family: var(--serif); font-size: 12px; font-weight: 600; color: rgba(20,22,26,0.6); }
.cert dl { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 12.5px; position: relative; }
.cert dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); padding-top: 2px; }
.cert dd { font-weight: 600; }
.cert .verdict { display: inline-flex; align-items: center; gap: 6px; color: #2f6b47; }
.cert .verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f6b47; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid #d6cdb9; position: relative; }
.cert-no { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; }
.cert-no small { display: block; font-size: 10px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.qr { width: 66px; height: 66px; }
.specimen { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); font-family: var(--mono); font-size: 34px; letter-spacing: 0.3em; color: rgba(160,60,50,0.13); font-weight: 500; pointer-events: none; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--rule); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row span { padding: 18px 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--steel); text-transform: uppercase; border-left: 1px solid var(--rule); padding-left: 18px; }
.facts-row span:first-child { border-left: 0; padding-left: 0; }

/* Sections */
section.block { padding: 104px 0; border-bottom: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--rule); }
.compare > div { padding-top: 22px; }
.compare > div + div { border-left: 1px solid var(--rule); padding-left: 40px; }
.compare h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); margin-bottom: 20px; }
.compare li { list-style: none; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.5; }
.compare .old li { color: #5b6067; text-decoration: line-through; text-decoration-thickness: 1px; }
.compare .new li { color: var(--bone); }
.compare .new li::before { content: "\2192\00a0"; color: var(--gold); font-family: var(--mono); font-size: 0.7em; }

/* Numbered rows */
.rows { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--rule); }
.rows > div { padding: 26px 32px 0 0; }
.rows > div + div { border-left: 1px solid var(--rule); padding-left: 32px; }
.rows .n { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.rows h3 { font-size: 21px; margin: 14px 0 10px; }
.rows p { color: var(--steel); font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* Light (parchment) section: free check form */
.light { background: var(--paper); color: var(--ink-text); }
.light .kicker { color: var(--ink-muted); }
.light .lead { color: var(--ink-muted); }
.light h2 em { font-style: normal; color: #8a6a24; }
.next-steps { margin-top: 40px; border-top: 1px solid var(--paper-rule); }
.next-steps div { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--paper-rule); font-size: 15px; }
.next-steps b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: #8a6a24; padding-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--paper-rule); border-radius: var(--r); padding: 32px; box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 40px rgba(60,50,30,0.08); }
.form-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.form-card > p { color: var(--ink-muted); font-size: 14px; margin: 4px 0 22px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.fg input[type=email], .fg input[type=text] { width: 100%; height: 46px; border-radius: var(--r); padding: 0 13px; font-family: var(--sans); font-size: 15px; }
.fg input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.light .fg label { color: var(--ink-text); }
.light .fg input[type=email], .light .fg input[type=text] { background: #fff; border: 1px solid #cfc8b8; color: var(--ink-text); }
.light .fg input::placeholder { color: #9a9488; }
.light input[type=file] { font-family: var(--sans); font-size: 13px !important; color: var(--ink-muted) !important; }
.name-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svc-choice label { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; border: 1px solid #cfc8b8; border-radius: var(--r); padding: 11px 12px; font-size: 14px; font-weight: 600; }
.svc-choice input { accent-color: #8a6a24; margin: 0; }
.svc-choice label:has(input:checked) { border-color: var(--ink-text); background: #faf8f3; }
.hp-trap { position: absolute; left: -5000px; }
.btn-submit { width: 100%; height: 50px; background: var(--ink-text); color: var(--paper); border: none; border-radius: var(--r); font-family: var(--sans); font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 6px; transition: background .2s; }
.btn-submit:hover { background: #000; }
.light .form-card p[style] { color: var(--ink-muted) !important; }

/* Authentication tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--rule); }
.tier { padding: 30px 40px 0 0; }
.tier + .tier { border-left: 1px solid var(--rule); padding-left: 40px; }
.tier.featured { border-top: 2px solid var(--gold); margin-top: -1px; }
.tier .tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.tier h3 { font-size: 24px; margin-top: 8px; }
.tier .price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 4px; }
.tier .price small { font-size: 14px; font-weight: 400; color: var(--steel); letter-spacing: 0; }
.tier .desc { color: var(--steel); font-size: 15px; margin-bottom: 20px; }
.tier ul { list-style: none; border-top: 1px solid var(--rule); }
.tier li { font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; }
.tier li::before { content: "\2713"; color: var(--verified); font-size: 13px; padding-top: 2px; }
.note { margin-top: 26px; font-size: 13px; color: var(--steel); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { border-top: 1px solid var(--bone); padding-top: 18px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--steel); font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; }
.faq-grid .sticky { position: sticky; top: 108px; align-self: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; background: none; border: none; color: var(--bone); cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 500; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { color: var(--steel); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a-inner { padding: 0 0 24px; color: var(--steel); font-size: 15.5px; max-width: 640px; }
.faq-a-inner a { color: var(--gold) !important; }

/* Waitlist */
.waitlist { padding: 104px 0; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.perks { margin-top: 32px; border-top: 1px solid var(--rule); }
.perks div { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15px; display: flex; gap: 12px; }
.perks div::before { content: "\2014"; color: var(--gold); font-family: var(--mono); }
.dark-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 32px; }
.dark-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.dark-card > p { color: var(--steel); font-size: 14px; margin: 4px 0 22px; }
.dark-card .fg label { color: var(--steel); }
.dark-card .fg input { background: var(--ink); border: 1px solid #2e3239; color: var(--bone); }
.dark-card .fg input::placeholder { color: #5b6067; }
.dark-card .btn-submit { background: var(--gold); color: var(--ink); }
.dark-card .btn-submit:hover { background: var(--gold-hi); }
.success-message { color: var(--verified); margin-top: 12px; text-align: center; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ft-grid h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); margin-bottom: 14px; }
.ft-grid a { display: block; font-size: 14px; color: var(--bone); padding: 4px 0; }
.ft-grid a:hover { color: var(--gold); }
.ft-grid a.brand { display: flex; }
.ft-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--steel); }

/* Responsive */
@media (max-width: 1080px) { .nav-links { gap: 20px; } .nav-links a { font-size: 13px; } }
@media (max-width: 900px) { .nav-links { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 960px) {
    .hero-grid, .split, .faq-grid, .wl-grid { grid-template-columns: 1fr; }
    .hero-copy { border-right: 0; padding: 64px 0 40px; }
    .hero-object { padding: 24px 0 72px; border-top: 1px solid var(--rule); }
    .hero-object .caption { left: 0; }
    .split, .faq-grid, .wl-grid { gap: 48px; }
    .faq-grid .sticky { position: static; }
    .facts-row { grid-template-columns: 1fr 1fr; }
    .facts-row span:nth-child(3) { border-left: 0; padding-left: 0; }
    .facts-row span:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 760px) {
    .w { padding: 0 18px; }
    section.block, .waitlist { padding: 72px 0; }
    .rows, .steps, .compare, .tiers { grid-template-columns: 1fr; }
    .rows > div + div, .compare > div + div, .tier + .tier { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 26px; }
    .rows > div, .tier { padding-right: 0; }
    .compare > div + div { padding-top: 22px; }
    .hero-stats { grid-template-columns: 1fr 1fr 1fr; padding-top: 40px; }
    .stat b { font-size: 21px; }
    .svc-choice, .name-cols { grid-template-columns: 1fr; }
    .form-card, .dark-card { padding: 22px; }
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .ft-grid > div:first-child { grid-column: 1 / -1; }
    .cert { max-width: 330px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Valuation page extras */
.rows-4 { grid-template-columns: repeat(4, 1fr); }
.val-card { transform: rotate(2deg); }
.val-card .cert-top .cert-no { text-align: right; font-size: 13px; }
.val-range { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.factors { margin-top: 0; }
.factors span { color: var(--ink-text); font-size: 15.5px; }
.factors strong { font-weight: 600; }
.kicker a { color: var(--gold); }
@media (max-width: 960px) { .rows-4 { grid-template-columns: 1fr 1fr; } .rows-4 > div:nth-child(3) { border-left: 0; padding-left: 0; } .rows-4 > div:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 26px; } }
@media (max-width: 760px) { .rows-4 { grid-template-columns: 1fr; } }

/* Grid children must be allowed to shrink below their content width (file inputs, long words) */
.hero-grid > *, .split > *, .faq-grid > *, .wl-grid > *, .rows > *, .compare > *, .tiers > *, .steps > *, .name-cols > *, .ft-grid > * { min-width: 0; }
input[type=file] { max-width: 100%; }
