/* Marketing site: "private office" — obsidian and ivory, one champagne accent, Instrument Serif
   display over IBM Plex Sans. Loaded only on public pages (html.site); the app keeps app.css. */
@font-face { font-family: 'Instrument'; src: url('/static/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument'; src: url('/static/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

html.site {
  --display: 'Instrument', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --text-hero: clamp(2.6rem, 1.2rem + 4.4vw, 5rem);
  --bg: #f6f3ec; --surface: #fbf9f4; --surface-2: #efeae0; --surface-3: #e6dfd1;
  --border: #e0d9cb; --border-strong: #cfc6b4; --text: #1b1915; --text-2: #4a453c; --muted: #6c665a; --faint: #a39c8d;
  --primary: #85662b; --primary-hover: #6a5021; --primary-soft: #efe5cf; --on-primary: #fffdf8;
  --ok: #3f7a3a; --crit: #a3362c; --crit-soft: #f6e2dd;
  --ink: #0f0e0c; --ink-text: #efe9dc; --gold: #85662b;
  --shadow: 0 1px 2px rgb(27 25 21 / .05), 0 12px 32px -12px rgb(27 25 21 / .14);
  color-scheme: light;
}
html.site[data-theme='dark'] {
  --bg: #0d0c0a; --surface: #141310; --surface-2: #1a1915; --surface-3: #22201b;
  --border: #29261f; --border-strong: #3a362c; --text: #efe9dc; --text-2: #c2baa9; --muted: #918a7b; --faint: #5e594e;
  --primary: #d4b77c; --primary-hover: #e6cc95; --primary-soft: #2a2416; --on-primary: #16130c;
  --ok: #8fbf7a; --crit: #e4796c; --crit-soft: #331a16;
  --ink: #080706; --ink-text: #efe9dc; --gold: #d4b77c;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 18px 48px -18px rgb(0 0 0 / .6);
  color-scheme: dark;
}
html.site body { background: var(--bg); }
html.site h1, html.site h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.04; }
html.site h1 em, html.site h2 em { font-style: italic; color: var(--gold); }
html.site .kicker, html.site .eyebrow { font: 500 var(--text-xs)/1.2 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); background: none; border: 0; padding: 0; }
html.site .btn { border-radius: 999px; letter-spacing: .01em; }
html.site .btn-lg { padding: 1rem 1.6rem; }
html.site .btn-secondary { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
html.site .btn-secondary:hover { border-color: var(--gold); color: var(--text); }
html.site .card { background: var(--surface); border-color: var(--border); border-radius: 14px; }
html.site .section { padding: clamp(var(--space-16), 9vw, 8.5rem) 0; }
html.site .section.alt { background: var(--surface); }
html.site .section-head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
html.site .section-head p { font-size: var(--text-base); max-width: 58ch; }
html.site .logo svg { color: var(--gold); }

/* header */
html.site .site-header { background: color-mix(in oklab, var(--bg) 80%, transparent); }
html.site .site-header .wrap { height: 72px; }
html.site .nav a { letter-spacing: .02em; }

/* hero */
.lux-hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: center; overflow: hidden; background: #0d0c0a; color: #efe9dc; isolation: isolate; }
.lux-hero picture, .lux-hero img.bg { position: absolute; inset: 0; z-index: -2; }
.lux-hero img.bg { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; max-width: none; }
.lux-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 9 8 / .94) 0%, rgb(10 9 8 / .82) 38%, rgb(10 9 8 / .25) 72%, rgb(10 9 8 / .1) 100%), linear-gradient(0deg, rgb(10 9 8 / .7), transparent 35%); }
.lux-hero .wrap { padding: clamp(var(--space-12), 6vw, 5.5rem) 0; }
.lux-hero .hero-copy { max-width: 40rem; }
.lux-hero .eyebrow { color: #d4b77c; }
.lux-hero h1 { font-size: var(--text-hero); margin: var(--space-5) 0 var(--space-5); color: #f6f1e6; }
.lux-hero h1 em { color: #d4b77c; }
.lux-hero .lede { font-size: var(--text-lg); color: #cfc7b6; max-width: 34rem; line-height: 1.55; }
.lux-hero .ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-8); }
.lux-hero .btn-primary { background: #d4b77c; color: #16130c; }
.lux-hero .btn-primary:hover { background: #e6cc95; color: #16130c; }
.lux-hero .btn-secondary { border-color: rgb(239 233 220 / .35); color: #efe9dc; }
.lux-hero .btn-secondary:hover { border-color: #d4b77c; color: #fff; }
.lux-hero .fine { margin-top: var(--space-5); font-size: var(--text-xs); color: #a39b8a; letter-spacing: .04em; }

/* trust ribbon */
.ribbon { border-block: 1px solid var(--border); background: var(--surface); }
.ribbon .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.ribbon div { padding: var(--space-6) var(--space-4); border-right: 1px solid var(--border); text-align: center; }
.ribbon div:last-child { border-right: 0; }
.ribbon b { display: block; font: 400 1.6rem/1.1 var(--display); color: var(--text); }
.ribbon span { font-size: var(--text-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* statement + split */
.statement { max-width: 920px; margin-inline: auto; text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); }
.statement p { margin: var(--space-6) auto 0; color: var(--text-2); max-width: 56ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, 6rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); margin: var(--space-4) 0 var(--space-5); }
.split p { color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-4); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; color: var(--text); }
.ticks li svg { width: 18px; height: 18px; color: var(--gold); margin-top: .2rem; }
.ticks li small { display: block; color: var(--muted); font-size: var(--text-sm); margin-top: 2px; }

/* the "taken care of" sequence */
.sequence { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-strong); }
.sequence > div { padding: var(--space-8) var(--space-6) 0 0; }
.sequence .n { font: italic 400 2.4rem/1 var(--display); color: var(--gold); }
.sequence h3 { font: 600 var(--text-base)/1.3 var(--font); margin: var(--space-4) 0 var(--space-2); }
.sequence p { color: var(--text-2); font-size: var(--text-sm); }

/* 47 days */
html.site .timeline-strip { border-color: var(--border-strong); border-radius: 14px; background: var(--surface); }
html.site .timeline-strip > div { border-color: var(--border); }
html.site .timeline-strip > div:last-child { background: var(--primary-soft); }
html.site .timeline-strip .big { font: 400 clamp(2rem, 1.4rem + 2vw, 3.2rem)/1 var(--display); }
html.site .timeline-strip > div:last-child .big { color: var(--gold) !important; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.pillar { padding: var(--space-8); border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.pillar h3 { font: 400 1.65rem/1.15 var(--display); margin-bottom: var(--space-3); }
.pillar p { color: var(--text-2); font-size: var(--text-sm); }

/* seal showcase */
.seal-show { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(var(--space-10), 6vw, 6rem); align-items: center; }
.seal-stage { border: 1px solid var(--border); border-radius: 18px; padding: clamp(var(--space-8), 5vw, var(--space-16)); background: radial-gradient(120% 120% at 30% 0%, var(--surface-2), var(--surface)); display: grid; gap: var(--space-5); justify-items: center; }
.seal-stage img { width: 260px; height: auto; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .25)); }
.seal-stage .cap { font-size: var(--text-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* features, plans, faq, cta */
html.site .feature .ico { background: var(--primary-soft); color: var(--gold); border-radius: 999px; }
html.site .feature h3 { font: 400 1.35rem/1.2 var(--display); }
html.site .plan .price { font: 400 3rem/1 var(--display); }
html.site .plan.popular { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
html.site .plan .tag { background: var(--gold); color: var(--on-primary); border-radius: 999px; }
html.site .plan h3 { font: 400 1.7rem/1.1 var(--display); }
html.site .plan li svg { color: var(--gold); }
html.site .price-toggle a.on { background: var(--text); color: var(--bg); box-shadow: none; }
html.site .faq summary { font-weight: 500; }
html.site .cta-band { background: #0f0e0c; color: #efe9dc; border: 1px solid #2a271f; }
html.site .cta-band h2 { color: #f6f1e6; font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); }
html.site .cta-band p { color: #bdb5a4; }
html.site .cta-band .scanbox { background: #17150f; border-color: #3a362c; }
html.site .cta-band .btn-primary { background: #d4b77c; color: #16130c; }
html.site .scanbox { border-radius: 999px; padding-left: var(--space-2); }
html.site .scanbox .btn { border-radius: 999px; }
html.site .hero::before { opacity: .35; }
html.site .hero h1 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.4rem); font-weight: 400; }
html.site .lp-points svg, html.site .assure svg { color: var(--gold); }
html.site .site-footer { margin-top: 0; background: var(--surface); }
html.site .site-footer .tagline { font: italic 400 1.35rem/1.3 var(--display); color: var(--text); max-width: 26ch; }

/* verification page */
.verify-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: clamp(var(--space-8), 6vw, var(--space-16)); text-align: center; display: grid; gap: var(--space-5); justify-items: center; }
.verify-card h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.verify-card .lede { color: var(--text-2); max-width: 46ch; }
.verify-svg { width: 260px; height: auto; }
.seal-stage .verify-svg { width: min(340px, 100%); filter: drop-shadow(0 18px 30px rgb(0 0 0 / .3)); }
.verify-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin: var(--space-4) 0 0; width: 100%; }
.verify-facts div { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.verify-facts dt { font-size: var(--text-xs); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.verify-facts dd { margin: var(--space-2) 0 0; font: 400 1.3rem/1.2 var(--display); }
.verify-card.off h1 { color: var(--text-2); }

@media (max-width: 900px) {
  .split, .seal-show { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 2; }
  .split figure { aspect-ratio: 16 / 11; }
  .sequence, .pillars { grid-template-columns: 1fr 1fr; }
  .ribbon .wrap { grid-template-columns: 1fr 1fr; }
  .ribbon div:nth-child(2) { border-right: 0; }
  .ribbon div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .lux-hero::after { background: linear-gradient(0deg, rgb(10 9 8 / .95) 10%, rgb(10 9 8 / .7) 60%, rgb(10 9 8 / .45)); }
  .lux-hero img.bg { object-position: 78% 50%; }
}
@media (max-width: 560px) {
  .sequence, .pillars, .verify-facts { grid-template-columns: 1fr; }
  .lux-hero .ctas .btn { width: 100%; }
}

/* sign in / sign up */
html.site .auth-card h1 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem); }
html.site .split-auth aside { position: relative; isolation: isolate; background: #0d0c0a url('/static/img/hero-seal-900.webp') center / cover no-repeat; color: #efe9dc; }
html.site .split-auth aside::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 9 8 / .9), rgb(10 9 8 / .72) 55%, rgb(10 9 8 / .9)); }
html.site .split-auth aside h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.8rem); color: #f6f1e6; }
html.site .split-auth aside li, html.site .split-auth aside p { color: #cfc7b6; }
html.site .split-auth aside .kicker, html.site .split-auth aside .eyebrow { color: #d4b77c; }
html.site .split-auth aside a { color: #d4b77c; }
