/* StillMouse — stillmouse.com. The Mac's own type, white and graphite, one signal green; measurements on dark,
   graticuled panels like an instrument's screen. Lines separate things; nothing floats in a box. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f5f4;
  --ink: #0c0e0d;
  --ink-2: #454b48;
  --ink-3: #737a77;
  --rule: #e3e5e3;
  --signal: #0a7a4a;          /* the steady pointer, links, highlights */
  --night: #0c0e0d;
  --scope: #0b0e0d;
  --grat: rgba(255, 255, 255, .055);
  --scope-ink: #e8ecea;
  --scope-ink-2: #8d9591;
  --trace: #5ef0a6;           /* the steady trace on dark */
  --trace-raw: #9aa29e;       /* the shaking trace on dark */
  --miss: #ff6b5e;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e0d;
    --bg-2: #131615;
    --ink: #f1f3f2;
    --ink-2: #b9c0bc;
    --ink-3: #868e8a;
    --rule: #232826;
    --signal: #5ef0a6;
    --night: #070908;
    --scope: #060807;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 19px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
h1 { font-size: clamp(40px, 8.6vw, 124px); letter-spacing: -.05em; line-height: .94; max-width: 13ch; margin-top: 22px; }
h2 { font-size: clamp(30px, 4.6vw, 58px); max-width: 18ch; }
h1, h2, h3, .story p, .ai-text { overflow-wrap: break-word; }
h3 { font-size: 23px; letter-spacing: -.02em; line-height: 1.2; }
.h3-lg { font-size: clamp(26px, 2.8vw, 34px); max-width: 26ch; }
p { margin: 0 0 1em; }
b { font-weight: 650; }
kbd {
  font: 500 .78em/1 var(--mono);
  display: inline-block; min-width: 1.9em; padding: .32em .4em; text-align: center;
  border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 4px;
  color: var(--ink); background: var(--bg);
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 16px; top: 8px; transform: translateY(-200%); background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 50; }
.skip:focus { transform: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.label { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--signal); border: 1px solid currentColor; padding: 4px 7px; border-radius: 3px; white-space: nowrap; }
.intro { font-size: 21px; color: var(--ink-2); max-width: 58ch; margin: 24px 0 0; }
.note { font-size: 15px; color: var(--ink-3); margin: 14px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 6px;
  background: var(--ink); color: var(--bg); border: 1.5px solid var(--ink);
  font: 600 17px/1.2 var(--sans); text-decoration: none; letter-spacing: -.01em; text-align: center; padding-block: 8px;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:hover:not(.line) { color: #06110b; } }
.text-btn { background: none; border: 0; padding: 8px 0; color: var(--ink-2); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Launch price, above everything */
.promo { display: block; background: var(--night); color: var(--scope-ink); text-decoration: none; font-size: 15px; }
.promo-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; min-height: 44px; padding-block: 8px; text-align: center; }
.promo-tag { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #06110b; background: var(--trace); padding: 5px 8px; border-radius: 3px; }
.promo b { color: #fff; font-weight: 700; }
.promo s { color: var(--scope-ink-2); }
.promo-left { font: 500 13px var(--mono); color: var(--trace); }
.promo-left:empty { display: none; }
.promo-go { font-weight: 650; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.promo-go::after { content: " →"; }
[dir="rtl"] .promo-go::after { content: " ←"; }
.promo:hover .promo-go { color: var(--trace); }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh-Hans"]) .promo-tag { text-transform: none; font-family: var(--sans); font-size: 13px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-row { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font: 650 18px var(--sans); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 28px; margin-inline-start: auto; }
.top-row .spacer { flex: 1; }
.top .get { white-space: nowrap; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: 0; }
.jitter { display: inline-block; }
.jitter span { display: inline-block; }
.jitter.shake span { animation: jit .16s steps(2, jump-none) infinite; }
.jitter.shake span:nth-child(2n) { animation-duration: .13s; animation-delay: -.05s; }
.jitter.shake span:nth-child(3n) { animation-duration: .19s; animation-delay: -.11s; }
.jitter.whole.shake { animation: jit .16s steps(2, jump-none) infinite; }
@keyframes jit { 0% { transform: translate(-.014em, .012em); } 100% { transform: translate(.012em, -.013em); } }
.jitter span { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: 40px; }
.lede { font-size: 22px; line-height: 1.5; color: var(--ink-2); max-width: 36ch; margin: 0; }
.hero-buy { display: grid; gap: 14px; justify-items: end; }
.hero-cta { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.hero-price { margin: 0; font-size: 16px; color: var(--ink-2); text-align: end; }
.hero-price b { color: var(--ink); font-weight: 700; font-size: 19px; }
.hero-price s { color: var(--ink-3); margin-inline: 2px 4px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.facts li { padding: 22px 24px 30px; border-inline-start: 1px solid var(--rule); font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }

/* Language picker */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 6px; background: none; color: var(--ink-2); font: 500 15px var(--sans); cursor: pointer; white-space: nowrap; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--ink); border-color: var(--ink-3); }
.lang-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-inline-start: 2px; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 30; min-width: 230px; max-height: calc(100vh - 88px); overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .28); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 11px 12px; border: 0; border-radius: 5px; background: none; color: var(--ink); font: 500 16px var(--sans); text-align: start; cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--bg-2); outline: none; }
.lang-menu button[aria-checked="true"]::after { content: "✓"; color: var(--signal); font-family: var(--mono); }

/* Scripts whose letters join, and Chinese: no tightened letter spacing, and room for the marks above and below */
html:is([lang="ar"], [lang="hi"], [lang="bn"]) * { letter-spacing: 0 !important; }
html[lang="zh-Hans"] :is(h1, h2, h3, .h3-lg, .story p, .price .now, .stat .big) { letter-spacing: 0; }
html:is([lang="ar"], [lang="hi"], [lang="bn"]) body { line-height: 1.7; }
html:is([lang="ar"], [lang="hi"], [lang="bn"]) h1 { line-height: 1.22; }
html:is([lang="ar"], [lang="hi"], [lang="bn"]) :is(h2, h3, .h3-lg, .story p, .ai-text) { line-height: 1.4; }
html[lang="zh-Hans"] h1 { line-height: 1.12; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh-Hans"]) .label { text-transform: none; font-family: var(--sans); font-size: 14px; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh-Hans"]) .grid > .label { font-size: 17px; }

/* Instrument panels */
.scope {
  position: relative; overflow: hidden;
  background-color: var(--scope);
  background-image: linear-gradient(var(--grat) 1px, transparent 1px), linear-gradient(90deg, var(--grat) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center center;
  color: var(--scope-ink);
  border-radius: 4px;
}
.scope canvas { display: block; width: 100%; }
.hero-scope { margin: 56px 0 0; }
.hero-scope canvas { height: clamp(300px, 34vw, 440px); }
.readout { display: flex; gap: 10px 28px; flex-wrap: wrap; align-items: center; padding: 14px 20px; border-top: 1px solid var(--grat); font: 500 13px var(--mono); color: var(--scope-ink-2); letter-spacing: .02em; }
.readout b { color: var(--trace); font-weight: 500; }
.readout-end { margin-inline-start: auto; }
.sw { display: inline-block; width: 18px; height: 2px; vertical-align: middle; margin-inline-end: 8px; }
.sw.raw { background: var(--trace-raw); }
.sw.steady { background: var(--trace); height: 3px; }

/* Sections */
.sec { padding: clamp(80px, 10vw, 136px) 0; border-top: 1px solid var(--rule); }
.hero + .sec { border-top: 0; }
.grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0 40px; }
.grid > .label { padding-top: 12px; align-self: start; font-size: 15px; font-weight: 600; letter-spacing: .09em; color: var(--signal); }
.grid > .label::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }

/* Try it */
.play { margin-top: 56px; }
.play-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; padding: 14px 0; border-top: 1px solid var(--rule); }
.switch { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 0; cursor: pointer; font: 500 17px var(--sans); color: var(--ink); min-height: 48px; }
.switch-track { width: 52px; height: 30px; border-radius: 999px; background: var(--rule); position: relative; transition: background .25s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.switch[aria-checked="true"] .switch-track { background: var(--signal); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(22px); }
.slider { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); }
.slider input { width: 150px; accent-color: var(--ink); }
.score { display: flex; gap: 22px; margin: 0; margin-inline-start: auto; font: 500 15px var(--mono); color: var(--ink-3); }
.score b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.play-area { height: clamp(360px, 44vw, 520px); cursor: none; touch-action: none; }
.play-area canvas { position: absolute; inset: 0; height: 100%; }
.play-hint { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font: 500 14px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--scope-ink-2); pointer-events: none; transition: opacity .3s; }
.play-area.active .play-hint { opacity: 0; }

/* How it works */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
.col { padding: 0 32px; border-inline-start: 1px solid var(--rule); }
.col:first-child { padding-inline-start: 0; border-inline-start: 0; }
.col:last-child { padding-inline-end: 0; }
.col .num { font: 500 13px var(--mono); color: var(--ink-3); margin: 28px 0 10px; }
.col h3 { margin-bottom: 12px; }
.col > p:last-child { color: var(--ink-2); font-size: 17px; margin: 0; }
.mini { height: 190px; }
.mini canvas { height: 100%; }

.click-art .target { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 2px solid var(--trace); }
.click-art .target::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--trace); }
.click-art .ptr, .click-art .ghost-ptr { position: absolute; left: 50%; top: 50%; width: 20px; height: 27px; background: #fff; clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 41% 56%, 76% 56%); }
.click-art .ghost-ptr { background: var(--trace-raw); opacity: 0; }
.in .click-art .ptr { animation: ptr-hold 3.4s ease-in-out infinite; }
.in .click-art .ghost-ptr { animation: ptr-slip 3.4s ease-in-out infinite; }
.in .click-art .target { animation: target-press 3.4s ease-in-out infinite; }
@keyframes ptr-hold { 0% { transform: translate(-100px, -54px); } 30%, 75% { transform: translate(0, 0); } 100% { transform: translate(90px, 44px); } }
@keyframes ptr-slip { 0%, 34% { opacity: 0; transform: translate(0, 0); } 44% { opacity: .5; transform: translate(26px, 15px); } 60%, 100% { opacity: 0; transform: translate(36px, 20px); } }
@keyframes target-press { 0%, 32% { transform: scale(1); } 36%, 62% { transform: scale(.88); background: rgba(94, 240, 166, .14); } 72%, 100% { transform: scale(1); } }

.lag-art { display: grid; align-content: center; padding: 0 28px; }
.lag-track { position: relative; height: 30px; border-bottom: 1px solid var(--grat); }
.lag-hand, .lag-ptr { position: absolute; bottom: -7px; left: 0; width: 14px; height: 14px; border-radius: 50%; }
.lag-hand { background: var(--trace-raw); opacity: .6; }
.lag-ptr { background: var(--trace); }
.in .lag-hand, .in .lag-ptr { animation: lag-move 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.in .lag-ptr { animation-delay: .08s; }
@keyframes lag-move { from { left: 0; } to { left: calc(100% - 14px); } }
.col .lag-num { font: 500 40px/1 var(--mono); letter-spacing: -.04em; color: var(--trace); margin: 30px 0 0; text-align: center; }

.presets { margin-top: 112px; }
.preset-list { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.preset-list div { padding: 18px 0 20px; border-top: 1px solid var(--rule); }
.preset-list dt { font-size: 19px; font-weight: 650; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center; }
.preset-list dd { margin: 4px 0 0; color: var(--ink-3); font-size: 16px; }

/* Tuned to your hand */
.dark { background: var(--night); color: var(--scope-ink); border-top: 0; --rule: #222826; --ink-2: #b4bbb7; --ink-3: #8a918e; --signal: #5ef0a6; }
.dark h2 { max-width: 22ch; }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background-color: #0f1312; }
.steps li { padding: 22px 24px 26px; border-inline-start: 1px solid var(--grat); }
.steps li:first-child { border-inline-start: 0; }
.steps b { display: block; margin-top: 18px; font-size: 20px; letter-spacing: -.01em; }
.steps span { color: var(--scope-ink-2); font-size: 15px; }
.step-art { position: relative; height: 120px; }
.dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--trace); }
.in .dot.hold { animation: breathe 2.4s ease-out infinite; }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 rgba(94, 240, 166, .5); } 100% { box-shadow: 0 0 0 24px rgba(94, 240, 166, 0); } }
.in .dot.follow { animation: follow 4s ease-in-out infinite; }
@keyframes follow { 0%, 100% { transform: translate(-90px, 20px); } 25% { transform: translate(-30px, -30px); } 50% { transform: translate(40px, 18px); } 75% { transform: translate(90px, -24px); } }
.ring { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--trace); opacity: .25; }
.ring.r1 { left: 22%; top: 28%; } .ring.r2 { left: 50%; top: 55%; } .ring.r3 { left: 74%; top: 24%; }
.in .ring { animation: ring-hit 3s ease-in-out infinite; }
.in .ring.r2 { animation-delay: 1s; } .in .ring.r3 { animation-delay: 2s; }
@keyframes ring-hit { 0%, 15%, 40%, 100% { opacity: .25; transform: scale(1); background: transparent; } 22% { opacity: 1; transform: scale(.85); background: rgba(94, 240, 166, .3); } }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.tuned { margin-top: 64px; align-items: start; }
.who { display: grid; gap: 32px; }
.who p:last-child { color: var(--ink-2); font-size: 18px; margin: 10px 0 0; }
.ai-text-box { margin: 0; border-inline-start: 2px solid var(--trace); padding-block: 4px; padding-inline: 32px 0; }
.ai-text { font-size: 25px; line-height: 1.42; font-weight: 500; letter-spacing: -.015em; color: var(--scope-ink); min-height: 4.3em; margin: 18px 0 20px; }
.ai-text.typing::after { content: ""; display: inline-block; width: .5em; height: 1em; background: var(--trace); vertical-align: -.12em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ai-points li { position: relative; padding-inline-start: 28px; color: var(--ink-2); font-size: 17px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.ai-points li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--trace); font-family: var(--mono); }
.ai-points li.show { opacity: 1; transform: none; }
.dark .note { margin-top: 48px; }

/* Research */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.stat { padding: 28px 26px 22px; background: var(--bg-2); border-radius: 10px; display: flex; flex-direction: column; }
.stat .big { font-size: clamp(54px, 5.8vw, 80px); font-weight: 750; letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; font-variant-numeric: tabular-nums; color: var(--signal); }
.stat:first-child { background: var(--night); color: var(--scope-ink); --rule: #262c2a; --ink: #f1f3f2; --ink-2: #b4bbb7; --ink-3: #8a918e; --signal: #5ef0a6; }
.stat p { font-size: 16px; color: var(--ink-2); }
.stat .what b { display: block; font-size: 21px; line-height: 1.25; color: var(--ink); letter-spacing: -.015em; margin-bottom: 4px; }
.hook .stats + .charts { margin-top: 72px; }
#research > .wrap > .note { margin: 0 0 4px; max-width: 70ch; }
.stat .answer { margin-top: auto; color: var(--ink); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--rule); }
.stat .answer::before { content: "→ "; color: var(--signal); }
[dir="rtl"] .stat .answer::before { content: "← "; }
.cite { font: 500 13px/1.5 var(--mono); color: var(--ink-3); text-decoration: none; letter-spacing: .01em; margin: 0; }
a.cite:hover, .cite a:hover { color: var(--signal); text-decoration: underline; }
.cite a { color: inherit; text-decoration: none; }

.charts { margin-top: 88px; }
.chart { margin: 0; }
.chart figcaption b { display: block; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 6px; }
.chart figcaption span { color: var(--ink-3); font-size: 16px; }
.plot { display: block; width: 100%; height: auto; margin: 24px 0 10px; overflow: visible; }
.plot text { font: 500 12px var(--mono); fill: var(--ink-3); }
/* The chart's geometry is left to right in every language; each label keeps its own reading order. */
.plot { direction: ltr; }
.plot text { unicode-bidi: plaintext; }
[dir="rtl"] .plot text, html[lang="hi"] .plot text, html[lang="bn"] .plot text { font-family: var(--sans); font-size: 13px; }
.plot .axis line { stroke: var(--ink-3); stroke-width: 1; }
.plot .axis .grid-l { stroke: var(--rule); }
.plot .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .7, .2, 1); }
.plot .pts circle { fill: var(--bg); stroke: var(--ink); stroke-width: 2; opacity: 0; transition: opacity .4s 1.2s; }
.plot .pts .hl { fill: var(--signal); stroke: var(--signal); }
.plot .pt-labels { opacity: 0; transition: opacity .5s 1.4s; }
.plot .hl-text { fill: var(--signal); font-weight: 600; }
.chart.in .plot .line { stroke-dashoffset: 0; }
.chart.in .plot .pts circle, .chart.in .plot .pt-labels { opacity: 1; }
.residual { margin: 24px 0 18px; display: grid; gap: 20px; }
.residual p { display: flex; justify-content: space-between; margin: 0 0 6px; font: 500 13px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.residual b { color: var(--ink); font-weight: 600; }
.residual .hl b, .residual .hl span { color: var(--signal); }
.trace { display: block; width: 100%; height: 70px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trace path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease-out; }
.residual .hl .trace path { stroke: var(--signal); stroke-width: 2.5; }
.chart.in .trace path { stroke-dashoffset: 0; }

.sources { margin-top: 64px; border-top: 1px solid var(--rule); }
.sources summary { cursor: pointer; padding: 20px 0; font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::before { content: "+ "; color: var(--signal); }
.sources[open] summary::before { content: "− "; }
.sources ol { margin: 0; padding: 0; padding-inline-start: 1.6em; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.sources li::marker { font: 500 13px var(--mono); color: var(--ink-3); }
.sources a { word-break: break-word; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 64px; }
.feature { padding: 22px 0 36px; border-top: 1px solid var(--rule); }
.feature b { display: block; font-size: 20px; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* Lists with rules */
.rules { list-style: none; margin: 40px 0 0; padding: 0; }
.rules li { padding: 18px 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 18px; }
.rules li:last-child { border-bottom: 1px solid var(--rule); }
.rules b { color: var(--ink); }

/* Story */
.story { margin: 0; }
.story p { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.24; font-weight: 500; letter-spacing: -.025em; max-width: 30ch; }
.story footer { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 28px; }

/* Price */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.offer { position: relative; margin-top: 56px; padding: 2px; border-radius: 16px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: conic-gradient(from var(--spin), #0a7a4a, #5ef0a6 18%, #0b0e0d 34%, #0b0e0d 66%, #5ef0a6 82%, #0a7a4a);
  animation: spin 9s linear infinite; box-shadow: 0 30px 80px -40px rgba(10, 122, 74, .55); }
@keyframes spin { to { --spin: 360deg; } }
.offer-main { border-radius: 14px 0 0 14px; padding: 40px 44px 36px; --ink-3: #8d9591; }
.offer-list { list-style: none; margin: 0; padding: 30px 40px; background: var(--bg); border-radius: 0 14px 14px 0; display: grid; align-content: center; }
[dir="rtl"] .offer-main { border-radius: 0 14px 14px 0; }
[dir="rtl"] .offer-list { border-radius: 14px 0 0 14px; }
.offer-list li { position: relative; padding-block: 13px; padding-inline: 34px 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 18px; }
.offer-list li:first-child { border-top: 0; }
.offer-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.offer-list b { color: var(--ink); }
.offer-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 22px; }
.offer-badge .pill { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #06110b; background: var(--trace); padding: 6px 9px; border-radius: 3px; }
.offer-badge .save { font-weight: 700; color: var(--trace); }
.offer-badge .left { font: 500 13px var(--mono); color: var(--scope-ink-2); display: inline-flex; align-items: center; gap: 8px; }
.offer-badge .left::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--trace); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 240, 166, .6); } 100% { box-shadow: 0 0 0 7px rgba(94, 240, 166, 0); } }
.offer-badge span:empty { display: none; }
html:is([lang="ar"], [lang="hi"], [lang="bn"], [lang="zh-Hans"]) :is(.offer-badge .pill, .offer-badge .left, .promo-left) { text-transform: none; font-family: var(--sans); font-size: 13px; }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; row-gap: 4px; }
.price .now { font-size: clamp(56px, 15vw, 120px); font-weight: 750; letter-spacing: -.06em; line-height: 1; color: #fff; }
.price s { font: 500 24px var(--mono); color: var(--scope-ink-2); text-decoration-color: var(--miss); text-decoration-thickness: 2px; }
/* Arabic writes the currency as "US$", which needs more room */
html[lang="ar"] .price .now { font-size: clamp(44px, 12vw, 104px); }
.launch { color: var(--trace); font-weight: 600; margin: 14px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.offer .btn.go { background: var(--trace); border-color: var(--trace); color: #06110b; min-height: 58px; padding-inline: 32px; font-size: 18px; animation: glow 2.6s ease-in-out infinite; }
.offer .btn.go:hover { background: #fff; border-color: #fff; color: #06110b; transform: translateY(-1px); }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(94, 240, 166, 0); } 50% { box-shadow: 0 0 0 7px rgba(94, 240, 166, .16); } }
.offer .btn.line { color: var(--scope-ink); border-color: rgba(255, 255, 255, .35); }
.offer .btn.line:hover { background: #fff; color: #06110b; border-color: #fff; }
.offer .note { color: var(--scope-ink-2); }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding-block: 22px; padding-inline: 0 48px; position: relative; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); font: 400 26px var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 36px 0 48px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.foot nav { display: flex; gap: 24px; margin-inline-start: auto; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 32px 112px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin: 0 0 16px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; max-width: none; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .label { margin-bottom: 28px; }

/* 404: the shaking pointer can't find the page, then finds the zero */
.lost { max-width: 1180px; margin: 0 auto; padding: 72px 32px 112px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; }
.lost-text { grid-row: 1; }
.lost h1 { font-size: clamp(40px, 5.4vw, 72px); margin: 0 0 20px; }
.lost .lede { color: var(--ink-2); font-size: 19px; max-width: 34em; margin: 0 0 32px; }
.lost-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lost-scope { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; }
.lost-scope canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .lost { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .lost-scope { aspect-ratio: 16 / 10; }
}

/* Narrow windows */
@media (max-width: 1040px) {
  .top nav { display: none; }
  .lang { margin-inline-start: auto; }
  .grid { grid-template-columns: 1fr; }
  .grid > .label { padding: 0 0 18px; }
  .hero-row { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta { justify-content: flex-start; }
  .hero-buy { justify-items: start; }
  .hero-price { text-align: start; }
  .facts, .stats { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .cols3 { grid-template-columns: 1fr; gap: 56px; }
  .col { padding: 0; border-inline-start: 0; }
  .cols2 { grid-template-columns: 1fr; gap: 56px; }
  .offer { grid-template-columns: 1fr; }
  .offer-main, [dir="rtl"] .offer-main { border-radius: 14px 14px 0 0; }
  .offer-list, [dir="rtl"] .offer-list { border-radius: 0 0 14px 14px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .top-row { gap: 12px; }
  .wrap { padding: 0 16px; }
  .lede, .intro { font-size: 19px; }
  .facts, .stats, .features, .preset-list, .steps { grid-template-columns: 1fr; }
  .facts li { border-inline-start: 0; padding-inline: 0; }
  .facts li + li { border-top: 1px solid var(--rule); }
  .stat { padding: 24px 20px 20px; }
  .steps li { border-inline-start: 0; border-top: 1px solid var(--grat); }
  .steps li:first-child { border-top: 0; }
  .readout-end, .score { margin-inline-start: 0; }
  .btn { width: 100%; }
  .top .btn { width: auto; }
  .ai-text-box { padding-inline-start: 20px; }
  .ai-text { font-size: 21px; }
  .offer-main { padding: 28px 20px 26px; }
  .offer-list { padding: 18px 20px; }
  .promo { font-size: 14px; }
  .promo-go { display: none; }
}
@media (max-width: 520px) {
  .top .get { display: none; }
  .lang-name { font-size: 0; }
  .lang-name::after { content: attr(data-code); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .plot .line, .trace path { stroke-dashoffset: 0; }
  .plot .pts circle, .plot .pt-labels, .ai-points li { opacity: 1; transform: none; }
}
