/*
 * heliosprompt.com: the same tokens and motion language as the Helios extension
 * (extension/src/ui/tokens.css, docs/motion.md). Light and dark follow the system.
 */
@font-face { font-family: 'Instrument Sans'; src: url(fonts/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light dark;
  --bg: #f6f6fb;
  --app: var(--bg);
  --card: #ffffff;
  --surface: #f1f1f7;
  --surface-2: #e9e9f2;
  --line: #e5e5ee;
  --line-strong: #d2d2dc;
  --text: #16161d;
  --text-2: #5c5c69;
  --text-3: #6e6e7b;
  --accent: #5b4cf0;
  --accent-text: #4f40e6;
  --accent-soft: rgb(91 76 240 / 0.08);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  --brand-a: #8a63ff;
  --brand-b: #5b4cf0;
  --brand-c: #3a6df0;
  --grad: linear-gradient(135deg, var(--brand-a) 0%, var(--brand-b) 52%, var(--brand-c) 100%);
  --grad-primary: linear-gradient(100deg, #8a63ff 0%, #5b4cf0 55%, #3a6df0 100%);
  --grad-text: linear-gradient(100deg, var(--brand-a) 0%, var(--brand-b) 45%, var(--brand-c) 100%);
  --sun-cream: #fcefdc;
  --good: #0f9f6e;
  --good-soft: rgb(15 159 110 / 0.1);
  --ask: #e08a00;
  --ask-soft: rgb(245 158 11 / 0.12);
  --hue-violet: #6f5bff;
  --hue-pink: #e2468f;
  --hue-amber: #e08a00;
  --hue-blue: #2f7bed;
  --hue-cyan: #0aa2b8;
  --hue-green: #13a06f;
  --shadow-color: rgb(30 22 80 / 0.07);
  --shadow-color-strong: rgb(30 22 80 / 0.16);
  --shadow-card: 0 1px 2px var(--shadow-color), 0 4px 14px -6px var(--shadow-color-strong);
  --shadow-lift: 0 2px 4px var(--shadow-color), 0 12px 28px -10px var(--shadow-color-strong);
  --shadow-pop: 0 1px 2px var(--shadow-color), 0 24px 60px -20px var(--shadow-color-strong);
  --glow-accent: 0 18px 48px -20px rgb(91 76 240 / 0.35);
  --ring: 0 0 0 3px rgb(91 76 240 / 0.18);
  --wash:
    radial-gradient(60% 50% at 18% -6%, rgb(138 99 255 / 0.14) 0%, transparent 62%),
    radial-gradient(50% 45% at 92% 0%, rgb(58 109 240 / 0.1) 0%, transparent 60%);
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: 'Instrument Sans', Inter, -apple-system, 'Segoe UI', system-ui, sans-serif;
  /* One type scale, tracking tightens as size grows (display type is set, not just enlarged). */
  --fs-hero: clamp(44px, 6.2vw, 84px);
  --fs-h2: clamp(32px, 4.4vw, 56px);
  --fs-h3: 20px;
  --space-section: clamp(88px, 11vw, 144px);
  --r: 16px;
  --r-lg: 20px;
  --r-full: 999px;
  /* Motion: the extension's five durations and easing roles. */
  --dur-instant: 90ms;
  --dur-fast: 140ms;
  --dur: 200ms;
  --dur-slow: 260ms;
  --dur-slower: 360ms;
  --dur-loop: 1600ms;
  --dur-ambient: 4800ms;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --ease-soft: cubic-bezier(0.37, 0, 0.63, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e13;
    --card: #17171f;
    --surface: #1c1c24;
    --surface-2: #26262f;
    --line: #2a2a34;
    --line-strong: #3c3c48;
    --text: #ededf2;
    --text-2: #a4a4b2;
    --text-3: #8d8d9b;
    --accent: #6a5cf6;
    --accent-text: #aa9fff;
    --accent-soft: rgb(122 109 255 / 0.16);
    --brand-a: #9b7bff;
    --brand-b: #6a5cf6;
    --brand-c: #5a8bff;
    --grad-primary: linear-gradient(100deg, #9b7bff 0%, #6a5cf6 55%, #5a8bff 100%);
    --good: #34d399;
    --good-soft: rgb(52 211 153 / 0.14);
    --ask: #f8b33c;
    --ask-soft: rgb(248 179 60 / 0.14);
    --hue-violet: #9a8bff;
    --hue-pink: #f47ab4;
    --hue-amber: #ffb84d;
    --hue-blue: #6aa6ff;
    --hue-cyan: #4fd3e3;
    --hue-green: #45d6a0;
    --shadow-color: rgb(0 0 0 / 0.4);
    --shadow-color-strong: rgb(0 0 0 / 0.62);
    --glow-accent: 0 18px 48px -20px rgb(122 109 255 / 0.4);
    --ring: 0 0 0 3px rgb(122 109 255 / 0.3);
    --wash:
    radial-gradient(60% 50% at 18% -6%, rgb(138 99 255 / 0.16) 0%, transparent 62%),
    radial-gradient(50% 45% at 92% 0%, rgb(90 139 255 / 0.11) 0%, transparent 60%);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --dur-instant: .01ms; --dur-fast: .01ms; --dur: .01ms; --dur-slow: .01ms; --dur-slower: .01ms; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: var(--accent-text); text-decoration: none; font-weight: 500; transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
a:hover { opacity: .8; }
.btn:hover, nav a:hover, .logo:hover, footer a:hover { opacity: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: 14px; color: var(--text-2); }
.sub { text-align: center; color: var(--text-2); margin: 0 auto 40px; max-width: 580px; font-size: 17px; }
h1, h2, h3, .price, .logo { font-family: var(--font-display); }
h1, h2 { text-wrap: balance; font-weight: 650; }
p { text-wrap: pretty; }
h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 14px; text-align: center; }
section { padding: 72px 0; }
main > section[id] { padding: var(--space-section) 0 0; }
/* Section head: heading left, its one line of context on the right (no eyebrow + centred title + sub on repeat). */
.head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.head h2 { text-align: left; margin: 0; }
.head p { margin: 0 0 6px; color: var(--text-2); font-size: 18px; max-width: 440px; }
.head--side { display: block; position: sticky; top: 112px; margin: 0; }
.head--side p { margin-top: 18px; font-size: 16px; }

/* Header: sticky, frosted like the dock; the current section's link carries the sliding pill. */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
header.top[data-scrolled] { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px var(--shadow-color-strong); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 20px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo img { width: 28px; height: 28px; filter: drop-shadow(0 4px 10px rgb(91 76 240 / 0.35)); }
nav { position: relative; display: flex; align-items: center; gap: 2px; isolation: isolate; }
nav a { position: relative; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-full); transition: color var(--dur-fast) var(--ease); }
nav a:hover, nav a[aria-current] { color: var(--text); }
nav a[aria-current] { color: var(--accent-text); }
.pill { transition: opacity var(--dur) var(--ease); position: absolute; top: 0; left: 0; z-index: -1; border-radius: var(--r-full); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent); opacity: 0; pointer-events: none; }
.pill[data-on] { opacity: 1; }
.pill[data-moved] { transition: translate var(--dur-slower) var(--ease), width var(--dur-slower) var(--ease), height var(--dur-slower) var(--ease), opacity var(--dur) var(--ease); }
.top .btn-sm { margin-left: 10px; }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }

/* Buttons: one primary per view, lit gradient, lifts 1 px on hover. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: var(--r-full); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line-strong); color: var(--text); background: var(--card); box-shadow: var(--shadow-card); cursor: pointer; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: var(--accent-line); box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(0.97); transition-duration: var(--dur-instant); }
.btn:focus-visible, .toggle button:focus-visible, nav a:focus-visible { outline: none; box-shadow: var(--ring); }
.faq-q:focus { outline: none; }
.faq-item:has(.faq-q:focus-visible) { border-color: var(--accent); box-shadow: var(--ring); }
.btn-primary { position: relative; overflow: hidden; border: 0; color: #fff; background: var(--grad-primary); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 1px 2px rgb(60 40 200 / 0.3), 0 10px 28px -10px rgb(91 76 240 / 0.7); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0s; }
.btn-primary:hover { border-color: transparent; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 1px 2px rgb(60 40 200 / 0.3), 0 16px 36px -12px rgb(91 76 240 / 0.8); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-soft); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .chrome { width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; background: #fff; padding: 1px; box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.btn[aria-disabled="true"] { cursor: default; }

/* Scroll reveal: fade + small rise, the extension's entrance. */
.reveal { opacity: 0; translate: 0 10px; transition: opacity var(--dur-slower) var(--ease), translate var(--dur-slower) var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; } }

/* Hero */
.hero-bg { background: var(--wash); overflow-x: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 88px 24px 56px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 22px; }
.chip b { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-text); font-size: 12px; }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.042em; margin: 0 0 24px; }
.hero .lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 500px; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-2); }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--good); }

/* Hero demo: an AI chat with Helios in its message box (plays the real flow). */
.demo { position: relative; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop), var(--glow-accent); overflow: visible; }
.demo::before { content: ""; position: absolute; inset: -70px -60px; z-index: -1; background: radial-gradient(closest-side, rgb(128 104 255 / .18) 0%, rgb(128 104 255 / .08) 45%, transparent 100%); filter: blur(24px); }
.demo__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.demo__bar span { font-size: 13px; color: var(--text-3); font-weight: 500; }
.demo__bar em { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--text-2); }
.demo__bar em i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.demo__chat { padding: 22px 22px 8px; display: grid; gap: 10px; min-height: 120px; }
.sk { height: 10px; border-radius: 6px; background: var(--surface-2); }
.sk.w1 { width: 70%; } .sk.w2 { width: 88%; } .sk.w3 { width: 52%; }
.sk-ai { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.sk-ai > i { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); }
.sk-ai > div { display: grid; gap: 9px; padding-top: 4px; }
.demo__boxwrap { position: relative; padding: 10px 16px 16px; }
.demo__box { position: relative; min-height: 104px; padding: 14px 64px 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.demo__box[data-flash] { border-color: color-mix(in srgb, var(--good) 60%, transparent); box-shadow: 0 0 0 3px var(--good-soft); }
.demo__text { white-space: pre-wrap; color: var(--text); }
.demo__text .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: var(--accent); animation: caret 1s steps(2) infinite; }
.demo__text .plh { color: var(--text-3); }
.demo__text mark { background: none; color: var(--accent-text); }
.demo__text.swap { animation: rise var(--dur-slow) var(--ease) both; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 4px; } }

/* The bubble: Helios's mark in the box corner with its readiness / charge ring. */
.bub { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; opacity: 0; scale: .85; transition: opacity var(--dur) var(--ease), scale var(--dur-slow) var(--ease-spring); }
.bub[data-on] { opacity: 1; scale: 1; }
.bub img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 4px 14px -4px rgb(91 76 240 / 0.7); }
.bub::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(closest-side, rgb(122 109 255 / .4) 0%, rgb(122 109 255 / .15) 45%, transparent 100%); filter: blur(3px); animation: halo var(--dur-ambient) var(--ease-soft) infinite; z-index: -1; }
.bub svg { position: absolute; inset: -3px; width: 46px; height: 46px; rotate: -90deg; overflow: visible; }
.bub circle { fill: none; stroke-width: 2; stroke-linecap: round; }
.bub .track { stroke: color-mix(in srgb, var(--text-3) 30%, transparent); }
.bub .arc { stroke: var(--brand-c); stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 2px rgb(122 109 255 / .8)); }
.bub[data-state="charge"] .arc { animation: charge 900ms var(--ease-in-out) forwards; }
.bub[data-state="busy"] .arc { stroke-dasharray: 22 78; stroke-dashoffset: 0; animation: comet var(--dur-loop) linear infinite; }
.bub[data-state="good"] .arc { stroke: var(--good); stroke-dashoffset: 0; transition: stroke var(--dur-slow) var(--ease); }
@keyframes charge { to { stroke-dashoffset: 0; } }
@keyframes comet { to { stroke-dashoffset: -100; } }
@keyframes breathe { 50% { scale: 1.12; opacity: .8; } }
@keyframes halo { 0%, 100% { scale: .94; opacity: .75; } 50% { scale: 1.06; opacity: 1; } }

/* Helios's card, floating above the box like on chat pages. */
.hcard { position: absolute; right: 16px; bottom: calc(100% - 4px); width: min(340px, calc(100% - 32px)); padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop), var(--glow-accent); transform-origin: 90% 100%; opacity: 0; scale: .97; translate: 0 4px; pointer-events: none; transition: opacity var(--dur-fast) var(--ease-in), scale var(--dur-fast) var(--ease-in), translate var(--dur-fast) var(--ease-in); }
.hcard[data-on] { opacity: 1; scale: 1; translate: 0 0; transition: opacity var(--dur-slow) var(--ease), scale var(--dur-slow) var(--ease), translate var(--dur-slow) var(--ease); }
.hcard__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.hcard__head img { width: 20px; height: 20px; }
.hcard__head span { margin-left: auto; font-weight: 600; font-size: 12px; color: var(--ask); background: var(--ask-soft); padding: 2px 8px; border-radius: var(--r-full); }
.hcard__q { margin: 10px 0 12px; font-size: 15px; font-weight: 600; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; isolation: isolate; }
.chips button { font: inherit; font-size: 13px; font-weight: 600; height: 32px; padding: 0 13px; border-radius: var(--r-full); border: 1px solid var(--line-strong); background: none; color: var(--text-2); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur) var(--ease); }
.chips button[aria-pressed="true"] { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }

/* Works with: the logos themselves, in their colours, without a box around each. */
.works { padding: 56px 0 0; }
.works p { text-align: center; font-size: 14px; font-weight: 500; color: var(--text-3); margin: 0 0 22px; }
.ais { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.ai { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-2); transition: color var(--dur-fast) var(--ease); }
.ai:hover { color: var(--text); }
.ai svg { width: 20px; height: 20px; }
.ai--more { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--text-3); width: 100%; justify-content: center; }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.cmp { border-radius: var(--r-lg); padding: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.cmp h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cmp p { margin: 0; font-size: 17px; line-height: 1.6; }
.cmp--after p:first-of-type { font-size: 19px; }
.cmp--after { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-lift), var(--glow-accent); background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.cmp--after h3 { color: var(--accent-text); }
.cmp--after h3 img { width: 18px; height: 18px; }
.cmp mark, .mbox mark { background: none; color: inherit; transition: color var(--dur-slower) var(--ease); }
.in .cmp mark, .in mark, .reveal.in mark { color: var(--accent-text); }
.cmp--after.in mark:nth-of-type(2), .in .mbox mark:nth-of-type(2) { transition-delay: 220ms; } .cmp--after.in mark:nth-of-type(3) { transition-delay: 440ms; } .cmp--after.in mark:nth-of-type(4) { transition-delay: 660ms; }
.cmp .note { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.arrow { display: grid; place-items: center; }
.arrow span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow-accent); }
.arrow svg { width: 20px; height: 20px; }

/* How it works: one panel, three moves, each shown with a piece of the real UI (not an icon in a circle). */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.flow li { padding: 28px 28px 32px; }
.flow li + li { border-left: 1px solid var(--line); }
.flow .n { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent-text); margin: 26px 0 6px; font-variant-numeric: tabular-nums; }
.flow h3, .tile-b h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.02em; font-weight: 620; margin: 0 0 8px; }
.flow p, .tile-b p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.viz { position: relative; }
.viz--type, .viz--ask, .viz--send { height: 150px; display: grid; align-items: center; padding: 0 4px; border-radius: 16px; background: var(--surface); background-image: radial-gradient(120% 90% at 50% 120%, rgb(122 109 255 / .14), transparent 60%); }
.mbox { position: relative; margin: 0 12px; padding: 12px 14px; min-height: 64px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text); box-shadow: var(--shadow-card); }
.mbox .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: caret 1s steps(2) infinite; }
.mbox--good { padding-right: 40px; border-color: color-mix(in srgb, var(--good) 50%, var(--line)); box-shadow: 0 0 0 3px var(--good-soft); }
.mbox .ok { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft); color: var(--good); }
.mbox .ok svg { width: 13px; height: 13px; }
.qcard { margin: 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop); display: flex; flex-wrap: wrap; gap: 6px; }
.qcard b { width: 100%; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ch { display: inline-grid; place-items: center; height: 28px; padding: 0 11px; border-radius: var(--r-full); border: 1px solid var(--line-strong); font-size: 12.5px; font-weight: 600; color: var(--text-2); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.ch.on { transition-delay: 500ms; }
.reveal.in .ch.on, .reveal.in .qcard .ch.on { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }

/* Features: a bento of uneven tiles, each proving its point with a small piece of the product. */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile-b { grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tile-b:hover { border-color: color-mix(in srgb, var(--h) 35%, var(--line)); box-shadow: var(--shadow-lift); }
.tile-b h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile-b h3 > svg { width: 20px; height: 20px; color: var(--h); flex: none; }
.tile-b .tag { font-family: var(--font); font-size: 11px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: 2px 8px; border-radius: var(--r-full); letter-spacing: 0; }
.tile-b:not(.tile-b--wide) > .viz { order: -1; display: flex; align-items: center; justify-content: center; height: 148px; margin: -8px -8px 24px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.tile-b--wide { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: stretch; }
.tile-b--wide .tb-text { align-self: center; }
.tile-b--wide > .viz { display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); margin: -8px -8px -8px 0; }
.tile-b--wide .tb-text p { font-size: 16px; }
.tile-b--wide h3 { font-size: 24px; letter-spacing: -0.03em; }
.qcard--big { margin: 0; padding: 16px; gap: 7px; }
.qcard--big b { font-size: 16px; margin: 8px 0 6px; }
.qh { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.qh img { width: 20px; height: 20px; }
.qh span { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ask); background: var(--ask-soft); padding: 2px 8px; border-radius: var(--r-full); }

.ring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.ring img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 8px 22px -6px rgb(91 76 240 / .7); }
.ring svg { position: absolute; inset: -6px; width: 76px; height: 76px; rotate: -90deg; overflow: visible; }
.ring circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.ring .track { stroke: color-mix(in srgb, var(--text-3) 25%, transparent); }
.ring .arc { stroke: var(--brand-c); stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 3px rgb(122 109 255 / .8)); }
.reveal.in .ring .arc { animation: ring-charge 4.8s var(--ease-in-out) infinite; }
@keyframes ring-charge { 0%, 12% { stroke-dashoffset: 100; stroke: var(--brand-c); } 55% { stroke-dashoffset: 0; stroke: var(--brand-c); } 70%, 92% { stroke-dashoffset: 0; stroke: var(--good); } 100% { stroke-dashoffset: 0; stroke: var(--good); opacity: 0; } }
.tile-b > .viz--you { flex-wrap: wrap; align-content: center; gap: 7px; }
.viz--you span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--h) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--h) 24%, var(--line)); }
.tile-b > .viz--chat { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.viz--chat span { max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.viz--chat .them { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--text); }
.viz--chat .them { align-self: flex-start; } .viz--chat .me { align-self: flex-end; background: var(--grad-primary); color: #fff; border-bottom-right-radius: 6px; }
.tile-b > .viz--num { flex-direction: column; gap: 10px; }
.viz--num b { font-family: var(--font-display); font-size: 60px; line-height: .9; font-weight: 650; letter-spacing: -0.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.viz--num span { font-size: 13px; color: var(--text-3); line-height: 1.4; text-align: center; max-width: 220px; }

/* Privacy band */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--wash), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.privacy h2 { text-align: left; font-size: clamp(28px, 3.4vw, 40px); }
.privacy p { color: var(--text-2); margin: 0; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--text-2); font-size: 15px; }
.privacy li b { color: var(--text); }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--good-soft); color: var(--good); margin-top: 1px; }
.check svg { width: 14px; height: 14px; }

/* Pricing */
.toggle { position: relative; display: flex; justify-content: center; gap: 4px; margin: 0 auto 34px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-full); width: max-content; background: var(--card); box-shadow: var(--shadow-card); isolation: isolate; }
.toggle button { position: relative; font: inherit; font-size: 15px; font-weight: 600; border: 0; background: none; color: var(--text-2); height: 40px; padding: 0 20px; border-radius: var(--r-full); cursor: pointer; transition: color var(--dur-fast) var(--ease); }
.toggle button:hover { color: var(--text); }
.toggle button[aria-pressed="true"] { color: var(--accent-text); }
.toggle em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--good); background: var(--good-soft); padding: 2px 8px; border-radius: var(--r-full); margin-left: 6px; }
.no-js .toggle button[aria-pressed="true"] { background: var(--accent-soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.plan h3 { margin: 0; font-size: 22px; font-weight: 620; letter-spacing: -0.02em; }
.plan .for { margin: 2px 0 14px; font-size: 14px; color: var(--text-2); }
.plan.pick { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-lift), var(--glow-accent); }
.badge { position: absolute; top: -13px; left: 26px; font-family: var(--font); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--r-full); box-shadow: 0 6px 14px -6px rgb(91 76 240 / .8); }
.price { display: flex; align-items: baseline; gap: 6px; font-size: 48px; font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; margin: 4px 0 4px; font-variant-numeric: tabular-nums; }
.price span { white-space: nowrap; font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.price s { font-size: 20px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.billed { min-height: 22px; }
.swapping { animation: rise var(--dur) var(--ease) both; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; display: grid; gap: 4px; align-content: start; }
.plan li { padding: 5px 0 5px 30px; position: relative; color: var(--text-2); font-size: 15px; }
.plan li b { color: var(--text); font-weight: 600; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%237b6eff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan .btn { width: 100%; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 17px; height: 17px; color: var(--accent-text); }
.fine { text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* FAQ: heading stays beside the list; questions are rows split by hairlines, not a stack of boxes. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 550; font-size: 17px; text-align: left; cursor: pointer; border-radius: 8px; transition: color var(--dur-fast) var(--ease); }
.faq-q:hover { color: var(--accent-text); }
.faq-item:has(.faq-q:focus-visible) { border-color: var(--line); box-shadow: none; }
.faq-q:focus-visible { box-shadow: var(--ring); }
.chev { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); transition: rotate var(--dur) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.chev svg { width: 14px; height: 14px; }
.faq-q:hover .chev { background: var(--accent); color: #fff; }
.faq-item[data-open] .chev { rotate: 180deg; }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--dur-slow) var(--ease-in-out), opacity var(--dur-slow) var(--ease); }
.faq-item[data-open] .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 24px 2px; color: var(--text-2); }

/* Final call: one big line under the sun, on the page itself (no card around it). */
.final { position: relative; text-align: center; padding: 24px 0 40px; }
.final::before { content: ""; position: absolute; left: 50%; top: -200px; width: 860px; max-width: 100vw; height: 860px; translate: -50% 0; background: radial-gradient(closest-side circle, rgb(122 109 255 / .16) 0%, rgb(122 109 255 / .11) 22%, rgb(122 109 255 / .06) 45%, rgb(122 109 255 / .022) 70%, rgb(122 109 255 / 0) 100%); pointer-events: none; z-index: -1; }
.final .mark { width: 80px; height: 80px; margin: 0 auto 32px; border-radius: 50%; position: relative; }
.final .mark img { width: 80px; height: 80px; position: relative; filter: drop-shadow(0 12px 24px rgb(91 76 240 / .45)); }
.final .mark::before { content: ""; position: absolute; inset: -56px; border-radius: 50%; background: radial-gradient(closest-side, rgb(122 109 255 / .34) 0%, rgb(122 109 255 / .16) 38%, rgb(90 139 255 / .06) 64%, transparent 100%); filter: blur(6px); animation: halo var(--dur-ambient) var(--ease-soft) infinite; }
.final h2 .grad { background: linear-gradient(100deg, #a58cff 0%, #8a7cf6 55%, #7a9cff 100%); -webkit-background-clip: text; background-clip: text; }
.final h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.045em; max-width: 900px; margin: 0 auto 20px; }
.final .sub { margin-bottom: 32px; font-size: 18px; }
.final .cta-row { justify-content: center; }

body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: var(--space-section); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer a { color: var(--text-2); margin-right: 16px; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
footer a:hover { color: var(--text); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 72px; padding-top: 48px; }
  .hero .lead { max-width: none; }
  .plans { grid-template-columns: 1fr; }
  .head, .faq-grid { grid-template-columns: 1fr; gap: 14px; }
  .faq-grid { gap: 32px; }
  .head--side { position: static; }
  .head { margin-bottom: 36px; }
  .flow { grid-template-columns: 1fr; }
  .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile-b, .tile-b--wide { grid-column: auto; }
  .tile-b--wide { grid-template-columns: 1fr; }
  .plans { max-width: 480px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .arrow span { rotate: 90deg; }
  .privacy { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 560px) { .hero { padding-top: 56px; } .works { padding-top: 72px; } .faq-a p { padding-right: 8px; } .chip { font-size: 12px; } section { padding: 56px 0; } .toggle button { padding: 0 14px; font-size: 14px; } .wrap { padding: 0 18px; } }

/* Legal pages */
.legal h1 { font-size: 36px; letter-spacing: -0.02em; margin: 48px 0 4px; }
.legal h2 { text-align: left; font-size: 22px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.todo { background: #fff3c4; color: #5c4400; padding: 0 4px; border-radius: 4px; }
.checkout h1 { text-align: center; font-size: clamp(32px, 5vw, 44px); margin: 56px 0 8px; }

/* Checkout (0.80 site): the Helios look around Paddle's inline frame. */
body.co-page {
  --app: #f6f6fb; --surface: #f4f4f9; --line-strong: #d2d2dc;
  --shadow-color: rgb(30 22 80 / 0.07); --shadow-color-strong: rgb(30 22 80 / 0.16);
  --glow: 0 24px 60px -28px rgb(91 76 240 / 0.35);
  background:
    radial-gradient(70% 45% at 20% -8%, rgb(138 99 255 / 0.12) 0%, transparent 62%),
    radial-gradient(55% 40% at 95% -6%, rgb(58 109 240 / 0.08) 0%, transparent 60%),
    var(--app);
  background-repeat: no-repeat;
}
@media (prefers-color-scheme: dark) {
  body.co-page {
    --app: #0e0e13; --card: #18181f; --surface: #1c1c24; --line-strong: #3c3c48;
    --shadow-color: rgb(0 0 0 / 0.4); --shadow-color-strong: rgb(0 0 0 / 0.62);
    --glow: 0 28px 70px -30px rgb(122 109 255 / 0.4);
  }
}
.co-page header.top { border-bottom-color: transparent; }
.checkout h1 { letter-spacing: -0.02em; margin-top: 44px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 500px); justify-content: center; gap: 22px; align-items: start; }
.co-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 2px var(--shadow-color), 0 6px 20px -10px var(--shadow-color-strong), var(--glow);
  position: relative;
}
.co-summary { padding: 24px; overflow: hidden; }
.co-summary::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.co-plan { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.co-plan img { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgb(91 76 240 / 0.35)); }
.co-plan-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.co-plan .small { font-size: 13px; }
.co-summary .toggle { margin: 0 0 18px; width: 100%; background: var(--surface); border-color: var(--line); border-radius: 12px; }
.co-summary .toggle button { flex: 1; padding: 8px 10px; white-space: nowrap; font-size: 14px; border-radius: 9px; }
.co-summary .toggle button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px var(--shadow-color), 0 2px 8px -3px var(--shadow-color-strong); }
.co-summary .toggle em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 7px; border-radius: 6px; margin-left: 4px; }
.co-summary .price { font-size: 40px; }
.co-summary ul#lines { list-style: none; padding: 0; margin: 16px 0 4px; }
.co-summary #lines li { padding: 5px 0 5px 30px; position: relative; color: var(--text-2); }
.co-summary #lines li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%237b6eff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.co-totals { margin: 16px 0 0; padding: 14px 16px; background: var(--surface); border-radius: 12px; }
.co-totals div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-2); font-size: 15px; }
.co-totals dt, .co-totals dd { margin: 0; }
.co-totals .co-due { color: var(--text); font-weight: 700; font-size: 17px; margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--line); }
.co-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.co-trust li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); }
.co-trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.co-pay { padding: 22px 22px 10px; min-height: 320px; }
.co-pay-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 2px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.co-pay-head b { font-size: 17px; }
.pay-frame { width: 100%; }
.co-pay #note:empty { display: none; }
.co-legal { text-align: center; max-width: 640px; margin: 26px auto 0; }
.co-grid--one { grid-template-columns: minmax(0, 520px); }
.co-done { text-align: center; padding: 48px 12px; }
.co-done b { font-size: 20px; display: block; margin-bottom: 6px; }
@media (max-width: 900px) { .co-grid { grid-template-columns: minmax(0, 500px); } }
/* Checkout toggle: the same sliding highlight, in the Seg look (a light card). */
.co-summary .toggle { box-shadow: none; }
.co-summary .toggle button { height: 34px; }
.co-summary .toggle button[aria-pressed="true"] { background: none; box-shadow: none; color: var(--text); }
.co-summary .toggle .pill { border-radius: 9px; background: var(--card); box-shadow: 0 1px 2px var(--shadow-color), 0 2px 8px -3px var(--shadow-color-strong); }
.co-summary .toggle em { color: var(--accent-text); background: var(--accent-soft); }
.co-summary .price { display: block; }

/* Dividers between choices, as in the extension's Seg: a thin line that hides beside the highlight. */
nav a:not(.btn) + a:not(.btn)::before,
.toggle button + button::before,
.assure li + li::before,
.trust-row li + li::before {
  content: ""; position: absolute; top: 28%; bottom: 28%; left: -1px; width: 1px; background: var(--line-strong);
  transition: opacity var(--dur-fast) var(--ease);
}
nav [data-lit]::before, nav [data-lit] + a::before,
.toggle [data-lit]::before, .toggle [data-lit] + button::before { opacity: 0; }
.assure li, .trust-row li { position: relative; }
.assure { gap: 10px 0; }
.assure li { padding: 0 22px; }
.trust-row { gap: 6px 0; }
.trust-row li { padding: 0 14px; }
.trust-row li:first-child { padding-left: 0; }
.assure li + li::before, .trust-row li + li::before { top: 22%; bottom: 22%; }
@media (max-width: 560px) { .trust-row li + li::before, .assure li + li::before { display: none; } .trust-row li { padding: 0 14px 0 0; } }

.cta-note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--text-3); }

/* Phones: tighter hero. */
@media (max-width: 560px) { .hero .lead { font-size: 17px; } .hero h1 { font-size: 40px; } .cta-row .btn { width: 100%; } }
@media (hover: none) { .btn:hover, .feat:hover, .ai:hover { transform: none; } }
/* Big screens: a little more room and size, same layout. */
@media (min-width: 1800px) { .wrap { max-width: 1240px; } body { font-size: 17px; } .hero h1 { font-size: 72px; } }
/* Short, wide screens (laptops at 125-150 %): keep the hero inside the first screen. */
@media (min-width: 961px) and (max-height: 700px) { .hero { padding-top: 36px; padding-bottom: 24px; } .hero h1 { font-size: 50px; } .hero .lead { margin-bottom: 22px; } }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); translate: -50% 12px; opacity: 0; padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: 14px; font-weight: 600; z-index: 50; transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease); pointer-events: none; }
.toast[data-on] { opacity: 1; translate: -50% 0; }

/* Interactive layer (v3.1): everything moves with the extension's durations and easing. */
.tile-b, .flow { --mx: 50%; --my: 50%; }
.tile-b::after, .flow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-slow) var(--ease); background: radial-gradient(420px circle at var(--mx) var(--my), rgb(160 148 255 / .07), transparent 60%); }
.flow { position: relative; }
.tile-b:hover::after, .flow:hover::after { opacity: 1; }
button.ch { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; background: none; }
button.ch:hover { color: var(--text); border-color: var(--text-3); }
.chs { position: relative; display: flex; flex-wrap: wrap; gap: 7px; isolation: isolate; }
.chs .pill { border-radius: var(--r-full); }
.chs button.ch, .reveal.in .chs .ch.on { background: none; border-color: var(--line-strong); color: var(--text-2); transition-delay: 0ms; }
.chs button[data-lit] { color: var(--accent-text) !important; border-color: transparent !important; }
.echo { width: 100%; margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px !important; color: var(--text-2) !important; }
.echo mark { background: none; color: var(--accent-text); }
.echo [data-echo] { display: inline-block; }
.echo [data-echo].swapping { animation: rise var(--dur) var(--ease) both; }
.viz--you button { font: inherit; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-3); background: none; border: 1px dashed var(--line-strong); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), scale var(--dur-fast) var(--ease); }
.viz--you button[aria-pressed="true"] { color: var(--text); border-style: solid; background: color-mix(in srgb, var(--h) 12%, var(--surface)); border-color: color-mix(in srgb, var(--h) 28%, var(--line)); }
.viz--you button:active { scale: .96; }
.viz--chat span { transition: opacity var(--dur-slow) var(--ease), translate var(--dur-slow) var(--ease); }
.viz--chat .me, .viz--chat .typing { opacity: 0; translate: 0 6px; }
.tile-b.in .viz--chat .me { opacity: 1; translate: 0 0; transition-delay: 700ms; }
.viz--chat .typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.viz--chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: dot 1.2s var(--ease-soft) infinite; }
.viz--chat .typing i:nth-child(2) { animation-delay: .15s; } .viz--chat .typing i:nth-child(3) { animation-delay: .3s; }
.tile-b.in:hover .viz--chat .me { animation: rise var(--dur-slower) var(--ease) both; }

@keyframes dot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.tile-b:hover .ring .arc { animation-duration: 2.4s; }
/* How it works: the three moves play in turn; hover or tap one to hold it. */
.flow li { position: relative; cursor: default; transition: background-color var(--dur-slow) var(--ease); }
.flow li .viz { transition: box-shadow var(--dur-slow) var(--ease); }
.flow li .n { transition: color var(--dur-slow) var(--ease); }
.flow[data-js] li:not([data-on]) .viz { opacity: .55; transition: opacity var(--dur-slower) var(--ease); }
.flow[data-js] li[data-on] .viz { opacity: 1; transition: opacity var(--dur-slower) var(--ease); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.flow li::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: var(--grad-primary); transform: scaleX(0); transform-origin: left; }
.flow li[data-on]::before { transform: scaleX(1); transition: transform var(--flow-ms, 3200ms) linear; }
.flow:hover li[data-on]::before { transition: none; }
@media (prefers-reduced-motion: reduce) { .flow li::before { display: none; } .viz--chat .me { opacity: 1; translate: none; } }
/* The difference: hover a highlight to see where it came from. */
.cmp mark[data-src] { position: relative; cursor: help; border-radius: 4px; transition: color var(--dur-slower) var(--ease), background-color var(--dur-fast) var(--ease); }
.cmp mark[data-src]:hover { background: var(--accent-soft); }
.cmp mark[data-src]::after { content: attr(data-src); position: absolute; left: 50%; bottom: calc(100% + 8px); translate: -50% 4px; white-space: nowrap; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; font-family: var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease); }
.cmp mark[data-src]:hover::after { opacity: 1; translate: -50% 0; }
