/* Zuris website: midnight-emerald and warm ivory bands, champagne-gold accent, editorial serif headings. */
:root {
  /* Dark bands */
  --night: #0c1412;
  --night-2: #111c19;
  --night-3: #16241f;
  --night-line: rgb(237 231 218 / .1);
  --night-line-strong: rgb(237 231 218 / .18);
  --on-night: #ede7da;
  --on-night-muted: #a7b2ab;
  --on-night-faint: #78867f;
  /* Light bands */
  --ivory: #f5f1e8;
  --ivory-2: #ece6d8;
  --paper: #fcfaf5;
  --ink: #15201c;
  --ink-muted: #56625c;
  --ink-faint: #8a938e;
  --line: #e0d9c9;
  --line-strong: #cfc6b2;
  /* Accent */
  --gold: #c9a66b;
  --gold-2: #b08a4e;
  --gold-ink: #8a6a35;
  --gold-soft: rgb(201 166 107 / .14);
  --emerald: #2f6b58;
  /* System */
  --font: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgb(12 20 18 / .06), 0 20px 44px -28px rgb(12 20 18 / .35);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .2), 0 50px 100px -40px rgb(0 0 0 / .7);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
h1, h2 { font-family: var(--serif); }
h3, h4 { font-family: var(--font); font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--night); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Bands */
.band { padding: 112px 0; }
.band.is-dark { background: var(--night); color: var(--on-night); }
.band.is-deep { background: var(--night-2); color: var(--on-night); }
.band.is-paper { background: var(--ivory-2); }
.band + .band.is-light { border-top: 1px solid var(--line); }
.eyebrow { margin-bottom: 18px; color: var(--gold-ink); font: 600 12.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.is-dark .eyebrow, .is-deep .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { color: var(--ink-muted); font-size: 18.5px; line-height: 1.6; }
.is-dark .lead, .is-deep .lead { color: var(--on-night-muted); }
.gold-text { color: var(--gold); font-style: italic; font-weight: 400; }
.is-light .gold-text, .band:not(.is-dark):not(.is-deep) .gold-text { color: var(--gold-ink); }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px 64px; margin-bottom: 64px; }
.split-head h2 { font-size: clamp(34px, 4.2vw, 50px); }
.split-head > p { color: var(--ink-muted); font-size: 18px; }
.is-dark .split-head > p, .is-deep .split-head > p { color: var(--on-night-muted); }
.note { color: var(--ink-faint); font-size: 13.5px; }
.is-dark .note, .is-deep .note { color: var(--on-night-faint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.is-large { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.is-block { display: flex; width: 100%; }
/* Gold: the main call to action — metallic gradient, a fine bright edge, a soft glow and a shine on hover. */
.btn.is-gold { position: relative; overflow: hidden; border-color: rgb(240 214 160 / .55); background: linear-gradient(180deg, #ecd39e 0%, #d4b277 48%, #b8904f 100%); color: #17130b; box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 0 0 1px rgb(0 0 0 / .25), 0 6px 18px -6px rgb(201 166 107 / .55); }
.btn.is-gold:hover { background: linear-gradient(180deg, #f2dcab 0%, #dbbb82 48%, #c09756 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 0 0 1px rgb(0 0 0 / .25), 0 8px 24px -6px rgb(201 166 107 / .75); }
.btn.is-gold::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .45), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn.is-gold:hover::after { left: 130%; }
.btn.is-ghost-light { border-color: var(--night-line-strong); color: var(--on-night); }
.btn.is-ghost-light:hover { border-color: rgb(237 231 218 / .4); background: rgb(237 231 218 / .05); }
.btn.is-ink { background: var(--ink); color: var(--paper); }
.btn.is-ink:hover { background: #24332d; }
.btn.is-ghost-ink { border-color: var(--line-strong); background: var(--paper); color: var(--ink); }
.btn.is-ghost-ink:hover { border-color: var(--ink-faint); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; }
.text-link .arrow { transition: transform .2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; background: var(--night); color: var(--on-night); transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { border-color: var(--night-line); background: rgb(12 20 18 / .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 2px; color: var(--on-night); text-decoration: none; }
.brand-mark { width: 30px; height: 32px; fill: currentColor; }
.brand-mark .gold { fill: var(--gold); }
.brand-type { display: grid; gap: 3px; }
.brand-word { font: 700 24px/1 var(--font); letter-spacing: -.03em; }
.brand-tag { color: var(--on-night-faint); font: 600 9px/1 var(--font); letter-spacing: .02em; white-space: nowrap; }
.site-nav { display: flex; flex: 1; align-items: center; gap: 4px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; border: 0; background: none; color: var(--on-night-muted); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: var(--on-night); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link .caret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-menu { position: relative; }
.nav-panel { position: absolute; left: -8px; top: calc(100% + 8px); display: grid; min-width: 280px; padding: 8px; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--night-2); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.nav-menu.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; text-decoration: none; transition: background .15s; }
.nav-panel a:hover { background: rgb(237 231 218 / .05); }
.nav-panel b { font-size: 15px; font-weight: 600; }
.nav-panel span { color: var(--on-night-faint); font-size: 13.5px; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-actions .btn { min-height: 40px; }
/* Sign in is a quiet text link; the trial button is the one call to action. */
.nav-signin { padding: 10px 12px; color: var(--on-night-muted); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-signin:hover { color: var(--on-night); }
.nav-cta { gap: 8px; padding: 0 18px; }
.nav-toggle { display: none; }

/* Reveal: elements rise in as they enter view (site.js adds .is-in; without JS everything is visible). */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--night); color: var(--on-night); }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto; height: 160%; background: radial-gradient(40% 40% at 25% 30%, rgb(47 107 88 / .32), transparent 70%), radial-gradient(35% 35% at 80% 20%, rgb(201 166 107 / .12), transparent 70%); animation: hero-drift 26s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--night-line) 1px, transparent 1px) 0 0 / 100% 72px, linear-gradient(90deg, var(--night-line) 1px, transparent 1px) 0 0 / 72px 100%; opacity: .35; -webkit-mask-image: radial-gradient(60% 60% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 30% 30%, #000, transparent 75%); pointer-events: none; }
@keyframes hero-drift { to { transform: translate3d(6%, 4%, 0); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.hero-grid > *, .coverage > *, .drafting > *, .faq-grid > *, .cta > * { min-width: 0; }
.hero h1 { font-size: clamp(46px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 .gold-text { display: block; }
.hero-sub { margin-top: 26px; font: 400 clamp(22px, 2.2vw, 27px)/1.3 var(--font); letter-spacing: -.01em; }
.hero .lead { max-width: 520px; margin-top: 18px; color: var(--on-night-muted); font-size: 17.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 64px; padding: 22px 0 28px; border-top: 1px solid var(--night-line); color: var(--on-night-muted); font-size: 14px; }
.hero-proof li { padding: 0 18px; border-left: 1px solid var(--night-line-strong); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.js .hero [data-hero] { animation: hero-rise .9s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } }
.hero-visual { perspective: 1800px; }
.js .hero-visual .dash { animation: dash-in 1.3s var(--ease) .35s both; transform-origin: 50% 100%; }
@keyframes dash-in { from { opacity: 0; transform: translateY(36px) rotateX(9deg); } }

/* Research dashboard (hero) */
.dash { display: grid; grid-template-columns: 168px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--night-2); box-shadow: var(--shadow-lg); font-size: 13px; }
.dash-side { display: grid; align-content: start; gap: 1px; padding: 16px 10px; color: var(--on-night-muted); }
.dash-side .brand { margin: 0 0 14px 6px; }
.dash-side .brand-mark { width: 20px; height: 22px; }
.dash-side .brand-word { font-size: 17px; }
.dash-group { margin: 12px 8px 4px; color: var(--on-night-faint); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dash-link { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 12.5px; }
.dash-link i { width: 11px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; opacity: .6; }
.dash-link.is-on { background: rgb(237 231 218 / .07); color: var(--on-night); }
.dash-main { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; margin: 8px 8px 8px 0; border-radius: 10px; background: var(--paper); color: var(--ink); }
.dash-search { display: flex; align-items: center; gap: 10px; margin: 14px 14px 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.dash-search svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; }
.dash-query { flex: 1; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-query.is-typing::after { content: ''; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dash-go { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--gold-soft); }
.dash-go svg { stroke: var(--gold-ink); }
.dash-tabs { display: flex; gap: 16px; overflow: hidden; white-space: nowrap; margin: 0 14px; padding-top: 12px; border-bottom: 1px solid var(--line); color: var(--ink-faint); font-size: 12px; }
.dash-tabs span { padding-bottom: 8px; }
.dash-tabs .is-on { border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.dash-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 330px; }
.dash-results { display: grid; align-content: start; gap: 8px; padding: 12px 12px 14px 14px; border-right: 1px solid var(--line); }
.dash-result { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .4s, box-shadow .4s, background .4s, opacity .5s, transform .5s var(--ease); }
.dash-result b { display: block; font-size: 12.5px; line-height: 1.35; }
.dash-result .meta { margin-top: 3px; color: var(--ink-faint); font-size: 11px; }
.dash-result p:last-child { margin-top: 5px; color: var(--ink-muted); font-size: 11.5px; line-height: 1.45; }
.dash-result.is-active { border-color: var(--gold); background: #fffdf8; box-shadow: 0 0 0 3px var(--gold-soft); }
.dash-summary { padding: 14px 16px; transition: opacity .6s, transform .6s var(--ease); }
.dash-summary .tag { color: var(--gold-ink); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dash-summary h4 { margin-top: 6px; font: 500 16px/1.25 var(--serif); letter-spacing: 0; }
.dash-summary .meta { margin-top: 3px; color: var(--ink-faint); font-size: 11px; }
.dash-summary h5 { margin: 12px 0 4px; font-size: 11.5px; font-weight: 700; }
.dash-summary p, .dash-summary li { color: var(--ink-muted); font-size: 11.5px; line-height: 1.5; }
.dash-summary ul { display: grid; gap: 3px; }
.dash-summary li { position: relative; padding-left: 12px; }
.dash-summary li::before { content: ''; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }
.dash.is-demo .dash-result { opacity: 0; transform: translateY(8px); }
.dash.is-demo .dash-result.is-shown { opacity: 1; transform: none; }
.dash.is-demo .dash-summary { opacity: 0; transform: translateX(10px); }
.dash.is-demo .dash-summary.is-shown { opacity: 1; transform: none; }
.illustrative { margin-top: 12px; color: var(--on-night-faint); font-size: 12.5px; text-align: right; }

/* Capabilities */
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* Each capability is one card: the whole card follows its single link (.cap-link::after covers it). */
.capability { position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden; padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(252 250 245 / .6); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s; }
.capability::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.capability:hover, .capability:focus-within { transform: translateY(-4px); border-color: var(--line-strong); background: var(--paper); box-shadow: var(--shadow); }
.capability:hover::before, .capability:focus-within::before { transform: scaleX(1); }
.cap-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); transition: border-color .25s, background .25s; }
.cap-icon svg, .trust-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.capability:hover .cap-icon, .capability:focus-within .cap-icon { border-color: var(--gold); background: var(--gold-soft); }
.capability h3 { font: 500 26px/1.15 var(--serif); letter-spacing: -.01em; }
.capability > p { color: var(--ink-muted); font-size: 15.5px; }
.capability ul { display: grid; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.capability li { position: relative; padding-left: 22px; color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.capability li::before { content: ''; position: absolute; left: 2px; top: .3em; width: 9px; height: 5px; border-left: 1.6px solid var(--gold-ink); border-bottom: 1.6px solid var(--gold-ink); transform: rotate(-45deg); }
.cap-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--gold-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.cap-link::after { content: ''; position: absolute; inset: 0; }
.cap-link .arrow { transition: transform .2s var(--ease); }
.capability:hover .cap-link .arrow { transform: translateX(4px); }
.cap-link:focus-visible { outline: none; }
.capability:has(.cap-link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Legal coverage */
.coverage { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 72px; }
.coverage h2 { font-size: clamp(36px, 4.4vw, 54px); }
.coverage .lead { margin-top: 20px; }
.coverage-list { display: grid; margin-top: 36px; border-top: 1px solid var(--night-line); }
.coverage-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--night-line); }
.coverage-list svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.coverage-list b { display: block; font-weight: 600; }
.coverage-list span { color: var(--on-night-muted); font-size: 15px; }
.coverage .hero-actions { margin-top: 32px; }
.ledger { border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--night-3), var(--night-2)); box-shadow: var(--shadow-lg); }
.ledger-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--night-line); color: var(--on-night-faint); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ledger-row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--night-line); }
.ledger-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease); }
.ledger-row.is-lit { background: rgb(201 166 107 / .06); }
.ledger-row.is-lit::before { transform: scaleY(1); }
.ledger-row b { display: block; font: 500 19px/1.25 var(--serif); }
.ledger-row span { color: var(--on-night-faint); font-size: 13.5px; }
.ledger-row em { padding: 4px 10px; border: 1px solid var(--night-line-strong); border-radius: 999px; color: var(--on-night-muted); font-size: 12px; font-style: normal; white-space: nowrap; }
.ledger-map { padding: 20px 24px 24px; }
.ledger-map p { margin-bottom: 12px; color: var(--on-night-faint); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* How it works */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line-strong); }
.timeline::after { background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.timeline.is-in::after, html:not(.js) .timeline::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; display: grid; gap: 10px; padding-right: 16px; }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--ivory); color: var(--gold-ink); font: 500 15px/1 var(--serif); transition: border-color .4s, background .4s; transition-delay: var(--delay, 0s); }
.timeline.is-in .step-no { border-color: var(--gold-2); background: var(--paper); }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-muted); font-size: 15.5px; }

/* Product demo */
.demo { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.demo-bar { grid-column: 1 / -1; display: grid; gap: 12px; padding: 18px 20px 0; border-bottom: 1px solid var(--line); background: #fff; }
.demo-form { display: flex; gap: 10px; }
.demo-form label { display: flex; flex: 1; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.demo-form label:focus-within { border-color: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-soft); }
.demo-form svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; }
.demo-form input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; cursor: default; }
.demo-samples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.demo-samples span { margin-right: 4px; color: var(--ink-faint); font-size: 13px; font-weight: 600; }
.demo-samples button { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink-muted); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.demo-samples button:hover { border-color: var(--ink-faint); color: var(--ink); }
.demo-samples button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.demo-tabs { display: flex; gap: 20px; }
.demo-tabs button { padding: 4px 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-muted); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }
.demo-tabs .count { margin-left: 6px; color: var(--ink-faint); font-weight: 500; }
.demo-list { display: grid; align-content: start; gap: 8px; max-height: 470px; overflow-y: auto; padding: 14px; border-right: 1px solid var(--line); }
.demo-item { display: grid; gap: 3px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.demo-item:hover { border-color: var(--line-strong); }
.demo-item[aria-selected="true"] { border-color: var(--gold); background: #fffdf8; box-shadow: 0 0 0 3px var(--gold-soft); }
.demo-item b { font-size: 14.5px; line-height: 1.35; }
.demo-item span { color: var(--ink-faint); font-size: 12.5px; }
.demo-empty { padding: 16px 4px; color: var(--ink-muted); font-size: 14.5px; }
.demo-detail { padding: 26px 30px 30px; min-height: 470px; }
.demo-detail.is-swapping { animation: detail-in .45s var(--ease); }
@keyframes detail-in { from { opacity: 0; transform: translateY(6px); } }
.demo-detail .tag { color: var(--gold-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.demo-detail h3 { margin-top: 8px; font: 500 28px/1.2 var(--serif); letter-spacing: -.01em; }
.demo-detail .meta { margin-top: 6px; color: var(--ink-faint); font-size: 14px; }
.demo-detail h4 { margin: 22px 0 8px; font-size: 14px; font-weight: 700; }
.demo-detail p { color: var(--ink-muted); font-size: 15.5px; }
.demo-detail ul { display: grid; gap: 6px; }
.demo-detail li { position: relative; padding-left: 16px; color: var(--ink-muted); font-size: 15.5px; }
.demo-detail li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); }
.demo-detail .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.demo-detail .chips span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-muted); font-size: 12.5px; }
.demo-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Drafting */
.drafting { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; margin-top: 112px; }
.drafting h2 { font-size: clamp(34px, 4vw, 48px); }
.drafting .lead { margin-top: 18px; }
.drafting .checks { margin-top: 24px; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.is-dark .checks li, .is-deep .checks li { color: var(--on-night-muted); }
.doc { display: grid; grid-template-columns: 1fr 200px; overflow: hidden; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--night-3); box-shadow: var(--shadow-lg); }
.doc-tabs { grid-column: 1 / -1; display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--night-line); font-size: 12.5px; }
.doc-tabs span { padding: 5px 10px; border-radius: 6px; color: var(--on-night-faint); }
.doc-tabs .is-on { background: rgb(237 231 218 / .08); color: var(--on-night); }
.doc-page { margin: 14px; padding: 26px 28px; border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 12.5px/1.65 var(--serif); }
.doc-page .c { text-align: center; font-weight: 600; letter-spacing: .04em; }
.doc-page p + p { margin-top: 10px; }
.doc-page .line { display: block; height: 7px; margin-top: 8px; border-radius: 3px; background: var(--ivory-2); }
.doc-page .line.is-short { width: 62%; }
.doc-tools { display: grid; align-content: start; gap: 4px; padding: 14px 12px 14px 0; font-size: 12.5px; }
.doc-tools p { margin: 0 0 6px 8px; color: var(--on-night-faint); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.doc-tools span { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--night-line); border-radius: 7px; color: var(--on-night-muted); }
.doc-tools span.is-on { border-color: rgb(201 166 107 / .5); color: var(--on-night); }
.doc-tools i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Solutions */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.role + .role { padding-left: 28px; border-left: 1px solid var(--line); }
.role:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.role h3 { font: 500 22px/1.2 var(--serif); letter-spacing: 0; }
.role p { margin-top: 6px; color: var(--ink-muted); font-size: 15.5px; }
.role .text-link { margin-top: 12px; color: var(--gold-ink); font-size: 14.5px; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 4px 28px; border-left: 1px solid var(--line); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); }
.trust b { display: block; font-size: 16.5px; font-weight: 650; }
.trust span:not(.trust-icon) { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 15px; }

/* Pricing */
.cycle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--night-line-strong); border-radius: 10px; background: var(--night-2); }
.cycle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 7px; background: none; color: var(--on-night-muted); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.cycle button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.cycle button span { padding: 3px 8px; border-radius: 5px; background: var(--gold-soft); color: var(--gold); font-size: 12px; }
.cycle button[aria-pressed="true"] span { color: var(--gold-ink); }
.pricing-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.pricing-bar p { color: var(--on-night-muted); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 30px; border: 1px solid var(--night-line-strong); border-radius: var(--radius-lg); background: var(--night-2); transition: border-color .25s, transform .25s var(--ease); }
.plan:hover { border-color: rgb(237 231 218 / .3); }
.plan.is-popular { border-color: var(--gold); background: linear-gradient(180deg, rgb(201 166 107 / .08), transparent 40%), var(--night-2); box-shadow: 0 0 0 1px rgb(201 166 107 / .4), var(--shadow-lg); }
.plan-flag { position: absolute; right: 20px; top: -12px; padding: 5px 10px; border-radius: 6px; background: var(--gold); color: #1b1710; font-size: 12px; font-weight: 700; }
.plan h3 { font: 500 30px/1.1 var(--serif); letter-spacing: -.01em; }
.plan-for { margin-top: 4px; color: var(--on-night-muted); font-size: 15px; }
.price { padding: 20px 0; border-block: 1px solid var(--night-line); }
.price p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price strong { font: 600 42px/1 var(--font); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.price.is-custom strong { font: 500 34px/1 var(--serif); letter-spacing: -.01em; }
.price span { color: var(--on-night-muted); }
.price em { margin-left: auto; padding: 4px 9px; border-radius: 5px; background: var(--gold-soft); color: var(--gold); font-size: 12.5px; font-style: normal; font-weight: 700; }
.price-was { margin-top: 8px; color: var(--on-night-faint); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 4px; color: var(--on-night-faint); font-size: 13.5px; }
.plan .checks { flex: 1; align-content: start; }
.plan .checks li { font-size: 15px; }
.plan .checks b { color: var(--on-night); font-weight: 650; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--night-line); color: var(--on-night-muted); font-size: 15px; }
.pricing-foot a { color: var(--gold); }

/* Pricing page extras */
.page-hero { padding: 88px 0 112px; }
.page-hero h1 { max-width: 760px; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.04; }
.page-hero .lead { max-width: 620px; margin-top: 20px; }
.page-hero .cycle { margin-top: 34px; }
.launch { margin-top: 14px; color: var(--gold); font-size: 14.5px; font-weight: 600; }
.free-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); }
.free-note h2 { font-size: 30px; }
.free-note p { max-width: 720px; margin-top: 8px; color: var(--ink-muted); }
.assurances { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; border-block: 1px solid var(--line); }
.assurances div { display: grid; gap: 2px; padding: 22px 24px; border-left: 1px solid var(--line); }
.assurances div:first-child { padding-left: 0; border-left: 0; }
.assurances strong { font-size: 16px; font-weight: 650; }
.assurances span { color: var(--ink-muted); font-size: 14.5px; }

.plan-desc { margin-top: 10px; color: var(--on-night-muted); font-size: 15px; }
.price-note b { color: var(--on-night); font-weight: 650; }
.launch b, .pricing-bar b { color: var(--gold); font-weight: 650; }
.topups { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.topup { display: grid; gap: 4px; padding: 24px; border-left: 1px solid var(--line); }
.topup:first-child { padding-left: 0; border-left: 0; }
.topup-kicker { color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.topup-main { font: 400 22px/1.2 var(--serif); }
.topup-main strong { font-weight: 500; }
.topup-price { color: var(--ink-muted); font-size: 14.5px; }
@media (max-width: 1100px) { .topups { grid-template-columns: 1fr 1fr; } .topup:nth-child(3) { padding-left: 0; border-left: 0; } .topup:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 760px) { .topups { grid-template-columns: 1fr; } .topup:nth-child(n) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); } .topup:first-child { border-top: 0; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-grid h2 { font-size: clamp(34px, 4vw, 48px); }
.faq-grid .lead { margin-top: 18px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.6px solid var(--gold-ink); border-bottom: 1.6px solid var(--gold-ink); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 48px 22px 0; color: var(--ink-muted); font-size: 16.5px; }
/* FAQ band: a soft gold glow and faint grid behind the questions, which sit on a raised card */
.faq-band { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 0% 0%, var(--gold-soft), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgb(47 107 88 / .08), transparent 70%), var(--ivory); }
.faq-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%; opacity: .45; -webkit-mask-image: radial-gradient(55% 75% at 15% 35%, #000, transparent 80%); mask-image: radial-gradient(55% 75% at 15% 35%, #000, transparent 80%); pointer-events: none; }
.faq-band .wrap { position: relative; }
.faq-band .faq-grid > header { align-self: start; }
.faq-band .faq { padding: 6px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.faq-band .faq details:last-child { border-bottom: 0; }
.faq-band .faq details { border-color: var(--line); }
.faq-help { display: grid; gap: 10px; margin-top: 36px; padding: 24px 26px; border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); border-radius: var(--radius); background: rgb(252 250 245 / .7); }
.faq-help b { font: 500 22px/1.2 var(--serif); }
.faq-help p { color: var(--ink-muted); font-size: 15.5px; }
.faq-help-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
@media (max-width: 760px) { .faq-band .faq { padding: 2px 18px; } .faq-band .faq .answer p { padding-right: 0; } }

/* Closing CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.cta h2 { font-size: clamp(36px, 4.4vw, 54px); }
.cta p { color: var(--ink-muted); font-size: 18px; }
.cta .hero-actions { margin-top: 24px; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 72px 0 48px; }
.footer-note { max-width: 280px; margin-top: 16px; }
.site-footer h4 { margin-bottom: 14px; color: var(--on-night); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-footer nav { display: grid; align-content: start; gap: 10px; }
.site-footer nav a { text-decoration: none; transition: color .2s; }
.site-footer nav a:hover { color: var(--on-night); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--night-line); color: var(--on-night-faint); font-size: 14px; }

/* App gate: shown over the page when Sign in / Get started finds the app unreachable */
.gate { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgb(6 12 11 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.gate.is-open { opacity: 1; visibility: visible; }
.has-gate body { overflow: hidden; }
.gate-panel { position: relative; width: min(520px, 100%); overflow: hidden; padding: 40px 36px 32px; border: 1px solid rgb(201 166 107 / .25); border-radius: 18px; background: linear-gradient(135deg, rgb(255 255 255 / .05), transparent 50%), radial-gradient(80% 60% at 50% 0%, rgb(47 107 88 / .3), transparent 70%), var(--night-2); color: var(--on-night); text-align: center; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); transition: transform .45s var(--ease); }
.gate.is-open .gate-panel { transform: none; }
.gate-panel::after { content: ''; position: absolute; inset: -55% auto -55% -24%; width: 14%; transform: rotate(12deg); background: linear-gradient(90deg, transparent, rgb(240 215 151 / .08), transparent); animation: gate-sweep 8s 1s ease-in-out infinite; pointer-events: none; }
@keyframes gate-sweep { 0%, 34% { left: -24%; opacity: 0; } 44% { opacity: 1; } 63%, 100% { left: 116%; opacity: 0; } }
.gate-close { position: absolute; right: 12px; top: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.gate-close:hover { background: rgb(237 231 218 / .07); }
.gate-close svg { width: 16px; height: 16px; fill: none; stroke: var(--on-night-muted); stroke-width: 2; stroke-linecap: round; }
.signal { position: relative; display: grid; place-items: center; width: 132px; aspect-ratio: 1; margin: 0 auto 22px; }
.signal::before, .signal::after { content: ''; position: absolute; border: 1px solid rgb(201 166 107 / .22); border-radius: 50%; }
.signal::before { inset: 2%; border-style: dashed; animation: spin 28s linear infinite; }
.signal::after { inset: 18%; opacity: .6; animation: spin 19s linear infinite reverse; }
.signal-scan { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(from 200deg, transparent 0 66%, rgb(201 166 107 / .3) 78%, transparent 86%); -webkit-mask-image: radial-gradient(circle, transparent 0 50%, #000 51% 54%, transparent 55%); mask-image: radial-gradient(circle, transparent 0 50%, #000 51% 54%, transparent 55%); animation: spin 4s linear infinite; }
.signal-orbit { position: absolute; inset: 0; animation: spin 7s linear infinite; }
.signal-orbit::before { content: ''; position: absolute; left: 50%; top: 2%; width: 7px; height: 7px; border-radius: 50%; background: #f0d797; box-shadow: 0 0 12px var(--gold); transform: translate(-50%, -50%); }
.signal-core { display: grid; place-items: center; width: 46%; aspect-ratio: 1; border: 1px solid rgb(201 166 107 / .35); border-radius: 50%; background: radial-gradient(circle, rgb(201 166 107 / .14), rgb(8 20 18 / .95) 70%); box-shadow: 0 0 40px rgb(201 166 107 / .1); }
.signal-core svg { width: 42%; fill: var(--on-night); }
.signal-core .gold { fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.gate-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgb(201 166 107 / .3); border-radius: 999px; color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gate-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
.gate[data-state="down"] .gate-status { border-color: rgb(230 169 124 / .35); color: #e6a97c; }
.gate[data-state="launch"] .gate-status { border-color: rgb(201 166 107 / .45); color: var(--gold); }
.gate[data-state="up"] .gate-status { border-color: rgb(120 190 150 / .4); color: #8fd1aa; }
@keyframes pulse { 50% { opacity: .4; } }
.gate h2 { margin-top: 16px; font-size: clamp(30px, 5vw, 40px); line-height: 1.08; }
.gate-message { max-width: 400px; margin: 12px auto 0; color: var(--on-night-muted); font-size: 16px; line-height: 1.55; }
.gate-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.gate-actions[hidden], .gate-recheck[hidden] { display: none; }
.gate-recheck { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; color: var(--on-night-faint); font-size: 13.5px; }
.gate-ring { --progress: 0deg; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(var(--gold) var(--progress), rgb(237 231 218 / .12) 0); }
.gate-ring::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--night-2); }
@media (max-width: 760px) { .gate-panel { padding: 34px 20px 24px; } .gate-actions .btn { flex: 1 1 auto; } }

/* Story: the justice artwork, with the idea behind Zuris */
.story { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 640px; background: #071311; color: var(--on-night); isolation: isolate; }
.story-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.08); transition: transform 2.6s var(--ease); }
.story.is-in .story-image, html:not(.js) .story-image { transform: scale(1); }
.story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071311 0%, rgb(7 19 17 / .92) 32%, rgb(7 19 17 / .35) 62%, transparent 85%), linear-gradient(0deg, #071311, transparent 30%); }
.story::after { content: ''; position: absolute; right: 18%; top: -10%; z-index: -1; width: 30%; height: 70%; background: radial-gradient(closest-side, rgb(240 215 151 / .16), transparent); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { from { opacity: .4; transform: translateY(0); } to { opacity: 1; transform: translateY(16px); } }
.story-content { max-width: 560px; padding: 112px 0; }
.story h2 { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.04; }
.story p:not(.eyebrow) { margin-top: 20px; color: var(--on-night-muted); font-size: 18px; }
.story-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.story-values span { padding: 7px 14px; border: 1px solid rgb(201 166 107 / .35); border-radius: 999px; color: var(--on-night); font: italic 400 16px/1 var(--serif); }
.story-caption { position: absolute; right: 32px; bottom: 28px; color: var(--on-night-faint); font: italic 400 15px/1 var(--serif); letter-spacing: .02em; }
@media (max-width: 760px) {
  .story { min-height: 0; }
  .story-image { object-position: 78% 20%; opacity: .55; }
  .story::before { background: linear-gradient(0deg, #071311 30%, rgb(7 19 17 / .7) 70%, rgb(7 19 17 / .4)); }
  .story-content { padding: 220px 0 72px; }
  .story-caption { display: none; }
}

/* Offer card: a light, non-blocking card that slides up in the corner */
.offer { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: min(380px, 100% - 32px); overflow: hidden; padding: 26px 26px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(160deg, #fffdf7, var(--ivory) 70%); color: var(--ink); box-shadow: 0 2px 6px rgb(12 20 18 / .08), 0 30px 70px -30px rgb(12 20 18 / .5); opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.offer.is-open { opacity: 1; visibility: visible; transform: none; }
.offer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #a8322d, var(--gold) 55%, #a8322d); }
.offer-art { position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; color: var(--gold); opacity: .35; animation: offer-turn 60s linear infinite; pointer-events: none; }
@keyframes offer-turn { to { transform: rotate(360deg); } }
.offer-close { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.offer-close:hover { background: rgb(12 20 18 / .06); }
.offer-close svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-muted); stroke-width: 2; stroke-linecap: round; }
.offer-eyebrow { position: relative; margin-bottom: 10px; color: #a8322d; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.offer-title { position: relative; max-width: 280px; font: 500 25px/1.15 var(--serif); }
.offer-text { position: relative; margin-top: 10px; color: var(--ink-muted); font-size: 15.5px; line-height: 1.5; }
.offer-actions { position: relative; display: flex; gap: 8px; margin-top: 20px; }
.offer-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
@media (max-width: 760px) {
  .offer { right: 16px; bottom: 16px; padding: 18px 18px 16px; }
  .offer-art { display: none; }
  .offer-eyebrow { margin-bottom: 6px; font-size: 11px; }
  .offer-title { max-width: 260px; font-size: 20px; }
  .offer-text { margin-top: 6px; font-size: 14.5px; }
  .offer-actions { margin-top: 14px; }
  .offer-actions .btn { flex: 1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid, .coverage, .drafting, .faq-grid, .cta { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 680px; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .roles { grid-template-columns: 1fr 1fr; }
  .role:nth-child(n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .role:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .assurances { grid-template-columns: 1fr 1fr; }
  .assurances div:nth-child(3) { padding-left: 0; border-left: 0; }
  .assurances div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 961px) and (max-width: 1100px) { .nav-link { padding-inline: 8px; } .nav-link::after { left: 8px; right: 8px; } }
@media (max-width: 960px) {
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--night-line-strong); border-radius: 8px; background: none; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--on-night); transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 16px 20px; border-bottom: 1px solid var(--night-line); background: var(--night); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--night-line); font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-panel { position: static; min-width: 0; padding: 4px 0 8px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-menu.is-open .nav-panel { display: grid; }
  .nav-actions { margin: 16px 0 0; }
  .nav-actions .btn { flex: 1; min-height: 46px; }
  .nav-signin { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--night-line-strong); border-radius: 8px; color: var(--on-night); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .band { padding: 80px 0; }
  .split-head { grid-template-columns: 1fr; margin-bottom: 44px; }
  .hero { padding-top: 48px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-proof { margin-top: 44px; }
  .hero-proof li { padding: 0 12px; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-side { display: none; }
  .dash-main { margin: 6px; }
  .dash-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash-results { border-right: 0; }
  .dash-result:nth-child(n + 3) { display: none; }
  .dash-summary { border-top: 1px solid var(--line); }
  .js [data-reveal] { transform: translateY(12px); }
  .js .hero-visual .dash { animation-name: hero-rise; }
  .capabilities { grid-template-columns: 1fr; gap: 16px; }
  .capability { padding: 24px 20px 20px; }
  .trust, .roles { grid-template-columns: 1fr; gap: 0; }
  .trust li:nth-child(n) { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; padding-top: 0; }
  .role:nth-child(n) { padding: 24px 0; border-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 56px; }
  .timeline::before, .timeline::after { left: 19px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline.is-in::after, html:not(.js) .timeline::after { transform: scaleY(1); }
  .step-no { position: absolute; left: -56px; top: -8px; margin: 0; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-list { max-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-detail { min-height: 0; padding: 22px 20px 26px; }
  .doc { grid-template-columns: 1fr; }
  .doc-tools { grid-template-columns: 1fr 1fr; padding: 0 14px 14px; }
  .doc-tools p { grid-column: 1 / -1; }
  .drafting { margin-top: 80px; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
  .ledger-row em { justify-self: start; }
  .free-note { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .assurances { grid-template-columns: 1fr; }
  .assurances div:nth-child(n) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .assurances div:first-child { border-top: 0; }
  .faq .answer p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .timeline::after { transform: none !important; }
}

/* 404 page */
.not-found { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 48px 0; }
.not-found .brand { margin-bottom: 72px; }
.not-found h1 { max-width: 760px; }
.not-found .lead { max-width: 520px; margin-top: 22px; color: var(--on-night-muted); }

/* Legal pages (privacy, terms, refunds): a short hero, then a sticky contents list beside long-form text */
.legal-hero { padding: 64px 0 56px; }
.legal-hero h1 { font-size: clamp(38px, 4.4vw, 54px); }
.legal-hero .lead { margin-top: 14px; font-size: 17.5px; }
.legal-meta { margin-top: 18px; color: var(--on-night-faint); font-size: 14.5px; }
.legal-band { padding-top: 64px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: space-between; gap: 64px; }
.legal-toc details { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.legal-toc summary { margin-bottom: 14px; color: var(--gold-ink); font: 600 12.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; list-style: none; cursor: pointer; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-strong); }
.legal-toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s; }
.legal-toc a:hover { color: var(--ink); }
.legal section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal h2 { margin-bottom: 20px; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
.legal-num { color: var(--gold-ink); }
.legal h3 { margin: 32px 0 12px; font-size: 18px; }
.legal p, .legal ul, .legal ol { color: var(--ink-muted); font-size: 16.5px; }
.legal p + p, .legal p + ul, .legal p + ol, .legal ul + p, .legal ol + p { margin-top: 14px; }
.legal ul, .legal ol { margin-block: 14px; padding-left: 22px; }
.legal ul { list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--gold-ink); }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
/* "At a glance": the key promises before the full text */
.legal-glance { margin-bottom: 56px; padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.legal-glance .eyebrow { margin-bottom: 16px; }
.legal .legal-glance ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.legal .legal-glance li { display: grid; gap: 4px; margin: 0; padding-left: 26px; position: relative; }
.legal-glance li::before { content: ''; position: absolute; left: 3px; top: .45em; width: 10px; height: 5px; border-left: 1.8px solid var(--gold-ink); border-bottom: 1.8px solid var(--gold-ink); transform: rotate(-45deg); }
.legal-glance li b { font-size: 16px; }
.legal-glance li span { font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .legal .legal-glance ul { grid-template-columns: 1fr; } .legal-glance { padding: 22px 20px; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { display: grid; align-content: start; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); scroll-margin-top: 96px; }
.contact-card .eyebrow { margin-bottom: 4px; }
.contact-card h2 { font-size: 28px; }
.contact-card p { color: var(--ink-muted); font-size: 16.5px; }
.contact-email { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 8px; }
.contact-card .text-link { overflow-wrap: anywhere; }
.copy-btn { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink-muted); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.copy-btn:hover { border-color: var(--ink-faint); color: var(--ink); }
.copy-btn.is-copied { border-color: var(--emerald); color: var(--emerald); }
.contact-office { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.contact-office h2 { margin-bottom: 12px; font-size: 28px; }
.contact-office p { max-width: 560px; color: var(--ink-muted); }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc details { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
  .legal-toc details:not([open]) summary { margin-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .contact-card { padding: 24px 20px; } }
