/* Fonts (tools/fonts/build_fonts.py, OFL): Yamok Sans = Google Sans, Yamok Head = Google Sans for Latin + Anuphan for Thai.
   English is always Google Sans; Thai headings use Anuphan, all other Thai uses Google Sans. */
@font-face { font-family: "Yamok Sans"; src: url("fonts/yamok-sans-latin.woff") format("woff"); font-weight: 400 700; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BF, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Yamok Sans"; src: url("fonts/yamok-sans-thai.woff") format("woff"); font-weight: 400 700; font-display: swap; unicode-range: U+0E00-0E7F, U+200B-200D, U+25CC; }
@font-face { font-family: "Yamok Head"; src: url("fonts/yamok-sans-latin.woff") format("woff"); font-weight: 400 700; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BF, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Yamok Head"; src: url("fonts/yamok-head-thai.woff") format("woff"); font-weight: 400 700; font-display: swap; unicode-range: U+0E00-0E7F, U+200B-200D, U+25CC; }

/* Yamok — marketing site */
:root {
  --ink: #101626;
  --ink-2: #17223a;
  --night: #0a0e18;
  --paper: #f0f3f8;
  --card: #ffffff;
  --line: #dde0e7;
  --line-dark: rgba(255, 255, 255, 0.1);
  --muted: #606776;
  --muted-dark: #959ba8;
  --accent: #4f6cb0;
  --accent-soft: rgba(79, 108, 176, 0.12);
  --good: #17a673;
  --bad: #d94a3d;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 22, 38, 0.04), 0 8px 32px rgba(16, 22, 38, 0.06);
  --max: 1160px;
  --font: "Yamok Sans", "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Yamok Head", var(--font);
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mark {
  display: inline-block;
  width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: url(yamok-mark.svg) center / contain no-repeat;
  mask: url(yamok-mark.svg) center / contain no-repeat;
}
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition-property: transform, background-color, border-color, box-shadow;
  transition-duration: .2s; transition-timing-function: ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-light { background: #ffffff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12); }
.btn-ghost-dark { color: #ffffff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.45); background-color: rgba(255, 255, 255, 0.06); }
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #000000; box-shadow: 0 0 0 6px rgba(16, 22, 38, 0.08); }
.btn-outline { border-color: var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
  color: #ffffff; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(240, 243, 248, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line); color: var(--ink);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { font-size: 26px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { opacity: 0.72; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav .btn-sm { margin-left: 4px; }
.nav:not(.scrolled) .btn-sm { background: #ffffff; color: var(--ink); }
.nav.scrolled .btn-sm { background: var(--ink); color: #ffffff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
/* once the top bar folds away, a small gift box in the menu leads to the price; every few seconds it gives a little shake.
   It steps aside while the price section is on screen. */
.nav-gift { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -18px; border-radius: 50%; color: currentColor;
  opacity: 0; transform: translateY(-6px) scale(0.9); pointer-events: none; transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
.nav-gift svg { width: 23px; height: 23px; overflow: visible; transform-origin: 50% 90%; opacity: 0.82; transition: opacity .2s; }
.nav-gift:hover svg { opacity: 1; }
.nav-gift .g-bow, .nav-gift .g-ribbon { stroke: var(--accent); }
.nav-gift .g-lid { transform-box: fill-box; transform-origin: 15% 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.nav.scrolled:not(.at-price):not(.open) .nav-gift { opacity: 1; transform: none; pointer-events: auto; }
.nav.scrolled:not(.at-price):not(.open) .nav-gift svg { animation: gift-call 5.5s ease-in-out 1.2s infinite; }
.nav-gift:hover { background: rgba(79, 108, 176, 0.1); }
.nav-gift:hover svg { animation: none !important; }
.nav-gift:hover .g-lid { transform: translateY(-2px) rotate(-9deg); }
@keyframes gift-call { 0%, 84%, 100% { transform: none; } 86% { transform: rotate(-9deg) scale(1.06); } 88.5% { transform: rotate(8deg) scale(1.06); } 91% { transform: rotate(-6deg) scale(1.04); } 93.5% { transform: rotate(4deg); } 96% { transform: rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .nav.scrolled .nav-gift svg { animation: none !important; } }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .25s; }
.nav.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 80% at 50% 0%, #131b2e 0%, var(--night) 60%);
  color: #ffffff; text-align: center;
  padding: 128px 0 92px;
}
.rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 46% at 50% 50%, rgba(10, 14, 24, 0.92) 0%, rgba(10, 14, 24, 0.55) 55%, rgba(10, 14, 24, 0) 100%),
    linear-gradient(to bottom, var(--night) 0, rgba(10, 14, 24, 0.88) 68px, rgba(10, 14, 24, 0.4) 16%, rgba(10, 14, 24, 0) 28%, rgba(10, 14, 24, 0) 78%, var(--night));
}
.hero-content { position: relative; z-index: 2; }
.hero-mark { display: block; font-size: 100px; margin: 0 auto 50px; color: #ffffff; filter: drop-shadow(0 8px 40px rgba(255, 255, 255, 0.15)); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.18; font-weight: 700; }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.14; letter-spacing: -0.012em; }
.hero h1 .dim { color: rgba(255, 255, 255, 0.42); }
.hero p.lead { max-width: 640px; margin: 26px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.72); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.45); }

.morph {
  margin: 44px auto 0; max-width: 560px;
  display: flex; align-items: center; justify-content: center;
  min-height: 1.9em; font-size: clamp(24px, 3.2vw, 32px); font-weight: 500;
}
/* hero typing line: a wrong-layout word is typed key by key, then snaps into the word that was meant */
.morph .typed { display: inline-block; white-space: pre; color: #ffffff; transform-origin: 50% 60%; }
.morph .typed.wrong { color: rgba(255, 255, 255, 0.62); text-decoration: underline wavy rgba(232, 92, 78, 0.85); text-decoration-thickness: 1.5px; text-underline-offset: 0.28em; }
.morph .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; background: var(--accent); border-radius: 1px; animation: blink 1s steps(1) infinite; }
.morph.typing .caret { animation: none; }                 /* a caret stays lit while keys are coming */
@keyframes blink { 50% { opacity: 0; } }

/* scroll cue: a dark ↓ keycap that gets pressed now and then, like someone scrolling with the arrow key */
.scroll-key {
  position: absolute; z-index: 2; bottom: 30px; left: 50%; margin-left: -21px;
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  background: radial-gradient(120% 90% at 50% 40%, #212734 0%, #11192a 70%), #11192a;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.4),
              0 4px 0 #070a10, 0 14px 28px -10px rgba(0, 0, 0, 0.9);
  animation: keypress 2.8s cubic-bezier(.3, .7, .4, 1) infinite 1.2s;
  transition: color .2s, border-color .2s;
}
.scroll-key svg { width: 18px; height: 18px; }
.scroll-key::after {                       /* soft brand-blue ring when the key goes down */
  content: ""; position: absolute; inset: -1px; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(79, 108, 176, 0.38), 0 0 22px rgba(79, 108, 176, 0.32);
  opacity: 0; animation: keyring 2.8s ease-out infinite 1.2s;
}
.scroll-key:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.28); }
@keyframes keypress {
  0%, 62%, 100% { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 4px 0 #070a10, 0 14px 28px -10px rgba(0, 0, 0, 0.9); }
  68%, 72% { transform: translateY(3px); color: #ffffff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 1px 0 #070a10, 0 8px 18px -10px rgba(0, 0, 0, 0.9); }
  80% { transform: translateY(0); }
}
@keyframes keyring { 0%, 64% { opacity: 0; transform: scale(1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@media (max-height: 680px) { .scroll-key { display: none; } }

/* ---------- apps marquee ---------- */
.apps { padding: 34px 0; border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.apps p { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 18px; }
/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 128px 0; }
.section-dark { background: var(--night); color: #ffffff; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 18px; }
.section-dark .kicker { color: #b2bedc; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.8vw, 60px); }
.section-head p { margin: 20px auto 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 640px; }
.section-dark .section-head p { color: var(--muted-dark); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- problem / before-after ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.tag-bad { background: rgba(217, 74, 61, 0.1); color: var(--bad); }
.tag-good { background: rgba(23, 166, 115, 0.12); color: var(--good); }

/* ---------- demo ---------- */
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 28px 22px; border-top: 1px solid var(--line); background: #f8f9fb; }
.demo-foot .label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.chip {
  border: 1px solid var(--line); background: #ffffff; border-radius: 999px;
  padding: 7px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--ink); }
.chip .k { font-family: var(--mono); color: var(--muted); margin-left: 6px; font-size: 13px; }
.demo-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 28px 4px; min-height: 40px; }
.status-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.status-lang .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #ffffff; border-radius: 8px; padding: 2px 10px; font-weight: 600; }
.status-lang .pill .mark { font-size: 14px; }
.log { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.log-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; background: var(--accent-soft); color: #47629f; border-radius: 999px; padding: 4px 12px; animation: pop .35s cubic-bezier(.2,.9,.3,1.3); }
.log-item s { color: var(--muted); font-family: var(--mono); font-size: 13px; text-decoration-color: rgba(217, 74, 61, 0.6); }
.log-item.undo { background: #e9ecf4; color: var(--muted); }
@keyframes pop { from { transform: scale(0.8); opacity: 0; } }
.demo-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.demo-hint kbd, .kbd { font-family: var(--mono); font-size: 13px; background: #ffffff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; }

/* ---------- features ---------- */
.f { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.f h3 { font-size: 21px; margin: 0 0 8px; }
.f p { margin: 0; color: var(--muted); font-size: 16px; }
.f .ex { margin-top: 22px; display: grid; gap: 8px; }
.f .ex div { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 8px 12px; background: var(--paper); border-radius: 10px; }
.f .ex .k { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.f .ex .arr { color: #b4bac9; }
.f .ex .v { font-weight: 600; }
.f .ex .keep { margin-left: auto; font-size: 12px; color: var(--good); font-weight: 600; }

/* ---------- privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.privacy-grid h2 { font-size: clamp(34px, 4.6vw, 56px); }
.privacy-grid .lead { color: var(--muted-dark); font-size: 19px; margin: 22px 0 0; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { display: block; }
.checks span { color: var(--muted-dark); font-size: 15px; }
.vault {
  position: relative; aspect-ratio: 1; border-radius: 32px;
  background: radial-gradient(circle at 50% 40%, #17223a, #0c111c 70%);
  border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden;
  display: grid; place-items: center;
}
.vault canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.vault .badge { position: relative; z-index: 1; text-align: center; }
.vault .badge .mark { font-size: 84px; color: #ffffff; }
.vault .badge .offline { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 6px 14px; color: #d7dbe3; }
.vault .badge .offline i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(23, 166, 115, 0.25); }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stat .num { font-size: clamp(38px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat .num small { font-size: 0.45em; letter-spacing: 0; font-weight: 600; color: var(--muted); margin-left: 4px; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chart-head h3 { font-size: 22px; }
.chart-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.legend { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 200px 1fr 64px; gap: 16px; align-items: center; font-size: 15px; }
.bar-row .name { color: var(--ink); }
.bar-row .track { position: relative; height: 12px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.bar-row .fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--ink); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.bar-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.bars.accuracy .fill { background: linear-gradient(90deg, #101626, #384157); }
.chart-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- compare ---------- */
.compare { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
th:first-child, td:first-child { text-align: left; }
thead th { font-size: 14px; font-weight: 600; color: var(--muted); background: #f8f9fb; }
thead th.us { color: #ffffff; background: var(--ink); }
thead th.us .mark { font-size: 18px; vertical-align: -3px; margin-right: 6px; }
tbody td.us { background: rgba(16, 22, 38, 0.035); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td .y, td .n, td .m { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; }
td .y { background: rgba(23, 166, 115, 0.14); color: var(--good); }
td .n { background: rgba(217, 74, 61, 0.1); color: var(--bad); }
td .m { background: #e9ecf4; color: var(--muted); }
td small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 4px; }

.cost { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cost .chart-card h3 { font-size: 20px; }

/* ---------- light/fast ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 26px; }
.spec .num { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.spec .num small { font-size: 0.4em; color: var(--muted-dark); letter-spacing: 0; margin-left: 6px; font-weight: 600; }
.spec h3 { font-size: 18px; margin: 16px 0 6px; }
.spec p { margin: 0; color: var(--muted-dark); font-size: 15px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; max-width: 760px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.pop { background: var(--ink); color: #ffffff; border-color: var(--ink); transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(16, 22, 38, 0.45); }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #ffffff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 19px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 22px; min-height: 44px; line-height: 1.55; }
.plan.pop .for { color: var(--muted-dark); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .cur { font-size: 22px; font-weight: 600; }
.price .per { color: var(--muted); font-size: 14px; }
.plan.pop .price .per { color: var(--muted-dark); }
.plan .alt { font-size: 13px; color: var(--muted); margin: 8px 0 0; min-height: 20px; }
.plan.pop .alt { color: var(--muted-dark); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
.plan .btn { width: 100%; height: 48px; }
.plan.pop .btn { background: #ffffff; color: var(--ink); }
.price-foot { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: 14px; }
.price-foot span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #ffffff; border-color: var(--ink); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 700px; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: 150px 0; background: var(--night); color: #ffffff; }
.final .rain { opacity: 1; }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 55% at 50% 50%, rgba(10, 14, 24, 0.88), rgba(10, 14, 24, 0) 100%), linear-gradient(to bottom, var(--night), rgba(10, 14, 24, 0) 25%, rgba(10, 14, 24, 0) 75%, var(--night)); pointer-events: none; }
.final .wrap { position: relative; z-index: 2; }
.final h2 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.035em; }
.final p { color: rgba(255, 255, 255, 0.65); font-size: 19px; margin: 22px auto 0; max-width: 560px; }

/* ---------- footer ---------- */
footer { background: var(--night); color: var(--muted-dark); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
footer .brand { color: #ffffff; margin-bottom: 14px; }
footer h4 { color: #ffffff; font-size: 14px; margin: 0 0 14px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a:hover { color: #ffffff; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.pop { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16, 22, 38,.2); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; font-size: 17px; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: rgba(240, 243, 248, 0.97); color: var(--ink); }
  .menu-btn { display: block; margin-left: 6px; }
  .nav .btn-sm { display: none; }
  .nav-gift { margin-left: auto; }
  .privacy-grid, .cost { grid-template-columns: 1fr; }
  .privacy-grid { gap: 40px; }
  .vault { max-width: 420px; width: 100%; margin: 0 auto; }
  .specs { grid-template-columns: 1fr; gap: 0; }
  .spec { padding: 26px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
  .bar-row { grid-template-columns: 130px 1fr 54px; gap: 12px; font-size: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: 108px 0 88px; }
  .hero-mark { font-size: 84px; margin-bottom: 40px; }
  .cta-row .btn { width: 100%; }
  .morph { margin-top: 44px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px; }
  .plans { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
  .chart-card, .lane { padding: 24px; }
        .demo-foot, .demo-status { padding-left: 20px; padding-right: 20px; }
  .bar-row { grid-template-columns: 1fr 52px; }
  .bar-row .name { grid-column: span 2; margin-bottom: -8px; }
  .bar-row .track { grid-column: 1; }
    .faq summary { font-size: 17px; }
  .final { padding: 110px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > div:first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
[id] { scroll-margin-top: 72px; }
h1, h2, h3, .section-head p, .lead { text-wrap: balance; }
p { text-wrap: pretty; }

/* trust proof card (privacy section) */
.proof { display: flex; gap: 22px; align-items: center; margin-top: 34px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.proof:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); }
.proof-num { flex: none; min-width: 128px; text-align: center; }
.proof-num b { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #ffffff; }
.proof-num span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted-dark); }
.proof-body h3 { font-size: 18px; margin: 0 0 6px; }
.proof-body p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted-dark); }
.proof-link { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: #b2bedc; }
.proof-body small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-dark); }

/* launch promotion (pricing) */
.plan li.hl { font-weight: 700; color: #b2bedc; }
@media (max-width: 760px) {
  .proof { flex-direction: column; align-items: flex-start; }
  .proof-num { text-align: left; }
}
.nw { white-space: nowrap; }

/* Thai headings, big figures, labels and buttons in the heading face */
h1, h2, h3, h4, .kicker, .btn, .price, .num, .proof-num b, .promo-badge { font-family: var(--font-head); }

/* short laptop screens: keep the typing line and the ↓ key above the fold */
@media (min-width: 761px) and (max-height: 860px) {
  .hero { padding: 112px 0 76px; }
  .hero-mark { font-size: 80px; margin-bottom: 34px; }
  .hero h1 { font-size: clamp(44px, 6.4vw, 84px); }
  .hero p.lead { margin-top: 20px; }
  .cta-row { margin-top: 30px; }
  .morph { margin-top: 26px; }
}
@media (min-width: 761px) and (max-height: 720px) {
  .hero { padding: 104px 0 68px; }
  .hero-mark { font-size: 62px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 70px); }
  .cta-row { margin-top: 24px; }
  .morph { margin-top: 18px; }
}

/* launch announcement bar on top of the menu: brand blue with a slow light sweep; folds away once the page scrolls */
.announce {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 46px; padding: 0 16px;
  font-size: 15px; font-weight: 500; color: #ffffff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(90deg, #34508f 0%, #4f6cb0 30%, #6a86cf 50%, #4f6cb0 70%, #34508f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition-property: height, opacity, border-color; transition-duration: .3s; transition-timing-function: ease-out;
}
.announce::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: translateX(-120%); animation: announce-sweep 4.5s cubic-bezier(.45, 0, .2, 1) 1s infinite; }
@keyframes announce-sweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(360%); } }
.announce-badge { flex: none; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #ffffff; color: #34508f; font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16); }
.announce-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(16, 22, 38, 0.25); }
.announce-text b { font-weight: 700; font-size: 1.12em; }
.announce-link { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; font-weight: 700; color: #ffffff;
  background: rgba(10, 14, 24, 0.28); border: 1px solid rgba(255, 255, 255, 0.35); transition: background-color .2s, color .2s; }
.announce:hover .announce-link { background: #ffffff; color: #34508f; }
@media (prefers-reduced-motion: reduce) { .announce::before { animation: none; display: none; } }
.nav.scrolled .announce { height: 0; opacity: 0; border-bottom-color: transparent; }
@media (max-width: 640px) { .announce { gap: 10px; height: 42px; font-size: 14px; } .announce-badge { height: 24px; padding: 0 10px; font-size: 12px; } .announce-link { display: none; } }

/* download card: one button per system, the visitor's first */
.dl-row { display: grid; gap: 10px; margin-top: auto; }
.dl-row .btn { width: 100%; }

/* word-by-word heading reveal (app.js wraps words in .w) */
.split { perspective: 640px; }
.split .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotateX(-68deg); transform-origin: 50% 100%; filter: blur(8px);
  transition-property: opacity, transform, filter; transition-duration: .8s; transition-timing-function: cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 55ms + 80ms); }
.in .split .w, .split.in .w { opacity: 1; transform: none; filter: none; }

/* hero mark drawn by particles (app.js); the plain mark stays as the layout box and the no-script fallback */
.hero-mark-box { position: relative; }
.mark-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-mark-box.live .hero-mark { visibility: hidden; }

/* ---------- features: sideways track ----------
   Default (phones, short screens, reduced motion): a swipeable row. With .is-pinned (app.js) the section is as
   tall as the track is wide, the inner frame sticks, and scrolling down slides the cards to the left. */
.hscroll { background: #e6eaf2; padding: 0; }
.hs-pin { padding: 128px 0 100px; }
.hs-hint, .hs-foot { display: none; }
.hs-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 28px; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-card { flex: none; width: min(82vw, 400px); scroll-snap-align: center; display: flex; flex-direction: column; }
.hs-media { flex: 1 0 auto; aspect-ratio: 3 / 2; background: #0b1120; overflow: hidden; border-bottom: 1px solid var(--line); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50%) 50%; }
.hs-body { flex: none; display: flex; flex-direction: column; padding: 24px 28px 28px; }
.hs-n { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: 0.04em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.hs-body p { text-wrap: pretty; }
.hs-card .ex { margin-top: auto; padding-top: 20px; }

.hscroll.is-pinned .hs-pin { position: sticky; top: 0; height: 100vh; padding: 68px 0 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; }
.is-pinned .hs-intro { position: absolute; inset: 68px 0 0; display: flex; align-items: center; pointer-events: none; will-change: transform, opacity; }
.is-pinned .hs-intro .section-head { margin: 0; max-width: 460px; text-align: left; }
.is-pinned .hs-intro .section-head p { margin-left: 0; }
.is-pinned .hs-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hs-hint i { font-style: normal; display: inline-block; animation: hs-nudge 1.8s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes hs-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.is-pinned .hs-track { position: relative; z-index: 1; overflow: visible; scroll-snap-type: none; will-change: transform;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 24px calc(max(24px, calc((100vw - var(--max)) / 2 + 24px)) + 540px); }
.is-pinned .hs-card { width: clamp(360px, 31vw, 460px); height: clamp(460px, calc(100vh - 250px), 570px); will-change: transform; box-shadow: 0 1px 2px rgba(16, 22, 38, 0.04), 0 24px 60px -24px rgba(16, 22, 38, 0.22); }
.is-pinned .hs-media { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.is-pinned .hs-media img { will-change: transform; }
.is-pinned .hs-foot { display: flex; align-items: center; gap: 18px; position: absolute; left: 0; right: 0; bottom: 34px; font: 600 13px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-count b { color: var(--ink); }
.hs-progress { flex: 0 1 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hs-progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-height: 820px) {
  .is-pinned .hs-body { padding: 20px 24px 22px; }
  .is-pinned .hs-card .ex { padding-top: 14px; }
  .is-pinned .hs-card .ex div { padding: 6px 12px; }
  .is-pinned .hs-foot { bottom: 20px; }
}
@media (max-width: 640px) { .hs-pin { padding: 88px 0 72px; } .hs-track { padding: 4px 16px 20px; gap: 12px; } .hs-body { padding: 22px 22px 24px; } }

/* ---------- problem: mistyped words floating at different depths ----------
   app.js places each word so it sits at --x/--y at rest, then moves the vanishing point with scroll and pointer:
   far words drift slowly, near ones fast and soft, which reads as real depth. */
.problem { position: relative; overflow: hidden; }
.problem > .wrap { position: relative; z-index: 1; }
.depth-field { position: absolute; inset: 0 0 auto; height: 720px; perspective: 900px; pointer-events: none; }
.depth-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.depth-field span { position: absolute; left: var(--x); top: var(--y); font: 500 22px/1 var(--mono); white-space: nowrap; color: #9a9fac;
  transform: translate(-50%, -50%) translateZ(calc(var(--z) * 1px)); }
.depth-field span:nth-child(2), .depth-field span:nth-child(7) { color: var(--ink); text-decoration: underline wavy rgba(217, 74, 61, 0.6); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
@media (max-width: 1080px) { .depth-field { display: none; } }

/* ---------- cards tilt toward the pointer (app.js adds .tilt on mouse devices) ----------
   Uses the separate `rotate` property so it stacks on the scroll-reveal transform. */
:has(> .tilt) { perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d;
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), rotate .7s cubic-bezier(.2, .7, .2, 1), border-color .2s, background .2s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 55%); mix-blend-mode: soft-light; }
.tilt:hover::after { opacity: 1; }
.tilt .num, .tilt .price, .tilt .proof-num, .tilt h3 { transform: translateZ(26px); }

/* =====================================================================================================================
   Scenes (scenes.js). Each one degrades to a plain, finished layout without script, on phones and with reduced motion.
   ===================================================================================================================== */

/* ---------- one background for the whole page: colours flow from section to section while scrolling ---------- */
.page-bg { position: fixed; inset: 0; z-index: -1; background: var(--paper); transform: translateZ(0); pointer-events: none; }
html.flow [data-bg] { background: transparent !important; }
html.flow .apps[data-bg] { background: #f0f3f8 !important; }   /* sits between a dark and a light section: the colour changes behind it, unseen */

/* ---------- cursor: a dot that sits exactly on the pointer and a ring that follows it (mouse only) ---------- */
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; opacity: 0; transition: opacity .25s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ffffff; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid #ffffff; transition: opacity .25s, width .3s cubic-bezier(.2, .7, .2, 1), height .3s cubic-bezier(.2, .7, .2, 1), margin .3s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
html.has-cursor.cursor-in .cursor-dot, html.has-cursor.cursor-in .cursor-ring { opacity: 1; }
html.cursor-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #ffffff; }
html.cursor-link .cursor-dot { opacity: 0 !important; }
html.cursor-text .cursor-dot, html.cursor-text .cursor-ring { opacity: 0 !important; }
html.cursor-down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.btn { transition-property: transform, translate, background-color, box-shadow, border-color, color; transition-duration: .2s, .5s, .2s, .2s, .2s, .2s; transition-timing-function: ease, cubic-bezier(.2, .7, .2, 1); }

/* ---------- apps: names on keycaps, two rows drifting opposite ways ---------- */
.apps { position: relative; padding: 56px 0 46px; border-bottom: 0; }
/* a soft blue glow behind the row so the strip reads as its own moment */
.apps::before { content: ""; position: absolute; left: 50%; top: 56%; width: min(1100px, 120vw); height: 180px; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90, 130, 230, 0.20), rgba(90, 130, 230, 0) 100%); filter: blur(8px); }
.apps p { position: relative; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-bottom: 10px; }
.keyrow { position: relative; overflow: hidden; padding: 28px 0 32px; -webkit-mask: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent); mask: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent); }
.keyrow-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
/* glowing edge: a thin blue rim plus a soft halo, static so the moving row stays cheap */
.kc { flex: none; display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 999px; white-space: nowrap;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  border: 1.5px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(120deg, #a9c1ff, #8aa0d4 45%, #b8e2ff) border-box;
  box-shadow: 0 0 0 2px rgba(122, 162, 255, 0.09), 0 0 10px rgba(90, 130, 230, 0.28), 0 6px 14px -8px rgba(16, 22, 38, 0.2); }

/* ---------- problem: two lanes race the same slip ---------- */
.race { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; perspective: 1600px; }
.lane { position: relative; border-radius: 28px; padding: 34px 34px 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lane-new { background: var(--ink); color: #ffffff; border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(16, 22, 38, 0.6); }
.lane-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lane-top .tag { margin: 0; }
.clock { font: 500 14px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.clock b { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--bad); margin-right: 4px; display: inline-block; min-width: 2.2ch; text-align: right; }
.lane-new .clock { color: var(--muted-dark); }
.lane-new .clock b { color: #6ee7b7; }
.lane h3 { font-size: 24px; margin: 0 0 22px; }
.lane-step { transition: color .35s, opacity .35s; }
.race.live .lane-step { opacity: 0.3; }
.race.live .lane-step.done { opacity: 1; }
.race.live .lane-step.on { opacity: 1; color: var(--bad); }
.lane-screen { position: relative; min-height: 76px; padding: 20px 22px; border-radius: 16px; font-size: 20px; line-height: 1.5; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.lane-new .lane-screen { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.ls-word { border-radius: 5px; transition: background-color .3s, color .3s; }
.ls-word.wrong { font-family: "Google Sans Code", var(--mono); font-size: 19px; color: var(--bad); text-decoration: underline wavy rgba(217, 74, 61, 0.6); text-underline-offset: 5px; }
.lane-new .ls-word.wrong { color: #ff8a7f; }
.ls-word.sel { background: rgba(217, 74, 61, 0.18); text-decoration: none; }
.ls-word.fixed { background: rgba(79, 108, 176, 0.32); padding: 0 3px; }
.ls-caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.18em; margin-left: 1px; background: currentColor; animation: blink 1s steps(1) infinite; }
.ls-key { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font: 600 12px/1 var(--mono); padding: 7px 10px; border-radius: 6px; color: var(--muted); background: transparent;
  border: 1px solid var(--line); opacity: 0; transition: opacity .2s, background-color .15s, color .15s; }
.lane-new .ls-key { color: #ffffff; border-color: rgba(255, 255, 255, 0.25); }
.ls-key.on { opacity: 1; }
.ls-key.down { background: var(--ink); color: #ffffff; border-color: var(--ink); }

/* ---------- type by scrolling: the sentence types itself over a keyboard film scrubbed by scroll ---------- */
.typescene { position: relative; background: #070a12; color: #ffffff; }
.ts-pin { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; background: #070a12; }
.ts-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ts-shade { position: absolute; inset: 0; background: radial-gradient(44% 20% at 50% 50%, rgba(7, 10, 18, 0.72), transparent 100%), radial-gradient(78% 86% at 50% 50%, transparent 58%, #070a12 100%), linear-gradient(180deg, #070a12 0%, transparent 17%, transparent 83%, #070a12 100%); }
.ts-content { text-align: center; padding-top: 8vh; padding-bottom: 8vh; }
.ts-content > * { position: relative; z-index: 1; }
.ts-halo { position: absolute; left: 50%; top: 50%; width: min(110vw, 1500px); aspect-ratio: 2 / 1; margin: calc(min(110vw, 1500px) / -4) 0 0 calc(min(110vw, 1500px) / -2); pointer-events: none; opacity: 0; transform: scale(0.35);
  background: radial-gradient(closest-side, rgba(90, 130, 230, 0.42), rgba(90, 130, 230, 0.12) 55%, transparent); transition: opacity .5s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.ts-halo.on { opacity: 1; transform: none; }
.ts-kicker { margin: 0 0 16px; font: 600 clamp(22px, 2.8vw, 38px)/1.3 var(--font-head); letter-spacing: -0.01em; color: #ffffff; text-shadow: 0 0 26px rgba(7, 10, 18, 0.95); transition: opacity .4s; }
.ts-kicker.off { opacity: 0; }
.ts-line { margin: 0; font: 700 clamp(38px, 8vw, 132px)/1.2 var(--font-head); letter-spacing: -0.03em; min-height: 1.2em; white-space: nowrap; text-shadow: 0 0 34px rgba(7, 10, 18, 0.9); }
.typescene.is-live .ts-line.wrongline { font-size: clamp(24px, 5.8vw, 96px); }
.ts-typed .bad { font-family: var(--mono); font-weight: 500; letter-spacing: -0.03em; color: #dfe6fb; }
.ts-ghost { font-family: var(--mono); font-weight: 500; letter-spacing: -0.03em; color: rgba(178, 190, 220, 0.2); text-shadow: none; }
.ts-typed .k, .ts-typed .g { display: inline-block; }
.ts-typed .kn { animation: ts-key .34s cubic-bezier(.2, .8, .2, 1) both; }
.ts-typed .g { animation: ts-land .5s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 50% 60%; }
.ts-typed .good { color: #ffffff; text-shadow: none; }
@keyframes ts-key { from { transform: translateY(-0.14em) scale(1.22); color: #ffffff; text-shadow: 0 0 0.4em rgba(150, 178, 255, 0.95); } to { transform: none; } }
@keyframes ts-land { 0% { opacity: 0; transform: scale(1.3); filter: blur(0.12em); text-shadow: 0 0 0.5em rgba(150, 178, 255, 1); } 55% { opacity: 1; filter: none; } 100% { opacity: 1; transform: none; filter: none; text-shadow: 0 0 0 rgba(150, 178, 255, 0); } }
.ts-caret { display: inline-block; width: 0.05em; height: 0.92em; margin-left: 0.04em; vertical-align: -0.1em; background: #b2bedc; animation: blink 1s steps(1) infinite; }
.ts-meta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; min-height: 104px; }
.ts-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .4s, border-color .4s; }
.ts-pill .mark { font-size: 16px; }
.ts-pill.th { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 40px -8px rgba(79, 108, 176, 0.8); }
.ts-fixed { font: 600 clamp(20px, 2.2vw, 30px)/1.3 var(--font-head); color: #ffffff; transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); text-wrap: balance; }
.ts-content > .ts-hint { position: absolute; left: 24px; right: 24px; bottom: 7vh; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.55); transition: opacity .4s; }
.ts-hint i { font-style: normal; display: inline-block; animation: hs-nudge-y 1.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes hs-nudge-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.typescene.is-live { height: 360vh; }
.typescene.is-live .ts-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.typescene:not(.is-live) .ts-hint { display: none; }
.typescene.is-live .ts-fixed:not(.on) { opacity: 0; transform: translateY(10px); }

/* ---------- try: a dark device with an editor and a keyboard that lights the keys you press ---------- */
.try .studio { max-width: 1000px; margin: 0 auto; }
.device { position: relative; border-radius: 30px; padding: 10px; background: linear-gradient(180deg, #17223a 0%, #0c111e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 60px 120px -50px rgba(16, 22, 38, 0.7), 0 30px 60px -30px rgba(16, 22, 38, 0.35); color: #ffffff; }
.device .demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; border: 0; background: transparent; }
.device .dots { display: flex; gap: 8px; }
.device .dots i { width: 12px; height: 12px; border-radius: 50%; background: #2c3344; }
.device .demo-bar .title { margin: 0 auto; padding: 0; font-size: 14px; color: var(--muted-dark); }
.snd { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: var(--muted-dark); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.snd:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.snd[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.device .demo-body { position: relative; margin: 0 4px; padding: 0; border-radius: 20px; background: #080c15; border: 1px solid rgba(255, 255, 255, 0.07); }
.device textarea, .demo-mirror { display: block; width: 100%; min-height: 170px; margin: 0; padding: 26px 28px; border: 0; outline: 0;
  font: 500 24px/1.6 var(--font); letter-spacing: 0; white-space: pre-wrap; overflow-wrap: break-word; word-break: normal; tab-size: 4; }
.device textarea { position: relative; z-index: 1; resize: vertical; color: #edf0f6; background: transparent; caret-color: #b2bedc; }
.device textarea::placeholder { color: #535966; }
.demo-mirror { position: absolute; inset: 0; color: transparent; overflow: hidden; pointer-events: none; }
.demo-mirror mark { color: transparent; background: rgba(79, 108, 176, 0.45); border-radius: 5px; box-shadow: 0 0 0 3px rgba(79, 108, 176, 0.45), 0 0 30px rgba(79, 108, 176, 0.6); animation: mirror-fade 1.6s ease-out forwards; }
@keyframes mirror-fade { 0% { background: rgba(79, 108, 176, 0.7); } 100% { background: rgba(79, 108, 176, 0); box-shadow: 0 0 0 3px rgba(79, 108, 176, 0), 0 0 30px rgba(79, 108, 176, 0); } }
.device .demo-status { padding: 14px 18px 4px; }
.device .status-lang { color: var(--muted-dark); }
.device .status-lang .pill { background: rgba(255, 255, 255, 0.1); transition: background-color .3s; }
.device.th .status-lang .pill { background: var(--accent); }
.device .log-item { background: rgba(79, 108, 176, 0.18); color: #cfd7e9; }
.device .log-item.undo { background: rgba(255, 255, 255, 0.07); color: var(--muted-dark); }
.kb { display: grid; gap: 7px; padding: 14px 18px 18px; user-select: none; }
.kb-row { display: flex; gap: 7px; justify-content: center; }
.kb .key { position: relative; flex: 1 1 0; max-width: 62px; height: 50px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color .25s, border-color .25s; }
.kb .key .l1, .key .l2 { position: absolute; font-size: 13px; line-height: 1; transition: color .3s, opacity .3s; }
.kb .key .l1 { left: 9px; top: 9px; font-family: var(--mono); color: #cdd1db; }
.kb .key .l2 { right: 9px; bottom: 9px; font-size: 15px; color: #5e6472; }
.kb.th .key .l1 { color: #5e6472; }
.kb.th .key .l2 { color: #e8ebf3; }
.kb .key.wide { max-width: 360px; flex-grow: 6; }
.kb .key.hit { background: rgba(178, 190, 220, 0.22); border-color: rgba(178, 190, 220, 0.6); }
.kb .key.fix { background: rgba(178, 190, 220, 0.4); border-color: #b2bedc; }
.try .demo-foot { justify-content: center; border: 0; background: transparent; padding: 26px 0 0; }
.try .chip { background: #ffffff; border-color: var(--line); transition: border-color .2s, background-color .2s; }
.try .chip:active { background: var(--paper); }
@media (max-width: 760px) { .kb { display: none; } .device { border-radius: 24px; } .device textarea, .demo-mirror { font-size: 19px; padding: 20px; } }

/* ---------- big type: mistyped words go into the mark and come out as what was meant ---------- */
.bigtype { position: relative; overflow: hidden; padding: 120px 0 110px; background: #070a12; color: #ffffff; }
.bt-stage { position: relative; height: clamp(120px, 15vw, 230px); }
.bt-row { position: absolute; inset: 0; overflow: hidden; }
.bt-wrong { clip-path: inset(0 0 0 50%); }
.bt-right { clip-path: inset(0 50% 0 0); }
.bt-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; width: max-content; will-change: transform; }
.bt-item { flex: none; display: grid; place-items: center; padding: 0 0.32em; font: 700 clamp(84px, 12vw, 190px)/1 var(--font-head); letter-spacing: -0.04em; white-space: nowrap; }
.bt-wrong .bt-item { font-family: var(--mono); font-weight: 500; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 138, 127, 0.75); }
.bt-right .bt-item { color: #ffffff; }
.bt-gate { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: clamp(110px, 12vw, 180px); height: clamp(150px, 17vw, 250px); border-radius: 999px;
  display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 20%, #4f6cb0 0%, var(--accent) 45%, #3e558b 100%);
  box-shadow: 0 0 0 1px rgba(178, 190, 220, 0.6), 0 0 80px 10px rgba(79, 108, 176, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.35); }
.bt-gate .mark { font-size: clamp(54px, 6vw, 92px); color: #ffffff; }
.bt-gate::before, .bt-gate::after { content: ""; position: absolute; top: 8%; bottom: 8%; width: 60px; pointer-events: none; }
.bt-sub { margin-top: 56px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000000 15%, #000000 85%, transparent); mask: linear-gradient(90deg, transparent, #000000 15%, #000000 85%, transparent); }
.bt-sub-track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; font: 600 clamp(22px, 2.4vw, 34px)/1 var(--font-head); color: rgba(255, 255, 255, 0.4); }
.bt-sub-track i { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); rotate: 45deg; flex: none; }
@media (max-width: 640px) { .bigtype { padding: 80px 0; } }

/* ---------- accuracy: words circle a giant 0 on a tilted ring ---------- */
.orbit { position: relative; height: clamp(440px, 62vw, 640px); margin: -20px 0 40px; }
.orbit-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 50; pointer-events: none; }
.orbit-kicker { font-size: 15px; font-weight: 600; color: var(--muted); }
.orbit-zero { font: 700 clamp(200px, 30vw, 400px)/0.86 var(--font-head); letter-spacing: -0.06em; color: var(--ink); text-shadow: 0 40px 80px rgba(16, 22, 38, 0.18); }
.orbit-ring { position: absolute; inset: 0; }
.oc { position: absolute; left: 50%; top: 52%; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; border-radius: 16px; white-space: nowrap;
  background: #ffffff; border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16, 22, 38, 0.35); will-change: transform, opacity; translate: -50% -50%; }
.oc b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.oc i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--good); }
.oc-img { padding: 0; overflow: hidden; width: 150px; height: 100px; background: #0b1120; }
.oc-img img { width: 100%; height: 100%; object-fit: cover; }
.orbit:not(.live) .orbit-ring { display: none; }
@media (max-width: 640px) { .oc b { font-size: 15px; } .oc { padding: 10px 12px; } .oc-img { width: 96px; height: 64px; } }

/* ---------- compare: Yamok as a raised dark column, rows that draw themselves in ---------- */
.compare { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.compare .table-scroll { padding: 18px 4px 18px; }
.compare table { border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 20px 18px; font-size: 16px; }
.compare thead th { background: transparent; font-size: 14px; }
.compare td:first-child { font-size: 17px; font-weight: 600; }
.compare th.us, .compare td.us { position: relative; background: var(--ink); color: #ffffff; border-bottom-color: rgba(255, 255, 255, 0.08); width: 190px; }
.compare thead th.us { border-radius: 22px 22px 0 0; padding-top: 30px; font-size: 18px; box-shadow: 0 -20px 50px -30px rgba(79, 108, 176, 0.6); }
.compare tbody tr:last-child td.us { border-radius: 0 0 22px 22px; padding-bottom: 30px; }
.compare tbody td.us small { color: var(--muted-dark); }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover td:not(.us) { background: rgba(16, 22, 38, 0.025); }
.compare td .y { background: rgba(23, 166, 115, 0.12); }
.compare td.us .y { width: 34px; height: 34px; background: var(--accent); color: #ffffff; box-shadow: 0 0 0 6px rgba(79, 108, 176, 0.18), 0 8px 24px -4px rgba(79, 108, 176, 0.7); }
.compare td.us .y svg { width: 18px; height: 18px; }
.compare td.us .y path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--r, 0) * 70ms + 200ms); }
.compare.in td.us .y path { stroke-dashoffset: 0; }
.compare tbody tr { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--r, 0) * 70ms); }
.compare.in tbody tr { opacity: 1; transform: none; }

/* cost card 1: each step is a key that appears in turn */
.steps-card .stepkeys { display: grid; gap: 22px; margin-top: 28px; }
.sk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 15px; }
.sk-head .name { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.sk-time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sk-row.us .sk-time { color: var(--accent); font-weight: 700; }
.sk-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-keys .key { flex: none; display: inline-flex; align-items: center; padding: 7px 14px; font-size: 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--k, 0) * 90ms + 150ms); }
.sk-keys .key-go { color: #ffffff; background: var(--ink); border-color: var(--ink); }
.steps-card.in .sk-keys .key { opacity: 1; transform: none; }

/* cost card 2: a big number and a slider with a keycap thumb */
.time-card { display: flex; flex-direction: column; }
.tc-num { margin: 26px 0 6px; font: 700 clamp(64px, 7vw, 96px)/1 var(--font-head); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.tc-num small { font-size: 0.26em; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 10px; }
.tc-label { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; font-size: 15px; }
.keyslider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 18px 0 10px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, var(--ink) 0 var(--fill, 16%), var(--line) var(--fill, 16%) 100%); }
.keyslider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; border: 2px solid var(--ink); cursor: pointer; }
.keyslider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #ffffff; border: 2px solid var(--ink); cursor: pointer; }
.keyslider:active::-webkit-slider-thumb { background: var(--ink); }
.tc-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tc-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- footer: a giant gradient wordmark, letters rising as the page ends ---------- */
.wordmark { display: flex; justify-content: space-between; margin: 56px -0.02em 0; font: 700 clamp(110px, 25vw, 380px)/0.8 var(--font-head); letter-spacing: -0.04em; overflow: hidden; padding-bottom: 0.04em;
  color: transparent; }
.wordmark span { display: inline-block; will-change: transform; background: linear-gradient(180deg, #eef2fa 0%, #a9b4cc 46%, #3a4766 100%); -webkit-background-clip: text; background-clip: text; }   /* per letter: a clipped gradient does not follow moved children */
footer .foot-bottom { margin-top: 28px; }
.ls-fixed-word { background: rgba(79, 108, 176, 0.32); border-radius: 5px; padding: 0 3px; }
html.has-cursor textarea { cursor: text; }
@media (max-width: 860px) { .race { grid-template-columns: 1fr; } .lane-screen { font-size: 18px; } }

/* ---------- layers (scenes.js "layers"): a plate and an outline frame behind each group of cards ---------- */
.layered { position: relative; isolation: isolate; }
.layered > :not(.depth-plate):not(.depth-frame) { position: relative; z-index: 1; }
.depth-plate, .depth-frame { position: absolute; z-index: 0; pointer-events: none; border-radius: 36px; }
.depth-plate { inset: 34px -34px -40px 46px; background: linear-gradient(160deg, rgba(16, 22, 38, 0.055), rgba(16, 22, 38, 0.02)); }
.depth-frame { inset: -26px 40px 30px -30px; border: 1px solid rgba(16, 22, 38, 0.1); }
.section-dark .depth-plate, .bigtype .depth-plate { background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.section-dark .depth-frame { border-color: rgba(255, 255, 255, 0.1); }
.layer { will-change: translate; }
.specs.layered > .depth-plate { inset: -30px -40px -50px 60px; }
@media (max-width: 860px) { .depth-plate { inset: 24px -10px -26px 16px; } .depth-frame { inset: -14px 12px 18px -10px; } }

/* ---------- hero download: bigger, a blue glowing rim, a light sweep now and then ---------- */
.btn-hero { position: relative; isolation: isolate; overflow: hidden; height: 60px; padding: 0 32px; font-size: 17px;
  box-shadow: 0 0 0 4px rgba(122, 162, 255, 0.18), 0 0 28px rgba(122, 162, 255, 0.45), 0 16px 32px -14px rgba(0, 0, 0, 0.7); }
.btn-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(122, 162, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-110%); animation: heroShine 4.2s cubic-bezier(.4, 0, .2, 1) 1.6s infinite; }
.btn-hero:hover { transform: translateY(-2px);
  box-shadow: 0 0 0 5px rgba(122, 162, 255, 0.26), 0 0 40px rgba(122, 162, 255, 0.65), 0 20px 36px -14px rgba(0, 0, 0, 0.75); }
.btn-hero:active { transform: translateY(0) scale(0.97); }
.btn-hero svg { width: 20px; height: 20px; }
@keyframes heroShine { 0% { transform: translateX(-110%); } 35%, 100% { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) { .btn-hero::after { animation: none; display: none; } }
/* both hero buttons share one height and centre line so the pair sits level */
.hero .cta-row { align-items: center; }
.hero .cta-row .btn { height: 60px; padding: 0 32px; font-size: 17px; }
@media (max-width: 640px) { .hero .cta-row .btn { height: 56px; } }

/* the mistyped word in a heading: lighter weight, a thin red spell-check squiggle, a blinking caret — nothing else */
.typo { margin-left: 0.12em; color: var(--ink); font-family: "Google Sans Code", var(--mono); font-weight: 500; letter-spacing: -0.02em; }
.typo .w, .typo:not(:has(.w)) { text-decoration: underline wavy rgba(217, 74, 61, 0.6); text-decoration-thickness: 0.03em; text-underline-offset: 0.2em; text-decoration-skip-ink: none; }
.typo::after { content: ""; display: inline-block; width: 0.04em; height: 0.8em; margin-left: 0.08em; vertical-align: -0.05em; border-radius: 2px;
  background: var(--ink); animation: typoCaret 1.05s steps(1) infinite; }
@keyframes typoCaret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typo::after { animation: none; } }

/* ---------- race: each lane is a generic chat, laid straight on the card — no inner frame, no borders, just fills ---------- */
.lane { padding: 30px 30px 28px; }
.chat { display: grid; gap: 14px; }
.chat-msg { display: flex; align-items: flex-end; gap: 8px; }
.chat-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #c9d5f2, #8fa6dc); }
.lane-new .chat-av { background: linear-gradient(135deg, #3b4a6e, #24304d); }
.bubble { margin: 0; padding: 9px 15px; border-radius: 18px 18px 18px 6px; font-size: 16px; line-height: 1.45; background: var(--paper); }
.lane-new .bubble { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.chat .lane-screen { min-height: 0; height: 50px; display: flex; align-items: center; padding: 0 110px 0 18px; border: 0; border-radius: 999px; font-size: 17px; background: var(--paper); }
.lane-new .chat .lane-screen { background: rgba(255, 255, 255, 0.07); }
.chat .ls-pre { white-space: pre; }
.chat .ls-word.wrong { font-size: 16px; }
.chat .ls-key { right: 54px; }
.chat-send { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #ffffff; background: var(--accent); }
.chat-send svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lane { padding: 24px 20px 22px; } .chat .lane-screen { padding-right: 96px; font-size: 16px; } .chat .ls-key { right: 50px; } }

/* race: "แบบเดิม" / "กับ Yamok" are the card headings — big, coloured, softly glowing, top-aligned with the clock */
.lane { padding-top: 26px; }
.lane-top { align-items: flex-start; margin-bottom: 10px; }
.lane-top .tag { padding: 0; background: none; border-radius: 0; font: 700 clamp(24px, 2.4vw, 30px)/1.25 var(--font-head); letter-spacing: -0.02em; }
.lane-top .tag-bad { color: var(--bad); text-shadow: 0 0 22px rgba(217, 74, 61, 0.35); }
.lane-new .lane-top .tag-good { color: #6ee7b7; text-shadow: 0 0 18px rgba(110, 231, 183, 0.55), 0 0 42px rgba(110, 231, 183, 0.25); }
.lane-top .clock b { line-height: 1.1; }
.lane h3 { font-size: 19px; font-weight: 600; margin-bottom: 20px; }
.lane-old h3 { color: var(--ink); }
.lane-new h3 { color: rgba(255, 255, 255, 0.85); }

/* race: label and tagline share one line (tagline smaller and quieter), clock on the right */
.lane-top { margin-bottom: 22px; gap: 16px; }
.lane-head { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; min-width: 0; }
.lane-head h3 { margin: 0; font-size: 17px; font-weight: 600; }
.lane-old .lane-head h3 { color: var(--ink); }
.lane-new .lane-head h3 { color: rgba(255, 255, 255, 0.72); }
.lane-top .clock { flex: none; white-space: nowrap; }
/* "เสียเวลา" is the punchline: heavier, a touch larger, and it glows red when it lights at the end */
.lane-cost { display: inline-block; margin-left: 0.15em; font-weight: 800; font-size: 1.12em; color: var(--bad); transition: color .35s, opacity .35s, text-shadow .35s, transform .35s; }
.race.live .lane-cost.on { text-shadow: 0 0 16px rgba(217, 74, 61, 0.45); transform: scale(1.06); }
/* race chat: a short thread — our bubble on the right in the brand blue, theirs grouped on the left */
.chat-thread { display: grid; gap: 10px; }
.chat-group { display: grid; gap: 4px; justify-items: start; }
.chat-group .bubble:not(:last-child) { border-radius: 18px 18px 18px 6px; }
.chat-group .bubble + .bubble { border-top-left-radius: 6px; }
.bubble.out { justify-self: end; color: #ffffff; background: var(--accent); border-radius: 18px 18px 6px 18px; }
.lane-new .bubble.out { background: var(--accent); }
/* race: the Yamok lane is headed by the white mark + name instead of a coloured label */
.lane-new .lane-top .tag-brand { display: inline-block; color: #ffffff; text-shadow: 0 0 22px rgba(255, 255, 255, 0.25); }
.tag-brand .mark { font-size: 0.95em; margin-right: 0.3em; vertical-align: -0.08em; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); }
/* logo label and tagline sit on one text baseline */
.lane-new .lane-head { align-items: baseline; }
.lane-new .lane-head h3 { white-space: nowrap; }
.lane-step { white-space: nowrap; }

/* ---------- try: a macOS window with a plain document editor ---------- */
.device.mac-window { padding: 0; border-radius: 12px; overflow: hidden; color: var(--ink); background: #ffffff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 22px 70px rgba(0, 0, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.08); }
.mac-window .demo-bar { position: relative; height: 38px; padding: 0 12px 0 14px; background: linear-gradient(#f3f3f3, #e9e9e9); border-bottom: 1px solid #d4d4d4; }
.mac-window .dots { gap: 8px; }
.mac-window .dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.mac-window .dots i:nth-child(1) { background: #ff5f57; }
.mac-window .dots i:nth-child(2) { background: #febc2e; }
.mac-window .dots i:nth-child(3) { background: #28c840; }
.mac-window .demo-bar .title { position: absolute; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, var(--font); color: #4d4d4d; }
.mac-window .demo-bar .title svg { width: 15px; height: 15px; color: var(--accent); }
.mac-window .snd { margin-left: auto; height: 24px; padding: 0 10px; font-size: 12px; color: #555b66; background: #ffffff; border-color: #cfcfcf; }
.mac-window .snd:hover { color: var(--ink); border-color: #b5b5b5; }
.mac-window .snd[aria-pressed="true"] { color: #ffffff; background: var(--accent); border-color: var(--accent); }
.doc-toolbar { display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; overflow: hidden; white-space: nowrap;
  background: #f7f7f8; border-bottom: 1px solid #e2e2e4; color: #50555f; font-size: 13px; user-select: none; }
.tb-select { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px 0 10px; border-radius: 6px; background: #ffffff; border: 1px solid #dcdcdf; }
.tb-select i { font-style: normal; font-size: 11px; color: #8a8f99; translate: 0 -2px; }
.tb-size { margin-left: 4px; }
.tb-btn { display: grid; place-items: center; width: 28px; height: 26px; border-radius: 6px; font: 600 14px/1 var(--font); }
.tb-btn svg { width: 16px; height: 16px; }
.tb-b { font-weight: 800; } .tb-i { font-style: italic; font-family: Georgia, serif; } .tb-u { text-decoration: underline; text-underline-offset: 3px; }
.tb-sep { width: 1px; height: 18px; margin: 0 8px; background: #dcdcdf; }
.doc-canvas { padding: 30px 30px 0; background: #e8eaee; }
.mac-window .demo-body.doc-page { max-width: 780px; margin: 0 auto; border: 0; border-radius: 2px 2px 0 0; background: #ffffff;
  box-shadow: 0 0 0 1px rgba(16, 22, 38, 0.06), 0 6px 24px -10px rgba(16, 22, 38, 0.25); }
.mac-window textarea, .mac-window .demo-mirror { min-height: 260px; padding: 52px 68px 40px; font-size: 22px; }
.mac-window textarea { color: var(--ink); caret-color: var(--accent); }
.mac-window textarea::placeholder { color: #a5aab4; }
.mac-window .demo-status { min-height: 0; padding: 7px 16px; background: #f7f7f8; border-top: 1px solid #e2e2e4; }
.mac-window .status-lang { font-size: 12.5px; color: #6b707a; }
.mac-window .status-lang .pill { background: var(--ink); padding: 1px 9px; }
.mac-window.th .status-lang .pill { background: var(--accent); }
.mac-window .log-item { font-size: 12.5px; padding: 2px 10px; background: var(--accent-soft); color: #3f5a99; }
.mac-window .log-item.undo { background: #eceef2; color: #6b707a; }
/* the try window is the place to play with the product: wider than the text column, a big page, big type */
.try .studio { width: min(1280px, calc(100vw - 48px)); max-width: none; margin-left: calc(50% - min(640px, 50vw - 24px)); }
.mac-window { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 40px 120px -20px rgba(16, 22, 38, 0.35), 0 12px 30px rgba(0, 0, 0, 0.08); }
.doc-canvas { padding: 40px 40px 0; }
.mac-window .demo-body.doc-page { max-width: 980px; }
.mac-window textarea, .mac-window .demo-mirror { min-height: 440px; padding: 72px 88px 56px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.7; }
@media (max-width: 760px) {
  .try .studio { width: auto; margin-left: 0; }
  .doc-canvas { padding: 16px 12px 0; }
  .mac-window textarea, .mac-window .demo-mirror { min-height: 260px; padding: 28px 22px; font-size: 20px; }
  .doc-toolbar .tb-size ~ * { display: none; }
}

/* ---------- try: sample buttons, the caveat, the undo tip — three tidy layers under the window ---------- */
.try .demo-foot { gap: 10px; padding-top: 30px; }
.try .demo-foot .label { width: 100%; text-align: center; margin: 0 0 2px; font-size: 14px; }
.try .chip { height: 42px; padding: 0 18px; font-size: 15px; }
.try .chip .k { display: none; }                      /* the wrong-layout keys show up on the page once clicked */
.try .chip-clear { border-color: transparent; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.try .chip-clear:hover { color: var(--ink); border-color: transparent; }
.demo-note { display: flex; align-items: flex-start; gap: 12px; width: fit-content; max-width: 720px; margin: 30px auto 0; padding: 14px 20px;
  border-radius: 14px; background: var(--accent-soft); color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.demo-note svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.demo-note b { font-weight: 700; color: var(--ink); }
.try .demo-hint { margin-top: 14px; font-size: 13.5px; }

/* ---------- features: a misty field of letters behind the cards, three depths ---------- */
.hs-pin { position: relative; }
.hs-haze { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hs-haze canvas { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; }   /* max-width: none — the global 100% cap squeezed the letters */
.hs-intro, .hs-track, .hs-foot { position: relative; z-index: 1; }
.is-pinned .hs-intro { z-index: 1; }

/* ---------- features: full-bleed photo cards (big word on top, softly blurred caption area at the bottom) ---------- */
.hs-card { position: relative; overflow: hidden; border-radius: 36px; background: #0b1120; color: #ffffff; isolation: isolate;
  aspect-ratio: 2 / 3; box-shadow: 0 1px 2px rgba(16, 22, 38, 0.06), 0 30px 60px -28px rgba(16, 22, 38, 0.45); }
.hs-card .hs-media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border: 0; background: #0b1120; will-change: transform; }
.hs-card .hs-media > img, .hs-veil img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-veil { position: absolute; inset: 0; -webkit-mask: linear-gradient(to bottom, transparent 52%, #000 78%); mask: linear-gradient(to bottom, transparent 52%, #000 78%); }
.hs-veil img { filter: blur(22px) saturate(1.1); transform: scale(1.12); }
.hs-veil::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(8, 12, 22, 0.42)); }
.hs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 12, 22, 0.28), transparent 32%); }
.hs-big { position: absolute; left: 0; right: 0; top: 7%; margin: 0; text-align: center; padding: 0 16px;
  font: 800 clamp(52px, 5.4vw, 88px)/1 var(--font-head); letter-spacing: -0.03em; color: #ffffff; text-shadow: 0 2px 30px rgba(8, 12, 22, 0.25); }
.hs-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 28px 34px; text-align: center; }
.hs-cap h3 { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; font-weight: 700; color: #ffffff; }
.hs-cap h3 svg { width: 22px; height: 22px; flex: none; }
.hs-cap p { margin: 6px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.72); }
.is-pinned .hs-card { width: auto; height: clamp(460px, calc(100vh - 230px), 620px); aspect-ratio: 2 / 3; border-radius: 36px; }
.is-pinned .hs-card .hs-media { flex: none; min-height: 0; }
@media (max-width: 640px) { .hs-card { border-radius: 30px; } .hs-cap { padding: 0 20px 26px; } }

.hs-card .hs-big-long { font-size: clamp(40px, 4vw, 64px); top: 9%; }

.hs-track { gap: 28px; }
.is-pinned .hs-track { gap: 56px; }
@media (max-width: 640px) { .hs-track { gap: 16px; } }

/* gate: tall slim capsule, deep navy gradient */
.bt-gate { width: clamp(80px, 8.4vw, 126px); height: clamp(176px, 19.5vw, 292px);
  background:
    radial-gradient(90% 38% at 50% 6%, rgba(140, 170, 255, 0.55) 0%, rgba(140, 170, 255, 0) 100%),
    linear-gradient(180deg, #3552c9 0%, #1e3192 38%, #121d63 72%, #0a1140 100%);
  box-shadow: 0 0 0 1px rgba(120, 150, 240, 0.35), 0 0 70px 6px rgba(40, 70, 190, 0.45),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.35), inset 0 -18px 30px rgba(4, 8, 30, 0.55); }
.bt-gate .mark { font-size: clamp(44px, 4.8vw, 72px); }

/* privacy: compact */
.checks-grid { grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 36px; }
.checks-grid b { font-size: 17px; }
.checks-grid span { display: block; margin-top: 2px; font-size: 14.5px; }
.proof-slim { gap: 18px; padding: 16px 20px; margin-top: 36px; }
.proof-score { flex: none; font: 700 30px/1 var(--font-head); letter-spacing: -0.03em; color: #ffffff; }
.proof-text { flex: 1; min-width: 0; }
.proof-text strong { display: block; font-size: 15.5px; font-weight: 600; }
.proof-text small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted-dark); }
.proof-go { flex: none; font-size: 14px; font-weight: 600; color: #b2bedc; }
@media (max-width: 640px) {
  .checks-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-slim { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .proof-go { width: 100%; }
}

/* accuracy merged into "ฉลาดพอจะรู้ว่าอะไรไม่ควรแก้": same ground, same letter haze, one heading */
.acc-merged { position: relative; overflow: hidden; padding-top: clamp(24px, 4vw, 56px); }
.zf-acc { position: relative; z-index: 1; }
.acc-haze { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.acc-haze canvas { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; }
.acc-head { text-align: center; max-width: 640px; margin: 0 auto; }
.acc-head h3 { margin: 10px 0 0; font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.zf-acc .stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .zf-acc .stats { grid-template-columns: 1fr; } }

/* ============ features: the zero (replaces the photo cards) ============ */
.zf { position: relative; background: #e6eaf2; }
.zf-pin { position: relative; overflow: hidden; padding: 96px 0 80px; }
.zf.is-pinned .zf-pin { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; flex-direction: column; }
.zf-head, .zf-stage, .zf-steps, .zf-foot { position: relative; z-index: 1; }
.zf-head { text-align: center; }
.zf.is-pinned .zf-head { padding-top: calc(68px + 3.5vh); }
.zf-head h2 { margin: 10px 0 0; font-size: clamp(30px, 3.6vw, 50px); }
.zf-stage { height: clamp(380px, 70vw, 560px); }
.zf.is-pinned .zf-stage { flex: 1; height: auto; min-height: 0; }
.zf-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 50; pointer-events: none; }
.zf-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.zf-zero { font: 700 clamp(170px, min(27vw, 38vh), 360px)/0.86 var(--font-head); letter-spacing: -0.06em; color: var(--ink); text-shadow: 0 40px 80px rgba(16, 22, 38, 0.18); }
.zf-ring { position: absolute; inset: 0; }
.zf-stage:not(.live) .zf-ring { display: none; }
.zc { position: absolute; left: 50%; top: 56%; translate: -50% -50%; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 12px 18px 13px; border-radius: 18px; white-space: nowrap; background: #ffffff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 22, 38, 0.05), 0 14px 34px -14px rgba(16, 22, 38, 0.25); will-change: transform, opacity; }
.zc b { font: 700 21px/1.2 var(--font-head); letter-spacing: -0.01em; }
.zc i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--good); }
.zc-from { font: 500 13px/1.2 "Google Sans Code", var(--mono); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(220, 70, 60, 0.7); }
.zc-undo b { font-family: "Google Sans Code", var(--mono); font-weight: 500; }
.zc-undo .zc-from { text-decoration-color: rgba(16, 22, 38, 0.35); }
.zc-undo i, .zc-key i { color: var(--accent); }
.zc-key { align-items: center; }
.zc-key kbd { display: grid; place-items: center; width: 52px; height: 40px; border-radius: 10px; font: 600 20px/1 var(--font-head); color: var(--ink);
  background: linear-gradient(#ffffff, #eef1f7); box-shadow: inset 0 -2px 0 rgba(16, 22, 38, 0.12), 0 0 0 1px rgba(16, 22, 38, 0.1); }
.zc.on { box-shadow: 0 0 0 1.5px rgba(79, 108, 176, 0.55), 0 20px 44px -16px rgba(40, 70, 160, 0.4); }
.zf-steps { list-style: none; margin: 0 auto; padding: 0; width: min(620px, calc(100% - 32px)); }
.zf-steps h3 { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(20px, 1.8vw, 24px); }
.zf-steps h3 svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.zf-steps p { margin: 6px 0 0; font-size: 16px; color: var(--muted); }
.zf.is-pinned .zf-steps { height: 92px; margin-bottom: calc(64px + 2vh); text-align: center; }
.zf.is-pinned .zf-steps li { position: absolute; inset: 0; opacity: 0; translate: 0 14px; transition: opacity .45s ease, translate .45s ease; }
.zf.is-pinned .zf-steps li.is-on { opacity: 1; translate: 0 0; }
.zf:not(.is-pinned) .zf-steps { display: grid; gap: 12px; margin-top: 8px; }
.zf:not(.is-pinned) .zf-steps li { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); }
.zf:not(.is-pinned) .zf-steps p { font-size: 15px; }
.zf.is-pinned .zf-foot { position: absolute; display: flex; }
@media (max-width: 640px) {
  .zf-pin { padding: 72px 0 56px; }
  .zc { padding: 9px 12px 10px; border-radius: 14px; }
  .zc b { font-size: 16px; } .zc-from { font-size: 11px; } .zc i { font-size: 11px; }
  .zc-key kbd { width: 40px; height: 32px; font-size: 16px; }
}
.zf-head .nw, .section-head .nw { white-space: nowrap; }
/* captions slide sideways continuously (no steps) */
.zf.is-pinned .zf-feats { width: 100%; height: 92px; }
.zf.is-pinned .zf-feats li { position: absolute; left: 0; right: 0; margin: 0 auto; width: min(560px, 90vw); opacity: 1; translate: none; transition: none; will-change: transform, opacity; }
.zc b { font-size: 22px; }
.zc i { color: var(--muted); font-weight: 500; }
.zc i em { font-style: normal; font-weight: 600; color: var(--good); margin-left: 6px; }

/* accuracy: make the proof stand out */
.acc-merged { padding-bottom: clamp(80px, 9vw, 130px); }
.acc-head { max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); }
.acc-head h2 { margin: 12px 0 0; font-size: clamp(36px, 5.2vw, 72px); line-height: 1.1; letter-spacing: -0.02em; }
.acc-big { background: linear-gradient(100deg, #2f4fd6 0%, #5b7cff 55%, #2a3f9e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.acc-head p { margin: 18px auto 0; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.zf-acc .stats { gap: 20px; margin-bottom: 20px; }
.zf-acc .stat { position: relative; overflow: hidden; border: 0; border-radius: 28px; padding: 34px 32px 30px; color: #ffffff;
  background: radial-gradient(120% 90% at 0% 0%, #2a3f9e 0%, #141d4a 48%, #0b1128 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 60px -30px rgba(20, 35, 110, 0.55); }
.zf-acc .stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 140, 255, 0.35), transparent); pointer-events: none; }
.zf-acc .stat .num { font-size: clamp(46px, 5.4vw, 76px); color: #ffffff; }
.zf-acc .stat .num small { color: rgba(255, 255, 255, 0.55); }
.zf-acc .stat p { color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }
.zf-acc .chart-card { border: 0; border-radius: 28px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 30px 70px -40px rgba(16, 22, 38, 0.35); }
.zf-acc .chart-head h3 { font-size: clamp(20px, 2vw, 26px); }
.zf-acc .bars { gap: 16px; }
.zf-acc .bar-row .track { height: 14px; background: #eef1f7; }
.zf-acc .bars.accuracy .fill { background: linear-gradient(90deg, #141d4a, #2f4fd6 70%, #5b7cff); }
.zf-acc .bar-row .val { font-size: 16px; font-weight: 700; }
@media (max-width: 640px) { .zf-acc .stat { padding: 26px 24px 24px; border-radius: 22px; } }
/* softer card gradient — the first one was too contrasty */
.zf-acc .stat { background: linear-gradient(155deg, #26376e 0%, #1f2d5c 55%, #1b2851 100%); }
.zf-acc .stat::after { background: radial-gradient(closest-side, rgba(140, 165, 255, 0.14), transparent); }

/* features + accuracy as one section, no pin */
.zf { overflow: hidden; }
.zf-pin { position: static; overflow: visible; padding: clamp(96px, 10vw, 140px) 0 clamp(90px, 10vw, 140px); }
.zf-haze { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.zf-haze canvas { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; }
.zf-head, .zf-stage, .zf-feats, .zf-acc { position: relative; z-index: 1; }
.zf-stage { height: clamp(420px, 46vw, 600px); }
.zf-feats { list-style: none; margin: 8px auto 0; padding: 0 24px; max-width: 1240px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; text-align: center; }
.zf-feats li { position: static; opacity: 1; transform: none; }
.zf-feats h3 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.zf-feats h3 svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.zf-feats p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.zf-acc { margin-top: clamp(110px, 12vw, 180px); }
@media (max-width: 1000px) { .zf-feats { grid-template-columns: repeat(2, 1fr); text-align: left; } }
@media (max-width: 640px) {
  .zf-pin { padding: 72px 0 72px; }
  .zf-feats { grid-template-columns: 1fr; gap: 12px; padding: 0 16px; }
  .zf-feats li { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); }
}
@media (max-width: 640px) {
  .zf-stage { height: 400px; }
  .zf-zero { font-size: 150px; }
  .zf-label { font-size: 13px; }
  .zc { padding: 7px 10px 8px; border-radius: 12px; }
  .zc b { font-size: 14px; } .zc i { font-size: 10px; } .zc i em { margin-left: 4px; }
}

/* big type: friendly and light instead of the dark "hacker" look; the mark is an app icon */
.bigtype { background: radial-gradient(60% 70% at 50% 45%, #dfe7ff 0%, rgba(223, 231, 255, 0) 70%), linear-gradient(180deg, #f3f6fd 0%, #eaeffb 100%); color: var(--ink); }
.bt-right .bt-item { color: var(--ink); }
.bt-wrong .bt-item { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; -webkit-text-stroke: 0; color: rgba(236, 120, 104, 0.42); }
.bt-sub-track { color: rgba(16, 22, 38, 0.38); }
.bt-sub-track i { background: #8aa2ff; border-radius: 50%; rotate: 0deg; width: 10px; height: 10px; }
.bt-gate { width: clamp(132px, 13vw, 200px); height: clamp(132px, 13vw, 200px); border-radius: 23%;
  background: linear-gradient(160deg, #6f8cff 0%, #4a68f0 45%, #3150d4 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 24px 50px -16px rgba(49, 80, 212, 0.55), 0 8px 18px -8px rgba(16, 22, 38, 0.25); }
.bt-gate .mark { font-size: clamp(64px, 6.6vw, 104px); }
.bt-gate::before, .bt-gate::after { display: none; }
/* back to the dark tone — this part sits in the dimmed run of the page; keep the app icon and the softer type */
.bigtype { background: #070a12; color: #ffffff; }
.bt-right .bt-item { color: #ffffff; }
.bt-sub-track { color: rgba(255, 255, 255, 0.42); }
.bt-gate { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset, 0 2px 0 rgba(255, 255, 255, 0.35) inset, 0 0 70px 6px rgba(70, 100, 230, 0.35), 0 24px 50px -16px rgba(0, 0, 0, 0.6); }
/* icon: white tile (white → light grey), black mark; wrong words a clearer red */
.bt-gate { background: linear-gradient(180deg, #ffffff 0%, #eef0f4 55%, #cfd4dd 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 -3px 6px rgba(16, 22, 38, 0.12) inset,
    0 0 60px 4px rgba(255, 255, 255, 0.12), 0 24px 50px -16px rgba(0, 0, 0, 0.65); }
.bt-gate .mark { color: #0b0f1a; }

/* ---------- compare: sober and professional ----------
   One white card, hairline rows, Yamok's column only lightly tinted, plain line icons. */
.compare { background: #ffffff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(16, 22, 38, 0.04), 0 12px 32px -20px rgba(16, 22, 38, 0.18); overflow: hidden; }
.compare .table-scroll { padding: 0; }
.compare th, .compare td { padding: 18px 20px; font-size: 15px; border-bottom: 1px solid #edf0f5; }
.compare thead th { background: #fafbfd; color: var(--muted); font-size: 13.5px; font-weight: 600; padding-top: 20px; padding-bottom: 20px; }
.compare td:first-child { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.compare td:first-child small { font-weight: 400; }
.compare th.us, .compare td.us { background: rgba(79, 108, 176, 0.06); color: var(--ink); width: 180px; border-bottom-color: #e3e8f2; box-shadow: none; }
.compare thead th.us { border-radius: 0; padding-top: 20px; font-size: 15px; font-weight: 700; color: var(--ink); background: rgba(79, 108, 176, 0.1); box-shadow: none; }
.compare thead th.us .mark { color: var(--accent); font-size: 17px; }
.compare tbody tr:last-child td.us { border-radius: 0; padding-bottom: 18px; }
.compare tbody td.us small { color: var(--muted); }
.compare tbody tr:hover td:not(.us) { background: transparent; }
.compare td .y, .compare td .n, .compare td .m { width: 22px; height: 22px; border-radius: 0; background: none !important; box-shadow: none !important; vertical-align: middle; }
.compare td .y svg, .compare td .n svg, .compare td .m svg { width: 20px; height: 20px; }
.compare td .y { color: var(--ink); }
.compare td.us .y { width: 22px; height: 22px; color: var(--accent); }
.compare td.us .y svg { width: 22px; height: 22px; }
.compare td.us .y path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
.compare td .n { color: #b4bccb; }
.compare td .m { color: #cdd3de; }
.compare td .m.part { width: auto; height: auto; color: var(--muted); font-size: 13px; font-weight: 500; }
/* fewer colours: a faded blue for the wrong words, neutral dots */
.bt-wrong .bt-item { color: rgba(122, 150, 230, 0.5); }
.bt-sub-track i { background: rgba(255, 255, 255, 0.22); }

/* race: one focus — the two times. Everything else neutral; red only for the old time and the mistyped word */
.lane-top .tag-bad { color: var(--ink); text-shadow: none; }
.lane-new .lane-top .tag-brand { text-shadow: none; }
.tag-brand .mark { filter: none; }
.lane-old .lane-head h3 { color: var(--muted); }
.race.live .lane-step.on { color: var(--ink); }
.lane-cost, .race.live .lane-cost.on { color: inherit; font-weight: 600; font-size: 1em; text-shadow: none; transform: none; }
.lane-new .clock b { color: #ffffff; }
.bubble.out, .lane-new .bubble.out { background: #2b3242; color: #ffffff; }
.lane-new .bubble.out { background: rgba(255, 255, 255, 0.2); }
.chat-av { background: #d5dae4; }
.lane-new .chat-av { background: rgba(255, 255, 255, 0.16); }
.chat-send { background: var(--ink); }
.lane-new .chat-send { background: #ffffff; color: var(--ink); }
.ls-word.fixed { background: rgba(255, 255, 255, 0.14); }
.lane-new .ls-word.wrong { color: #ff8a7f; }
.ls-fixed-word { background: rgba(255, 255, 255, 0.14); }

/* ---------- privacy: a plain picture — words stay on your computer, the line to the internet is cut ---------- */
.pv-art { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
.pv-art::before { content: ""; position: absolute; left: 50%; top: 62%; width: 520px; height: 360px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 140, 200, 0.16), transparent); pointer-events: none; }
.pv-cloud { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.38); font-size: 13px; }
.pv-cloud svg { width: 52px; height: 52px; }
.pv-link { position: relative; display: flex; flex-direction: column; align-items: center; height: 92px; margin: 6px 0 10px; }
.pv-link i { flex: 1; width: 0; border-left: 2px dashed rgba(255, 255, 255, 0.16); }
.pv-link b { display: grid; place-items: center; width: 26px; height: 26px; margin: 4px 0; border-radius: 50%; font-size: 13px; color: rgba(255, 255, 255, 0.6); background: #1a2030; }
.pv-laptop { position: relative; width: min(380px, 100%); }
.pv-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 14px 14px 4px 4px; padding: 10px; border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #141a28, #0f1420); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.pv-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 23%;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f4 55%, #cfd4dd 100%); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7); }
.pv-icon .mark { font-size: 34px; color: #0b0f1a; }
.pv-line { margin: 0; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.pv-line em { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #ffffff; animation: caretBlink 1.1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.pv-base { height: 12px; margin: 0 -8%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)); }
.pv-caption { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.pv-caption svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .pv-art { margin-top: 8px; } .pv-laptop { width: min(320px, 100%); } }
@media (prefers-reduced-motion: reduce) { .pv-line em { animation: none; } }
/* privacy checks: a plain white line tick, no green disc */
#privacy .checks li::before { width: 20px; height: 20px; margin-top: 3px; border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: 0.9; }
#privacy .proof-slim { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1); }
.pv-art::before { width: min(520px, 100%); }

/* ---------- privacy picture v2: a real-looking laptop inside a quiet protective ring; letters float up inside it and fade
   before the edge; the cloud sits outside, struck out. The screen shows the fix happening right there. */
.pv-art { position: relative; display: grid; place-items: center; padding: 30px 0 0; isolation: isolate; }
.pv-art::before { display: none; }
.pv-dome { position: absolute; left: 50%; top: 46%; width: min(500px, 96%); aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 170, 230, 0.13), rgba(150, 170, 230, 0.04) 62%, transparent 72%); overflow: hidden; }
.pv-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); }
.pv-ring-2 { inset: 9%; border: 1px dashed rgba(255, 255, 255, 0.1); animation: pvSpin 60s linear infinite; }
@keyframes pvSpin { to { rotate: 360deg; } }
.pv-float { position: absolute; left: var(--x); bottom: 26%; font: 600 18px/1 var(--font-head); color: rgba(255, 255, 255, 0.55); opacity: 0;
  animation: pvFloat 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes pvFloat { 0% { opacity: 0; translate: 0 0; } 20% { opacity: 0.7; } 70% { opacity: 0.25; } 100% { opacity: 0; translate: 0 -150px; } }
.pv-out { position: absolute; right: 2%; top: 4%; display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.34); font-size: 12px; }
.pv-out svg { width: 40px; height: 40px; }
.pv-laptop { position: relative; width: min(400px, 100%); margin-top: 40px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }
.pv-lid { padding: 10px 10px 14px; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, #2a303e, #1c212c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 1px 0 rgba(255, 255, 255, 0.22) inset; }
.pv-display { aspect-ratio: 16 / 10; border-radius: 8px; padding: 9% 10%; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #2b3550 0%, #151b2a 60%, #0f1320 100%); overflow: hidden; }
.pv-win { width: 100%; padding: 14px 16px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); color: var(--ink);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.6); display: grid; gap: 9px; }
.pv-win-bar { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.pv-win-bar b { font-weight: 600; }
.pv-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 23%; background: #0b0f1a; }
.pv-icon .mark { font-size: 12px; color: #ffffff; }
.pv-lines { display: grid; gap: 6px; }
.pv-lines i { display: block; height: 6px; border-radius: 4px; background: #e7eaf1; }
.pv-fix { position: relative; margin: 0; height: 26px; font: 600 19px/26px var(--font-head); }
.pv-fix span { position: absolute; left: 0; top: 0; }
.pv-wrong { font-family: "Google Sans Code", var(--mono); font-weight: 500; font-size: 17px; color: #c2564b; animation: pvWrong 4.8s infinite; }
.pv-right { color: var(--ink); opacity: 0; animation: pvRight 4.8s infinite; }
.pv-right::after { content: ""; position: absolute; inset: -1px -4px; border-radius: 6px; background: rgba(16, 22, 38, 0.08); z-index: -1; }
@keyframes pvWrong { 0%, 46% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes pvRight { 0%, 48% { opacity: 0; translate: 0 4px; } 56%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.pv-fix em { position: absolute; left: 76px; top: 4px; width: 2px; height: 18px; background: var(--ink); animation: caretBlink 1.1s steps(1) infinite; }
.pv-deck { position: relative; height: 13px; margin: 0 -9%; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #4a5160 0%, #343a47 45%, #20242d 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset; }
.pv-deck i { position: absolute; left: 50%; top: 0; width: 18%; height: 5px; translate: -50% 0; border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, 0.28); }
.pv-caption { margin-top: 34px; }
@media (max-width: 640px) { .pv-out { right: 0; top: 0; } .pv-win { padding: 10px 12px 12px; gap: 7px; } .pv-fix { font-size: 16px; } .pv-wrong { font-size: 14px; } .pv-fix em { left: 62px; } }
@media (prefers-reduced-motion: reduce) { .pv-ring-2, .pv-float, .pv-wrong, .pv-fix em { animation: none; } .pv-right { animation: none; opacity: 1; } .pv-wrong { opacity: 0; } }
.pv-fix em { position: relative; left: auto; top: auto; display: inline-block; margin-left: 3px; vertical-align: -3px; }
@media (max-width: 640px) { .pv-fix em { left: auto; } }
.pv-art { padding-top: 64px; }
.pv-out { top: 0; right: 6%; flex-direction: row; gap: 8px; }
.pv-out svg { width: 30px; height: 30px; }
@media (max-width: 640px) { .pv-laptop { width: 84%; } }

/* ---------- privacy picture v3: just the app on the laptop; what you type rises and stops at a locked line before the cloud ---------- */
.pv-art { padding-top: 0; }
.pv-cloud { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.42); font-size: 13.5px; font-weight: 600; }
.pv-cloud svg { width: 76px; height: 57px; }
.pv-path { position: relative; width: 220px; height: 150px; margin: 6px 0 8px; }
.pv-pkt { position: absolute; left: 50%; bottom: 0; width: 16px; height: 12px; margin-left: -8px; border-radius: 3px; opacity: 0;
  background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 12px rgba(255, 255, 255, 0.35); animation: pvPkt 2.4s cubic-bezier(.3, .6, .4, 1) infinite; animation-delay: var(--d); }
.pv-pkt::before, .pv-pkt::after { content: ""; position: absolute; left: 3px; right: 3px; height: 1.5px; border-radius: 1px; background: rgba(16, 22, 38, 0.35); }
.pv-pkt::before { top: 3px; } .pv-pkt::after { top: 7px; right: 6px; }
@keyframes pvPkt { 0% { opacity: 0; translate: 0 0; scale: 1; } 12% { opacity: 0.9; } 68% { opacity: 0.9; translate: 0 -96px; scale: 1; } 78% { opacity: 0; translate: 0 -100px; scale: 0.3; } 100% { opacity: 0; translate: 0 -100px; } }
.pv-wall { position: absolute; left: 0; right: 0; top: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 25%, rgba(255, 255, 255, 0.35) 75%, transparent); }
.pv-lock { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #121722; color: #ffffff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.pv-lock svg { width: 16px; height: 16px; }
.pv-ripple { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5);
  animation: pvRipple .8s ease-out infinite; animation-delay: .08s; }
@keyframes pvRipple { 0% { scale: 1; opacity: 0.7; } 100% { scale: 2.4; opacity: 0; } }
.pv-laptop { margin-top: 0; }
.pv-display { padding: 0; }
.pv-app { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 23%;
  background: linear-gradient(180deg, #ffffff 0%, #eef0f4 55%, #cfd4dd 100%); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.75); }
.pv-app .mark { font-size: 46px; color: #0b0f1a; }
.pv-dome, .pv-out, .pv-win { display: none; }
@media (prefers-reduced-motion: reduce) { .pv-pkt, .pv-ripple { animation: none; } .pv-pkt:first-child { opacity: 0.9; translate: 0 -70px; } }

/* privacy motion v4: letters you type float up from the laptop, hit a chain held by a padlock, bounce and fade — the lock jolts with each hit */
.pv-path { width: 300px; height: 190px; margin: 4px 0 -6px; }
.pv-pkt, .pv-wall { display: none; }
.pv-barrier { position: absolute; left: 0; right: 0; top: 28px; display: grid; place-items: center; }
.pv-chain { width: 100%; height: 24px; color: rgba(255, 255, 255, 0.42); animation: pvShake 3.2s linear infinite; }
.pv-lock { position: absolute; left: 50%; top: 50%; translate: -50% -38%; width: 46px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #f4f5f8, #c9ced8); color: #0b0f1a; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform-origin: 50% 0; animation: pvJolt .4s ease-out infinite; }
.pv-lock svg { width: 24px; height: 24px; }
@keyframes pvJolt { 0% { rotate: 0deg; } 18% { rotate: -5deg; translate: -50% -34%; } 45% { rotate: 3deg; } 75% { rotate: -1deg; } 100% { rotate: 0deg; translate: -50% -38%; } }
@keyframes pvShake { 0%, 100% { translate: 0 0; } 50% { translate: 0 1px; } }
.pv-ch { position: absolute; left: 50%; bottom: 0; margin-left: var(--x); translate: -50% 0; font: 700 22px/1 var(--font-head); color: #ffffff; opacity: 0;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35); animation: pvRise 3.2s cubic-bezier(.35, .55, .45, 1) infinite; animation-delay: var(--d); }
@keyframes pvRise {
  0% { opacity: 0; transform: translateY(0) scale(.9); }
  12% { opacity: 0.95; }
  58% { opacity: 0.95; transform: translateY(-132px) scale(1); }
  64% { transform: translateY(-120px) scale(.92) rotate(-8deg); }
  72% { opacity: 0.6; transform: translateY(-112px) scale(.9) rotate(6deg); }
  86%, 100% { opacity: 0; transform: translateY(-96px) scale(.8); }
}
@media (prefers-reduced-motion: reduce) { .pv-ch, .pv-lock, .pv-chain { animation: none; } .pv-ch:nth-child(-n+3) { opacity: .8; transform: translateY(-110px); } }
.pv-cloud svg { width: 84px; height: 84px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5)); }
.pv-cloud { gap: 4px; color: rgba(255, 255, 255, 0.5); }

/* privacy motion v5:
   letters rise from the laptop and dissolve into a thin line of light; each hit leaves a soft flash on the line. */
.pv-barrier, .pv-chain { display: none; }
.pv-shield { position: absolute; left: -20px; right: -20px; top: 30px; height: 60px; pointer-events: none; }
.pv-shield::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 60px;
  background: linear-gradient(0deg, rgba(150, 170, 255, 0.10), transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.pv-beam { position: absolute; left: 0; right: 0; top: 29px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75) 30%, rgba(255, 255, 255, 0.75) 70%, transparent);
  box-shadow: 0 0 14px 1px rgba(150, 170, 255, 0.45); }
.pv-tag { position: absolute; left: 50%; top: 30px; translate: -50% -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #0f1420; color: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 18px rgba(150, 170, 255, 0.35); }
.pv-tag svg { width: 13px; height: 13px; }
.pv-ch { font-weight: 600; font-size: 20px; color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 12px rgba(255, 255, 255, 0.25); animation-name: pvRise2; }
@keyframes pvRise2 {
  0% { opacity: 0; transform: translateY(0); filter: blur(0); }
  12% { opacity: 0.9; }
  56% { opacity: 0.9; transform: translateY(-122px); filter: blur(0); }
  70% { opacity: 0; transform: translateY(-130px) scale(1.25); filter: blur(6px); }
  100% { opacity: 0; transform: translateY(-130px); }
}
.pv-hit { position: absolute; left: 50%; top: 59px; width: 64px; height: 14px; margin-left: calc(var(--x) - 32px); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(200, 212, 255, 0.85), rgba(150, 170, 255, 0.25) 55%, transparent); animation: pvHit 3.2s linear infinite; animation-delay: var(--d); }
@keyframes pvHit { 0%, 54% { opacity: 0; scale: .4 1; } 60% { opacity: 1; scale: 1 1; } 76%, 100% { opacity: 0; scale: 1.5 1; } }
@media (prefers-reduced-motion: reduce) { .pv-hit { animation: none; } }

/* ============ pricing: a night stage ============
   The same night, cobalt light and keys as the rest of the page. Soft light drifts behind everything (scenes.js
   "pricingSky"). Each block has its own form: the launch offer is a countdown on backlit keys, Yamok is a graphite card,
   Pro is the one bright object in the room, the roadmap and the trial sit straight on the light with no box. */
#pricing { background: #070a12; overflow: clip; padding-bottom: 96px; }
#pricing > .wrap { position: relative; z-index: 1; }
#pricing .section-head { margin-bottom: 56px; }
#pricing .section-head p { color: rgba(255, 255, 255, 0.68); }

.pr-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(46% 18% at 16% 16%, rgba(90, 130, 230, 0.3), transparent 70%), radial-gradient(44% 16% at 84% 12%, rgba(122, 162, 255, 0.22), transparent 70%),
    radial-gradient(46% 18% at 12% 64%, rgba(90, 130, 230, 0.2), transparent 70%), radial-gradient(48% 18% at 88% 62%, rgba(122, 162, 255, 0.24), transparent 70%); }
.pr-sky.is-live { background: none; }
.pr-sky canvas { width: 100%; height: 100%; }

/* launch offer: the time left, shown on four backlit keys; the seconds key is pressed as each second goes by */
#pricing .launch { position: relative; isolation: isolate; max-width: 1040px; margin: 0 auto 24px; }
#pricing .launch::before { content: ""; position: absolute; inset: 22% 8% -10%; z-index: -1; border-radius: 40px; background: rgba(90, 130, 230, 0.55); filter: blur(70px); opacity: 0.55; }
.launch-body { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 44px 40px; border-radius: 30px; color: #ffffff; border: 1px solid transparent;
  background: radial-gradient(80% 130% at 78% 118%, rgba(90, 130, 230, 0.5), transparent 62%) padding-box, linear-gradient(170deg, #111a33, #0b1120) padding-box,
    linear-gradient(125deg, rgba(178, 190, 220, 0.75), rgba(122, 162, 255, 0.12) 42%, rgba(178, 190, 220, 0.4)) border-box; }
.launch-body::after { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(226, 233, 250, 0.9), transparent); }
.launch-kicker { margin: 0; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: #b2bedc; }
#pricing .launch h3 { margin: 10px 0 8px; padding-top: 0.08em; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.2; letter-spacing: -0.02em; color: transparent;
  background: linear-gradient(180deg, #f6f8fd 22%, #b4c0da 78%, #8c9bbd 100%); -webkit-background-clip: text; background-clip: text; }
.launch-lead { margin: 0; font-size: 16.5px; color: rgba(255, 255, 255, 0.72); }
.launch-deals { list-style: none; margin: 24px 0 0; padding: 0; }
.launch-deals li { display: grid; grid-template-columns: 1fr auto 62px; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; color: rgba(255, 255, 255, 0.78); }
.launch-deals b { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #ffffff; font-variant-numeric: tabular-nums; }
.launch-deals s { font-size: 14px; text-align: right; color: rgba(255, 255, 255, 0.55); }
/* the countdown is the card's background: large, quiet numbers behind the right half, the seconds a touch brighter */
.launch-main { position: relative; z-index: 1; }
.launch-days { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 60%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-end; padding: 136px 44px 0; pointer-events: none; }
.cd { position: relative; isolation: isolate; display: flex; gap: 0.2em; font-size: clamp(60px, 8vw, 104px); }
/* a soft light drifts slowly back and forth behind the numbers, as it did behind the old keys */
.cd::before { content: ""; position: absolute; z-index: -1; top: -55%; bottom: -35%; left: -25%; width: 55%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122, 162, 255, 0.45), transparent); animation: cdLight 9s ease-in-out infinite alternate; }
@keyframes cdLight { to { transform: translateX(150%); } }
@media (prefers-reduced-motion: reduce) { .cd::before { animation: none; transform: translateX(110%); } }
.cd-key { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-key b { font: 700 1em/0.9 var(--font-head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: transparent;
  background: linear-gradient(180deg, rgba(236, 241, 253, 0.82), rgba(178, 196, 245, 0.34) 95%); -webkit-background-clip: text; background-clip: text; }
.cd-sec b { background-image: linear-gradient(180deg, rgba(250, 252, 255, 1), rgba(170, 192, 255, 0.55) 95%); }
.cd-sec { filter: drop-shadow(0 0 22px rgba(150, 170, 255, 0.55)); }
.cd-sec span { color: rgba(236, 241, 255, 0.9); }
.cd-key span { font-size: 12.5px; line-height: 1; letter-spacing: 0.04em; color: rgba(226, 233, 250, 0.72); }
.launch-when { position: relative; margin: 20px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.5); text-align: right; text-wrap: balance; }

/* plans: two different objects, not two copies of one box */
#pricing .plans { max-width: 1040px; grid-template-columns: 1fr 1.14fr; gap: 20px; align-items: stretch; }
#pricing .plan { padding: 12px 12px 28px; border-radius: 34px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 18, 34, 0.62); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); color: #ffffff; }
#pricing .plan.pop { transform: none; border: 1px solid transparent;
  background: linear-gradient(170deg, #121b35, #0b1120) padding-box, linear-gradient(130deg, rgba(226, 233, 250, 0.9), rgba(122, 162, 255, 0.35) 55%, rgba(178, 190, 220, 0.7)) border-box;
  box-shadow: 0 40px 100px -36px rgba(90, 130, 230, 0.75), 0 0 80px -26px rgba(122, 162, 255, 0.7); }
#pricing .tilt .price, #pricing .tilt h3 { transform: none; }

.pass { position: relative; overflow: hidden; min-height: 232px; padding: 26px 28px 22px; border-radius: 22px; display: flex; flex-direction: column; color: #ffffff;
  background: radial-gradient(70% 110% at var(--gx, 25%) var(--gy, 0%), rgba(178, 190, 220, 0.2), transparent 70%), linear-gradient(150deg, #1d2740, #111828);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.plan.pop .pass { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 44px -10px rgba(150, 170, 255, 0.7);
  background: radial-gradient(60% 100% at var(--gx, 78%) var(--gy, 0%), #ffffff, transparent 72%), linear-gradient(160deg, #f6f8fd, #d5dcec); }
.pass-mark { position: absolute; right: -14px; bottom: -34px; font-size: 190px; opacity: 0.07; pointer-events: none; }
.plan.pop .pass-mark { opacity: 0.08; }
#pricing .plan h3 { font-size: 21px; letter-spacing: -0.01em; }
#pricing .plan .ribbon { top: 24px; right: 24px; left: auto; transform: none; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--ink); color: #ffffff; }
#pricing .plan .price { align-items: baseline; gap: 4px; margin-top: auto; padding-top: 18px; font-variant-numeric: tabular-nums; }
#pricing .plan .price .amt { font-size: 72px; letter-spacing: -0.04em; }
#pricing .plan.pop .price .amt { font-size: clamp(84px, 8.4vw, 112px); letter-spacing: -0.05em; }
#pricing .plan .price .cur { font-size: 24px; align-self: flex-start; margin-top: 8px; opacity: 0.7; }
#pricing .plan.pop .price .cur { font-size: 32px; margin-top: 14px; opacity: 0.7; }
#pricing .plan .price .was { margin-left: 10px; font-size: 18px; font-weight: 500; color: inherit; opacity: 0.78; text-decoration-thickness: 1.5px; align-self: center; }
#pricing .plan .alt { margin: 6px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
#pricing .plan.pop .alt { color: rgba(16, 22, 38, 0.72); }
#pricing .plan .for { min-height: 0; margin: 22px 18px 0; font-size: 15.5px; color: rgba(255, 255, 255, 0.72); }
#pricing .plan ul { margin: 18px 18px 28px; padding: 0; align-content: start; gap: 12px; font-size: 15.5px; color: rgba(255, 255, 255, 0.92); }
#pricing .plan li { align-items: flex-start; text-wrap: pretty; }
#pricing .plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: #b2bedc;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
#pricing .plan.pop li::before { background: #e8ebf3; }
#pricing .plan li.hl { color: #ffffff; font-weight: 600; }
#pricing .plan .btn { width: auto; height: 54px; margin: 0 18px; border-radius: 16px; font-size: 16px; background: rgba(255, 255, 255, 0.1); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
#pricing .plan .btn:hover { background: rgba(255, 255, 255, 0.16); }
#pricing .plan.pop .btn { background: #ffffff; color: var(--ink); box-shadow: 0 12px 34px -12px rgba(150, 170, 255, 0.75); }
#pricing .plan.pop .btn:hover { background: #f1f2f8; }

/* roadmap: no box, three lines of light */
#pricing .road { max-width: 1040px; margin: 72px auto 0; }
#pricing .road h3 { margin: 0 0 22px; font-size: clamp(22px, 2.4vw, 28px); }
.road-list { list-style: none; counter-reset: rd; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.road-list li { counter-increment: rd; position: relative; padding-top: 20px; }
.road-list li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #b2bedc, rgba(122, 162, 255, 0.15)); }
.road-list li::after { content: counter(rd, decimal-leading-zero); display: block; order: -1; position: absolute; right: 0; top: 20px; font: 600 12px/1.6 var(--mono); color: rgba(255, 255, 255, 0.5); }
.road-list b { display: block; padding-right: 30px; margin-bottom: 6px; font-size: 16.5px; line-height: 1.45; }
.road-list li > span { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); text-wrap: pretty; }
.road-note { margin: 26px 0 0; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.68); }

/* free trial: a plain row on the light */
#pricing .trial { max-width: 1040px; margin: 44px auto 0; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
#pricing .trial h3 { margin: 0 0 6px; font-size: 22px; }
#pricing .trial p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }
#pricing .trial .dl-row { grid-template-columns: auto auto; margin: 0; }
#pricing .trial .btn { height: 50px; padding: 0 20px; white-space: nowrap; }

#pricing .price-foot { list-style: none; padding: 0; margin: 24px 0 0; gap: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
#pricing .price-foot li { display: inline-flex; align-items: center; }
#pricing .price-foot li + li::before { content: ""; width: 3px; height: 3px; margin: 0 14px; border-radius: 50%; background: currentColor; opacity: .6; }

@media (max-width: 860px) {
  #pricing .launch, #pricing .plans, #pricing .road, #pricing .trial { max-width: 520px; }
  #pricing .plans { grid-template-columns: 1fr; }
  #pricing .plan.pop { order: -1; }
  .launch-body { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px 26px; }
  .launch-days { position: relative; width: auto; min-width: 0; padding: 0; align-items: flex-end; margin-top: -4px; }
  .cd { font-size: clamp(44px, 14vw, 72px); }
  .cd-key span { font-size: 11.5px; }
  .launch-when { text-align: right; }
  .road-list { grid-template-columns: 1fr; gap: 22px; }
  #pricing .trial { grid-template-columns: 1fr; gap: 18px; }
  #pricing .trial .dl-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pass { padding: 22px 22px 20px; }
  #pricing .price-foot { flex-direction: column; align-items: center; gap: 6px; }
  #pricing .price-foot li + li::before { display: none; }
}

/* film: a screen under the hero that grows to fill the view (scale is set from the scroll) */
.film { position: relative; background: linear-gradient(180deg, var(--night), #070a12); color: #ffffff; }
.film-pin { position: relative; display: grid; place-items: center; padding: 72px 16px; overflow: hidden; }
.film-frame { --feather: 0; --dim: 0; position: relative; width: min(100%, 1280px, calc((100svh - 160px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #070a12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, calc(0.08 * (1 - var(--feather)))), 0 40px 140px -40px rgba(79, 108, 176, calc(0.6 * (1 - var(--feather)))); transform-origin: 50% 50%; }
/* at full size the edges melt into the dark around it; leaving, the film fades to the next section's colour */
.film-frame::before, .film-frame::after { content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; }
.film-frame::before { box-shadow: inset 0 0 calc(var(--feather) * 14vmin) calc(var(--feather) * 5vmin) #070a12; }
.film-frame::after { background: #070a12; opacity: var(--dim); }
.film-frame.tall { width: min(100%, calc((100svh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-sound { z-index: 1; opacity: calc(1 - var(--dim)); position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 13px; border-radius: 999px; transform-origin: 100% 100%;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(7, 10, 18, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #ffffff; font: 600 14px/1 var(--font-head); cursor: pointer; transition: background-color .2s, border-color .2s; }
.film-sound:hover { background: rgba(7, 10, 18, 0.78); }
.film-sound.on { background: var(--accent); border-color: var(--accent); }
.film-sound svg { width: 18px; height: 18px; }
.film-sound .w1, .film-sound .w2 { display: none; }
.film-sound.on .w1, .film-sound.on .w2 { display: inline; }
.film-sound.on .x { display: none; }
.film.is-live { height: 250vh; scroll-margin-top: -64vh; z-index: 2; background: none; }
.film.is-live .film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; background: linear-gradient(180deg, var(--night), #070a12); }
.film.is-live + .typescene { z-index: 1; }
.film.is-live .film-frame { will-change: transform; }
.film.no-motion .film-sound { display: none; }

/* compare: the race first, then the table, then what it costs you */
#compare .race { margin-bottom: clamp(36px, 4.5vw, 64px); }
/* the two lanes are one light card: the old way plain and grey, Yamok's half lit by a soft brand-blue light that spreads
   in from its side, so the two halves melt into each other with no edge */
.race { position: relative; gap: 0; border-radius: 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 100% 40%, rgba(79, 108, 176, 0.2), rgba(79, 108, 176, 0.07) 55%, transparent 80%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 30%, #f2f5fc 62%, #e8eefb 100%);
  box-shadow: 0 1px 2px rgba(16, 22, 38, 0.04), 0 30px 80px -40px rgba(16, 22, 38, 0.28); }
.race .lane, .race .lane-new { background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--ink); }
.race .lane-old { padding-right: clamp(40px, 5.5vw, 76px); }
.race .lane-new { padding-left: clamp(40px, 5.5vw, 76px); }
.race .lane-new .lane-top .tag-brand { color: var(--ink); }
.race .lane-new .lane-head h3 { color: var(--muted); }
.race .lane-new .clock { color: var(--muted); }
.race .lane-new .clock b { color: var(--accent); }
.race .lane-new .chat-av { background: linear-gradient(135deg, #c9d5f2, #8fa6dc); }
.race .lane-new .bubble { background: rgba(255, 255, 255, 0.85); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 22, 38, 0.05); }
.race .lane-new .bubble.out { background: var(--accent); color: #ffffff; box-shadow: none; }
.race .lane-new .chat .lane-screen { background: #ffffff; box-shadow: 0 0 0 1px rgba(79, 108, 176, 0.22), 0 10px 30px -14px rgba(79, 108, 176, 0.45); }
.race .lane-new .chat-send { background: var(--accent); color: #ffffff; }
.race .lane-new .ls-word.wrong { color: var(--bad); }
.race .lane-new .ls-key { color: var(--muted); border-color: var(--line); }
@media (max-width: 860px) {
  .race { background:
    radial-gradient(130% 70% at 50% 100%, rgba(79, 108, 176, 0.2), rgba(79, 108, 176, 0.07) 55%, transparent 80%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #f2f5fc 62%, #e8eefb 100%); }
  .race .lane-old { padding-right: 22px; padding-bottom: 34px; }
  .race .lane-new { padding-left: 22px; padding-top: 34px; }
}
#compare .cost { grid-template-columns: 1fr; margin-top: clamp(36px, 4.5vw, 64px); }
/* the yearly-time calculator: as wide as the table; set your number on the left, the answer lights up on the right
   in the same soft brand-blue light as Yamok's half of the race */
#compare .time-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; border-radius: 30px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 22, 38, 0.04), 0 30px 80px -40px rgba(16, 22, 38, 0.28); }
#compare .tc-input { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); }
#compare .tc-input h3 { font-size: clamp(22px, 2vw, 26px); margin: 0; }
#compare .tc-input .chart-note { margin: 8px 0 0; }
#compare .tc-label { margin-top: auto; padding-top: 40px; font-size: 16px; }
#compare .tc-label b { font-size: 18px; font-variant-numeric: tabular-nums; }
#compare .tc-result { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 48px);
  background: radial-gradient(80% 110% at 100% 30%, rgba(79, 108, 176, 0.2), rgba(79, 108, 176, 0.07) 55%, transparent 82%),
    linear-gradient(90deg, #ffffff 0%, #f3f6fc 35%, #e8eefb 100%); }
#compare .tc-num { margin: 0; color: var(--accent); font-size: clamp(72px, 8vw, 120px); }
#compare .tc-num small { color: var(--ink-2); }
#compare .tc-result .tc-note { max-width: 46ch; margin-top: 14px; color: var(--muted); }
#compare .tc-bridge { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; row-gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(79, 108, 176, 0.18); font-size: 17px; color: var(--ink); }
#compare .tc-bridge a { margin-left: 10px; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #ffffff;
  box-shadow: 0 10px 26px -12px rgba(79, 108, 176, 0.8); transition: background-color .2s, transform .2s; }
#compare .tc-bridge a:hover { background: #5f7dc4; text-decoration: none; transform: translateY(-1px); }
@media (max-width: 860px) {
  #compare .time-card { grid-template-columns: 1fr; }
  #compare .tc-label { padding-top: 28px; }
  #compare .tc-result { background: radial-gradient(130% 80% at 50% 100%, rgba(79, 108, 176, 0.2), rgba(79, 108, 176, 0.07) 55%, transparent 82%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fc 35%, #e8eefb 100%); }
  #compare .tc-bridge a { margin-left: 0; }
}

/* after the visitor's first fixed word in the demo: a quiet pill that points to the price, once */
.price-nudge { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 7px 7px 7px 18px; border-radius: 999px; color: #ffffff; font-size: 15px; line-height: 1.35;
  background: rgba(16, 22, 38, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px -16px rgba(16, 22, 38, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0; transform: translate(-50%, 18px); transition: opacity .4s ease, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.price-nudge.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.price-nudge[hidden] { display: none; }
.pn-text { min-width: 0; }
.pn-cta { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #ffffff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.pn-cta:hover { background: #5f7dc4; }
.pn-close { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, 0.6); cursor: pointer; }
.pn-close:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.pn-close svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .price-nudge { width: calc(100vw - 32px); border-radius: 22px; font-size: 14px; padding-left: 16px; gap: 8px; } .pn-text { flex: 1; } .pn-cta { padding: 0 14px; } }

/* the yearly-time calculator ends on the price */
.tc-bridge { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.tc-bridge .nw { white-space: nowrap; }
.tc-bridge a { font-weight: 700; color: var(--accent); white-space: nowrap; text-decoration: none; }
.tc-bridge a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the 0: words orbit it (app.js "zeroScene"); the caption sits under the ring */
.zf-center { display: block; }
.zf-zero { position: absolute; left: 50%; top: 56%; translate: -50% -50%; padding: 0 0.12em; line-height: 0.86; color: transparent;
  background: linear-gradient(180deg, var(--ink) 30%, #2d3d68 75%, #4f6cb0 115%); -webkit-background-clip: text; background-clip: text;
  text-shadow: none; }
.zf-label { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; font-size: 16px; color: var(--ink-2); }
.zc { background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(16, 22, 38, 0.04), 0 18px 40px -18px rgba(40, 60, 130, 0.35); will-change: transform, opacity; }
@media (max-width: 640px) { .zf-label { font-size: 13px; bottom: 0; } .zc:nth-child(n+9) { display: none; } }
