@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  /* Dark counsel palette — near-black warm ground with candlelight gold, matching the
     claude.ai design used on index/features/pricing. Token names are kept stable
     (--forest, --lime, --white, --paper) so existing rules re-skin without markup changes. */
  --ink: #F2EDE0;          /* warm ivory body text on dark */
  --muted: #B0A487;        /* parchment-tan secondary text */
  --paper: #0B0A08;        /* near-black warm page background */
  --white: #14110A;        /* card / panel surface (token name kept) */
  --navy: #0B0A08;
  --court-blue: #E6C76A;
  --forest: #E6C76A;       /* PRIMARY accent — candlelight gold */
  --forest-dark: #1A1608;  /* gold-tinted dark panel */
  --gold: #E6C76A;         /* bright gold accent */
  --gold-soft: #B8923A;    /* deep gold */
  --slate: #B0A487;
  --mint: #14110A;         /* tint panels resolve to the card surface */
  --lime: #E6C76A;         /* ACCENT — gold (token name kept) */
  --line: #2A2417;         /* warm dark border (≈ gold 15% on the ground) */
  --sand: #1A1608;         /* warm dark tint */
  --danger: #E8846B;       /* error tone readable on dark */
  --success: #8FBF9A;      /* success state only */
  --shadow: 0 18px 45px rgba(0, 0, 0, .45);
  --radius: 6px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(230, 199, 106, 0.3); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .2s ease;
}
.site-header.scrolled { border-color: var(--line); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .02em; font-size: 1.68rem; line-height: 1; color: var(--ink); }
.brand-gold { color: var(--gold); font-style: italic; margin-left: .28ch; }
.brand--header { padding: 4px 0; }
.brand--footer { align-items: center; gap: 14px; padding: 10px 12px 10px 0; }
.brand-logo { display: block; height: auto; }
.brand-logo--horizontal { width: clamp(196px, 20.5vw, 272px); }
.brand-logo--footer { width: clamp(188px, 19vw, 250px); }
.brand-lockup { display: inline-flex; align-items: center; }
.brand-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; }
.brand-badge--footer {
  width: 54px; height: 54px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 30px rgba(0,0,0,.20);
}
.brand-mark { display: block; height: auto; }
.brand-mark--footer { width: 34px; }
.nav-links { display: flex; align-items: center; gap: 29px; font-size: .92rem; color: var(--slate); }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 1.2rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 3px; padding: 13px 20px; background: linear-gradient(135deg, #E6C76A, #B8923A); color: #171204; font-weight: 600; font-size: .92rem; cursor: pointer; transition: transform .18s, filter .18s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: none; }
.button.secondary { background: transparent; color: var(--gold); border: 1px solid rgba(230,199,106,.4); }
.button.secondary:hover { background: rgba(230,199,106,.08); border-color: var(--gold); box-shadow: none; }
.button.lime { background: linear-gradient(135deg, #E6C76A, #B8923A); color: #171204; }
.button.lime:hover { filter: brightness(1.08); box-shadow: none; }
.button.small { padding: 10px 15px; font-size: .85rem; }
.button.wide { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--forest); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.05; }
/* Mature legal serif for major headings and the wordmark; UI/body stays sans. */
h1, h2, .brand { font-family: var(--font-serif); letter-spacing: -.01em; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5vw, 4.5rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 18px; }
h3 { font-size: 1.22rem; line-height: 1.3; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.28rem); color: var(--muted); line-height: 1.72; max-width: 680px; }
.hero { padding: 90px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 68px; }
.hero-copy h1 em { color: var(--forest); font-style: normal; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; color: var(--muted); font-size: .83rem; }
.trust-row span::before { content: "✓"; color: var(--forest); font-weight: 900; margin-right: 7px; }
.hero-visual { position: relative; min-height: 530px; }
.orb { position: absolute; width: 450px; height: 450px; border-radius: 50%; background: var(--mint); right: -80px; top: 20px; }
.product-window { position: absolute; left: 0; top: 45px; width: min(100%, 520px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.5deg); }
.window-bar { height: 50px; padding: 0 17px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: var(--sand); }
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: #3A3120; }
.window-title { margin-left: 12px; font-size: .75rem; color: var(--muted); font-weight: 700; }
.window-body { display: grid; grid-template-columns: 105px 1fr; min-height: 365px; }
.mini-sidebar { padding: 22px 12px; background: var(--forest-dark); color: var(--muted); font-size: .66rem; }
.mini-brand { color: var(--ink); font-weight: 800; margin-bottom: 24px; }
.mini-nav { display: grid; gap: 17px; }
.mini-nav b { color: var(--lime); }
.doc-area { padding: 25px; }
.doc-top { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); margin-bottom: 20px; }
.doc-paper { border: 1px solid var(--line); border-radius: 10px; padding: 25px; background: var(--sand); }
.doc-paper h4 { font-family: var(--font-serif); font-size: 1rem; text-align: center; margin: 0 0 22px; }
.line { display: block; height: 5px; border-radius: 10px; background: #2A2417; margin-bottom: 9px; }
.line.w90 { width: 90%; } .line.w76 { width: 76%; } .line.w61 { width: 61%; }
.ai-note { position: absolute; right: -12px; bottom: 38px; width: 230px; background: var(--forest-dark); color: var(--ink); border: 1px solid rgba(230,199,106,.35); border-radius: 8px; padding: 18px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.ai-note small { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; }
.ai-note p { font-size: .78rem; line-height: 1.5; margin: 10px 0 0; }

.section { padding: 96px 0; }
.section.white { background: #0E0C08; }
.section.dark { background: var(--forest-dark); color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.section-heading p { max-width: 520px; margin-bottom: 4px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 31px; min-height: 270px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(230,199,106,.4); }
.feature-card.tint { background: var(--sand); border-color: rgba(230,199,106,.2); }
.feature-card.dark { background: var(--forest-dark); color: var(--ink); border-color: rgba(230,199,106,.25); }
.feature-card p { color: var(--muted); line-height: 1.65; font-size: .94rem; }
.feature-card.dark p { color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 13px; background: var(--sand); color: var(--forest); display: grid; place-items: center; font-weight: 900; margin-bottom: 26px; font-size: 1.15rem; box-shadow: inset 0 0 0 1px rgba(230,199,106,.25); transition: transform .2s ease, box-shadow .2s ease; }
.icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card:hover .icon { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold); }
.feature-card p { font-size: .96rem; }
.tint .icon { background: var(--white); }
.dark .icon { background: rgba(230,199,106,.12); color: var(--lime); }
.disclaimer { border: 1px solid #4A2E24; background: #1C110C; color: #D8B4A6; border-radius: 8px; padding: 19px 22px; display: flex; gap: 14px; line-height: 1.55; font-size: .88rem; }
.disclaimer strong { display: block; color: var(--danger); margin-bottom: 3px; }
.disclaimer-mark { flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid #6B4A3C; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.step { counter-increment: step; }
.step::before { content: "0" counter(step); display: block; color: var(--forest); font-weight: 900; font-size: .78rem; margin-bottom: 32px; }
.step p { color: var(--muted); line-height: 1.6; }
.cta { border-radius: 8px; background: linear-gradient(120deg, #1A1608, #14110A); border: 1px solid rgba(230,199,106,.35); color: var(--ink); padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; overflow: hidden; position: relative; }
.cta::after { content: "L"; position: absolute; right: 4%; bottom: -58%; font: 400 290px/1 var(--font-serif); color: rgba(230,199,106,.05); }
.cta p { color: var(--muted); max-width: 560px; line-height: 1.6; }
.cta-page {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(230,199,106,.10), transparent 60%),
    linear-gradient(180deg, #14110A 0%, #0E0C08 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.page-hero { padding: 76px 0 58px; text-align: center; }
.page-hero .lede { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.page-hero--premium {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(46% 56% at 18% 16%, rgba(230,199,106,.10), transparent 72%),
    radial-gradient(38% 40% at 84% 14%, rgba(184,146,58,.08), transparent 70%),
    linear-gradient(180deg, #0B0A08 0%, #0E0C08 100%);
  color: var(--ink);
}
.page-hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(230,199,106,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,199,106,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .22;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 92%);
  pointer-events: none;
}
.page-hero--premium > .container { position: relative; z-index: 1; }
.page-hero--premium .eyebrow { color: #9A7B2E; }
.page-hero--premium .eyebrow::before { background: linear-gradient(90deg, #E6C76A, #B8923A); }
.page-hero--premium h1 {
  max-width: 10.8ch;
  margin-inline: auto;
  line-height: 1.03;
  letter-spacing: -.03em;
}
.page-hero--premium .lede,
.page-hero--premium .doc-rotator-line {
  max-width: 760px;
  color: var(--muted);
}
.page-hero--premium .doc-rotator-line { margin-top: 18px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 52px 0; }
.feature-row:nth-child(even) .feature-art { order: -1; }
.feature-row p, .check-list { color: var(--muted); line-height: 1.7; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--forest); font-weight: 900; }
.feature-art { min-height: 340px; background: var(--sand); border-radius: 8px; padding: 38px; display: grid; align-content: center; }
.feature-art--premium {
  background:
    radial-gradient(90% 90% at 100% 0%, rgba(230,199,106,.08), transparent 58%),
    linear-gradient(180deg, #1A1608, #14110A);
  border: 1px solid rgba(230,199,106,.14);
  box-shadow: 0 18px 34px rgba(0,0,0,.3);
}
.mock-card { background: var(--white); border: 1px solid var(--line); padding: 24px; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.mock-card + .mock-card { margin-top: 12px; margin-left: 55px; }
.mock-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mock-card p { margin: 8px 0 0; color: var(--ink); font-size: .9rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 32px; position: relative; }
.price-card.featured { border: 1px solid rgba(230,199,106,.55); background: linear-gradient(180deg, #1A1608, #14110A); transform: translateY(-10px); box-shadow: var(--shadow); }
.badge { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 8px; background: linear-gradient(135deg, #E6C76A, #B8923A); color: #171204; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.06em; margin: 25px 0 4px; }
.price small { font-size: .85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card > p { min-height: 48px; color: var(--muted); line-height: 1.5; }
.price-card .check-list { min-height: 190px; font-size: .9rem; }
.credit-note { margin-top: 35px; background: var(--sand); padding: 28px; border-radius: 18px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
.credit-note p { margin: 0; color: var(--muted); line-height: 1.6; }

.download-panel { max-width: 850px; margin: 0 auto; background: radial-gradient(86% 120% at 100% 0%, rgba(230,199,106,.08), transparent 46%), var(--white); border: 1px solid rgba(230,199,106,.25); border-radius: 8px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; box-shadow: var(--shadow); }
.system-details { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .83rem; margin-top: 18px; }
.version { display: inline-block; background: var(--mint); color: var(--forest); padding: 6px 9px; border-radius: 8px; font-weight: 800; font-size: .72rem; }
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; border: 0; background: transparent; padding: 23px 2px; display: flex; justify-content: space-between; text-align: left; cursor: pointer; color: var(--ink); font-weight: 750; }
.faq-answer { display: none; color: var(--muted); line-height: 1.65; padding: 0 40px 22px 2px; }
.faq-item.open .faq-answer { display: block; }
.comparison-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.comparison-table th { background: var(--sand); color: var(--forest); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.comparison-table td:first-child { width: 34%; font-weight: 700; color: var(--ink); }
.comparison-table td:last-child { color: var(--muted); }
.comparison-table tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-method { margin-top: 30px; }
.contact-method span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 5px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: 0 18px 36px rgba(0,0,0,.3); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { font-size: .79rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #3A3120; border-radius: 4px; padding: 13px 14px; background: #0E0C08; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,199,106,.16); }
.field textarea { min-height: 135px; resize: vertical; }
.form-note { color: var(--muted); font-size: .76rem; line-height: 1.5; }
.form-success { display: none; padding: 15px; border-radius: 11px; background: var(--mint); color: var(--forest); font-weight: 700; margin-top: 14px; }
.signup-shell { max-width: 760px; margin: 0 auto; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.signup-grid .full { grid-column: 1 / -1; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 76px; }
.password-toggle { position: absolute; right: 8px; top: 7px; border: 0; border-radius: 4px; padding: 7px 9px; background: #2A2417; color: var(--gold); cursor: pointer; font-weight: 700; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 11px 0; color: var(--muted); font-size: .85rem; }
.check-row input { margin-top: 3px; }
/* Signup: the binding-agreement notice sits above the clickwrap checkbox at body-text size. */
.legal-agreement-notice { margin: 18px 0 8px; padding: 12px 14px; border-left: 3px solid var(--gold, #E6C76A); background: rgba(230, 199, 106, .08); color: var(--ink, inherit); font-size: .95rem; line-height: 1.6; }
.form-feedback { display: none; margin: 14px 0; padding: 13px 15px; border-radius: 6px; background: #2A1410; color: #E8A093; font-weight: 700; }
.form-feedback.visible { display: block; }
.signup-diagnostics summary { cursor: pointer; font-weight: 700; }
.signup-diagnostics pre { margin: 10px 0 0; white-space: pre-wrap; word-break: break-word; font: 500 .85rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color: #F1D2CA; }
.trial-success { display: none; }
.trial-success.visible { display: block; }
.signup-form.hidden { display: none; }
.trial-summary { margin: 22px 0; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--sand); }
.membership-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }

.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; justify-content: center; align-items: start; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: 12px; font-size: .82rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 17px; }
.legal-nav a:hover { color: var(--forest); }
.legal { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 48px; box-shadow: 0 18px 38px rgba(0,0,0,.3); }
.legal .draft-label { display: inline-block; color: var(--danger); background: #2A1410; padding: 7px 10px; border-radius: 6px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.legal h2 { font-size: 1.65rem; margin: 42px 0 13px; scroll-margin-top: 100px; }
.legal h3 { font-size: 1.05rem; margin: 25px 0 9px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; font-size: .94rem; }
.legal li { margin-bottom: 8px; }
.legal .legal-alert { color: #D8B4A6; background: #1C110C; border-left: 3px solid var(--danger); padding: 16px 18px; }

.site-footer {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(230,199,106,.06), transparent 38%),
    linear-gradient(180deg, #0B0A08 0%, #080604 100%);
  border-top: 1px solid rgba(230,199,106,.14);
  color: var(--ink);
  padding: 68px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-brand p { color: #6E6650; font-size: .85rem; line-height: 1.6; max-width: 320px; margin-top: 18px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #9A7B2E; margin: 4px 0 17px; }
.footer-col { display: grid; align-content: start; gap: 11px; font-size: .86rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(230,199,106,.14); margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #6E6650; font-size: .75rem; }

/* Dashboard */
.dashboard-body { background: var(--paper); min-height: 100vh; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-art { background: var(--forest-dark); color: var(--ink); padding: 60px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.login-art blockquote { font: 500 2.2rem/1.35 var(--font-serif); max-width: 530px; margin: 0; }
.login-art small { color: var(--muted); }
.login-panel { display: grid; place-items: center; padding: 40px; background: var(--paper); }
.login-card { width: min(420px, 100%); }
.login-card .brand { margin-bottom: 60px; }
.login-card h1 { font-size: 2.45rem; }
.login-card > p { color: var(--muted); margin-bottom: 30px; }
.demo-hint { background: var(--mint); color: var(--forest); border-radius: 10px; padding: 12px; font-size: .78rem; margin: 12px 0; }
.app-shell { display: grid; grid-template-columns: 245px 1fr; min-height: 100vh; }
.app-sidebar { background: var(--forest-dark); color: var(--ink); padding: 28px 18px; position: fixed; inset: 0 auto 0 0; width: 245px; border-right: 1px solid var(--line); }
.app-sidebar .brand { padding: 0 10px; }
.app-nav { display: grid; gap: 6px; margin-top: 45px; }
.app-nav a { padding: 12px 13px; border-radius: 6px; color: var(--muted); font-size: .88rem; display: flex; gap: 11px; }
.app-nav a.active, .app-nav a:hover { background: rgba(230,199,106,.1); color: var(--gold); }
.app-user { position: absolute; left: 18px; right: 18px; bottom: 22px; border-top: 1px solid rgba(230,199,106,.14); padding: 20px 8px 0; font-size: .8rem; }
.app-user span { color: #6E6650; display: block; margin-top: 4px; }
.app-main { grid-column: 2; padding: 30px 42px 60px; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.app-top h1 { font-size: 1.9rem; margin: 0; }
.app-top p { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; }
.stat-card, .dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 23px; }
.stat-label { color: var(--muted); font-size: .75rem; margin-bottom: 12px; }
.stat-value { font-size: 1.65rem; font-weight: 800; letter-spacing: -.04em; }
.progress { height: 7px; background: #2A2417; border-radius: 10px; margin-top: 15px; overflow: hidden; }
.progress span { display: block; width: 68%; height: 100%; background: var(--forest); border-radius: inherit; }
.dash-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; margin-top: 16px; }
.dash-card h2 { font-size: 1.05rem; letter-spacing: -.02em; }
.usage-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.usage-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.usage-table td { padding: 15px 8px; border-bottom: 1px solid var(--line); }
.usage-table .cost { color: var(--forest); font-weight: 800; }
.download-card { background: var(--mint); border: 0; }
.download-card p { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.dash-view { display: none; }
.dash-view.active { display: block; }
.billing-placeholder { min-height: 350px; display: grid; place-items: center; text-align: center; }
.billing-placeholder p { max-width: 430px; color: var(--muted); line-height: 1.6; }
.mobile-app-top { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 20px; right: 20px; padding: 18px; border: 1px solid rgba(230,199,106,.25); border-radius: 8px; background: #14110A; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-actions .secondary { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-visual { min-height: 490px; max-width: 620px; }
  .page-hero--premium { padding: 74px 0 58px; }
  .page-hero--premium h1 { max-width: 12.2ch; }
  .section-heading { align-items: start; flex-direction: column; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid .price-card:last-child { grid-column: span 2; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
  .login-shell { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-main { grid-column: 1; padding: 24px; }
  .mobile-app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
  .mobile-app-nav { display: flex; overflow-x: auto; gap: 7px; margin-bottom: 23px; }
  .mobile-app-nav button { white-space: nowrap; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 6px; padding: 8px 11px; }
}

@media (max-width: 620px) {
  .signup-grid, .membership-actions { grid-template-columns: 1fr; }
  .container { width: min(100% - 28px, 1160px); }
  .brand-logo--horizontal, .brand-logo--footer { width: min(220px, 56vw); }
  .brand--footer { align-items: flex-start; }
  .brand-badge--footer { width: 48px; height: 48px; }
  .brand-mark--footer { width: 30px; }
  .nav-actions .button:not(.secondary) { display: none; }
  h1 { font-size: 3rem; }
  .hero { padding: 46px 0; }
  .hero-grid { gap: 28px; }
  .hero-visual { min-height: 390px; }
  .product-window { top: 20px; }
  .window-body { grid-template-columns: 74px 1fr; min-height: 290px; }
  .mini-sidebar, .doc-area { padding: 15px 9px; }
  .ai-note { width: 190px; right: 0; bottom: 5px; }
  .grid-3, .grid-2, .pricing-grid, .steps, .stat-grid, .dash-grid, .credit-note { grid-template-columns: 1fr; }
  .pricing-grid .price-card:last-child { grid-column: auto; }
  .section { padding: 68px 0; }
  .cta { padding: 38px 27px; flex-direction: column; align-items: start; }
  .feature-row { gap: 24px; padding: 34px 0; }
  .feature-row:nth-child(even) .feature-art { order: initial; }
  .feature-art { min-height: 280px; padding: 24px; }
  .download-panel { grid-template-columns: 1fr; padding: 27px; }
  .comparison-table th, .comparison-table td { padding: 15px 14px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-card { padding: 25px; }
  .legal { padding: 27px 21px; }
  .page-hero { padding: 50px 0 36px; }
  .page-hero--premium { padding: 58px 0 44px; }
  .page-hero--premium::before { background-size: 34px 34px; opacity: .16; }
  .page-hero--premium h1 { max-width: none; font-size: clamp(2.45rem, 10.8vw, 3.3rem); }
  .page-hero--premium .lede { font-size: 1rem; line-height: 1.68; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; }
  .app-main { padding: 18px 14px 45px; }
  .app-top { align-items: start; }
  .app-top .button { display: none; }
  .usage-table th:nth-child(2), .usage-table td:nth-child(2) { display: none; }
}

/* Hero free-account badge and feature bullets */
.hero-badge { display: inline-flex; align-items: center; margin-top: 26px; padding: 9px 15px; border-radius: 999px; background: var(--white); border: 1px solid var(--gold); color: var(--forest); font-weight: 800; font-size: .85rem; box-shadow: 0 6px 18px rgba(11,19,32,.06); }
.hero-bullets { margin-top: 22px; max-width: 540px; }
.hero-bullets li { font-size: .92rem; }
.check-list li::before, .trust-row span::before { color: var(--gold); }

/* Gold divider helper for court-document feel */
.gold-rule { height: 2px; width: 64px; background: var(--gold); border: 0; margin: 0 0 22px; }

/* ---- Elegant, restrained motion (website only) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.hero-copy > * { animation: lobrite-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero-visual { animation: lobrite-fade-up 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: .15s; }
@keyframes lobrite-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,19,32,.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .button:hover, .feature-card:hover, .price-card.featured { transform: none; }
}

/* ============================================================
   Visual upgrade: depth, court-document texture, dynamic accents
   ============================================================ */

/* Subtle courthouse-column line texture + soft glow behind the hero. */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(11,19,32,.030) 0 1px, transparent 1px 92px),
    radial-gradient(120% 85% at 82% -5%, rgba(30,58,95,.07), transparent 58%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero > .container { position: relative; z-index: 1; }

/* Rotating document-type line in the hero. */
.doc-rotator-line { margin-top: 20px; font-size: .98rem; color: var(--muted); font-weight: 600; }
.doc-rotator { display: inline-block; min-width: 11ch; color: var(--forest); font-weight: 800; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.doc-rotator.swap { animation: rotWord .45s cubic-bezier(.2,.7,.2,1); }
@keyframes rotWord { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Workflow band: Read Case -> Summary -> Ask Questions -> Draft. */
.flow-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-step { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--forest); white-space: nowrap; }
.flow-step.lead { background: linear-gradient(135deg, #E6C76A, #B8923A); color: #171204; border-color: transparent; }
.flow-arrow { position: relative; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) 0 40%, color-mix(in srgb, var(--gold) 18%, transparent) 100%); background-size: 220% 100%; animation: flowMove 2.4s linear infinite; }
.flow-arrow::after { content: "\203A"; position: absolute; right: -9px; top: -12px; color: var(--gold); font-weight: 900; font-size: 1rem; }
@keyframes flowMove { from { background-position: 120% 0; } to { background-position: -60% 0; } }

/* Animated fact counters (true product facts, not social proof). */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat { padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat-num { display: block; font-family: var(--font-serif); font-size: clamp(2.1rem, 3vw, 2.8rem); font-weight: 700; color: var(--forest); letter-spacing: -.02em; line-height: 1; }
.stat-num .u { color: var(--gold); }
.stat-cap { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* Crisp gold rule under section eyebrows for a court-document feel. */
.section-heading h2 { position: relative; }
.section-heading h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 16px; }

/* Card hover gets a thin gold top accent for depth. */
.feature-card { position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card.dark::before { background: var(--gold-soft); }

@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .flow-step { font-size: .82rem; padding: 8px 13px; }
  .flow-arrow { width: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-arrow, .doc-rotator.swap { animation: none !important; }
  .hero::before { display: none; }
}

/* Real-app screenshot/recreation in the hero window. */
.app-shot { display: block; line-height: 0; }
.app-shot svg, .app-shot img { display: block; width: 100%; height: auto; }

/* Process timeline (features page): numbered gold nodes connected by a rail. */
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 18px; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 21px; height: 2px; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 30%, var(--line))); z-index: 0; }
.t-step { position: relative; z-index: 1; text-align: center; }
.t-node { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); color: var(--forest); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(11,19,32,.08); }
.t-step.lead .t-node { background: linear-gradient(135deg, #E6C76A, #B8923A); color: #171204; border-color: transparent; }
.t-label { font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.t-sub { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.feature-row .eyebrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 2px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .timeline::before { display: none; }
}
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr 1fr; } }

.feature-row .eyebrow::before { display: none; }

/* Outcome "Result:" line on the Features page. */
.result { margin: 12px 0 0; font-weight: 700; font-size: .9rem; color: var(--forest); }
.result::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 9px; }
.feature-card .result { font-size: .85rem; margin-top: 10px; }
.feature-card.dark .result { color: var(--gold-soft); }

/* ============================================================
   Premium product-story additions: glass panels, spotlight hover,
   bento pillar layout, hero trust line, animated headline reveal.
   Restrained by design — no neon, no particle effects, no cursor
   gimmicks. Everything here degrades to fully visible static
   content under prefers-reduced-motion or without JavaScript.
   ============================================================ */

/* Glass / frosted panel utility. */
.glass-panel {
  background: color-mix(in srgb, white 72%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid color-mix(in srgb, white 40%, var(--line));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section.dark .glass-panel, .cta .glass-panel {
  background: color-mix(in srgb, white 8%, transparent);
  border-color: color-mix(in srgb, white 16%, transparent);
}

/* Bento pillar grid for the three core product pillars (Read Case / Draft /
   Review). Equal-width on purpose — Apple's own pillar sections rarely use
   asymmetric bento cells when there are exactly three items; asymmetry here
   would read as visual noise rather than hierarchy. */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card {
  position: relative; overflow: hidden;
  padding: 36px 32px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.pillar-card .pillar-num { font-family: var(--font-serif); font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.pillar-card h3 { margin: 14px 0 10px; }
.pillar-card p { color: var(--muted); line-height: 1.65; font-size: .95rem; margin: 0; }

/* Spotlight hover glow — a soft radial highlight that follows the cursor,
   driven by --mx/--my custom properties set in site.js. CSS-only fallback
   (no JS, touch devices, reduced motion) is simply no glow: the card still
   has its normal hover lift above, so nothing is lost. */
.spotlight { position: relative; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gold) 16%, transparent), transparent 65%);
}
.spotlight:hover::after { opacity: 1; }

/* Hero trust line — quiet, not a badge; sits with the disclaimer language
   the rest of the site already uses, just placed where it matters most. */
.hero-trust { margin-top: 18px; font-size: .82rem; color: var(--muted); max-width: 520px; line-height: 1.5; }
.hero-trust strong { color: var(--ink); }

/* Animated headline word reveal. Words are wrapped in .word spans by
   site.js only when motion is allowed; without JS the heading is fully
   visible plain text, so nothing about comprehension depends on this. */
.word-reveal .word { display: inline-block; opacity: 0; transform: translateY(.4em); animation: wordUp .6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordUp { to { opacity: 1; transform: none; } }

/* Quiet workflow timeline label set reused on the homepage (mirrors the
   Features-page timeline component; no new structural CSS required). */

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .bento-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pillar-card:hover { transform: none; }
  .spotlight::after { display: none; }
  .word-reveal .word { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Homepage premium legal-tech upgrade
   FloatingLines/Strands-inspired fallback implemented in
   plain canvas/CSS to keep the current static deploy pipeline.
   ============================================================ */

.hero--premium {
  position: relative;
  padding: 112px 0 92px;
  background:
    linear-gradient(180deg, #050816 0%, #081021 44%, #0b1320 100%);
  color: white;
}

.hero--premium::before,
.hero--premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero--premium::before {
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .18;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.36) 78%, transparent);
}

.hero--premium::after {
  background:
    radial-gradient(48% 44% at 20% 16%, rgba(31,75,255,.22), transparent 70%),
    radial-gradient(42% 36% at 82% 14%, rgba(124,58,237,.16), transparent 72%),
    linear-gradient(180deg, rgba(5,8,22,.18), rgba(5,8,22,.42));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 42% at 22% 24%, rgba(31,75,255,.16), transparent 72%),
    radial-gradient(36% 36% at 78% 22%, rgba(6,182,212,.12), transparent 72%);
}

.hero-lines-canvas,
.strands-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero--premium > .container {
  position: relative;
  z-index: 1;
}

.hero--premium .hero-grid {
  align-items: center;
  gap: 72px;
}

.hero--premium .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 628px;
}

.hero--premium .hero-copy h1 {
  max-width: 10.8ch;
  margin-bottom: 20px;
  font-size: clamp(3.15rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.eyebrow--hero,
.hero--premium .eyebrow {
  color: #b7c4dd;
}

.eyebrow--hero::before {
  background: linear-gradient(90deg, #1f4bff, #06b6d4);
}

.hero-lede,
.hero--premium .lede,
.hero--premium .hero-trust,
.hero--premium .doc-rotator-line {
  color: #c7d0de;
}

.hero--premium .hero-lede {
  max-width: 590px;
  font-size: clamp(1.08rem, 1.28vw, 1.22rem);
  line-height: 1.76;
}

.hero--premium .hero-bullets {
  margin-top: 22px;
  max-width: 540px;
}

.hero--premium .hero-copy h1 em {
  color: #9ac2ff;
}

.hero--premium .hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.button-glow {
  background: linear-gradient(135deg, #1f4bff, #385bff 58%, #06b6d4 140%);
  box-shadow: 0 16px 34px rgba(31,75,255,.24), 0 0 0 1px rgba(255,255,255,.08) inset;
  min-width: 214px;
}

.button-glow:hover {
  background: linear-gradient(135deg, #254fff, #4e65ff 58%, #16c5df 140%);
}

.button-dark.secondary-glass {
  background: rgba(255,255,255,.04);
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  min-width: 196px;
}

.button-dark.secondary-glass:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: white;
}

.hero-visual--premium {
  min-height: 610px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
}

.hero-orb--one {
  width: 350px;
  height: 350px;
  right: 16px;
  top: 10px;
  background: radial-gradient(circle at 35% 35%, rgba(31,75,255,.24), rgba(31,75,255,.02) 70%);
}

.hero-orb--two {
  width: 240px;
  height: 240px;
  left: -20px;
  bottom: 40px;
  background: radial-gradient(circle at 40% 40%, rgba(124,58,237,.14), rgba(124,58,237,0) 74%);
}

.product-window--hero {
  left: auto;
  right: 30px;
  top: 78px;
  width: min(100%, 556px);
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow:
    0 30px 74px rgba(3,8,24,.28),
    inset 0 1px 0 rgba(255,255,255,.3);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) rotate(.85deg);
}

.hero-side-card {
  position: absolute;
  z-index: 2;
  max-width: 244px;
  padding: 18px 18px 16px;
  background: rgba(9,16,29,.58);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 42px rgba(0,0,0,.20);
}

.hero-side-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: .97rem;
  line-height: 1.35;
}

.hero-side-card p {
  margin: 0;
  color: #c7d0de;
  font-size: .85rem;
  line-height: 1.55;
}

.hero-side-card--accent {
  right: 6px;
  bottom: 54px;
}

.hero-side-card:not(.hero-side-card--accent) {
  left: 6px;
  top: 30px;
}

.hero-side-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #8fd8ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.highlight-strip {
  padding: 18px 0 6px;
  background:
    linear-gradient(180deg, rgba(5,8,22,1) 0%, rgba(9,16,29,.98) 54%, var(--paper) 54%, var(--paper) 100%);
}

.section-slim {
  padding-block: 0;
}

.highlight-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(31,75,255,.14);
  background: rgba(255,255,255,.82);
  color: var(--forest-dark);
  box-shadow: 0 12px 24px rgba(11,19,32,.06);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.section-premium-cards {
  padding-top: 86px;
}

.section-heading--centered {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-heading--centered .lede {
  margin-inline: auto;
}

.eyebrow-centered {
  justify-content: center;
}

.bento-grid--premium {
  margin-top: 44px;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.section-command-center {
  background:
    linear-gradient(180deg, #f7f3ea 0%, #f4f6fb 100%);
}

.command-center-layout {
  display: grid;
  gap: 28px;
}

.section-heading--stacked {
  align-items: start;
}

.command-center-shell {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(31,75,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
}

.command-center-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(31,75,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,75,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .55;
  pointer-events: none;
}

.command-center-topbar,
.command-center-grid {
  position: relative;
  z-index: 1;
}

.command-center-topbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.command-center-chip,
.command-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid rgba(11,19,32,.08);
  background: rgba(255,255,255,.9);
  color: var(--forest);
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11,19,32,.06);
}

.command-center-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.command-card {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,19,32,.08);
  box-shadow: 0 16px 28px rgba(11,19,32,.06);
}

.command-card--primary {
  background: linear-gradient(180deg, #0b1320 0%, #10203b 100%);
  color: white;
}

.command-card--primary p {
  color: #c7d0de;
}

.command-card--wide {
  grid-column: 1 / -1;
}

.command-card h3 {
  margin-bottom: 8px;
}

.command-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.command-card-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #596a83;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.command-card--primary .command-card-label {
  color: #9ac2ff;
}

.command-flow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-audience .grid-3,
.section-coverage .grid-3 {
  gap: 20px;
}

.section-coverage {
  background: white;
}

.section-audience {
  background: linear-gradient(180deg, white 0%, #f7f8fc 100%);
}

.cta-premium {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #09101d 0%, #0b1320 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(3,8,24,.24);
}

.cta-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 44% at 86% 18%, rgba(31,75,255,.18), transparent 72%);
}

.cta-premium > *:not(.cta-backdrop) {
  position: relative;
  z-index: 1;
}

.cta-copy p {
  color: #c7d0de;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  align-items: stretch;
}

.cta-actions .button:first-child {
  min-width: 232px;
}

.cta-actions .button.secondary {
  min-width: 232px;
}

.eyebrow--cta::before {
  background: linear-gradient(90deg, #1f4bff, #7c3aed);
}

.section-disclaimer {
  padding-top: 0;
}

@media (max-width: 900px) {
  .hero--premium {
    padding: 82px 0 68px;
  }

  .hero-visual--premium {
    min-height: 560px;
  }

  .product-window--hero {
    right: 18px;
    left: 18px;
    width: auto;
    transform: none;
  }

  .hero-side-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 14px;
  }

  .hero--premium .hero-grid {
    gap: 42px;
  }

  .hero--premium .hero-copy {
    max-width: none;
  }

  .hero--premium .hero-copy h1 {
    max-width: 12.4ch;
  }

  .bento-grid--premium,
  .command-center-grid,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .hero--premium {
    padding: 60px 0 48px;
  }

  .hero--premium::before {
    opacity: .12;
    background-size: 36px 36px;
  }

  .hero--premium .hero-grid {
    gap: 26px;
  }

  .hero--premium .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.55rem, 11vw, 3.35rem);
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .hero--premium .hero-lede {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero--premium .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .hero--premium .hero-actions .button,
  .hero--premium .hero-actions .button-dark.secondary-glass,
  .hero--premium .hero-actions .button-glow {
    width: 100%;
    min-width: 0;
  }

  .hero--premium .hero-trust {
    margin-top: 16px;
    font-size: .79rem;
  }

  .hero--premium .hero-bullets {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-visual--premium {
    min-height: auto;
  }

  .product-window--hero {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .hero-side-card {
    padding: 16px 16px 14px;
  }

  .hero-side-card strong {
    font-size: .92rem;
  }

  .hero-side-card p {
    font-size: .82rem;
    line-height: 1.5;
  }

  .highlight-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    margin-inline: calc(-1 * 2px);
  }

  .highlight-pill {
    font-size: .84rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 11px 15px;
  }

  .bento-grid--premium,
  .command-center-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .command-center-shell {
    padding: 20px;
  }

  .command-center-topbar,
  .command-flow {
    gap: 8px;
  }

  .command-center-chip,
  .command-flow span {
    font-size: .78rem;
    padding: 8px 12px;
  }

  .section-premium-cards,
  .section-command-center,
  .section-coverage,
  .section-audience {
    overflow: clip;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lines-canvas,
  .strands-canvas {
    opacity: .7;
  }

  .hero-side-card,
  .product-window--hero,
  .command-card,
  .highlight-pill {
    transform: none !important;
  }
}
