/* Sovereign AI — design system. Warm paper, editorial serif, navy and antique gold.
   Typefaces are self-hosted so the display line never flashes a fallback. */

/* ---- typefaces --------------------------------------------------------------------------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/dm-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #ECEAE4; --paper-2: #F6F5F1; --paper-3: #E2DFD7; --white: #FFFFFF;
  --ink: #141D26; --ink-2: #37434F; --muted: #6B7580; --faint: #9AA3AC;
  --line: rgba(20,29,38,.09); --line-2: rgba(20,29,38,.16);
  --navy: #1A4479; --navy-2: #123055; --navy-soft: rgba(26,68,121,.08);
  --gold: #A98A55; --gold-deep: #8A6A34; --gold-lite: #D9C29A; --gold-soft: rgba(169,138,85,.14);
  --green: #2E8B5E; --red: #B4443E; --amber: #B7822B; --blue: #1A4479;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --dark: #101214; --dark-2: #17191C; --dark-line: rgba(255,255,255,.09); --dark-muted: #9AA0A6;
  --radius: 20px; --radius-sm: 12px; --radius-xs: 8px;
  --shadow-xs: 0 1px 2px rgba(20,29,38,.06);
  --shadow-sm: 0 6px 20px rgba(20,29,38,.07), 0 1px 2px rgba(20,29,38,.05);
  --shadow: 0 18px 50px rgba(20,29,38,.10), 0 2px 6px rgba(20,29,38,.05);
  --shadow-lg: 0 44px 96px rgba(20,29,38,.15), 0 8px 22px rgba(20,29,38,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.62,.02,.24,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 1.4em; }
h3 { font-size: 1.55rem; margin-top: 1.2em; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
p.lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.55; }
ul, ol { padding-left: 1.3em; } li { margin: .3em 0; }
code, pre, kbd { font-family: var(--mono); font-size: .86em; }
code { background: rgba(23,34,44,.06); border-radius: 6px; padding: .12em .42em; }
pre { background: #1A2430; color: #E8ECEF; border-radius: var(--radius-sm); padding: 18px 20px; overflow-x: auto; margin: 0 0 1.4em; line-height: 1.55; box-shadow: var(--shadow-sm); }
pre code { background: none; padding: 0; color: inherit; }
kbd { background: var(--white); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 0 .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95em; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: .78em; text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .9em; } .mono { font-family: var(--mono); }
.center { text-align: center; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.eyebrow { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.eyebrow.gold { color: var(--gold); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 800px; }
main.page { padding: 130px 0 90px; }
main.page h1 { margin-bottom: .3em; }

/* ---- floating navigation ---------------------------------------------------- */
.nav { position: fixed; top: 18px; left: 0; right: 0; z-index: 40; pointer-events: none; }
.nav .bar { pointer-events: auto; max-width: 1100px; margin: 0 auto; height: 60px; padding: 0 12px 0 20px; display: flex; align-items: center; gap: 22px; background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 10px 40px rgba(23,34,44,.12), 0 1px 0 rgba(255,255,255,.6) inset; }
.nav .logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; }
.nav .logo svg { width: 26px; height: 26px; }
.nav .ask { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: .86rem; background: var(--white); text-decoration: none; transition: border-color .2s; }
.nav .ask:hover { border-color: var(--ink-2); color: var(--ink); text-decoration: none; }
.nav .ask span.go { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-3); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: .8rem; }
.nav .links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav .links a { color: var(--ink-2); padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.nav .links a:hover, .nav .links a.active { color: var(--ink); background: rgba(23,34,44,.06); }
.nav .links a.cta { color: var(--ink); font-weight: 600; margin-left: 8px; }
.nav .links a.btn-primary { color: #fff; background: var(--navy); padding: 9px 16px; }
.nav .links a.btn-primary:hover { background: var(--navy-2); color: #fff; }
.nav .burger { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 1.1rem; }
@media (max-width: 900px) {
  .nav { top: 12px; padding: 0 12px; }
  .nav .bar { padding: 0 10px 0 16px; gap: 12px; }
  .nav .ask { display: none; }
  .nav .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav .links { display: none; position: absolute; top: 70px; left: 12px; right: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 12px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav .links.open { display: flex; }
  .nav .links a { padding: 12px 14px; border-radius: 12px; }
}

/* ---- footer -------------------------------------------------------------------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer .brand { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .95rem; max-width: 260px; }
.footer .brand svg { width: 34px; height: 34px; color: var(--ink); }
.footer h5 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 10px; }
.footer a { color: var(--ink-2); font-size: .95rem; }
.footer .legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; text-align: center; }
@media (max-width: 820px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---- buttons + forms ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--ink-2); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(23,34,44,.05); box-shadow: none; border-color: transparent; }
.btn-danger { color: var(--red); }
.btn-sm { padding: 8px 14px; font-size: .86rem; border-radius: 8px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-pill { border-radius: 999px; }
.input, .select, .textarea { width: 100%; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; padding: 12px 14px; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.textarea { min-height: 120px; resize: vertical; }
.label { display: block; font-size: .8rem; color: var(--muted); margin: 0 0 6px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.field { margin-bottom: 18px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 180px; }

/* ---- layout blocks ---------------------------------------------------------------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.two { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; } @media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; font-size: 1.45rem; }
.card.accent { border-color: rgba(27,75,134,.35); box-shadow: 0 0 0 1px rgba(27,75,134,.15) inset, var(--shadow); }
.card.flat { box-shadow: none; background: var(--paper-2); }
.section { margin: 90px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { margin-top: 0; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--paper-3); color: var(--ink-2); }
.badge.gold { color: #5c4a26; background: #E8DCC4; }
.badge.green { color: #1f5f40; background: #D7E9DE; }
.badge.blue { color: #fff; background: var(--navy); }
.badge.red { color: #fff; background: var(--red); }
.badge.ink { color: #fff; background: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .86em; color: var(--muted); }
.notice { background: var(--white); border: 1px solid var(--line-2); border-left: 3px solid var(--navy); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.4em; }
.notice.warn { border-left-color: var(--amber); }
.notice.danger { border-left-color: var(--red); }
.notice.ok { border-left-color: var(--green); }
.stat { font-family: var(--serif); font-size: 2.4rem; line-height: 1; letter-spacing: -.01em; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 0 0 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem; color: var(--navy); }
.out { background: #1A2430; color: #E8ECEF; border-radius: var(--radius-sm); padding: 16px; min-height: 60px; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: .86em; }
.keybox { font-family: var(--mono); background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px; word-break: break-all; font-size: .9em; }
.tabs { display: flex; gap: 4px; margin: 0 0 22px; background: var(--paper-3); padding: 4px; border-radius: 999px; width: max-content; max-width: 100%; }
.tabs button { background: none; border: 0; color: var(--ink-2); padding: 9px 18px; font: inherit; font-weight: 500; cursor: pointer; border-radius: 999px; }
.tabs button.active { color: var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }
.hidden { display: none !important; }
.toast-host { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 999px; box-shadow: var(--shadow); font-size: .92em; max-width: 90vw; animation: toastin .18s var(--ease); }
.toast.error { background: var(--red); } .toast.ok { background: var(--green); }
@keyframes toastin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.price { font-family: var(--serif); font-size: 3rem; line-height: 1; } .price small { font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.check { list-style: none; padding: 0; } .check li { padding-left: 26px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: .88em; }
.toc a:hover { color: var(--ink); border-color: var(--ink-2); text-decoration: none; }
details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; margin: 0 0 10px; background: var(--white); }
summary { cursor: pointer; font-weight: 500; }


/* ---- landing blocks ------------------------------------------------------------------ */
.intro { text-align: center; padding: 60px 0 40px; }
.intro h1 { max-width: 900px; margin: 0 auto .4em; }
.intro p.lead { max-width: 640px; margin: 0 auto; }
.feature { display: grid; grid-template-columns: .9fr 1.4fr; gap: 60px; align-items: center; margin: 120px 0; }
.feature.flip { grid-template-columns: 1.4fr .9fr; }
.feature.flip .copy { order: 2; }
.feature .copy h2 { margin-top: 0; }
.feature .copy p { color: var(--ink-2); font-size: 1.12rem; max-width: 420px; }
.feature .visual { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10.5; background: var(--paper-3); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 26px; margin: 70px 0; } .feature.flip .copy { order: 0; } }
.visual .bg { position: absolute; inset: 0; }
.visual .bg.a { background: radial-gradient(60% 70% at 30% 20%, #F2EDE2 0%, transparent 70%), radial-gradient(50% 60% at 80% 80%, #CDD5D8 0%, transparent 70%), linear-gradient(160deg, #E6E2D8, #D5D9D6); }
.visual .bg.b { background: radial-gradient(50% 60% at 70% 20%, #DDD3C1 0%, transparent 70%), radial-gradient(60% 60% at 20% 90%, #C4CED3 0%, transparent 70%), linear-gradient(200deg, #EDE8DD, #D8DCD8); }
.visual .bg.c { background: radial-gradient(70% 60% at 50% 100%, #C9B99A 0%, transparent 70%), radial-gradient(50% 50% at 10% 10%, #E9E4D8 0%, transparent 60%), linear-gradient(180deg, #DCD7CB, #B9A98A); }
.visual .bg.d { background: radial-gradient(60% 60% at 80% 10%, #D9DFE2 0%, transparent 70%), linear-gradient(160deg, #EDEBE4, #CFD6DA); }
.mock { position: absolute; left: 8%; right: 8%; top: 10%; bottom: 10%; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border-radius: 18px; box-shadow: 0 30px 60px rgba(23,34,44,.18); border: 1px solid rgba(255,255,255,.8); overflow: hidden; display: flex; flex-direction: column; }
.mock .win { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock .win i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); display: block; }
.mock .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; font-size: .92rem; }
.mock .u { align-self: flex-end; background: var(--paper-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 78%; }
.mock .a { align-self: flex-start; padding: 2px 0; max-width: 90%; color: var(--ink); }
.mock .a p { margin: 0 0 8px; }
.mock .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mock .chip { font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: #fff; }
.mock .chip.ok { color: var(--green); border-color: rgba(46,139,94,.5); font-weight: 600; }
.mock .composer { margin-top: auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 8px 8px 16px; color: var(--muted); background: #fff; }
.mock .composer b { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.mock.site .page { flex: 1; background: #fff; padding: 16px 18px; display: grid; gap: 10px; grid-template-rows: 26px 60px 1fr; }
.mock.site .bar { display: flex; gap: 8px; align-items: center; } .mock.site .bar i { display: block; height: 8px; border-radius: 4px; background: var(--paper-3); width: 40px; } .mock.site .bar i:first-child { width: 22px; height: 22px; border-radius: 6px; background: var(--navy); }
.mock.site .hero-m { border-radius: 10px; background: linear-gradient(120deg, #1B4B86, #5E7FA6); display: flex; align-items: center; padding: 0 16px; } .mock.site .hero-m i { display: block; height: 10px; width: 55%; border-radius: 5px; background: rgba(255,255,255,.85); }
.mock.site .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .mock.site .cols i { display: block; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); }
.mock.code { background: #1A2430; color: #E8ECEF; font-family: var(--mono); font-size: .8rem; line-height: 1.6; }
.mock.code .body { padding: 18px 22px; gap: 0; white-space: pre; overflow: hidden; }
.mock.code .k { color: #9CC6FF; } .mock.code .s { color: #E1C089; } .mock.code .c { color: #7E8A96; }
.imgcard { position: absolute; left: 8%; right: 8%; top: 10%; bottom: 10%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(23,34,44,.2); background: linear-gradient(160deg, #22354A 0%, #5B6F86 45%, #C9B99A 100%); }
.imgcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(255,255,255,.22), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 18px); }
.imgcard::after { content: ''; position: absolute; left: 12%; right: 12%; top: 18%; height: 54%; border-radius: 50% 50% 0 0 / 60% 60% 0 0; border: 1.5px solid rgba(255,255,255,.55); border-bottom: 0; }
.imgcard .prompt { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .9rem; }
.imgcard .prompt b { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
/* played conversations: the question types into the composer, thinking dots, the answer types out */
.convo .body { gap: 10px; }
.convo .u, .convo .a, .convo .chips { opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.convo.show-u .u, .convo.show-a .a, .convo.show-chips .chips { opacity: 1; transform: none; }
.convo .think { display: none; align-self: flex-start; gap: 5px; padding: 8px 2px; }
.convo.show-think .think { display: inline-flex; }
.convo .think i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dots 1.1s ease-in-out infinite; }
.convo .think i:nth-child(2) { animation-delay: .18s; } .convo .think i:nth-child(3) { animation-delay: .36s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.convo .srcs { display: none; gap: 6px; flex-wrap: wrap; align-self: flex-start; }
.convo.show-think .srcs { display: flex; }
.convo .srcs .chip { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; } .convo .srcs .chip.in { opacity: 1; transform: none; }
.convo .composer .typed { color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.convo .composer .ph { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.convo .composer.busy .ph { display: none; }
.convo .composer .caret { width: 2px; height: 1.1em; background: var(--ink); opacity: 0; flex: none; }
.convo .composer.busy .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
.convo .a p { margin: 0 0 8px; } .convo .a p:last-child { margin-bottom: 0; }
/* demo boxes: real output with the prompt that made it, looping type -> generate -> reveal */
.demo { position: absolute; inset: 0; background: #1A1D21; }
.demo .stage { position: absolute; inset: 0; }
.demo .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), filter .5s, transform .5s; }
.demo .slide.on { opacity: 1; }
.demo iframe.slide { width: 1200px; height: 800px; border: 0; background: #fff; transform-origin: 0 0; pointer-events: none; }
.demo.generating .slide.on { filter: blur(14px) brightness(.78); transform: scale(1.04); }
.demo .veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .4s; pointer-events: none; }
.demo .veil svg { width: 56px; height: 56px; color: rgba(255,255,255,.92); animation: pulse 1.2s ease-in-out infinite; }
.demo.generating .veil { opacity: 1; }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
.demo .bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 18px; border-radius: 14px; background: rgba(20,22,26,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: .95rem; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.demo .typed { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo .caret { width: 2px; height: 1.1em; background: #fff; opacity: 0; flex: none; }
.demo.typing .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo .go { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .95rem; }
@media (max-width: 700px) { .demo .bar { left: 10px; right: 10px; bottom: 10px; font-size: .86rem; padding: 9px 8px 9px 14px; } }
@media (prefers-reduced-motion: reduce) { .demo .slide { transition: none; } .demo .veil svg { animation: none; } }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; } @media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }
.pricing .card { display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.pricing .card > .badge { align-self: flex-start; }
.pricing .card .btn { margin-top: auto; }
section.cta { text-align: center; padding: 60px 0 30px; }
section.cta h2 { margin-top: 0; font-size: clamp(2.6rem, 5vw, 4rem); }
section.cta h2 em { font-style: italic; color: var(--gold); }
section.cta p.lead { max-width: 560px; margin: 0 auto 30px; }
.askbar { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 20px; padding: 10px 10px 10px 22px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); }
.askbar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; min-width: 0; }
.askbar input::placeholder { color: var(--faint); }
.askbar button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.askbar button:hover { background: var(--navy-2); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- landing v2: mono labels, window chrome, vault, dark plans ------------------------------- */
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #0D141B; border-color: #0D141B; color: #fff; }
.section-head.center { margin: 0 auto 40px; text-align: center; max-width: 720px; }
.section-head.center .lead { margin: 0 auto; }

.statement { text-align: center; padding: 110px 0 30px; }
.statement h2 { margin-top: 0; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.statement .lead { max-width: 680px; margin: 0 auto; }
.why .strip { margin-top: 0; }

.window { background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 60px rgba(23,34,44,.10), 0 1px 2px rgba(23,34,44,.05); overflow: hidden; }
.window > .bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #F1EFE8; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.window .dots { display: inline-flex; gap: 6px; } .window .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #EE6A5F; } .window .dots i:nth-child(2) { background: #F5BF4F; } .window .dots i:nth-child(3) { background: #61C554; }
.window .body.pad { padding: 26px; }
.appwin .body { padding: 54px 28px 40px; text-align: center; }
.appwin .mark { width: 46px; height: 46px; margin: 0 auto 10px; color: var(--ink); } .appwin .mark svg { width: 100%; height: 100%; }
.appwin h3 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); } .appwin h3 em { color: var(--gold); font-style: italic; }
.mono-line { font-family: var(--mono); font-size: .76rem; letter-spacing: .03em; color: var(--ink-2); margin: 0 0 18px; }
.mono-line.faint { color: var(--faint); margin: 18px 0 20px; }
.chiprow { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.chiprow span { font-family: var(--mono); font-size: .78rem; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper-2); color: var(--ink); }
.appwin .composer { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 0 auto; padding: 8px 8px 8px 10px; border: 1.5px solid var(--navy); border-radius: 12px; background: var(--white); color: var(--faint); font-family: var(--mono); font-size: .82rem; text-decoration: none; box-shadow: 0 0 0 4px var(--navy-soft); }
.appwin .composer .ctl { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--ink); background: var(--paper-2); white-space: nowrap; } .appwin .composer .ctl b { font-weight: 400; color: var(--muted); }
.appwin .composer .ctl.on { color: #1f5f40; background: #D7E9DE; border-color: transparent; }
.appwin .composer .ph { flex: 1; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.appwin .composer .go { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); }
.caption { text-align: center; font-family: var(--mono); font-size: .74rem; color: var(--faint); margin: 16px 0 60px; letter-spacing: .03em; }
.windows { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.window .list { padding: 8px 0; }
.window .item { display: flex; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.window .item:last-of-type { border-bottom: 0; }
.window .item .ico { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; } .window .item .ico svg { width: 100%; height: 100%; }
.window .item .t { font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.window .item .d { color: var(--ink-2); font-size: .93rem; margin: 3px 0 5px; }
.window .item .m, .window .m { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.window .tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; background: var(--paper-3); color: var(--ink-2); font-weight: 500; }
.window .tag.ok { background: #D7E9DE; color: #1f5f40; }
.window .list.dev { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.window .item.boxed { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; align-items: center; background: var(--white); transition: border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.window .item.boxed:hover { border-color: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); text-decoration: none; }
.window .tile { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-family: var(--mono); font-size: .8rem; color: var(--ink); background: var(--paper-2); }
.toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--white); }
.toggle b { font-weight: 500; padding: 6px 14px; color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: .78rem; }
.toggle b.on { background: var(--ink); color: #fff; }
.window .note { padding: 4px 6px 6px; margin: 0; }
@media (max-width: 900px) { .windows { grid-template-columns: 1fr; } .appwin .body { padding: 40px 18px 28px; } .appwin .composer .ctl b { display: none; } }

.mock .win span { margin-left: 6px; font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.mock .win i:first-child { background: #EE6A5F; } .mock .win i:nth-child(2) { background: #F5BF4F; } .mock .win i:nth-child(3) { background: #61C554; }

.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin: 0 0 34px; }
.split-head h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.split-head .lead { margin: 0; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; gap: 12px; } }
.vault { background: var(--dark); color: #F5F3EE; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(23,34,44,.22); }
.vault .vbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--dark-line); font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); }
.vault .vbar .ok { color: #7FC8A0; }
.vault .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; } .vault .dot.gold { background: var(--gold); } .vault .dot.green { background: #7FC8A0; }
.vault .vgrid { display: grid; grid-template-columns: 1.05fr 1fr; }
.vault .vleft { padding: 56px 44px 44px; border-right: 1px solid var(--dark-line); position: relative; overflow: hidden; }
.vault .vleft::after { content: ''; position: absolute; right: -60px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015); }
.vault .m { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dark-muted); margin: 0 0 12px; }
.vault .m.center { text-align: center; margin: 14px 0 0; }
.vault .amount { font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: .95; letter-spacing: -.02em; color: #fff; margin: 0 0 20px; }
.vault .amount small { font-family: var(--sans); font-size: 1.1rem; color: var(--dark-muted); letter-spacing: 0; margin-left: 6px; }
.vault .vpill { display: inline-block; font-family: var(--mono); font-size: .74rem; padding: 7px 12px; border-radius: 8px; background: rgba(127,200,160,.12); color: #9ED9BA; border: 1px solid rgba(127,200,160,.22); }
.vault .vsteps { display: flex; align-items: flex-end; gap: 12px; margin-top: 54px; }
.vault .vsteps span { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; color: #E6E3DC; }
.vault .vsteps span b { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-muted); font-weight: 500; }
.vault .vsteps i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.08)); margin-bottom: 9px; position: relative; }
.vault .vsteps i::after { content: '›'; position: absolute; right: -4px; top: -11px; color: var(--dark-muted); font-size: .9rem; }
.vault .vright { padding: 56px 44px 44px; }
.vault .opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 26px; }
.vault .opts.two { grid-template-columns: 1fr 1fr; }
.vault .opts button { font: inherit; font-family: var(--mono); font-size: .8rem; padding: 14px 10px; border-radius: 9px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.03); color: #E6E3DC; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.vault .opts button:hover { border-color: rgba(255,255,255,.3); }
.vault .opts button.sel { border-color: var(--gold); color: #E9D6B5; background: rgba(179,150,106,.10); }
.vault .vbtn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .15s var(--ease), box-shadow .2s; }
.vault .vbtn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.35); text-decoration: none; }
@media (max-width: 900px) { .vault .vgrid { grid-template-columns: 1fr; } .vault .vleft { border-right: 0; border-bottom: 1px solid var(--dark-line); padding: 36px 24px 30px; } .vault .vright { padding: 30px 24px 28px; } .vault .vsteps { margin-top: 30px; } .vault .opts { grid-template-columns: 1fr; } .vault .opts.two { grid-template-columns: 1fr 1fr; } }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.strip > div { padding: 26px 26px 22px; border-right: 1px solid var(--line-2); }
.strip > div:first-child { padding-left: 0; } .strip > div:last-child { border-right: 0; }
.strip .eyebrow { margin-bottom: 10px; } .strip h4 { margin: 0 0 6px; font-size: 1.05rem; } .strip p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr; } .strip > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; } .strip > div:last-child { border-bottom: 0; } }

section.dark { background: var(--dark); color: #F5F3EE; padding: 110px 0 90px; margin: 110px 0 0; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .lead { color: #C9CDD1; }
section.dark .section-head.center { max-width: 880px; }
section.dark .section-head.center h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: .35em; }
.toggles { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.toggles .lab { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dark-muted); }
section.dark .toggle { border-color: var(--dark-line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 4px; }
section.dark .toggle b { border-radius: 999px; color: #C9CDD1; }
section.dark .toggle b.on { background: #fff; color: var(--ink); }
section.dark .pricing { margin-top: 50px; }
section.dark .pricing .card { background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: none; color: #E6E3DC; gap: 10px; padding: 28px; }
section.dark .pricing .card.accent { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(179,150,106,.35) inset, 0 30px 60px rgba(0,0,0,.35); }
section.dark .pricing h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
section.dark .pricing .pop { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
section.dark .price { color: #fff; font-size: 3.2rem; margin: 6px 0 0; } section.dark .price small { color: var(--dark-muted); margin-left: 4px; }
section.dark .pricing .sub { color: var(--dark-muted); font-size: .92rem; min-height: 2.9em; margin: 0 0 6px; }
.btn-plan { border-radius: 999px; background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; margin: 0 0 16px; padding: 13px 18px; }
.btn-plan b { font-weight: inherit; }
.btn-plan:hover { background: #F1EFE8; border-color: #F1EFE8; color: var(--ink); }
.btn-plan.gold { background: var(--gold); border-color: var(--gold); color: #1B1610; }
.btn-plan.gold:hover { background: #C4A77A; border-color: #C4A77A; }
section.dark .check { border-top: 1px solid var(--dark-line); padding-top: 16px; margin: 0; }
section.dark .check li { font-size: .93rem; color: #D9D6CF; } section.dark .check li::before { color: #7FC8A0; }
section.dark .pricing .card .btn { margin-top: 0; }
section.dark .fine { text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--dark-muted); margin: 40px auto 0; max-width: 640px; letter-spacing: .02em; }
section.cta h2 em { color: var(--gold); }
.footer h5 { font-family: var(--mono); font-weight: 500; }

/* ---- calm pass: tighter nav, one idea per screen, edge-to-edge visuals, light plans ------------- */
.nav { top: 14px; }
.nav .bar { max-width: 920px; height: 52px; padding: 0 8px 0 16px; gap: 16px; }
.nav .logo { font-size: 1.2rem; } .nav .logo svg { width: 22px; height: 22px; }
.nav .ask { height: 32px; font-size: .8rem; padding: 0 5px 0 12px; } .nav .ask span.go { width: 22px; height: 22px; font-size: .72rem; }
.nav .links a { font-size: .88rem; padding: 7px 10px; }
.nav .links a.btn-primary { padding: 8px 14px; }
.eyebrow { color: var(--navy); }
.divider { display: flex; align-items: center; gap: 18px; margin: 40px auto 0; max-width: 760px; color: var(--gold); }
.divider i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(179,150,106,.55) 30%, rgba(179,150,106,.55) 70%, transparent); }
.divider span { width: 34px; height: 34px; display: inline-flex; } .divider span svg { width: 100%; height: 100%; }
.chapter { margin: 90px auto 10px; padding: 0; max-width: none; }
.chapter .container { max-width: 760px; text-align: center; }
.chapter h2 { margin-top: 0; }
.statement { padding: 100px 0 10px; }
.feature { grid-template-columns: .78fr 1.22fr; gap: 70px; margin: 0; min-height: 78vh; padding: 40px 0; }
.feature.flip { grid-template-columns: 1.22fr .78fr; }
.feature .copy h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.feature .copy p { font-size: 1.06rem; line-height: 1.6; max-width: 400px; }
.feature .copy .hi { color: var(--navy); }
.feature .visual { aspect-ratio: 4 / 3.1; border-radius: 28px; box-shadow: 0 30px 70px rgba(23,34,44,.14), 0 2px 6px rgba(23,34,44,.05); background: var(--white); }
.feature .visual .convo, .feature .visual .mock { position: absolute; inset: 0; border-radius: 0; box-shadow: none; border: 0; background: var(--white); backdrop-filter: none; }
.feature .visual .convo .win { display: none; }
.feature .visual .convo .body { padding: 34px 34px 28px; gap: 12px; font-size: 1rem; }
.feature .visual .convo .u { border-radius: 16px 16px 4px 16px; background: var(--paper-2); }
.feature .visual .convo .a { max-width: 92%; }
.feature .visual .convo .composer { background: var(--paper-2); border-color: transparent; padding: 10px 10px 10px 18px; }
.feature .visual .mock.code { background: #0F141A; }
.feature .visual .mock.code .body { padding: 34px 36px; font-size: .84rem; position: relative; }
.mock.code .copy-btn { position: absolute; right: 26px; bottom: 22px; color: #C9CDD1; font-family: var(--sans); font-size: .86rem; text-decoration: none; opacity: .85; }
.mock.code .copy-btn:hover { color: #fff; opacity: 1; }
.demo .bar { left: 18px; right: 18px; bottom: 18px; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; min-height: 0; padding: 30px 0; gap: 22px; margin: 30px 0; } .feature .visual { aspect-ratio: 4 / 3.4; border-radius: 22px; } .feature .visual .convo .body { padding: 22px 20px 18px; font-size: .95rem; } }

.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.rail.show { opacity: 1; pointer-events: auto; }
.rail a { position: relative; display: block; width: 18px; height: 18px; }
.rail a i { position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: rgba(23,34,44,.25); transition: transform .25s var(--ease), background .25s; }
.rail a.on i { background: var(--gold); transform: scale(1.5); }
.rail a span { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--white); padding: 4px 8px; border-radius: 6px; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; pointer-events: none; }
.rail a:hover span { opacity: 1; }
@media (max-width: 1100px) { .rail { display: none; } }

.why .section-head.center { max-width: 640px; }
.tiers { list-style: none; padding: 0; margin: 40px auto 0; max-width: 720px; position: relative; }
.tiers::before { content: ''; position: absolute; left: 27px; top: 34px; bottom: 34px; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
.tiers li { display: grid; grid-template-columns: 56px 1fr; gap: 26px; margin: 0 0 42px; align-items: start; }
.tiers .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); position: relative; z-index: 1; }
.tiers .ico svg { width: 22px; height: 22px; }
.tiers .eyebrow { margin-bottom: 6px; } .tiers h3 { margin: 0 0 6px; font-size: 1.6rem; } .tiers p { margin: 0; color: var(--ink-2); max-width: 560px; }

section.plans { margin: 130px 0 0; }
section.plans .section-head.center { max-width: 760px; }
section.plans .toggles .lab { color: var(--muted); }
section.plans .toggle { border: 1px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 4px; }
section.plans .toggle b { border-radius: 999px; color: var(--muted); } section.plans .toggle b.on { background: var(--ink); color: #fff; }
section.plans .pricing { margin-top: 48px; }
section.plans .pricing .card { gap: 10px; padding: 28px; }
section.plans .pricing .card.accent { border-color: rgba(27,75,134,.45); box-shadow: 0 0 0 1px rgba(27,75,134,.2) inset, var(--shadow); }
section.plans .pricing h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
section.plans .pricing .pop { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
section.plans .price { font-size: 3.2rem; margin: 6px 0 0; } section.plans .price small { margin-left: 4px; }
section.plans .pricing .sub { color: var(--muted); font-size: .92rem; min-height: 2.9em; margin: 0 0 6px; }
section.plans .btn-plan { background: var(--white); border: 1px solid var(--line-2); color: var(--ink); }
section.plans .btn-plan:hover { border-color: var(--ink-2); background: var(--white); }
section.plans .card.accent .btn-plan { background: var(--navy); border-color: var(--navy); color: #fff; }
section.plans .card.accent .btn-plan:hover { background: var(--navy-2); border-color: var(--navy-2); }
section.plans .check { border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
section.plans .check li { font-size: .93rem; }
section.plans .fine { text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin: 40px auto 0; max-width: 640px; letter-spacing: .02em; }
.mock.code .body { display: block; }
.feature .visual .convo .body { display: flex; }
@media (max-width: 900px) {
  .feature .visual:has(.convo) { aspect-ratio: auto; }
  .feature .visual:has(.convo) .convo { position: relative; min-height: 400px; }
}

/* ---- pinned capability deck ------------------------------------------------------------------- */
.deck { position: relative; }
.deck.pinned { height: calc(var(--n, 7) * var(--per, 1) * 100vh + 22vh); }
.deck-stage { position: relative; }
.deck.pinned .deck-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; max-width: 1160px; margin: 0 auto; padding: 0 28px; width: 100%; }
.deck.pinned .panel { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 30px)); opacity: 0; pointer-events: none; transition: opacity .65s var(--ease), transform .65s var(--ease); }
.deck.pinned .panel.on { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.deck.pinned .panel.before { transform: translateY(calc(-50% - 30px)); }
.deck:not(.pinned) .panel { margin: 70px auto; }
.panel .copy h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); margin-top: 0; }
.panel .copy p { font-size: 1.06rem; line-height: 1.6; max-width: 400px; color: var(--ink-2); }
.panel .copy .hi { color: var(--navy); }
.panel .visual { position: relative; aspect-ratio: 4 / 3.1; max-height: 74vh; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(23,34,44,.14), 0 2px 6px rgba(23,34,44,.05); background: var(--white); }
.panel .visual .convo, .panel .visual .mock, .panel .visual .demo { position: absolute; inset: 0; border-radius: 0; box-shadow: none; border: 0; background: var(--white); backdrop-filter: none; }
.deck .rail { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.deck .rail.show { opacity: 1; pointer-events: auto; }
.deck .rail a { position: relative; display: flex; align-items: center; justify-content: center; width: 18px; height: 22px; }
.deck .rail a i { width: 6px; height: 6px; border-radius: 3px; background: rgba(23,34,44,.28); transition: height .3s var(--ease), background .3s; }
.deck .rail a.on i { height: 22px; background: var(--gold); }
.deck .rail a span { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--white); padding: 4px 8px; border-radius: 6px; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; pointer-events: none; }
.deck .rail a:hover span { opacity: 1; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; gap: 22px; padding: 0 20px; }
  .deck:not(.pinned) .panel { margin: 44px auto; }
  .panel .visual { aspect-ratio: 4 / 3.4; max-height: none; border-radius: 22px; }
  .panel .visual:has(.convo) { aspect-ratio: auto; }
  .panel .visual:has(.convo) .convo { position: relative; min-height: 400px; }
}

/* live conversation boxes */
.convo .body { display: flex; flex-direction: column; gap: 12px; padding: 34px 34px 28px; height: 100%; font-size: 1rem; }
.convo .log { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.convo .u, .convo .a, .convo .chips, .convo .note, .convo .srcs, .convo .think { opacity: 1; transform: none; animation: bubblein .35s var(--ease); }
@keyframes bubblein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.convo .u { align-self: flex-end; background: var(--paper-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 78%; }
.convo .a { align-self: flex-start; max-width: 92%; color: var(--ink); } .convo .a p { margin: 0 0 8px; } .convo .a p:last-child { margin-bottom: 0; }
.convo .note { align-self: flex-start; color: var(--muted); font-size: .92rem; background: var(--paper-2); padding: 8px 12px; border-radius: 10px; }
.convo .chips, .convo .srcs { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; }
.convo .think { display: inline-flex; align-self: flex-start; gap: 5px; padding: 8px 2px; }
.convo .composer { margin-top: auto; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 8px 8px 8px 18px; background: var(--paper-2); transition: border-color .2s, box-shadow .2s; }
.convo .composer:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); background: var(--white); }
.convo .composer input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; }
.convo .composer input::placeholder { color: var(--faint); }
.convo .composer button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.convo .composer button:disabled { opacity: .5; cursor: wait; }
.convo.typing .composer { border-color: var(--line-2); }
@media (max-width: 900px) { .convo .body { padding: 22px 20px 18px; font-size: .95rem; } }

/* live media boxes */
.demo .bar { padding: 8px 8px 8px 18px; }
.demo .bar input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: .95rem; outline: none; }
.demo .bar input::placeholder { color: rgba(255,255,255,.7); }
.demo .bar .status { font-size: .8rem; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.demo .bar .status:empty { display: none; }
.demo .bar button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.demo .bar:focus-within { border-color: rgba(255,255,255,.6); background: rgba(20,22,26,.6); }
.demo.typing .bar input { caret-color: transparent; }

/* developer box */
.tabs-code { display: flex; flex-direction: column; background: #0F141A; color: #E8ECEF; }
.tabs-code .tabs { display: flex; gap: 4px; padding: 14px 16px 0; margin: 0; background: transparent; width: auto; border-radius: 0; overflow-x: auto; }
.tabs-code .tabs button { color: #9AA0A6; padding: 8px 14px; border-radius: 8px; font-size: .86rem; }
.tabs-code .tabs button.on { color: #fff; background: rgba(255,255,255,.1); box-shadow: none; }
.tabs-code .body { flex: 1; display: block; padding: 22px 28px; margin: 0; font-family: var(--mono); font-size: .84rem; line-height: 1.6; white-space: pre; overflow: auto; color: #E8ECEF; }
.tabs-code .body .k { color: #9CC6FF; } .tabs-code .body .s { color: #E1C089; } .tabs-code .body .c { color: #7E8A96; }
.tabs-code .copy-btn { position: absolute; right: 22px; bottom: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #E8ECEF; font: inherit; font-size: .84rem; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.tabs-code .copy-btn:hover { background: rgba(255,255,255,.12); }

/* deck polish: the dark developer box wins over the white visual default, copy enters in steps,
   the active rail dot names itself, the visual settles into place, and a scroll cue on the first panel */
.panel .visual .mock.code, .panel .visual .tabs-code { background: #0F141A; }
.deck.pinned .panel .copy > * { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.deck.pinned .panel.on .copy > * { opacity: 1; transform: none; }
.deck.pinned .panel.on .copy > :nth-child(2) { transition-delay: .07s; }
.deck.pinned .panel.on .copy > :nth-child(3) { transition-delay: .14s; }
.deck.pinned .panel.on .copy > :nth-child(4) { transition-delay: .21s; }
.deck.pinned .panel .visual { transform: scale(.965); transition: transform .8s var(--ease); }
.deck.pinned .panel.on .visual { transform: none; }
.deck .rail a.on span { opacity: 1; }
.deck .cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .5s; pointer-events: none; }
.deck .cue i { display: block; width: 1px; height: 28px; background: linear-gradient(var(--ink-2), transparent); animation: cue 1.6s ease-in-out infinite; }
.deck.pinned .cue.show { opacity: 1; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .deck.pinned .panel .copy > *, .deck.pinned .panel .visual { transition: none; } .deck .cue i { animation: none; } }

/* models box + privacy badges (shared with the app's model menu) */
.pv { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--paper-3); color: var(--ink-2); white-space: nowrap; }
.pv.private { background: #D7E9DE; color: #1f5f40; } .pv.anon { background: var(--navy-soft); color: var(--navy); } .pv.encrypted { background: #E8DCC4; color: #5c4a26; }
.mock.models { background: var(--white); }
.mock.models .body { display: block; padding: 22px 26px; overflow: hidden; }
.mock.models .gl { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 8px; }
.mock.models .gl + .gl, .mock.models .row + .gl { margin-top: 16px; }
.mock.models .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; transition: background .25s; }
.mock.models .row:hover, .mock.models .row.on { background: var(--paper-2); text-decoration: none; }
.mock.models .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mock.models .nm small { font-weight: 400; color: var(--muted); margin-left: 7px; font-size: .8rem; }
.mock.models .tg { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .86rem; }
.mock.models .bd { display: flex; gap: 6px; align-items: center; }
.mock.models .cx, .mock.models .pl { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; color: var(--muted); white-space: nowrap; }
.mock.models .cx { background: var(--paper-2); } .mock.models .pl { border: 1px solid var(--line-2); }
.mock.models .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mock.models .chip { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--white); }
.mock.models .chip:hover { border-color: var(--line-2); background: var(--paper-2); text-decoration: none; }
@media (max-width: 900px) {
  .panel .visual:has(.models) { aspect-ratio: auto; }
  .panel .visual:has(.models) .models { position: relative; }
  .mock.models .row { grid-template-columns: minmax(0, 1fr) auto; } .mock.models .tg { display: none; } .mock.models .body { padding: 16px; }
}

/* ---- editorial docs: a photograph, a statement, a band, a manifesto, then rows ---------------- */
.doc-hero { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.doc-hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 0 0 18px; }
.doc-hero .lead { margin: 0 auto; }
.doc-hero + .toc { justify-content: center; margin: 0 auto 44px; }
.plate { position: relative; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(23,34,44,.16), 0 2px 6px rgba(23,34,44,.05); background: var(--paper-3); }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate picture { display: block; height: 100%; }
.plate.wide { aspect-ratio: 16 / 8; max-width: 1000px; }
.plate.tall { aspect-ratio: 4 / 3; max-width: 820px; margin-bottom: 70px; }
.plate figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.92); background: linear-gradient(transparent, rgba(23,34,44,.55)); }
.statement-xl { max-width: 760px; margin: 90px auto; text-align: center; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.statement-xl em { color: var(--gold); font-style: italic; }
.band { position: relative; margin: 0 auto; max-width: 1240px; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 6.5; box-shadow: var(--shadow); background: var(--dark); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; white-space: normal; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.8rem); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.band figcaption em { font-style: italic; color: #F1E3C4; }
.manifesto { max-width: 1000px; margin: 90px auto; }
.manifesto .rule { height: 14px; background: radial-gradient(circle, var(--gold) 1.4px, transparent 1.6px) 0 50% / 12px 14px repeat-x; opacity: .8; }
.manifesto .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.32; color: var(--ink); }
.manifesto .cols p { margin: 0; }
.doc-row { margin: 100px auto; }
.doc-row.flip .copy { order: 2; }
@media (min-width: 901px) { .doc-row.flip { grid-template-columns: 1.22fr .78fr; } }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 26px 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.table-wrap table { margin: 0; box-shadow: none; min-width: 560px; }
.doc-row .copy p { max-width: 440px; }
.doc-row .visual img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc-row .copy ul { max-width: 440px; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.doc-block { max-width: 1000px; margin: 90px auto; }
.doc-block h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-top: 0; }
.doc-block .lead { max-width: 680px; }
.doc-block table { margin-top: 26px; }
.faq { max-width: 800px; margin: 0 auto; }
.faq details { padding: 16px 22px; border-radius: 14px; }
.faq summary { font-family: var(--serif); font-size: 1.25rem; }
.faq details p { margin: 12px 0 4px; color: var(--ink-2); }
.doc-end { text-align: center; margin: 90px auto 0; }
@media (max-width: 900px) {
  .manifesto .cols { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .doc-row { margin: 60px auto; } .doc-row.flip .copy { order: 0; }
  .statement-xl { margin: 60px auto; } .band { aspect-ratio: 4 / 3; } .plate.wide { aspect-ratio: 4 / 3; }
}

/* ================================================================================================
   VELLUM PASS — the luxury layer.
   A hero built from stacked light rather than one flat texture, a display type scale with optical
   tracking, slow expensive motion, and depth in every surface.
   ============================================================================================== */

/* ---- display type ---------------------------------------------------------------------------- */
h1, h2, h3, .display { text-wrap: balance; }
p.lead, .sub { text-wrap: pretty; }
.price, .stat, .amount, [data-price], .tabnum { font-variant-numeric: tabular-nums; }
h1 { font-size: clamp(2.7rem, 5.8vw, 4.6rem); letter-spacing: -.018em; line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.15rem); letter-spacing: -.016em; line-height: 1.06; }
h3 { font-size: 1.6rem; letter-spacing: -.012em; }
.eyebrow { font-size: .7rem; letter-spacing: .2em; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.bare::before { display: none; }
.section-head.center .eyebrow { justify-content: center; }
p.lead { font-size: 1.16rem; line-height: 1.6; }

/* ---- the hero scene ---------------------------------------------------------------------------
   Layers, back to front: graded sky, breathing bloom, water troughs, water highlights, specular
   glitter under the light, drifting silk veils, a slow ribbon sweep, horizon lift, vignette, grain,
   and the fade into paper. Only transform and opacity animate, so the filters rasterise once. */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #E4E4DE; display: flex; flex-direction: column; align-items: center; justify-content: center; isolation: isolate; }
.scene { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.scene > * { position: absolute; }
.par { inset: -6%; transition: transform 1.1s var(--ease-out); will-change: transform; }
.par-1 { transform: translate3d(calc(var(--mx, 0) * 15px), calc(var(--my, 0) * 9px), 0); }
.par-2 { transform: translate3d(calc(var(--mx, 0) * -9px), calc(var(--my, 0) * -6px), 0); }
.par-3 { transform: translate3d(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 3px), 0); }

.scene-sky { inset: 0;
  background:
    radial-gradient(42% 31% at 50% 29%, #FFFDF7 0%, rgba(255,250,238,.82) 30%, rgba(255,245,224,.3) 54%, transparent 76%),
    radial-gradient(140% 62% at 50% -22%, rgba(120,148,170,.72), transparent 58%),
    radial-gradient(118% 56% at 50% 122%, rgba(183,157,108,.72), transparent 64%),
    linear-gradient(177deg, #A9BCCB 0%, #C8D3D7 19%, #E6E3D9 44%, #E9DEC7 70%, #DCCFB2 100%);
}
.scene-bloom { left: 50%; top: 31%; width: 104vmax; height: 104vmax; margin: -52vmax 0 0 -52vmax;
  background: radial-gradient(circle closest-side, rgba(255,252,242,1) 0%, rgba(255,247,227,.62) 22%, rgba(255,240,209,.24) 40%, rgba(255,236,198,.08) 58%, transparent 72%);
  animation: sc-bloom 19s var(--ease-io) infinite alternate; will-change: transform, opacity; }
@keyframes sc-bloom { from { transform: scale(.93); opacity: .8; } to { transform: scale(1.07); opacity: 1; } }

.scene-layer { position: absolute; inset: -9% -11%; will-change: transform; }
.scene-layer svg { width: 100%; height: 100%; display: block; }
.scene-swell { opacity: .5; mix-blend-mode: multiply; animation: sc-swell 66s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 22%, rgba(0,0,0,.35) 44%, #000 68%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 22%, rgba(0,0,0,.35) 44%, #000 68%, #000 100%); }
.scene-ripple { opacity: .68; animation: sc-ripple 44s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.45) 34%, #000 60%, rgba(0,0,0,.7) 100%);
          mask-image: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.45) 34%, #000 60%, rgba(0,0,0,.7) 100%); }
.scene-glint { opacity: 1; animation: sc-glint 26s linear infinite;
  -webkit-mask-image: radial-gradient(22% 42% at 50% 76%, #000 0%, rgba(0,0,0,.68) 40%, transparent 82%);
          mask-image: radial-gradient(22% 42% at 50% 76%, #000 0%, rgba(0,0,0,.68) 40%, transparent 82%); }
/* the near water: coarser crests low in the frame, which reads as perspective */
.scene-near { opacity: .42; animation: sc-near 36s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.55) 74%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.55) 74%, #000 100%); }
@keyframes sc-near { from { transform: translate3d(1.4%, 0, 0) scale(1.04); } 50% { transform: translate3d(-1.4%, .8%, 0) scale(1.01); } to { transform: translate3d(1.4%, 0, 0) scale(1.04); } }
@keyframes sc-swell  { from { transform: translate3d(0, 0, 0) scale(1.02); } 50% { transform: translate3d(2.2%, -.7%, 0) scale(1.06); } to { transform: translate3d(0, 0, 0) scale(1.02); } }
@keyframes sc-ripple { from { transform: translate3d(0, 0, 0) scale(1.03); } 50% { transform: translate3d(-2.6%, .6%, 0) scale(1); } to { transform: translate3d(0, 0, 0) scale(1.03); } }
@keyframes sc-glint  { from { transform: translate3d(-1.2%, 0, 0); opacity: .5; } 50% { transform: translate3d(1.2%, -.5%, 0); opacity: .72; } to { transform: translate3d(-1.2%, 0, 0); opacity: .5; } }

.scene-veil { border-radius: 50%; mix-blend-mode: soft-light; will-change: transform; }
.scene-veil.v1 { left: -22%; top: 8%; width: 74%; height: 66%; background: radial-gradient(closest-side, rgba(186,156,102,.34), transparent 74%); animation: sc-v1 47s var(--ease-io) infinite alternate; }
.scene-veil.v2 { right: -20%; top: 4%; width: 68%; height: 74%; background: radial-gradient(closest-side, rgba(82,114,146,.4), transparent 74%); animation: sc-v2 61s var(--ease-io) infinite alternate; }
.scene-veil.v3 { left: 18%; bottom: -32%; width: 68%; height: 62%; background: radial-gradient(closest-side, rgba(226,206,166,.42), transparent 76%); animation: sc-v3 53s var(--ease-io) infinite alternate; }
@keyframes sc-v1 { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(6%, -4%, 0) scale(1.14); } }
@keyframes sc-v2 { from { transform: translate3d(4%, -2%, 0) scale(1.1); } to { transform: translate3d(-5%, 4%, 0) scale(.94); } }
@keyframes sc-v3 { from { transform: translate3d(-4%, 1%, 0) scale(1.06); } to { transform: translate3d(5%, -3%, 0) scale(.95); } }

.scene-sweep { inset: -34% -64%; mix-blend-mode: screen; will-change: transform;
  background: linear-gradient(102deg, transparent 36%, rgba(255,251,238,.5) 48%, rgba(255,248,231,.22) 55%, transparent 66%);
  animation: sc-sweep 29s var(--ease-io) infinite alternate; }
@keyframes sc-sweep { from { transform: translate3d(-16%, 0, 0) rotate(.001deg); } to { transform: translate3d(16%, 0, 0) rotate(.001deg); } }

.scene-horizon { left: -10%; right: -10%; top: 48%; height: 22%;
  background: linear-gradient(180deg, transparent, rgba(255,252,243,.6) 40%, rgba(255,248,232,.24) 62%, transparent);
  animation: sc-horizon 15s var(--ease-io) infinite alternate; will-change: opacity, transform; }
@keyframes sc-horizon { from { opacity: .55; transform: translateY(-1.2%) scaleY(.94); } to { opacity: 1; transform: translateY(1.2%) scaleY(1.08); } }

.scene-vignette { inset: 0; background:
  radial-gradient(112% 84% at 50% 38%, transparent 34%, rgba(20,29,38,.11) 72%, rgba(20,29,38,.22) 100%),
  linear-gradient(180deg, rgba(20,29,38,.13) 0%, transparent 16%); }
.scene-grain { inset: 0; opacity: .13; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.scene-fade { left: 0; right: 0; bottom: 0; height: 15%; background: linear-gradient(180deg, rgba(236,234,228,0) 0%, rgba(236,234,228,.55) 54%, var(--paper) 100%); }
/* engraved lines low in the frame — a banknote reading of a water surface, and the one detail on
   this page that is unmistakably Sovereign rather than borrowed */
.scene-etch { inset: -2% 0 0; opacity: .5; mix-blend-mode: soft-light; will-change: transform;
  background: repeating-linear-gradient(179deg, transparent 0 4px, rgba(255,255,255,.5) 4px 5px, transparent 5px 11px);
  -webkit-mask-image: radial-gradient(74% 46% at 50% 88%, #000 0%, rgba(0,0,0,.45) 52%, transparent 82%);
          mask-image: radial-gradient(74% 46% at 50% 88%, #000 0%, rgba(0,0,0,.45) 52%, transparent 82%);
  animation: sc-etch 34s linear infinite; }
@keyframes sc-etch { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 11px, 0); } }

/* the whole scene settles in on load */
.scene { animation: sc-in 2.2s var(--ease-out) both; }
@keyframes sc-in { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: none; } }

/* ---- hero content ------------------------------------------------------------------------------ */
.hero-content { position: relative; z-index: 2; width: min(820px, 92vw); text-align: center; padding: 120px 0 96px; }
.hero-content .mark { width: 46px; height: 46px; margin: 0 auto 22px; color: var(--ink); }
.hero-content .mark svg { width: 100%; height: 100%; }
.hero-content h1 { font-size: clamp(2.9rem, 7.4vw, 6.1rem); line-height: .98; letter-spacing: -.026em; margin: 0 0 .34em; }
.hero-content h1 em { font-style: italic; color: var(--gold-deep); letter-spacing: -.014em; }
.ln { display: inline-block; overflow: hidden; padding: .1em .07em .2em; margin: -.1em -.07em -.2em; vertical-align: bottom; }
.ln > span { display: inline-block; }
.hero-content .sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--ink-2); max-width: 520px; margin: 0 auto 34px; }
.hero-content .askbar { max-width: 660px; margin: 0 auto 20px; padding: 9px 9px 9px 26px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 28px 70px rgba(20,29,38,.16), 0 4px 14px rgba(20,29,38,.06), 0 1px 0 rgba(255,255,255,.9) inset;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out), background .3s; }
.hero-content .askbar:focus-within { transform: translateY(-2px); background: rgba(255,255,255,.97);
  box-shadow: 0 34px 84px rgba(20,29,38,.2), 0 0 0 4px rgba(169,138,85,.16), 0 1px 0 rgba(255,255,255,.9) inset; }
.hero-content .askbar input { font-size: 1.06rem; }
.hero-content .chips { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.hero-content .chips button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.58);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink-2); font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; font-weight: 400; cursor: pointer;
  box-shadow: 0 4px 16px rgba(20,29,38,.06);
  transition: background .3s, color .3s, transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s; }
.hero-content .chips button:hover { background: rgba(255,255,255,.96); color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,29,38,.12); }
.hero-content .trust { margin: 26px 0 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.hero-content .trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(169,138,85,.5); animation: sc-pulse 3.4s var(--ease-io) infinite; flex: none; }
@keyframes sc-pulse { 0% { box-shadow: 0 0 0 0 rgba(169,138,85,.45); } 60% { box-shadow: 0 0 0 8px rgba(169,138,85,0); } 100% { box-shadow: 0 0 0 0 rgba(169,138,85,0); } }

.hero .learn { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; z-index: 2; }
.hero .learn a { color: var(--ink); font-family: var(--mono); font-size: .66rem; letter-spacing: .19em; text-transform: uppercase; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; transition: color .3s; }
.hero .learn a:hover { color: var(--ink); text-decoration: none; }
.hero .learn i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--ink), transparent); animation: sc-cue 2.4s var(--ease-io) infinite; }
@keyframes sc-cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* entrance choreography: final state is the base, so no-JS and reduced-motion both land correctly */
.hero-content .mark, .hero-content .sub, .hero-content .askbar, .hero-content .chips button, .hero-content .trust, .hero .learn { animation: hero-rise 1.05s var(--ease-out) backwards; }
.hero-content .ln > span { animation: hero-line 1.15s var(--ease-out) backwards; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-line { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
.hero-content .mark { animation-delay: .12s; }
.hero-content h1 .ln:nth-of-type(1) > span { animation-delay: .26s; }
.hero-content h1 .ln:nth-of-type(2) > span { animation-delay: .38s; }
.hero-content h1 .ln:nth-of-type(3) > span { animation-delay: .5s; }
/* a three-beat headline: one size down so each beat keeps its own line and the bar stays in view */
.hero-content h1.long { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
.hero-content .sub { animation-delay: .56s; }
.hero-content .askbar { animation-delay: .68s; }
.hero-content .chips button { animation-delay: calc(.8s + var(--i, 0) * .055s); }
.hero-content .trust { animation-delay: 1.06s; }
.hero .learn { animation-delay: 1.2s; }

@media (max-width: 700px) {
  .hero-content { padding: 116px 0 92px; }
  .hero-content .mark { width: 38px; height: 38px; margin-bottom: 18px; }
  .hero-content h1 { font-size: clamp(2.5rem, 11.4vw, 3.4rem); }
  .hero-content h1.long { font-size: clamp(2.2rem, 9.6vw, 3rem); }
  .hero-content .askbar { padding-left: 18px; }
  .hero-content .chips { gap: 7px; }
  .hero-content .chips button { font-size: .72rem; padding: 8px 12px; }
  .hero-content .trust { font-size: .6rem; letter-spacing: .14em; }
  .scene-bloom { top: 27%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .scene-bloom, .scene-swell, .scene-ripple, .scene-glint, .scene-near, .scene-etch, .scene-veil, .scene-sweep, .scene-horizon,
  .hero-content .mark, .hero-content .sub, .hero-content .askbar, .hero-content .chips button,
  .hero-content .trust, .hero-content .ln > span, .hero .learn, .hero .learn i, .hero-content .trust i { animation: none; }
  .par { transition: none; transform: none; }
}

/* ---- navigation: one treatment, a glass pill, at every scroll position ------------------------ */
.nav .signup { display: none; }
.nav { top: 16px; }
.nav .bar { max-width: 1000px; height: 56px; padding: 0 8px 0 20px; gap: 20px;
  background: rgba(252,251,248,.72); border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 14px 44px rgba(20,29,38,.11), 0 1px 0 rgba(255,255,255,.7) inset;
  transition: background .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out), max-width .5s var(--ease-out), padding .5s var(--ease-out), height .5s var(--ease-out); }
.nav .logo { font-size: 1.26rem; gap: 11px; letter-spacing: -.005em; }
.nav .logo svg { width: 23px; height: 23px; color: var(--gold-deep); transition: transform .6s var(--ease-out); }
.nav .logo:hover svg { transform: translateY(-2px); }
.nav .links { gap: 2px; }
.nav .links a { position: relative; font-size: .875rem; padding: 8px 12px; letter-spacing: .005em; color: var(--ink-2); }
.nav .links a:not(.btn):not(.cta)::after, .nav .links a.cta::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav .links a:not(.btn):hover::after, .nav .links a.active::after { transform: scaleX(1); }
.nav .links a:not(.btn):hover, .nav .links a.active { background: transparent; color: var(--ink); }
.nav .links .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 10px; flex: none; }
.nav .links a.cta { font-weight: 500; margin-left: 0; }
.nav .links a.btn-primary { padding: 9px 17px; margin-left: 10px; box-shadow: 0 6px 18px rgba(26,68,121,.24); }
.nav .links a.btn-primary::after { display: none; }
.nav .progress { position: absolute; left: 0; right: 0; top: -16px; height: 2px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.nav.lifted .progress { opacity: 1; }
.nav .progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(169,138,85,.25), var(--gold) 55%, var(--gold-lite)); }
.nav .burger { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.8); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav .burger i { display: block; width: 15px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }
.nav .burger[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav .burger[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav .bar { height: 52px; }
  .nav .burger { display: inline-flex; }
  .nav .links { top: 66px; border-radius: 20px; padding: 10px; gap: 2px; background: rgba(252,251,248,.96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: var(--shadow); }
  .nav .links .sep { display: none; }
  .nav .links a { padding: 12px 14px; }
  .nav .links a:not(.btn)::after { display: none; }
  .nav .links a.btn-primary { margin: 6px 0 0; }
}

/* ---- buttons ----------------------------------------------------------------------------------- */
.btn { border-radius: 11px; font-weight: 500; letter-spacing: .004em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, border-color .3s, color .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20,29,38,.13); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold); }
.btn-primary { box-shadow: 0 8px 22px rgba(26,68,121,.2), 0 1px 0 rgba(255,255,255,.16) inset; }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(26,68,121,.3), 0 1px 0 rgba(255,255,255,.16) inset; }
.btn-lg { padding: 16px 28px; border-radius: 13px; font-size: 1rem; }
.btn span[aria-hidden] { transition: transform .4s var(--ease-out); display: inline-block; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* ---- scroll reveal ------------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .95s var(--ease-out), transform .95s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > .rise, [data-stagger] .rise { opacity: 0; transform: translateY(20px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); transition-delay: calc(var(--i, 0) * .085s); }
[data-stagger].in > .rise, [data-stagger].in .rise { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > .rise, [data-stagger] .rise { opacity: 1; transform: none; transition: none; }
}

/* ---- footer -------------------------------------------------------------------------------------- */
.footer { padding: 96px 0 26px; border-top: 0; margin-top: 90px; position: relative; }
.footer::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
.footer .cols { grid-template-columns: 1.7fr repeat(3, 1fr); gap: 34px; }
.footer .brand { gap: 16px; max-width: 280px; }
.footer .brand svg { width: 30px; height: 30px; color: var(--gold-deep); }
.footer .brand span { line-height: 1.6; }
.footer .fcta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .92rem; font-weight: 500; color: var(--ink); align-self: flex-start; }
.footer .fcta span { transition: transform .4s var(--ease-out); }
.footer .fcta:hover { text-decoration: none; color: var(--gold-deep); } .footer .fcta:hover span { transform: translateX(4px); }
.footer h5 { font-size: .68rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 16px; }
.footer li { margin: 0 0 11px; }
.footer a { position: relative; transition: color .3s; }
.footer .cols a:hover { color: var(--ink); text-decoration: none; }
.footer .cols ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.footer .cols ul a:hover::after { transform: scaleX(1); }
.footer .wordmark { margin: 76px 0 0; font-family: var(--serif); font-size: clamp(4rem, 15.5vw, 15rem); line-height: .82; letter-spacing: -.035em;
  color: transparent; -webkit-background-clip: text; background-clip: text; user-select: none;
  background-image: linear-gradient(180deg, rgba(20,29,38,.10) 0%, rgba(20,29,38,.045) 62%, transparent 100%); }
.footer .legal { margin-top: 18px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; text-align: left;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 820px) { .footer { padding-top: 70px; } .footer .cols { grid-template-columns: 1fr 1fr; } .footer .brand { grid-column: 1 / -1; } .footer .legal { justify-content: center; text-align: center; } }

/* ---- section rhythm ----------------------------------------------------------------------------- */
.statement { padding: 130px 0 20px; }
.statement h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 18px 0 26px; letter-spacing: -.022em; }
.statement h2 em { font-style: italic; color: var(--gold-deep); }
.statement .lead { max-width: 660px; font-size: 1.14rem; }
.statement .row { margin-top: 40px !important; }
.chapter { margin: 118px auto 18px; }
.chapter h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin: 16px 0 20px; }
.section-head.center .lead { max-width: 620px; }
.divider { margin: 56px auto 0; max-width: 720px; gap: 22px; }
.divider i { background: linear-gradient(90deg, transparent, rgba(169,138,85,.42) 26%, rgba(169,138,85,.42) 74%, transparent); }
.divider span { width: 26px; height: 26px; color: var(--gold-deep); opacity: .8; }

/* ---- capability deck: the box sits on light, with a glass edge and a cast shadow ---------------- */
.panel .copy h2 { font-size: clamp(2rem, 3.1vw, 2.7rem); margin-bottom: .5em; }
.panel .copy p { font-size: 1.08rem; max-width: 420px; margin-bottom: 1.8em; }
.panel .copy .hi { color: var(--ink); font-weight: 500; }
.panel .copy .eyebrow, .feature .copy .eyebrow { margin-bottom: 18px; }
.panel .visual, .feature .visual { border-radius: 26px;
  box-shadow: 0 50px 100px -28px rgba(20,29,38,.3), 0 18px 44px -18px rgba(20,29,38,.16), 0 0 0 1px rgba(20,29,38,.05); }
.panel .visual::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 0 0 1px rgba(255,255,255,.5) inset; }
.deck .rail a.on i { background: var(--gold); box-shadow: 0 0 10px rgba(169,138,85,.5); }

/* ---- why: three promises, numbered like chapters ------------------------------------------------ */
.tiers { max-width: 800px; margin: 56px auto 0; }
.tiers::before { left: 33px; background: linear-gradient(180deg, transparent, rgba(169,138,85,.3) 12%, rgba(169,138,85,.3) 88%, transparent); }
.tiers li { grid-template-columns: 68px 1fr; gap: 32px; margin: 0 0 52px; }
.tiers li:last-child { margin-bottom: 0; }
.tiers .ico { width: 68px; height: 68px; background: var(--paper-2); border: 1px solid rgba(169,138,85,.34); color: var(--gold-deep);
  box-shadow: 0 10px 30px rgba(20,29,38,.07), 0 0 0 7px rgba(236,234,228,.9);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.tiers .ico svg { width: 25px; height: 25px; }
.tiers li:hover .ico { transform: translateY(-3px); border-color: rgba(169,138,85,.6); box-shadow: 0 18px 40px rgba(20,29,38,.11), 0 0 0 7px rgba(236,234,228,.9); }
.tiers h3 { margin: 0 0 10px; font-size: 1.75rem; }
.tiers p { max-width: 540px; font-size: 1.02rem; line-height: 1.62; }
@media (max-width: 700px) { .tiers::before { display: none; } .tiers li { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }

/* ---- the vault: a dark plate with a slow gold sheen across it ------------------------------------ */
.vault { position: relative; border-radius: 24px; box-shadow: 0 60px 120px -40px rgba(20,29,38,.5), 0 20px 50px -24px rgba(20,29,38,.3); }
.vault::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; overflow: hidden;
  background: radial-gradient(70% 120% at 12% 0%, rgba(169,138,85,.16), transparent 62%), radial-gradient(60% 100% at 96% 100%, rgba(127,200,160,.07), transparent 60%); }
.vault::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(104deg, transparent 40%, rgba(217,194,154,.09) 48%, rgba(255,246,228,.14) 51%, rgba(217,194,154,.09) 54%, transparent 62%);
  background-size: 300% 100%; animation: vault-sheen 11s var(--ease-io) infinite; }
@keyframes vault-sheen { 0% { background-position: 140% 0; } 55%, 100% { background-position: -60% 0; } }
.vault > * { position: relative; z-index: 2; }
.vault .amount { font-size: clamp(4.2rem, 8.4vw, 7.4rem); letter-spacing: -.03em; }
.vault .vbar { padding: 15px 26px; }
.vault .vbtn { border-radius: 12px; padding: 17px; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.vault .vbtn:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(0,0,0,.4); }
.vault .opts button { border-radius: 10px; transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease-out); }
.vault .opts button:hover { transform: translateY(-1px); }
.vault .opts button.sel { box-shadow: 0 0 0 1px rgba(169,138,85,.5) inset; }
.split-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
@media (prefers-reduced-motion: reduce) { .vault::after { animation: none; } }

/* ---- plans --------------------------------------------------------------------------------------- */
section.plans { margin: 140px 0 0; }
section.plans .pricing .card { border-radius: 22px; padding: 30px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
section.plans .pricing .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
section.plans .pricing .card.accent { position: relative; overflow: hidden; }
section.plans .pricing .card.accent::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
section.plans .price { font-size: 3.4rem; letter-spacing: -.022em; }
section.plans .btn-plan { border-radius: 999px; padding: 14px 18px; }
.toggles .lab { letter-spacing: .19em; }
section.plans .toggle b, section.dark .toggle b { transition: background .35s var(--ease-out), color .35s; }
.fine, section.plans .fine, section.dark .fine { letter-spacing: .05em; line-height: 1.7; }

/* ---- closing call: the hero's light, quietly reprised -------------------------------------------- */
section.cta { position: relative; padding: 120px 0 90px; margin-top: 40px; overflow: hidden; isolation: isolate; }
section.cta::before { content: ''; position: absolute; left: 50%; top: 46%; width: 130vmax; height: 92vmax; margin: -46vmax 0 0 -65vmax; z-index: -1; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(255,249,234,.95) 0%, rgba(255,243,218,.5) 26%, rgba(228,208,170,.18) 46%, transparent 70%);
  animation: sc-bloom 21s var(--ease-io) infinite alternate; }
section.cta h2 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); letter-spacing: -.026em; margin-bottom: .3em; }
section.cta h2 em { color: var(--gold-deep); font-style: italic; }
section.cta p.lead { margin-bottom: 36px; }
section.cta .askbar { max-width: 620px; padding: 9px 9px 9px 24px; border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 26px 64px rgba(20,29,38,.14), 0 1px 0 rgba(255,255,255,.9) inset;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
section.cta .askbar:focus-within { transform: translateY(-2px); box-shadow: 0 32px 76px rgba(20,29,38,.18), 0 0 0 4px rgba(169,138,85,.16); }
section.cta .row { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { section.cta::before { animation: none; } }

/* ---- sign in ---------------------------------------------------------------------------------------- */
#login .card { border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
#login h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.askbar button { transition: background .3s, transform .35s var(--ease-out); }
.askbar button:hover { transform: scale(1.06); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

/* ---- interior pages: one editorial header, then generous reading rhythm ------------------------- */
main.page { padding: 152px 0 110px; }
main.page > .container > h2:first-of-type { margin-top: 0; }
.page-head { position: relative; max-width: 780px; margin: 0 0 56px; padding-bottom: 36px; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(169,138,85,.55), var(--line-2) 34%, transparent); }
.page-head .eyebrow { margin: 0 0 20px; }
.page-head h1 { font-size: clamp(2.8rem, 6.2vw, 4.9rem); letter-spacing: -.026em; line-height: 1; margin: 0 0 22px; }
.page-head .lead { max-width: 660px; margin: 0; color: var(--ink-2); }
main.page h2 { margin-top: 2em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
main.page h3 { font-size: 1.4rem; }
main.page .container.narrow > p, main.page .container.narrow > ul, main.page .container.narrow > ol { max-width: 720px; }
main.page .container.narrow > p { color: var(--ink-2); }

/* shared surfaces get the same depth as the landing page */
.card { border-radius: 22px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.notice { border-radius: 14px; }
table { border-radius: 14px; box-shadow: var(--shadow-sm); }
th { letter-spacing: .14em; font-family: var(--mono); font-weight: 400; font-size: .68rem; color: var(--muted); }
.toc { gap: 9px; margin-bottom: 36px; }
.toc a { border-radius: 999px; padding: 8px 16px; font-family: var(--mono); font-size: .76rem; letter-spacing: .05em; transition: border-color .3s, color .3s, transform .35s var(--ease-out); }
.toc a:hover { transform: translateY(-1px); border-color: var(--gold); color: var(--gold-deep); }
details { border-radius: 14px; padding: 14px 20px; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
summary { font-weight: 500; }
.faq summary { font-size: 1.2rem; }
.check li::before { color: var(--gold-deep); font-weight: 400; }
.steps li::before { color: var(--gold-deep); border-color: rgba(169,138,85,.34); }
.badge { font-family: var(--mono); font-weight: 400; letter-spacing: .12em; font-size: .66rem; padding: 5px 11px; }
.stat { letter-spacing: -.02em; }
.label { font-family: var(--mono); font-weight: 400; letter-spacing: .13em; font-size: .68rem; }
.eyebrow.green, .strip .eyebrow { color: var(--gold-deep); }
.divider { color: var(--gold-deep); }
@media (max-width: 700px) { main.page { padding: 128px 0 80px; } .page-head { margin-bottom: 40px; padding-bottom: 28px; } }

/* Plan cards share a top-aligned rhythm: the first three rows already line up, so the buttons must
   not be pushed apart by lists of different lengths. */
section.plans .pricing .card .btn { margin-top: 0; }
section.plans .pricing .check { margin-top: 18px; }
.footer { margin-top: 70px; padding-top: 84px; }
.footer .wordmark { margin-top: 68px; font-size: clamp(3.2rem, 25.4vw, 22.6rem); }

/* the models and docs pages carry their own hero classes; give them the same header treatment */
.page-head.flush { padding-bottom: 0; margin-bottom: 30px; }
.page-head.flush::after { display: none; }
.mhero { position: relative; max-width: 780px; margin: 0 0 46px; padding-bottom: 34px; }
.mhero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(169,138,85,.55), var(--line-2) 34%, transparent); }
.mhero .eyebrow { margin-bottom: 20px; }
.mhero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); letter-spacing: -.026em; line-height: 1.02; margin: 0 0 22px; }
.mhero .lead { max-width: 700px; margin: 0; }
.mhero .lead b { font-weight: 600; color: var(--ink); }
.doc-hero { max-width: 860px; margin: 0 auto 44px; }
.doc-hero .eyebrow { justify-content: center; margin-bottom: 20px; }
.doc-hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); letter-spacing: -.028em; line-height: 1; margin: 0 0 22px; }
.doc-hero + .toc { margin-bottom: 52px; }
.mcard { border-radius: 20px; padding: 22px 22px 18px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.mtop .mg { border-radius: 12px; }
.mtools .tabs { background: var(--paper-3); }
.tabs button { transition: background .35s var(--ease-out), color .3s, box-shadow .35s; }
.drawer { padding: 34px 34px 44px; box-shadow: -30px 0 90px rgba(20,29,38,.24); }
.drawer h2 { font-size: 2.2rem; letter-spacing: -.018em; }
.scrim { background: rgba(20,29,38,.3); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.statement-xl { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.014em; line-height: 1.24; }
.statement-xl em { color: var(--gold-deep); }
.band figcaption em { color: #EBD9B4; }
.manifesto .rule { background: radial-gradient(circle, var(--gold) 1.4px, transparent 1.6px) 0 50% / 12px 14px repeat-x; }
.plate { border-radius: 24px; box-shadow: 0 44px 96px -30px rgba(20,29,38,.3), 0 2px 6px rgba(20,29,38,.05); }
.band { border-radius: 24px; }

/* ---- final details ------------------------------------------------------------------------------- */
::selection { background: rgba(169,138,85,.24); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
a:hover { text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(169,138,85,.7); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* thin scrollbars inside panels only; the page keeps the platform's own */
.log, .drawer, pre, .table-wrap, .tabs-code .body, .convos { scrollbar-width: thin; scrollbar-color: rgba(20,29,38,.22) transparent; }
.log::-webkit-scrollbar, .drawer::-webkit-scrollbar, pre::-webkit-scrollbar, .table-wrap::-webkit-scrollbar, .tabs-code .body::-webkit-scrollbar { width: 8px; height: 8px; }
.log::-webkit-scrollbar-thumb, .drawer::-webkit-scrollbar-thumb, pre::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb, .tabs-code .body::-webkit-scrollbar-thumb { background: rgba(20,29,38,.2); border-radius: 999px; }
.log::-webkit-scrollbar-track, .drawer::-webkit-scrollbar-track, pre::-webkit-scrollbar-track, .table-wrap::-webkit-scrollbar-track, .tabs-code .body::-webkit-scrollbar-track { background: transparent; }

/* the light leans in while you are composing a question */
.scene-lift { inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity .9s var(--ease-out);
  background: radial-gradient(48% 36% at 50% 42%, rgba(255,251,239,.6) 0%, rgba(255,246,226,.26) 40%, transparent 72%); }
.hero.asking .scene-lift { opacity: 1; }
.hero-content .askbar button { width: 46px; height: 46px; font-size: 1.05rem; }

@media (max-width: 430px) {
  .hero-content .chips button { font-size: .69rem; padding: 7px 11px; }
  .hero-content .chips { gap: 6px; }
}

/* a card can hold more than one section; only its first heading hugs the top edge */
.card > h3:not(:first-child), .card > h2:not(:first-child) { margin-top: 1.5em; }
.card.accent { border-color: rgba(169,138,85,.4); box-shadow: 0 0 0 1px rgba(169,138,85,.16) inset, var(--shadow); }
.card.accent > h3:first-child { position: relative; }

/* ---- the live ocean ------------------------------------------------------------------------------
   When the shader is running it owns the whole scene; the layered CSS water underneath is the
   fallback for no-WebGL and reduced motion, so it only gets switched off once a frame has landed. */
.scene-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0;
  transition: opacity 1.1s var(--ease-out); }
.hero.gl .scene-gl { opacity: 1; }
.hero.gl .scene-sky, .hero.gl .scene-bloom, .hero.gl .scene-layer, .hero.gl .scene-veil,
.hero.gl .scene-sweep, .hero.gl .scene-horizon, .hero.gl .scene-etch, .hero.gl .scene-vignette { display: none; }
.hero.gl .scene-fade { height: 10%; }
.hero.gl .scene-grain { opacity: .1; }

/* ---- headings are dealt onto the page one word at a time --------------------------------------- */
.wd { display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: .1em .05em .2em; margin: -.1em -.05em -.2em; }
.wd > span { display: inline-block; will-change: transform; transform: translateY(112%);
  transition: transform 1s var(--ease-out), opacity .7s var(--ease-out); transition-delay: calc(var(--w, 0) * 38ms); opacity: 0; }
.words.in .wd > span { transform: none; opacity: 1; }
.statement-xl .wd > span { transition-delay: calc(var(--w, 0) * 22ms); }

/* a control that leans toward the cursor */
.magnetic { transition: transform .45s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, border-color .3s, color .3s; }
.magnetic:hover { transform: translate(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px)); }

/* film grain over the whole page: the texture a printed piece has and a screen does not */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }
@media (prefers-reduced-motion: reduce) {
  .wd > span { transform: none; opacity: 1; transition: none; }
  .magnetic:hover { transform: none; }
}

/* ---- the proof band: four figures, ruled like a ledger ------------------------------------------ */
.proof { margin: 96px 0 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.proof .fig { padding: 40px 30px 36px; border-right: 1px solid var(--line); }
.proof .fig:first-child { padding-left: 0; } .proof .fig:last-child { border-right: 0; padding-right: 0; }
.proof .n { display: block; font-family: var(--serif); font-size: clamp(3.2rem, 5.4vw, 4.6rem); line-height: .9;
  letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.proof .u { display: block; margin: 14px 0 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-deep); }
.proof .fig p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 230px; }
@media (max-width: 900px) {
  .proof { margin-top: 64px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof .fig { padding: 28px 22px 26px; border-bottom: 1px solid var(--line); }
  .proof .fig:nth-child(odd) { padding-left: 0; } .proof .fig:nth-child(even) { border-right: 0; padding-right: 0; }
  .proof .fig:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) { .proof-grid { grid-template-columns: 1fr; } .proof .fig { border-right: 0; padding: 24px 0; } .proof .fig p { max-width: none; } }

/* ---- the dark act: one long chapter through the middle of the page ------------------------------
   The page was light for seventeen thousand pixels, which is most of why the scroll felt flat.
   Why and Pay now share a single near-black stage lit by the same warm light as the hero. */
.act { position: relative; margin: 118px 0 0; padding: 30px 0 120px; background: var(--dark); color: #EDEAE3; isolation: isolate;
  --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.18); --ink: #FFFFFF; --ink-2: #C6C2B8; --muted: #8F8B83; }
/* A clean edge, not a fade: paper dissolving into near-black only ever reads as grey. */
.act::before, .act::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(217,194,154,.5) 22%, rgba(217,194,154,.5) 78%, transparent); }
.act::before { top: 0; } .act::after { bottom: 0; }
.act-light { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.act-light i { position: absolute; display: block; border-radius: 50%; }
.act-light .a1 { left: 50%; top: 6%; width: 120vmax; height: 76vmax; margin-left: -60vmax;
  background: radial-gradient(closest-side, rgba(186,150,92,.30), rgba(186,150,92,.07) 46%, transparent 72%);
  animation: act-a 23s var(--ease-io) infinite alternate; }
.act-light .a2 { right: -22%; top: 34%; width: 84vmax; height: 70vmax;
  background: radial-gradient(closest-side, rgba(72,104,138,.34), transparent 70%);
  animation: act-b 31s var(--ease-io) infinite alternate; }
.act-light .a3 { left: -18%; bottom: -14%; width: 78vmax; height: 62vmax;
  background: radial-gradient(closest-side, rgba(150,124,80,.22), transparent 72%);
  animation: act-c 27s var(--ease-io) infinite alternate; }
@keyframes act-a { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 3%, 0) scale(1.12); } }
@keyframes act-b { from { transform: translate3d(4%, 2%, 0) scale(1.08); } to { transform: translate3d(-5%, -3%, 0) scale(.94); } }
@keyframes act-c { from { transform: translate3d(-4%, 2%, 0) scale(.96); } to { transform: translate3d(5%, -3%, 0) scale(1.1); } }
.act > section { position: relative; z-index: 1; }
.act h2, .act h3 { color: #fff; }
.act .lead { color: #C6C2B8; }
.act .eyebrow { color: var(--gold-lite); }
.act .section-head.center h2 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
.act .split-head h2 { color: #fff; }
@media (prefers-reduced-motion: reduce) { .act-light i { animation: none; } }

/* the three promises, as chapters on the dark stage */
.act .tiers::before { left: 33px; background: linear-gradient(180deg, transparent, rgba(217,194,154,.26) 12%, rgba(217,194,154,.26) 88%, transparent); }
.act .tiers li { grid-template-columns: 68px 1fr; }
.act .tiers .ico { background: rgba(255,255,255,.045); border: 1px solid rgba(217,194,154,.34); color: var(--gold-lite);
  box-shadow: 0 0 0 7px var(--dark), 0 14px 40px rgba(0,0,0,.5); }
.act .tiers li:hover .ico { border-color: rgba(217,194,154,.7); box-shadow: 0 0 0 7px var(--dark), 0 22px 54px rgba(0,0,0,.6); }
.act .tiers .num { position: absolute; right: 0; top: -14px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 1; letter-spacing: -.03em; color: rgba(255,255,255,.055); pointer-events: none; }
.act .tiers li > div { position: relative; }
.act .tiers h3 { font-size: 1.85rem; }
.act .tiers p { color: #B9B5AC; }
@media (max-width: 700px) { .act .tiers .num { font-size: 3rem; top: -8px; } }

/* the vault has to read as an object sitting on the dark stage, not a hole cut in it */
.act .vault { background: #1A1D20; border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 70px 140px -50px rgba(0,0,0,.85), 0 0 0 1px rgba(217,194,154,.1), 0 24px 60px -30px rgba(0,0,0,.6); }
.act .vault .vbar { border-bottom-color: rgba(255,255,255,.09); }
.act .vault .vleft { border-right-color: rgba(255,255,255,.09); }
.act section.section { margin: 96px 0; }
.act section.section:first-of-type { margin-top: 96px; }

/* ---- deck: each capability is a numbered chapter, and the rail shows how far in you are -------- */
.deck-stage { counter-reset: panel; }
.deck .panel { counter-increment: panel; }
.deck .panel .copy { position: relative; }
.deck .panel .copy::before { content: counter(panel, decimal-leading-zero); position: absolute; left: -4px; top: -96px;
  font-family: var(--serif); font-size: 6.2rem; line-height: 1; letter-spacing: -.03em; color: rgba(20,29,38,.06);
  pointer-events: none; z-index: -1; }
.deck.pinned .panel .visual { transform: scale(.955) translateY(14px); transition: transform 1.1s var(--ease-out), opacity .65s var(--ease-out); }
.deck.pinned .panel.on .visual { transform: none; }
.deck .rail { gap: 0; }
.deck .rail a { width: 20px; height: 30px; }
.deck .rail a i { width: 1.5px; height: 18px; border-radius: 2px; background: rgba(20,29,38,.16); transition: background .4s var(--ease-out), height .4s var(--ease-out); }
.deck .rail a.on i { height: 26px; background: var(--gold); box-shadow: 0 0 12px rgba(169,138,85,.55); }
.deck .rail a.done i { background: rgba(169,138,85,.42); }
@media (max-width: 900px) { .deck .panel .copy::before { display: none; } }

/* ---- plans: the recommended card is lit, not just outlined ------------------------------------- */
section.plans .pricing .card.accent { box-shadow: 0 0 0 1px rgba(169,138,85,.22) inset, 0 40px 90px -34px rgba(138,106,52,.4), var(--shadow); }
section.plans .pricing .card.accent:hover { box-shadow: 0 0 0 1px rgba(169,138,85,.3) inset, 0 54px 110px -34px rgba(138,106,52,.5), var(--shadow-lg); }
section.plans .pricing .pop { padding: 4px 9px; border: 1px solid rgba(169,138,85,.4); border-radius: 999px; }
section.plans .price { position: relative; display: inline-block; }
section.plans .card.accent .price::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent); }

/* ---- the close ---------------------------------------------------------------------------------- */
section.cta { padding: 150px 0 110px; }
section.cta h2 { font-size: clamp(3rem, 6.4vw, 5.4rem); }

/* the hero recedes on the way out rather than simply scrolling off */
.hero-content { transform: translateY(calc(var(--hp, 0) * -64px)); opacity: calc(1 - var(--hp, 0) * 1.25); will-change: transform, opacity; }
.hero .learn { opacity: calc(1 - var(--hp, 0) * 3); }

/* ---- sign in: one quiet panel, not a form bolted to a column ----------------------------------- */
#login { margin: 130px 0 0; }
#login .two { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
#login .card { position: relative; border-radius: 24px; padding: 38px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(20,29,38,.34), 0 2px 6px rgba(20,29,38,.04); overflow: hidden; }
#login .card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169,138,85,.65) 30%, rgba(169,138,85,.65) 70%, transparent); }
#login .card::after { content: ''; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,247,228,.9), transparent 70%); pointer-events: none; }
#login .card > * { position: relative; }
#login .label { color: var(--gold-deep); }
#login .input { border-radius: 12px; padding: 14px 16px; background: var(--paper-2); border-color: transparent; }
#login .input:focus { background: var(--white); }
#login .row { gap: 12px; margin-top: 20px; }
#login h2 em { font-style: italic; color: var(--gold-deep); }
@media (max-width: 820px) { #login .two { gap: 30px; } #login .card { padding: 28px; } }

/* The act rebinds --ink to white for its own copy, which would have made the vault's white
   button invisible; it needs the real ink back. */
.act .vault .vbtn { color: #141D26; }
.act .vault .vbtn:hover { color: #141D26; }
@media (max-width: 700px) {
  .act .tiers li { grid-template-columns: 1fr; gap: 16px; }
  .act .tiers .num { top: -6px; }
}
