/* Riko landing · broadcast-graphics world on a light studio ground.
   Flat fields only: indigo = Riko's station bar, orange = value, red = live. No gradients, glass or glows. */
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semicondensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semicondensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semicondensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --studio: #f1efe9;
  --ink: #17161f;
  --ink-2: #3a3946;
  --muted: #62616f;
  --line: #e4e0d6;
  --brand: #4b3fd9;
  --brand-ink: #372cb8;
  --brand-wash: #ecebff;
  --value: #c2410c;
  --value-wash: #fff0e5;
  --live: #c92a2f;
  --display: "Barlow Semi Condensed", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  accent-color: var(--brand);
  caret-color: var(--brand);
  scrollbar-color: #c9c4b8 var(--bg);
}
* { box-sizing: border-box; }
::selection { background: var(--brand-wash); color: var(--brand-ink); }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; line-height: 1.6; font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 99; background: var(--paper); padding: 8px 12px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.ico { width: 18px; height: 18px; flex: none; }

/* Buttons: rectangular, like broadcast control surfaces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 6px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); box-shadow: 0 6px 16px -8px rgba(55, 44, 184, .55); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.small { padding: 8px 13px; font-size: 14px; }
.btn.big { padding: 14px 22px; font-size: 16px; }
.textLink { color: var(--brand-ink); font-weight: 600; }
.fine { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .94); border-bottom: 1px solid var(--line); }
.topRow { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: .01em; }
.logo img { border-radius: 6px; }
.top nav { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink-2); }
.top nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--brand); color: var(--ink); }
.topRight { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language menu */
.langMenu { position: relative; }
.langMenu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .2s var(--ease);
}
.langMenu summary::-webkit-details-marker { display: none; }
.langMenu summary:hover, .langMenu[open] summary { border-color: var(--ink); color: var(--ink); }
.langMenu .chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.langMenu[open] .chev { transform: rotate(180deg); }
.langPanel {
  position: absolute; right: 0; top: calc(100% + 8px); width: 236px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px -18px rgba(23, 22, 31, .35);
  transform-origin: top right; animation: drop .22s var(--ease);
}
.langPanel p { padding: 8px 10px 6px; font: 600 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.langPanel ul { list-style: none; margin: 0; padding: 0; }
.langPanel a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; text-decoration: none; font-size: 15px; }
.langPanel a:hover, .langPanel a:focus-visible { background: var(--studio); }
.langPanel a[aria-current] { color: var(--ink); font-weight: 650; }
.langPanel .code { display: inline-grid; place-items: center; height: 22px; border-radius: 4px; background: var(--ink); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .06em; }
.langPanel a[aria-current] .code { background: var(--brand); }
.langPanel .tick { width: 16px; height: 16px; color: var(--brand); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* Hero */
.hero { padding: 56px 0 64px; }
.heroGrid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
h1 { font: 700 clamp(46px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.01em; }
:lang(zh-CN) h1, :lang(ja) h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.16; letter-spacing: 0; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sites { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 22px 0 0; }
.sites li { padding: 3px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 12.5px; color: var(--ink-2); background: var(--paper); }

/* ===== Product-faithful demos: tokens copied from the extension (skin.css / proactive.css) ===== */
.pdWin, .hero {
  --pd-ink: #18181b; --pd-muted: #52525b; --pd-paper: #ffffff; --pd-elev: #f4f4f8;
  --pd-line: rgba(24, 24, 27, .1); --pd-accent: #4f46e5; --pd-wash: rgba(79, 70, 229, .08);
}
.pdWin { position: relative; margin: 0 0 40px; font: 13px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans", sans-serif; color: var(--pd-ink); }
.pdCap { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.pdChrome { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid #e2e8f0; border-bottom: 0; border-radius: 12px 12px 0 0; }
.pdDots { display: inline-flex; gap: 6px; } .pdDots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.pdUrl { flex: 1; padding: 4px 10px; border-radius: 7px; background: #f1f5f9; font-size: 12px; color: #64748b; }
.loopBtn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; color: #334155; cursor: pointer; }
.loopBtn .ico { width: 14px; height: 14px; }
.loopBtn .playI, .paused .loopBtn .pauseI { display: none; }
.paused .loopBtn .playI { display: block; }
.pdFeed { display: grid; gap: 14px; padding: 16px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; box-shadow: 0 24px 48px -30px rgba(15, 23, 42, .35); }
.pdPost { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 16px; }
.pdPost header { display: flex; gap: 6px; align-items: baseline; font-size: 14px; }
.pdPost header span { color: #64748b; }
.pdPost header time { margin-left: auto; color: #64748b; font-size: 12.5px; text-decoration: underline; }
.pdPost > p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #0f172a; }
.pdMetrics { display: flex; gap: 18px; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f1f5f9; color: #64748b; font-size: 12.5px; }
.pdMetrics .ico { width: 14px; height: 14px; }
.pdSkipNote { margin-top: 8px; font-size: 12px; color: #94a3b8; font-style: italic; }

/* BriefCard (must_read) */
.pdBrief { margin-top: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid rgba(249, 115, 22, .28); background: #fffaf5; }
.pdTop { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pdMini { border-radius: 50%; }
.pdBadges { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-inline-end: auto; }
.pdValue { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #c2410c; background: #ffedd5; }
.pdScore { display: inline-block; margin-left: 5px; padding-left: 5px; border-left: 1px solid rgba(194, 65, 12, .3); font-weight: 800; }
.pdVel { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 650; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; white-space: nowrap; --vel: #059669; }
.pdVel.rising { --vel: #d97706; }
.pdBars { width: 19px; height: 12px; } .pdBars rect.on { fill: var(--vel); } .pdBars rect.off { fill: #cbd5e1; }
.pdUnit { font-weight: 500; opacity: .55; margin-left: -3px; }
.pdActions { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pdActions button { border-radius: 999px; padding: 3px 9px; font: 600 11.5px/1.4 inherit; font-family: inherit; background: #fff; border: 1px solid var(--pd-line); color: var(--pd-ink); cursor: default; }
.pdLead { margin: 6px 0 2px; font-size: 13px; font-weight: 600; line-height: 1.48; color: var(--pd-ink); min-height: 1.48em; }
.pdLead.busy { color: var(--pd-muted); font-weight: 500; }
.pdX { margin-left: auto; color: var(--pd-muted); font-size: 15px; padding: 0 4px; }

/* Reply drawer */
.pdDrawer { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--pd-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .35); }
.pdDrawerHead { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pdTabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.pdTab { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid var(--pd-line); border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--pd-ink); }
.pdTab svg { width: 13px; height: 13px; }
.pdTab .pdGlobe { width: 13px; height: 13px; }
.pdTab.on { background: var(--pd-wash); border-color: rgba(79, 70, 229, .35); color: var(--pd-accent); }
.pdTab.lang { font-size: 11px; color: var(--pd-muted); }
.pdText { min-height: 4.4em; padding: 9px 11px; border: 1px solid var(--pd-line); border-radius: 10px; background: var(--pd-elev); font-size: 13px; line-height: 1.55; }
.pdText.typing::after, .pdLead.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--pd-accent); }
.pdDrawerFoot { display: flex; gap: 8px; margin-top: 10px; }
.pdFill { flex: 1; text-align: center; padding: 8px 12px; border-radius: 999px; background: #18181b; color: #fff; font-weight: 650; font-size: 12.5px; }
.pdCopy { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pd-line); font-weight: 600; font-size: 12.5px; }
.pdYouPost { margin-top: 8px; font-size: 12px; color: var(--pd-muted); }

/* Corner orb */
.pdOrb { position: absolute; right: -10px; bottom: -30px; display: flex; align-items: center; gap: 8px; }
.pdPill { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(249, 115, 22, .35); color: #c2410c; font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(15, 23, 42, .14); }
.pdFox { display: inline-block; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2.5px #f97316, 0 8px 22px rgba(249, 115, 22, .32); overflow: hidden; background: #fff; }
.pdFox img { width: 46px; height: 46px; }
.pdFox .foxIdle { display: none; }

/* Article page + peek bubble */
.pdWin.article .pdPage { padding: 18px 20px 210px; background: #fff; border: 1px solid #e2e8f0; border-radius: 0 0 12px 12px; }
.pdPage h4 { font-size: 17px; line-height: 1.35; }
.pdPage p { margin-top: 10px; font-size: 13.5px; color: #334155; }
.pdPage .hl { background: #fff3c4; box-shadow: 0 0 0 3px #fff3c4; border-radius: 2px; }
.pdPage .ghost { height: 8px; border-radius: 4px; background: #eef0f4; } .pdPage .ghost.short { width: 60%; }
.pdPeek { position: absolute; right: 12px; bottom: 26px; width: min(330px, 86%); border: 1px solid var(--pd-line); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .4); overflow: hidden; }
.pdPeek .pdBrief { margin: 0; border: 0; border-radius: 0; background: #fff; }
.pdPeek .pdActions { margin-top: 8px; width: 100%; }
.pdPassBar { padding: 7px 12px 8px; border-top: 1px solid var(--pd-line); background: rgba(249, 115, 22, .05); color: #c2410c; font-size: 12px; font-weight: 650; }

/* Site states as the product renders them */
.pdState { position: relative; min-height: 220px; padding: 14px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f1f5f9; font: 12.5px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", sans-serif; color: #18181b; }
.pdSleep { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(24, 24, 27, .1); box-shadow: 0 12px 36px rgba(9, 9, 15, .12); margin-right: 26px; }
.pdSleep b { font-size: 13px; } .pdSleep p { margin: 4px 0 10px; color: #52525b; }
.pdBtnWide { display: block; text-align: center; padding: 6px 10px; border: 1px solid rgba(24, 24, 27, .1); border-radius: 10px; font-weight: 600; }
.pdLinks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #52525b; }
.pdSleepOrb { position: absolute; right: 10px; bottom: 10px; border-radius: 50%; opacity: .45; filter: grayscale(.6); }
.pdConsent { padding: 9px 11px; border-radius: 10px; background: #f8fafc; border: 1px solid rgba(24, 24, 27, .1); color: #52525b; font-size: 11.5px; }
.pdConsent b { color: #18181b; } .pdConsent p { margin: 3px 0; } .pdConsent u { color: #4f46e5; }
.pdAgree { display: block; margin-top: 10px; text-align: center; padding: 9px; border-radius: 10px; background: linear-gradient(90deg, #f97316, #ea580c); color: #fff; font-weight: 700; }
.pdControls { display: grid; align-content: center; gap: 14px; background: #fff; }
.pdHost { color: #64748b; font-size: 13px; }
.pdRow { display: flex; flex-wrap: wrap; gap: 6px; }
.pdBtn { padding: 6px 10px; border: 1px solid rgba(24, 24, 27, .1); border-radius: 10px; font-weight: 600; font-size: 12.5px; background: #fff; }

/* Loop stages: scan → card → skip → draft → post. Static default is the settled final frame. */
[data-stage="scan"] .pdBrief, [data-stage="scan"] .pdDrawer, [data-stage="card"] .pdDrawer, [data-stage="skip"] .pdDrawer { display: none; }
[data-stage="scan"] .pdPill, [data-stage="scan"] .pdSkipNote, [data-stage="card"] .pdSkipNote { visibility: hidden; }
[data-stage="scan"] .pdFox { box-shadow: 0 0 0 2.5px #8b5cf6, 0 0 14px rgba(139, 92, 246, .4); }
[data-stage="scan"] .pdFox .foxIdle { display: block; } [data-stage="scan"] .pdFox .foxHit { display: none; }
[data-stage="post"] .pdFill { box-shadow: 0 0 0 3px rgba(79, 70, 229, .18), 0 0 0 4px #4f46e5; }
.animating .pdBrief { animation: pdAppear .16s cubic-bezier(.22, 1, .36, 1) both; }
.animating .pdDrawer { animation: pdRise .25s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes pdAppear { from { opacity: 0; transform: translateY(4px); } }
@keyframes pdRise { from { opacity: 0; transform: translateY(6px); } }

/* Hero takes the product's own look: canvas, system type, product indigo */
.hero { background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.hero .heroGrid { align-items: start; }
.hero .heroText { padding-top: 64px; }
@media (max-width: 1060px) { .hero .heroText { padding-top: 0; } }
.hero h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans", sans-serif; font-weight: 800; letter-spacing: -.025em; color: #0f172a; font-size: clamp(40px, 4.8vw, 64px); line-height: 1.08; }
:lang(zh-CN) .hero h1, :lang(ja) .hero h1 { letter-spacing: -.01em; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.18; }
.hero .lede { color: #334155; }
.hero .btn { border-radius: 10px; }
.hero .btn.primary { background: var(--pd-accent); }
.hero .btn.primary:hover { background: #4338ca; box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .6); }
.hero .btn.line { border-color: #cbd5e1; background: #fff; color: #0f172a; }
.hero .btn.line:hover { background: #0f172a; border-color: #0f172a; color: #fff; }
.hero .sites li { border-radius: 999px; border-color: #e2e8f0; }

/* Strip of facts */
.rundownBand { border-block: 1px solid var(--line); background: var(--paper); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 20px; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 700 21px/1.15 var(--display); }
:lang(zh-CN) .facts b, :lang(ja) .facts b { font-size: 18px; }
.facts span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--studio); }
h2 { font: 700 clamp(30px, 3.4vw, 46px)/1.08 var(--display); text-align: center; max-width: 22em; margin-inline: auto; }
:lang(zh-CN) h2, :lang(ja) h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; }
h2.left { text-align: left; margin-inline: 0; }
.sub { margin: 14px auto 0; max-width: 40em; text-align: center; font-size: 17px; color: var(--muted); }
h3 { font-size: 18px; line-height: 1.3; }

/* Rundown (three beats, each seeks the hero demo) */
.rundown { list-style: none; padding: 0; margin: 52px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.rundown li { padding: 18px 24px 0 0; }
.rundown li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.beat { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: none; cursor: pointer; }
.beat .tc { display: inline-flex; align-items: center; gap: 5px; font: 700 13px/1 var(--display); letter-spacing: .08em; padding: 5px 8px; border-radius: 3px; background: var(--ink); color: #fff; transition: background .2s var(--ease); }
.beat .tc .ico { width: 10px; height: 10px; }
.beat:hover .tc { background: var(--brand); }
.stepHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stepNo { font: 700 15px/1 var(--display); letter-spacing: .04em; color: var(--brand-ink); }
.rundown h3 { margin-top: 12px; }
.rundown p { margin-top: 8px; color: var(--ink-2); }

/* Where it shows */
.pairGrid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.pairItem h3 { margin-top: 18px; }
.pairItem > p { margin-top: 6px; color: var(--ink-2); }

/* Threshold control */
.levels { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.seg { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.seg button { position: relative; display: grid; gap: 2px; padding: 10px 12px; border: 0; background: var(--paper); text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button span { font-size: 12.5px; color: var(--muted); }
.seg button em { position: absolute; top: 8px; right: 8px; font: 600 11px/1 var(--display); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.seg button[aria-checked="true"] span, .seg button[aria-checked="true"] em { color: #c9c6d6; }
/* CSP forbids inline style attributes: defaults live here, landing.js moves --t via CSSOM. */
.rail { --t: 55; position: relative; height: 58px; margin: 26px 0 8px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--line); }
.zone { position: absolute; top: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.zone.quiet { left: 0; }
.zone.card { right: 0; color: var(--value); }
.mark { position: absolute; top: 17px; transform: translateX(-50%); }
.mark.m71 { left: 71%; }
.mark.m40 { left: 40%; }
.mark.m40 i { background: #94a3b8; }
.mark i { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 3px; background: var(--value); color: #fff; font: 700 13px/1 var(--display); font-style: normal; }
.thr { position: absolute; top: 14px; bottom: 0; left: calc(var(--t) * 1%); width: 2px; background: var(--brand); transition: left .45s var(--ease); }
.thr i { position: absolute; top: 30px; left: 6px; font: 700 13px/1 var(--display); font-style: normal; color: var(--brand-ink); }
.levels > p { color: var(--muted); font-size: 14.5px; }

/* Site states */
.states { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.state h3 { margin-top: 18px; }
.state > p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.switch { display: flex; font-family: inherit; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ink); }
.switch input { position: absolute; opacity: 0; }
.track { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #cfcbc1; transition: background .25s var(--ease); flex: none; }
.track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--brand); outline-offset: 3px; }
.layers { margin-top: 44px; padding-top: 22px; border-top: 2px solid var(--ink); }
.layers dl { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.layers dt { font-weight: 700; }
.layers dd { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.layers .textLink { display: inline-block; margin-top: 20px; }

/* More + use cases */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.more { margin-top: 24px; display: grid; }
.more div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.more dt { font-weight: 700; }
.more dd { color: var(--ink-2); font-size: 15px; }
.tabs { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs label { padding: 7px 13px; border-radius: 5px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.tabs input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.panel { display: none; width: 100%; list-style: none; padding: 0; margin: 14px 0 0; }
.panel li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.panel li span { color: var(--ink-2); font-size: 15px; }
#use0:checked ~ [data-panel="0"], #use1:checked ~ [data-panel="1"], #use2:checked ~ [data-panel="2"], #use3:checked ~ [data-panel="3"] { display: block; }

/* Model lineup */
.lineup { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; row-gap: 32px; }
.vendor h3 { font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.vendor ul { list-style: none; padding: 0; margin: 0; }
.vendor li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.vendor li b { font: 600 13.5px/1.4 var(--display); color: var(--value); white-space: nowrap; }

/* Pricing */
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-radius: 12px; background: var(--paper); overflow: hidden; }
.plan { display: flex; flex-direction: column; padding: 24px 22px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { box-shadow: inset 0 4px 0 var(--brand); background: #fdfcff; }
.plan h3 { display: flex; align-items: center; gap: 8px; font: 700 20px/1 var(--display); }
.tag { font: 600 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 3px; background: var(--brand); color: #fff; }
.price { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.price b { font: 700 44px/1 var(--display); }
.price span { color: var(--muted); }
.credits { margin-top: 6px; font-weight: 650; color: var(--brand-ink); font-size: 14.5px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--brand); }
.plan .btn { width: 100%; }

/* FAQ */
.faq { margin-top: 36px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); flex: none; margin-top: 2px; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 68ch; }

/* Contact + close */
.section.contact { padding: 72px 0 88px; border-top: 1px solid var(--line); }
.contactRow { display: grid; grid-template-columns: 104px 1fr 1fr; gap: 36px; align-items: start; }
.contactRow p { margin-top: 10px; color: var(--ink-2); }
.mailLink { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 700 22px/1.2 var(--display); color: var(--brand-ink); text-decoration: none; border-bottom: 2px solid var(--brand); }
.mailLink .ico { width: 20px; height: 20px; }
.mailLink:hover { color: var(--brand); }
.contactCta { padding-left: 36px; border-left: 1px solid var(--line); }
.contactCta .btn { margin-top: 18px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 26px; background: var(--paper); font-size: 14.5px; }
.footGrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footBrand p { margin-top: 10px; color: var(--muted); max-width: 24em; }
.footMail { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.footGrid h4 { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.footGrid div > a:not(.logo):not(.footMail) { display: block; text-decoration: none; color: var(--ink-2); padding: 3px 0; }
.footGrid div > a:not(.logo):not(.footMail):hover { color: var(--brand-ink); text-decoration: underline; }
.copy { margin-top: 30px; color: var(--muted); font-size: 13px; }

/* Language suggestion */
.suggest { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 12px 30px -12px rgba(23, 22, 31, .5); }
.suggest a { color: #fff; font-weight: 650; }
.suggest button { border: 0; background: #2c2a38; color: #fff; width: 26px; height: 26px; border-radius: 5px; cursor: pointer; }

/* X scene page */
.crumbs { display: flex; gap: 8px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.flow { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.flow.reverse { align-items: center; }
.decideText h3 { margin-top: 22px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.pair article { padding: 14px 16px 0 0; }
.pair article + article { padding-left: 16px; border-left: 1px solid var(--line); }
.pair article.yes h3 { color: var(--value); }
.pair article p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.ticks { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); }
.ticks li { margin: 4px 0; }
.muted { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.prose h2 { text-align: left; margin: 0; }
.prose p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.narrow.prose h2 { text-align: center; }
.setup { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.setup li { padding: 16px 24px 0 0; }
.setup li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.setup p { margin-top: 6px; color: var(--ink-2); }

/* Responsive */
@media (max-width: 1060px) {
  .top nav { display: none; }
  .heroGrid, .pairGrid, .split, .flow { grid-template-columns: 1fr; gap: 40px; }
  .lineup { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .states, .layers dl { grid-template-columns: 1fr; }
  .contactRow { grid-template-columns: 80px 1fr; }
  .contactCta { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero { padding-top: 32px; }
  .logo span { display: none; }
  .langMenu summary span { display: none; }
  .ctas .btn { flex: 1 1 100%; }
  .rundown, .setup, .pair { grid-template-columns: 1fr; }
  .rundown li + li, .setup li + li, .pair article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; }
  .lineup, .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg button:nth-child(4) { border-left: 0; }
  .seg button:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .more div, .panel li { grid-template-columns: 1fr; gap: 4px; }
  .pdOrb { right: 4px; }
  .pdPill { display: none; }
  .pdFeed { padding: 10px; }
  .section { padding: 72px 0; }
  .footGrid { grid-template-columns: 1fr 1fr; }
  .footBrand { grid-column: 1 / -1; }
  .contactRow { grid-template-columns: 1fr; }
  .contactRow > img { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Account link in the header */
.accountLink { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 6px 4px; }
.accountLink:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 640px) { .accountLink { display: none; } }

/* Legal pages */
.legalGrid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.legalNav { position: sticky; top: 84px; display: grid; gap: 4px; }
.legalNav a { padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; }
.legalNav a:hover { background: var(--studio); }
.legalNav a[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
.legalDoc { max-width: 72ch; }
.legalDoc h1 { font: 700 clamp(34px, 4vw, 48px)/1.1 var(--display); }
.legalDoc h2 { font-size: 20px; margin-top: 36px; text-align: left; max-width: none; font-family: var(--body); font-weight: 700; }
.legalDoc p { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.legalDoc .mailLink { font-size: 18px; }
@media (max-width: 860px) { .legalGrid { grid-template-columns: 1fr; gap: 20px; } .legalNav { position: static; grid-auto-flow: column; overflow-x: auto; } }

/* Hero mascot decoration */
.hero .heroText { position: relative; }
.eyebrowPill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 4px 14px 4px 4px; border: 1px solid #c7d2fe; border-radius: 999px; background: #fff; color: #3730a3; font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.eyebrowPill img { width: 28px; height: 28px; border-radius: 50%; background: #eef2ff; }
.heroSticker { position: absolute; top: 24px; right: 8px; width: 112px; height: 112px; transform: rotate(8deg); filter: drop-shadow(0 8px 14px rgba(67, 56, 202, .18)); pointer-events: none; animation: heroWave 4s ease-in-out infinite; }
@keyframes heroWave { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-6px); } }
@media (max-width: 1060px) { .heroSticker { top: -12px; right: 0; width: 84px; height: 84px; } }
@media (max-width: 640px) { .heroSticker { display: none; } .eyebrowPill { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .heroSticker { animation: none; } }
