/* Orrie website. Tokens match the extension's full-page chat (history.html) so the site feels like the product. */
:root {
  --main: #ffffff; --side: #f9f9f9; --fg: #0d0d0d; --fg2: #5d5d5d; --fg3: #8f8f8f;
  --line: rgba(13,13,13,.05); --line2: rgba(13,13,13,.1); --line3: rgba(13,13,13,.15);
  --hover: rgba(0,0,0,.04); --press: rgba(0,0,0,.07);
  --bubble: #f4f4f4; --field: #ffffff; --ink: #0d0d0d; --ink-fg: #fff;
  --card: #f9f9f9; --canvas: #ffffff;
  --ok: #1f9d74; --no: #b8b8b8;
  --composer-shadow: 0 0 0 1px rgba(13,13,13,.1), 0 4px 4px rgba(0,0,0,.02), 0 8px 16px -4px rgba(0,0,0,.04);
  --menu-shadow: 0 0 0 1px rgba(13,13,13,.1), 0 8px 24px -4px rgba(0,0,0,.12), 0 2px 6px -2px rgba(0,0,0,.06);
  --window-shadow: 0 0 0 1px rgba(13,13,13,.08), 0 30px 80px -24px rgba(40,30,110,.28), 0 8px 24px -12px rgba(0,0,0,.12);
  --aurora-line: linear-gradient(110deg, #5B6BFF, #1FD1E6 30%, #FF7AD9 60%, #FFB36B 85%, #8A4DFF);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --gutter: 24px;
  --card-border: rgba(13,13,13,.08);
  /* Fake pages in the demos sit back so Orrie stays the focus. */
  --pg-bg: #f4f4f6; --pg-panel: #ffffff; --pg-side: #ededf0; --pg-fg: #3d3d42; --pg-fg2: #7d7d84; --pg-fg3: #a7a7ae;
  --pg-line: rgba(13,13,13,.08); --pg-press: rgba(13,13,13,.06); --pg-skel: #e4e4e8; --pg-hl: #c8ddff; --pg-accent: #3f74ee;
  --pg-bar: #a8b0e8; --pg-dip: #f4a47d;
  --mesh-a: .22;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --main: #212121; --side: #181818; --fg: #ececec; --fg2: #afafaf; --fg3: #8f8f8f;
    --line: rgba(255,255,255,.05); --line2: rgba(255,255,255,.1); --line3: rgba(255,255,255,.15);
    --hover: rgba(255,255,255,.06); --press: rgba(255,255,255,.1);
    --bubble: #303030; --field: #303030; --ink: #ffffff; --ink-fg: #0d0d0d;
    --card: #181818; --canvas: #212121; --ok: #4ed3a4; --no: #5a5a5a;
    --composer-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 16px -4px rgba(0,0,0,.3);
    --menu-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 24px -4px rgba(0,0,0,.5);
    --window-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -24px rgba(0,0,0,.7);
    --card-border: rgba(255,255,255,.09);
    --pg-bg: #141415; --pg-panel: #1c1c1e; --pg-side: #0f0f10; --pg-fg: #c9c9ce; --pg-fg2: #86868d; --pg-fg3: #5c5c63;
    --pg-line: rgba(255,255,255,.07); --pg-press: rgba(255,255,255,.06); --pg-skel: #232326; --pg-hl: #2e4570; --pg-accent: #3563c9;
    --pg-bar: #4b5390; --pg-dip: #a9623f;
    --mesh-a: .3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --main: #212121; --side: #181818; --fg: #ececec; --fg2: #afafaf; --fg3: #8f8f8f;
  --line: rgba(255,255,255,.05); --line2: rgba(255,255,255,.1); --line3: rgba(255,255,255,.15);
  --hover: rgba(255,255,255,.06); --press: rgba(255,255,255,.1);
  --bubble: #303030; --field: #303030; --ink: #ffffff; --ink-fg: #0d0d0d;
  --card: #181818; --canvas: #212121; --ok: #4ed3a4; --no: #5a5a5a;
  --composer-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 16px -4px rgba(0,0,0,.3);
  --menu-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 8px 24px -4px rgba(0,0,0,.5);
  --window-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -24px rgba(0,0,0,.7);
  --card-border: rgba(255,255,255,.09);
  --pg-bg: #141415; --pg-panel: #1c1c1e; --pg-side: #0f0f10; --pg-fg: #c9c9ce; --pg-fg2: #86868d; --pg-fg3: #5c5c63;
  --pg-line: rgba(255,255,255,.07); --pg-press: rgba(255,255,255,.06); --pg-skel: #232326; --pg-hl: #2e4570; --pg-accent: #3563c9;
  --pg-bar: #4b5390; --pg-dip: #a9623f;
  --mesh-a: .3;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--main); color: var(--fg); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; overflow-x: clip; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
[hidden] { display: none !important; }
.i { width: 18px; height: 18px; flex: none; }
.mark { flex: none; }
::selection { background: color-mix(in srgb, #5B6BFF 24%, transparent); }
:focus-visible { outline: 2px solid #7B61FF; outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--main) 84%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line2); }
.nav .wrap { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; margin-right: 14px; padding: 4px 8px 4px 4px; border-radius: 12px; color: var(--fg); }
.brand .mark { filter: drop-shadow(0 3px 8px rgba(91,107,255,.35)); }
/* Wordmark (see orrieWordmark in icons.js). Proportions match the approved lockup: the orb is 2.28x the
   x-height and sits 0.48 x-heights from the letters. The text inside is the no-JS fallback. */
.wordmark { display: block; font: 600 22px/1 Georgia, "Times New Roman", serif; }
.wordmark .wm { display: block; height: 25.2px; width: auto; overflow: visible; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--fg2); font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: var(--hover); }
.nav .grow { flex: 1; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; }
.menu-btn:hover { background: var(--hover); }
.menu-btn .i { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--main); box-shadow: inset 0 0 0 1px var(--line3); transition: background .2s, transform .12s, box-shadow .2s; position: relative; overflow: hidden; }
.btn:hover { background: var(--hover); }
.btn:active { transform: scale(.97); }
.btn .i { width: 17px; height: 17px; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn.primary { background: var(--ink); color: var(--ink-fg); box-shadow: none; }
/* Orrie touch: the same aurora sheen the send button gets on hover. */
.btn.primary::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle at 18% 20%, rgba(31,209,230,.5), transparent 45%), radial-gradient(circle at 85% 90%, rgba(255,122,217,.45), transparent 50%), radial-gradient(circle at 60% 10%, rgba(138,77,255,.4), transparent 50%); }
.btn.primary:hover { background: var(--ink); }
.btn.primary:hover::after { opacity: 1; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.ghost { box-shadow: none; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--fg3); font-size: 14px; font-weight: 500; letter-spacing: -.005em; margin-bottom: 14px; }
.eyebrow .mark { width: 16px; height: 16px; }
.h1 { font-size: clamp(42px, 6.6vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.lede { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
.muted { color: var(--fg2); }
.small { font-size: 13.5px; color: var(--fg3); }
.aurora-text { background: linear-gradient(100deg, #5B6BFF 0%, #8A4DFF 30%, #FF7AD9 62%, #FFB36B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
kbd { font: 500 .86em var(--font); padding: 2px 7px; border-radius: 7px; background: var(--bubble); box-shadow: inset 0 -1px 0 var(--line2); white-space: nowrap; }

section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head .lede { margin-top: 16px; max-width: 620px; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 0; text-align: center; }
.hero .h1 { max-width: 940px; margin: 0 auto; }
.hero .lede { max-width: 640px; margin: 22px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--fg3); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 14px; height: 14px; color: var(--ok); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 13.5px; color: var(--fg2); background: var(--main); box-shadow: inset 0 0 0 1px var(--line2); margin-bottom: 22px; text-decoration: none; position: relative; }
.chip .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bubble); color: var(--fg); }
.chip .dot .i { width: 14px; height: 14px; }
.chip b { color: var(--fg); font-weight: 500; }
.chip::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--aurora-line); opacity: .45;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@media (hover: none), (pointer: coarse) { .chip.shake-chip { display: none; } }

/* ---------- demo window ---------- */
.hero-demo { margin: clamp(40px, 5vw, 60px) auto 0; max-width: 1140px; position: relative; }
.tabs { position: relative; z-index: 1; display: flex; justify-content: center; gap: 4px; margin: 0 auto 16px; padding: 4px; border-radius: 999px; background: var(--bubble); width: max-content; max-width: 100%; }
.tab { position: relative; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg2); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; transition: color .2s, background .2s, box-shadow .2s; }
.tab .i { width: 16px; height: 16px; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); background: var(--main); box-shadow: 0 0 0 .5px var(--line2), 0 1px 3px rgba(0,0,0,.08); }
.tab .bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--line2); overflow: hidden; opacity: 0; }
.tab[aria-selected="true"] .bar { opacity: 1; }
.tab .bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--aurora-line); }

/* The product shot sits on a soft aurora backdrop, so the demo reads as the hero, not as more page. */
.showcase { position: relative; z-index: 1; border-radius: 32px; padding: clamp(12px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--card-border); overflow: hidden; isolation: isolate; }
.showcase::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 12% 18%, rgb(31 209 230 / var(--mesh-a)), transparent 70%),
    radial-gradient(34% 40% at 88% 12%, rgb(255 122 217 / var(--mesh-a)), transparent 70%),
    radial-gradient(40% 44% at 90% 92%, rgb(255 179 107 / var(--mesh-a)), transparent 70%),
    radial-gradient(44% 48% at 10% 90%, rgb(91 107 255 / var(--mesh-a)), transparent 70%),
    radial-gradient(30% 34% at 50% 50%, rgb(138 77 255 / calc(var(--mesh-a) * .5)), transparent 70%);
  animation: s-drift 22s ease-in-out infinite alternate; }
@keyframes s-drift { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(2%, -2%) rotate(6deg); } 100% { transform: translate(-2%, 2%) rotate(-4deg); } }

.window { text-align: left; position: relative; z-index: 1; border-radius: 16px; background: var(--pg-bg); box-shadow: var(--window-shadow); overflow: hidden; }
.window-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--main); border-bottom: 1px solid var(--card-border); }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line3); }
.address { flex: 1; max-width: 460px; margin: 0 auto; height: 28px; border-radius: 9px; background: var(--bubble); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--fg2); min-width: 0; }
.address .i { width: 12px; height: 12px; color: var(--fg3); }
.address span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ext .mark { width: 16px; height: 16px; filter: drop-shadow(0 2px 6px rgba(91,107,255,.45)); }

/* Stage: the fake page plus Orrie's layer. Positions are in unscaled stage pixels. */
.stage-box { position: relative; overflow: hidden; }
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: var(--pg-bg); color: var(--pg-fg); pointer-events: none; user-select: none; -webkit-user-select: none; container: stage / size; }
.stage.oui { font-family: var(--font); }
.window .stage { border-radius: 0 0 calc(15px / var(--k, 1)) calc(15px / var(--k, 1)); }
.stage > .pagev { position: absolute; inset: 0; }
.stage .trig, .stage .aura, .stage .magic, .stage .hint, .stage .fly, .stage .ghost, .stage .popwrap { position: absolute; }
.stage .pop { position: relative; }
.stage .popwrap { z-index: 20; }
.stage .aura { z-index: 15; }
.stage .magic { z-index: 16; }
.stage .trig { z-index: 18; }
.stage .fly { z-index: 30; inset: 0; }
.stage .hint { z-index: 25; }
/* The glowing edge follows whatever rounded frame it sits in. */
.stage .aura, .stage .aura .glow, .stage .aura .ring { border-radius: inherit; }
.stage .aura .cone, .art-aura .aura .cone { width: 260%; height: auto; aspect-ratio: 1; left: -80%; top: 50%; margin: 0; translate: 0 -50%; }

/* Orrie is the star: halo behind the popover, a gentle ping on the dot, a stronger lift. */
.popwrap .halo { position: absolute; inset: 12% -9% -9%; border-radius: 64px; z-index: -1; pointer-events: none; opacity: 0; filter: blur(42px);
  background: radial-gradient(circle at 18% 80%, #1FD1E6, transparent 58%), radial-gradient(circle at 86% 14%, #FF7AD9, transparent 56%), radial-gradient(circle at 88% 90%, #FFB36B, transparent 50%), linear-gradient(135deg, #5B6BFF, #8A4DFF);
  animation: s-halo .9s ease-out .08s forwards; }
@keyframes s-halo { to { opacity: var(--halo-o, .34); } }
.stage[data-dark] .popwrap .halo { --halo-o: .26; }
.popwrap.closing .halo { animation: none; opacity: 0; transition: opacity .16s; }
.stage .pop { box-shadow: var(--shadow), 0 24px 60px -28px rgba(60,40,160,.35); }
.stage[data-dark] .pop { box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04); }
.stage .trig::before { content: ""; position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(123,97,255,.6); opacity: 0; pointer-events: none; animation: s-ping 1.8s ease-out .35s infinite; }
.stage .trig.open::before, .stage .trig.hov::before { animation: none; opacity: 0; }
@keyframes s-ping { 0% { transform: scale(.35); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.cursor { position: absolute; left: 0; top: 0; z-index: 40; width: 22px; height: 22px; margin: -2px 0 0 -3px; transition-property: transform; will-change: transform; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); }
.cursor svg { width: 22px; height: 22px; transition: transform .12s; transform-origin: 4px 3px; }
.cursor.down svg { transform: scale(.84); }
.cursor .ripple { position: absolute; left: 3px; top: 2px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(123,97,255,.3); transform: scale(0); opacity: 0; }
.cursor.down .ripple { animation: s-ripple .5s ease-out; }
@keyframes s-ripple { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }

/* Fake page content */
.pg { font-family: var(--font); color: var(--pg-fg); }
.hl { background: var(--pg-hl); border-radius: 1px; }
.thumbwrap { position: absolute; inset: 0; overflow: hidden; background: var(--pg-bg); }
.stage .u .media .shot { position: relative; width: 150px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 .5px var(--line2); }

/* Mail page */
.mail { position: absolute; inset: 0; display: grid; grid-template-columns: 208px 1fr; }
.mail-side { background: var(--pg-side); border-right: 1px solid var(--pg-line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.mail-side .compose { height: 40px; border-radius: 12px; background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.mail-side .compose .i { width: 16px; height: 16px; }
.mail-side .f { height: 34px; border-radius: 10px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13.5px; color: var(--pg-fg2); }
.mail-side .f.on { background: var(--pg-press); color: var(--pg-fg); font-weight: 500; }
.mail-side .f .i { width: 16px; height: 16px; }
.mail-side .f em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--pg-fg3); }
.mail-main { padding: 26px 32px; min-width: 0; }
.thread-subj { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; }
.msg { display: flex; gap: 12px; margin-bottom: 20px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff; opacity: .8; }
.msg-body { min-width: 0; font-size: 14px; line-height: 1.55; color: var(--pg-fg2); }
.msg-body b { color: var(--pg-fg); font-weight: 600; }
.msg-body small { color: var(--pg-fg3); font-size: 12.5px; margin-left: 6px; }
.msg-body p { margin-top: 4px; }
.reply { border-radius: 16px; box-shadow: 0 0 0 1px var(--pg-line), 0 1px 2px rgba(0,0,0,.03); padding: 12px 14px 12px; background: var(--pg-panel); max-width: min(520px, calc(100cqw - 610px)); }
.reply-to { font-size: 13px; color: var(--pg-fg3); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.reply-to .i { width: 14px; height: 14px; }
.field { position: relative; display: grid; min-height: 118px; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; line-height: 1.55; color: var(--pg-fg); box-shadow: inset 0 0 0 1px var(--pg-line); white-space: pre-wrap; transition: box-shadow .2s; }
.field.focus { box-shadow: inset 0 0 0 2px var(--pg-accent); }
.field .txt-old, .field .txt-new { grid-area: 1 / 1; transition: opacity .35s ease, filter .35s ease; }
.field .txt-new { opacity: 0; filter: blur(2px); }
.field.applied .txt-old { opacity: 0; filter: blur(2px); }
.field.applied .txt-new { opacity: 1; filter: none; }
.field .spell { text-decoration: underline wavy #e5484d; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reply-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.reply-foot .send-mail { height: 32px; padding: 0 16px; border-radius: 999px; background: var(--pg-accent); color: #fff; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; }
.reply-foot .i { width: 16px; height: 16px; color: var(--pg-fg3); }

/* Article page */
.article { position: absolute; inset: 0; padding: 30px 40px; overflow: hidden; color: var(--pg-fg2); }
.article-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pg-fg3); margin-bottom: 18px; }
.article-top .logo { width: 26px; height: 26px; border-radius: 7px; background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); display: grid; place-items: center; font-weight: 700; color: var(--pg-fg); font-size: 14px; font-family: Georgia, serif; }
.article h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 34px; letter-spacing: -.01em; line-height: 1.15; color: var(--pg-fg); border-bottom: 1px solid var(--pg-line); padding-bottom: 8px; margin-bottom: 14px; }
.article .by { font-size: 13px; color: var(--pg-fg3); margin-bottom: 16px; }
.article .cols { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: start; }
.article p { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; max-width: 600px; }
.article p b, .article .target { color: var(--pg-fg); }
.figure { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--pg-line); background: var(--pg-panel); font-size: 12px; color: var(--pg-fg3); opacity: .85; }
.figure .sky { height: 150px; background: linear-gradient(180deg, #06132b 0%, #0b2448 40%, #16335a 100%); position: relative; overflow: hidden; }
.figure .sky::before { content: ""; position: absolute; left: -20%; right: -20%; top: 18%; height: 70%; background: radial-gradient(ellipse at 30% 60%, rgba(64,255,170,.75), transparent 55%), radial-gradient(ellipse at 70% 40%, rgba(120,255,200,.5), transparent 50%), radial-gradient(ellipse at 55% 20%, rgba(170,110,255,.45), transparent 45%); filter: blur(10px); transform: skewY(-8deg); }
.figure .sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(180deg, transparent, #04070f); clip-path: polygon(0 60%, 12% 30%, 22% 55%, 35% 20%, 48% 50%, 60% 25%, 72% 55%, 86% 30%, 100% 50%, 100% 100%, 0 100%); }
.figure figcaption { padding: 8px 10px; line-height: 1.4; }

/* Dashboard page */
.dash { position: absolute; inset: 0; padding: 26px 32px; }
.dash-in { max-width: 600px; }
.dash-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-top h4 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.dash-top .pill { margin-left: auto; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--pg-fg2); }
.dash-top .pill .i { width: 14px; height: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { border-radius: 14px; background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); padding: 12px 14px; }
.kpi small { font-size: 12.5px; color: var(--pg-fg3); display: block; }
.kpi b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 12.5px; margin-left: 6px; }
.kpi em.up { color: #3aa585; } .kpi em.down { color: #d4675e; }
.chart { border-radius: 14px; background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); padding: 14px 16px 12px; }
.chart-h { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.chart-h small { font-weight: 400; color: var(--pg-fg3); font-size: 12.5px; }
.bars { height: 150px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; align-items: end; position: relative; }
.bars div { border-radius: 6px 6px 2px 2px; background: var(--pg-bar); position: relative; }
.bars div.dip { background: var(--pg-dip); }
.bars .note { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--pg-fg2); background: var(--pg-panel); box-shadow: 0 0 0 1px var(--pg-line); padding: 2px 7px; border-radius: 6px; }
.axis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-top: 6px; font-size: 11.5px; color: var(--pg-fg3); text-align: center; }

/* Article page for the shake card */
.shakepage { position: absolute; inset: 0; padding: 30px 34px; color: var(--pg-fg2); }
.shakepage .doc { max-width: 380px; }
.shakepage .kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-fg3); margin-bottom: 6px; }
.shakepage h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 29px; line-height: 1.15; color: var(--pg-fg); margin-bottom: 10px; }
.shakepage p { font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
.shakepage .figure { margin: 0 0 12px; }
.shakepage .figure .sky { height: 118px; }
@container stage (max-width: 700px) { .shakepage .doc { max-width: none; } }

/* Fake pages respond to the stage's own width, not the viewport. */
@container stage (max-width: 1039px) {
  .mail { grid-template-columns: 1fr; }
  .mail-side { display: none; }
  .reply { max-width: min(520px, calc(100cqw - 402px)); }
}
@container stage (max-width: 1019px) {
  .article .cols { grid-template-columns: 1fr; }
  .article .figure { display: none; }
  .article p { max-width: calc(100cqw - 460px); }
}
@container stage (max-width: 899px) {
  .mail-main { padding: 18px 16px; }
  .msg { display: none; }
  .reply { max-width: none; }
  .article { padding: 20px 18px; }
  .article p { max-width: none; }
  .article .by, .article p:first-child { display: none; }
  .article h4 { font-size: 28px; }
  .dash { padding: 18px 16px; }
  .dash-in { max-width: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis .kpi:nth-child(3) { display: none; }
  .bars { gap: 7px; } .axis { gap: 7px; }
}
@container stage (max-width: 560px) {
  .stage .hint .tx small, .stage .hint kbd { display: none; }
}

/* ---------- art frames (steps and bento) ---------- */
/* Every illustration sits in its own fully rounded, bordered frame, inset from the card edge,
   so corners stay concentric at every size and nothing bleeds into the card. */
.frame { position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; background: var(--pg-bg); border: 1px solid var(--card-border); container: frame / inline-size; }
.frame .stage { overflow: visible; background: transparent; }
.art-aura { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; }
.art-aura .aura { position: absolute; }
.art-aura .aura, .art-aura .aura .glow, .art-aura .aura .ring { border-radius: inherit; }
/* The extension's glow is sized for a whole screen. Inside a small frame, scale it down so it stays a gentle edge. */
.frame .aura .glow, .art-aura .aura .glow { inset: -26px; filter: blur(13px); }
.frame .aura .ring, .art-aura .aura .ring { padding: 37px; }
.frame > .stage { border-radius: 17px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); padding: 9px; display: flex; flex-direction: column; }
.step .art { height: 300px; border-radius: 19px; }
.step .copy { padding: 20px 17px 17px; }
.step .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--ink-fg); font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
.step .copy p { color: var(--fg2); margin-top: 6px; font-size: 15px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); padding: 27px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 220px; }
.card .h3 { margin-bottom: 6px; }
.card > p, .card.split > div > p { color: var(--fg2); font-size: 15px; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--main); border: 1px solid var(--card-border); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic .i { width: 20px; height: 20px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.card .art { margin: 24px -17px -17px; flex: 1; min-height: 250px; }
.card.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; align-items: stretch; }
.card.split > div:first-child { align-self: center; padding: 8px 0; }
.card.split .art { margin: -17px -17px -17px 0; min-height: 380px; }
@container frame (max-width: 620px) {
  .fullpage { grid-template-columns: 1fr; }
  .fp-side { display: none; }
}

/* models */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); padding: 27px; position: relative; overflow: hidden; }
.tier .orbwrap { width: 64px; height: 64px; margin-bottom: 22px; position: relative; }
.tier .orbwrap::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--tint); filter: blur(18px); opacity: .5; z-index: -1; }
.tier .orbwrap .mark { width: 64px; height: 64px; }
.tier h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.tier .tag { font-size: 14px; color: var(--fg3); margin-top: 2px; }
.tier p { color: var(--fg2); margin-top: 14px; font-size: 15px; }
.meter { display: flex; gap: 4px; margin-top: 18px; }
.meter i { height: 4px; flex: 1; border-radius: 4px; background: var(--line2); }
.meter i.on { background: var(--tint); }
.meter-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fg3); margin-top: 6px; }

/* privacy */
.privacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy .card { min-height: 0; }

/* full page chat replica (this one is Orrie's own UI, so it keeps Orrie's tokens) */
.fullpage { position: absolute; inset: 0; display: grid; grid-template-columns: 200px 1fr; background: var(--main); }
.fp-side { background: var(--side); border-right: 1px solid var(--card-border); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fp-side .top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.fp-side .top .i { width: 20px; height: 20px; color: var(--fg2); }
.fp-side .it { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; }
.fp-side .it .i { width: 18px; height: 18px; }
.fp-side .lbl { font-size: 13px; color: var(--fg3); padding: 14px 10px 6px; }
.fp-side .row { height: 36px; display: flex; align-items: center; padding: 0 10px; border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); font-size: 14px; }
.fp-side .row.on { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.fp-side .row span { overflow: hidden; text-overflow: ellipsis; }
.fp-main { display: flex; flex-direction: column; min-width: 0; }
.fp-head { height: 52px; display: flex; align-items: center; gap: 6px; padding: 0 20px; font-size: 18px; flex: none; }
.fp-head .tn { color: var(--fg3); }
.fp-head .i { width: 16px; height: 16px; color: var(--fg3); }
.fp-home { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 24px 44px; }
.fp-home h5 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; text-align: center; }
.fp-home h5 .mark { filter: drop-shadow(0 4px 14px rgba(138,77,255,.4)); }
.fp-composer { position: relative; width: 100%; max-width: 520px; background: var(--field); border-radius: 28px; box-shadow: var(--composer-shadow); padding: 10px; display: flex; align-items: center; gap: 4px; isolation: isolate; }
.fp-composer::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: .45; background: var(--aurora-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fp-composer::after { content: ""; position: absolute; inset: 8px 24px -6px; border-radius: inherit; z-index: -1; opacity: .2; background: linear-gradient(110deg, #5B6BFF, #1FD1E6, #FF7AD9, #FFB36B); filter: blur(18px); }
.fp-composer .round { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fp-composer .round .i { width: 20px; height: 20px; }
.fp-composer .ph { flex: 1; color: var(--fg3); padding: 0 6px; }
.fp-composer .send { background: color-mix(in srgb, var(--fg) 16%, transparent); color: var(--main); }

/* ---------- comparison table ---------- */
.table-wrap { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-weight: 600; font-size: 14px; letter-spacing: -.01em; padding-top: 20px; padding-bottom: 16px; }
.compare th small { display: block; font-weight: 400; color: var(--fg3); font-size: 12.5px; margin-top: 2px; }
.compare td:first-child, .compare th:first-child { text-align: left; color: var(--fg); padding-left: 24px; min-width: 220px; }
.compare td:first-child small { display: block; color: var(--fg3); font-size: 13px; }
.compare .us { background: var(--canvas); position: relative; }
.compare th.us { border-radius: 20px 20px 0 0; }
.compare th.us .mark { margin: 0 auto 6px; width: 22px; height: 22px; }
.compare .yes, .compare .no, .compare .part { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.compare .yes { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.compare .no { color: var(--no); }
.compare .part { color: #d98a1c; background: color-mix(in srgb, #d98a1c 14%, transparent); }
.compare .yes .i, .compare .no .i, .compare .part .i { width: 14px; height: 14px; stroke-width: 2.6; }
.compare .txt { font-size: 13.5px; color: var(--fg2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 14px; font-size: 13px; color: var(--fg3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--canvas); box-shadow: 0 0 0 1px var(--line2), 0 24px 60px -30px rgba(91,70,220,.35); }
.plan.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--aurora-line); opacity: .7; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.plan .badge { font-size: 12px; font-weight: 500; color: var(--fg2); background: var(--bubble); padding: 2px 9px; border-radius: 999px; letter-spacing: 0; }
.plan .price { margin: 18px 0 4px; font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--fg3); letter-spacing: 0; margin-left: 4px; }
.plan .for { color: var(--fg2); font-size: 15px; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .i { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { margin-left: auto; width: 20px; height: 20px; color: var(--fg3); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .a { padding: 0 44px 24px 4px; color: var(--fg2); font-size: 16px; }
.faq .a p + p { margin-top: 10px; }

/* ---------- final CTA ---------- */
.cta { margin: clamp(80px, 11vw, 140px) 0 0; }
.cta-box { position: relative; border-radius: 36px; background: var(--card); border: 1px solid var(--card-border); padding: clamp(48px, 8vw, 96px) 24px; text-align: center; overflow: hidden; isolation: isolate; }
.cta-box .glow { position: absolute; left: 50%; top: 42%; width: 520px; height: 320px; translate: -50% -50%; border-radius: 50%; filter: blur(80px); opacity: .28; z-index: -1;
  background: radial-gradient(circle at 25% 70%, #1FD1E6, transparent 55%), radial-gradient(circle at 80% 25%, #FF7AD9, transparent 55%), linear-gradient(135deg, #5B6BFF, #8A4DFF); }
.cta-box .big-orb { width: 88px; height: 88px; margin: 0 auto 28px; filter: drop-shadow(0 12px 30px rgba(138,77,255,.45)); animation: s-float 6s ease-in-out infinite; }
.cta-box .big-orb .mark { width: 88px; height: 88px; }
@keyframes s-float { 50% { transform: translateY(-6px); } }
.cta-box .lede { max-width: 520px; margin: 16px auto 0; }
.cta-box .hero-cta { margin-top: 28px; }

/* ---------- footer ---------- */
footer { margin-top: clamp(64px, 8vw, 100px); border-top: 1px solid var(--line2); padding: 40px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid .brand { margin: 0 0 12px -4px; color: var(--fg); }
.footer-grid .brand { gap: 5.5px; }
.footer-grid .wordmark .wm { height: 23.4px; }
.footer-grid p { color: var(--fg3); font-size: 14px; max-width: 280px; }
.footer-grid h4 { font-size: 13px; font-weight: 500; color: var(--fg3); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--fg2); font-size: 14px; }
.footer-grid a:hover { color: var(--fg); }
.legal { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--fg3); font-size: 13px; }

/* ---------- doc pages (privacy, compare detail) ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.page-head .lede { max-width: 640px; margin: 18px auto 0; }
.prose { max-width: 720px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--fg); }
.prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 44px 0 10px; line-height: 1.25; }
.prose h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin: 28px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: var(--fg2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--fg3); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { text-decoration-color: var(--line3); text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--bubble); padding: .12em .4em; border-radius: 6px; }
.callout { border-radius: 20px; background: var(--card); border: 1px solid var(--card-border); padding: 18px 20px; margin: 20px 0; color: var(--fg2); font-size: 15.5px; }
.callout strong { color: var(--fg); }

.versus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vs { border-radius: 28px; background: var(--card); border: 1px solid var(--card-border); padding: 26px 28px; }
.vs header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.vs h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.vs .kind { font-size: 13.5px; color: var(--fg3); }
.vs .facts { font-size: 13.5px; color: var(--fg3); margin-bottom: 14px; }
.vs h4 { font-size: 13px; font-weight: 500; color: var(--fg3); margin: 14px 0 6px; }
.vs ul { margin: 0; padding-left: 1.2em; color: var(--fg2); font-size: 15px; }
.vs li + li { margin-top: 4px; }
.vs li::marker { color: var(--fg3); }
.sources { font-size: 12.5px; color: var(--fg3); margin-top: 10px; }
.sources a { color: var(--fg3); }

/* ---------- shake easter egg (site-wide) ---------- */
.site-aura { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.site-aura .aura { position: fixed; }
.toast { position: fixed; left: 50%; top: 18px; z-index: 95; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 18px; background: rgba(20,20,26,.86); color: #fff; font-size: 13.5px;
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 0 0 .5px rgba(255,255,255,.16), 0 12px 32px -10px rgba(40,20,120,.55); animation: s-toastIn .5s var(--spring); max-width: calc(100vw - 24px); }
.toast .tx { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.toast .tx b { font-weight: 600; }
.toast .tx small { color: rgba(255,255,255,.65); font-size: 12px; }
.toast .btn { height: 32px; padding: 0 12px; font-size: 13px; background: #fff; color: #0d0d0d; box-shadow: none; }
.toast .x { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: rgba(255,255,255,.75); }
.toast .x:hover { background: rgba(255,255,255,.14); color: #fff; }
.toast .x .i { width: 15px; height: 15px; }
.toast.leaving { animation: s-toastOut .25s ease-in forwards; }
@keyframes s-toastIn { from { opacity: 0; transform: translate(-50%, -10px) scale(.96); } }
@keyframes s-toastOut { to { opacity: 0; transform: translate(-50%, -6px) scale(.98); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta-box .big-orb, .showcase::before, .stage .trig::before { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .steps, .tiers { grid-template-columns: 1fr; }
  .step .art { height: 260px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3 { grid-column: span 1; }
  .span-4, .span-6 { grid-column: span 2; }
  .card.split { grid-template-columns: 1fr; gap: 0; }
  .card.split > div:first-child { padding: 0; }
  .card.split .art { margin: 24px -17px -17px; min-height: 320px; }
  .privacy { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .versus { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .fullpage { grid-template-columns: 1fr; }
  .fp-side { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { position: fixed; inset: 64px 0 auto; z-index: 49; background: var(--main); border-bottom: 1px solid var(--line2); padding: 8px var(--gutter) 16px; flex-direction: column; gap: 2px; box-shadow: 0 16px 32px -16px rgba(0,0,0,.2); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a:not(.btn) { text-decoration: none; padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .mobile-menu .btn { margin-top: 10px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .bento, .privacy { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; }
  .card { padding: 23px; }
  .card .art, .card.split .art { margin: 22px -13px -13px; }
  .card.split .art { min-height: 300px; }
  #shake-art { min-height: 440px; }
  .showcase { border-radius: 24px; }
  .showcase .window { border-radius: 12px; }
  .window .stage { border-radius: 0 0 calc(11px / var(--k, 1)) calc(11px / var(--k, 1)); }
  .tabs { width: 100%; justify-content: space-between; }
  .tab { padding: 0 10px; font-size: 13px; flex: 1; justify-content: center; }
  .tab .i { display: none; }
  .hero-cta .btn { width: 100%; }
  .faq summary { font-size: 16.5px; }
  .faq .a { padding-right: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .window-bar .lights-spacer, .window-bar .ext { display: none; }
}
