/* =========================================================
   Kotoro · landing (studios)
   Tokens → base → components → sections → responsive
   ========================================================= */

:root {
  --bg: #07080a;
  --bg-2: #0a0c0f;
  --surface: #0d0f13;
  --surface-2: #12151a;
  --surface-3: #171b21;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.18);
  --text: #eef0f3;
  --muted: #979da8;
  --dim: #737983;
  --acc: #c8ff3e;
  --acc-ink: #0e1300;
  --acc-soft: rgba(200, 255, 62, 0.1);
  --acc-line: rgba(200, 255, 62, 0.32);
  --vio: #a597ff;
  --steam: #66c0f4;

  --f-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --f-px: "Silkscreen", var(--f-mono);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --wrap: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- pixel cursors (mouse only) and the menu arrow ---------- */
/* px-cursors:start (generated by _lab/pixel-cursors.cjs, do not edit by hand) */
:root { --menu-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 3 5' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23c8ff3e'/%3E%3Crect x='0' y='1' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='0' y='2' width='3' height='1' fill='%23c8ff3e'/%3E%3Crect x='0' y='3' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23c8ff3e'/%3E%3C/svg%3E"); }
@media (pointer: fine) {
  :root { --cur-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='32' viewBox='0 0 11 16' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='1' width='2' height='1' fill='%230e1300'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23c8ff3e'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='3' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='4' width='3' height='1' fill='%23c8ff3e'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='5' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='5' width='4' height='1' fill='%23c8ff3e'/%3E%3Crect x='5' y='5' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='6' width='5' height='1' fill='%23c8ff3e'/%3E%3Crect x='6' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='7' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='7' width='6' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='7' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='8' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='8' width='7' height='1' fill='%23c8ff3e'/%3E%3Crect x='8' y='8' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='9' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='9' width='8' height='1' fill='%23c8ff3e'/%3E%3Crect x='9' y='9' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='10' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='10' width='5' height='1' fill='%23c8ff3e'/%3E%3Crect x='6' y='10' width='5' height='1' fill='%230e1300'/%3E%3Crect x='0' y='11' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='11' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='3' y='11' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='11' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='6' y='11' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='12' width='1' height='1' fill='%23c8ff3e'/%3E%3Crect x='2' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='12' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='13' width='2' height='1' fill='%230e1300'/%3E%3Crect x='4' y='13' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='13' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='13' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='14' width='1' height='1' fill='%230e1300'/%3E%3Crect x='6' y='14' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='8' y='14' width='1' height='1' fill='%230e1300'/%3E%3Crect x='6' y='15' width='2' height='1' fill='%230e1300'/%3E%3C/svg%3E") 0 0, auto; --cur-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32' viewBox='0 0 14 16' shape-rendering='crispEdges'%3E%3Crect x='5' y='0' width='2' height='1' fill='%230e1300'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='1' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='2' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='3' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='4' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='4' width='3' height='1' fill='%230e1300'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='5' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='5' width='1' height='1' fill='%230e1300'/%3E%3Crect x='8' y='5' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='10' y='5' width='3' height='1' fill='%230e1300'/%3E%3Crect x='1' y='6' width='2' height='1' fill='%230e1300'/%3E%3Crect x='4' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='6' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='7' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='8' y='6' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='10' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='11' y='6' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='13' y='6' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='7' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='7' width='2' height='1' fill='%23c8ff3e'/%3E%3Crect x='3' y='7' width='2' height='1' fill='%230e1300'/%3E%3Crect x='5' y='7' width='8' height='1' fill='%23c8ff3e'/%3E%3Crect x='13' y='7' width='1' height='1' fill='%230e1300'/%3E%3Crect x='0' y='8' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='8' width='3' height='1' fill='%23c8ff3e'/%3E%3Crect x='4' y='8' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='8' width='8' height='1' fill='%23c8ff3e'/%3E%3Crect x='13' y='8' width='1' height='1' fill='%230e1300'/%3E%3Crect x='1' y='9' width='1' height='1' fill='%230e1300'/%3E%3Crect x='2' y='9' width='11' height='1' fill='%23c8ff3e'/%3E%3Crect x='13' y='9' width='1' height='1' fill='%230e1300'/%3E%3Crect x='2' y='10' width='1' height='1' fill='%230e1300'/%3E%3Crect x='3' y='10' width='10' height='1' fill='%23c8ff3e'/%3E%3Crect x='13' y='10' width='1' height='1' fill='%230e1300'/%3E%3Crect x='2' y='11' width='1' height='1' fill='%230e1300'/%3E%3Crect x='3' y='11' width='9' height='1' fill='%23c8ff3e'/%3E%3Crect x='12' y='11' width='1' height='1' fill='%230e1300'/%3E%3Crect x='3' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='12' width='8' height='1' fill='%23c8ff3e'/%3E%3Crect x='12' y='12' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='13' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='13' width='6' height='1' fill='%23c8ff3e'/%3E%3Crect x='11' y='13' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='14' width='1' height='1' fill='%230e1300'/%3E%3Crect x='5' y='14' width='6' height='1' fill='%23c8ff3e'/%3E%3Crect x='11' y='14' width='1' height='1' fill='%230e1300'/%3E%3Crect x='4' y='15' width='8' height='1' fill='%230e1300'/%3E%3C/svg%3E") 11 1, pointer; }
  html { cursor: var(--cur-arrow); }
  a[href], button, summary, label, select, [role="button"] { cursor: var(--cur-hand); }
  input[type="email"], input[type="text"], input[type="url"], input[type="search"], textarea { cursor: text; }
}
/* px-cursors:end */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: var(--cur-hand, pointer); }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }
.px { font-family: var(--f-px); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
.acc { color: var(--acc); }
.vio { color: var(--vio); }
.steam { color: var(--steam); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--acc); color: var(--acc-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--f-display); font-optical-sizing: auto; margin: 0; color: var(--text); }
.h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
@media (min-width: 761px) { :root:lang(en) .h1__dim { white-space: nowrap; } }
.h1__dim {
  color: transparent;
  background: linear-gradient(180deg, #7b818b 0%, #4f555e 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.h1__acc {
  color: transparent;
  background: linear-gradient(180deg, #d4ff5c 0%, #b4ec24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(200, 255, 62, 0.22));
}
.h2 {
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 {
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; max-width: 640px; margin: 22px auto 0; text-wrap: pretty; }
.lead strong { color: var(--text); font-weight: 500; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--acc); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: 600 15px/1 var(--f-body);
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16px; }
.btn--acc {
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(200, 255, 62, 0.5), 0 10px 30px -12px rgba(200, 255, 62, 0.55);
}
.btn--acc:hover { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(200, 255, 62, 0.7), 0 14px 40px -10px rgba(200, 255, 62, 0.75); transform: translateY(-1px); }
.btn--acc:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 1px rgba(200, 255, 62, 0.6), 0 6px 18px -10px rgba(200, 255, 62, 0.6); }
.btn kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  font: 700 12px/1 var(--f-mono);
  background: rgba(14, 19, 0, 0.12);
  box-shadow: inset 0 -2px 0 rgba(14, 19, 0, 0.18);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled] {
  background: rgba(7, 8, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; transition: transform 0.3s var(--ease-pop); }
.logo:hover .logo__mark { transform: translateY(-2px) rotate(-4deg); }
.logo__word { font: 700 20px/1 var(--f-display); letter-spacing: -0.04em; }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s, background 0.2s; }
/* six links + language + button need ~980px in German: below 1060px the menu hides (the footer keeps every link) */
@media (max-width: 1060px) { .nav__links { display: none; } }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 96px; text-align: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero .glow--a { width: 900px; height: 360px; left: 50%; top: -230px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(170, 255, 90, 0.2), rgba(120, 255, 140, 0.05) 60%, transparent); }
.hero__bg::after { content: ""; position: absolute; left: 50%; top: 0; width: min(780px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(200, 255, 62, 0.55), transparent); box-shadow: 0 0 24px 2px rgba(200, 255, 62, 0.25); }
.hero .glow--b { width: 520px; height: 420px; right: -160px; top: 220px; background: radial-gradient(closest-side, rgba(165, 151, 255, 0.16), transparent); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(18, 21, 26, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.pill:hover { border-color: var(--acc-line); transform: translateY(-1px); }
.pill .px { color: var(--acc); }
.pill__dot { width: 22px; height: 22px; border-radius: 999px; background: var(--acc-soft); display: grid; place-items: center; position: relative; }
.pill__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: pulse 2s ease-in-out infinite; }
.pill__sep { width: 1px; height: 14px; background: var(--line-2); }
.pill__txt b { color: var(--text); font-weight: 600; font-size: 12.5px; }

.hero .h1 { margin-top: 30px; }

/* ---------- waitlist form ---------- */
.join { margin: 38px auto 0; max-width: 540px; }
.join__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 27, 33, 0.9), rgba(13, 15, 19, 0.9));
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.join__field:focus-within { border-color: var(--acc-line); box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.09), 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.join__icon { width: 20px; height: 20px; color: var(--dim); flex: none; }
.join input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--text);
}
.join input::placeholder { color: var(--dim); }
.join__hint:empty { display: none; }
.join__hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; row-gap: 2px; column-gap: 0.32em; }
.join__hint span { white-space: nowrap; }
.join__hint i { font-style: normal; color: var(--dim); margin: 0 8px; }
.join__hint b { color: var(--acc); font-weight: 600; }
.join__hint[data-state="error"] { color: #ff8a7a; }
.join__hint[data-state="ok"] { color: var(--acc); }
.join.is-shake .join__field { animation: shake 0.4s var(--ease); border-color: rgba(255, 138, 122, 0.5); }

/* ---------- trust logos ---------- */
.builtfor { margin: 44px auto 0; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.builtfor__label { color: var(--dim); }
.builtfor__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.builtfor__list li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: #c9cdd4; opacity: 0.82; transition: opacity 0.25s, transform 0.25s var(--ease); }
.builtfor__list li:hover { opacity: 1; transform: translateY(-1px); }
.builtfor__list img { height: 22px; width: auto; }
.builtfor__list img.ic-yt { height: 19px; }
.builtfor__list img.ic-kk { height: 18px; border-radius: 4px; }
.builtfor__list img.ic-gm { height: 19px; }
.builtfor__list img.wm { height: 19px; }
.builtfor__sep { width: 1px; height: 18px; background: var(--line-2); opacity: 1 !important; }

.ticks li.tick-logo::before { display: none; }
.ticks li.tick-link { padding: 0; border-color: var(--acc-line); background: var(--acc-soft); }
.ticks li.tick-link::before { display: none; }
.ticks li.tick-link a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; color: var(--acc); font-weight: 500; }
.ticks li.tick-link a span { transition: transform 0.2s var(--ease); }
.ticks li.tick-link a:hover span { transform: translateY(2px); }
.ticks li.tick-link--page a:hover span { transform: translateX(3px); }

/* step 01: the three ways to build the screen */
.ways { list-style: none; counter-reset: way; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; max-width: 460px; }
.ways li { counter-increment: way; position: relative; padding: 11px 14px 11px 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ways li::before { content: counter(way); position: absolute; left: 13px; top: 11px; width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; font: 600 11.5px/1 var(--f-mono); color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-line); }
.ways b { color: var(--text); font-weight: 600; }
.ways + .ticks { margin-top: 16px; }
.ticks li img { height: 16px; width: auto; }
.ticks li img.wm { height: 14px; }
.ticks li img.ic-kk { height: 14px; border-radius: 3px; }

.steamcheck { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.steamcheck__logo { position: relative; display: inline-flex; flex: none; }
.steamcheck__logo img { width: 34px; height: 34px; }
.steamcheck__reg { position: absolute; top: -6px; right: -11px; font-size: 10px; line-height: 1; color: var(--muted); }
.steamcheck p { margin: 0; font-size: 14px; color: var(--muted); max-width: 320px; }

.card__logos { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.card__logos img { height: 20px; width: auto; }
.card__logos img.ic-yt { height: 18px; }

.agents { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.agents__label { color: var(--dim); }
.agents ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.agents li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 15, 19, 0.85); font-size: 13.5px; font-weight: 500; color: #d7dae0; transition: border-color 0.2s, transform 0.2s var(--ease); }
.agents li:hover { border-color: var(--line-3); transform: translateY(-1px); }
.agents li img { height: 18px; width: auto; }

.dd-logo { display: inline-block; height: 16px; width: auto; vertical-align: -3px; margin-left: 2px; }
.foot__tm { max-width: 760px; text-align: right; line-height: 1.5; }

/* ---------- quest (hero steps) ---------- */
.quest { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 84px; text-align: left; }
.step { position: relative; z-index: 1; margin: 0; }
.step__cap { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.step__n { color: var(--acc); border: 1px solid var(--acc-line); background: var(--acc-soft); padding: 3px 6px 2px; border-radius: 6px; font-size: 10px; }
.step.is-active .slot { border-color: var(--acc-line); box-shadow: 0 0 0 1px rgba(200, 255, 62, 0.12), 0 30px 60px -30px rgba(200, 255, 62, 0.35); }
.step.is-active .step__cap { color: var(--text); }

/* ---------- image slot ---------- */
.slot {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  isolation: isolate;
}
.slot--4x3 { aspect-ratio: 4 / 3; }
.slot--16x10 { aspect-ratio: 16 / 10; }
.slot--3x2 { aspect-ratio: 3 / 2; }
.slot::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: sweep 7s var(--ease) infinite;
  z-index: 0;
}
.slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px);
  z-index: 0;
  pointer-events: none;
}
.hud {
  --c: rgba(200, 255, 62, 0.7);
  --s: 18px;
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--s) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--s) no-repeat;
  opacity: 0.55;
  transition: opacity 0.4s, inset 0.5s var(--ease);
}
.slot:hover .hud, .step.is-active .hud { opacity: 1; inset: 9px; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.slot__label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 78%; text-align: center; padding: 12px; }
.slot__label .px { color: var(--acc); font-size: 10px; opacity: 0.85; }
.slot__label b { font-weight: 500; font-size: 14px; line-height: 1.45; color: #c9cdd4; text-wrap: balance; }
.slot__label small { font: 500 11.5px/1.4 var(--f-mono); color: var(--dim); }

/* overlays on hero slots */
.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip--key {
  padding: 9px 14px 12px;
  border-radius: 11px;
  background: linear-gradient(180deg, #1b1f26, #14171c);
  border: 1px solid var(--line-3);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -12px rgba(0, 0, 0, 0.9);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text);
  min-height: 46px;
}
.slot .chip--key { position: absolute; left: 30px; bottom: 30px; z-index: 3; }
.caret { width: 2px; height: 20px; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: blink 1s steps(1) infinite; margin-left: -4px; }
.chip--steam {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
  z-index: 3;
  padding: 7px 11px 7px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--steam);
  background: rgba(10, 22, 32, 0.85);
  border: 1px solid rgba(102, 192, 244, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.chip--steam svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(102, 192, 244, 0.18); }
.step.is-active .chip--steam { animation: pop 0.55s var(--ease-pop); box-shadow: 0 0 0 6px rgba(102, 192, 244, 0.08); }
.toast {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(16, 19, 23, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(200, 255, 62, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.toast b { color: var(--acc); font-size: 15px; font-weight: 700; }
.step.is-active .toast { animation: pop 0.55s var(--ease-pop); }
.coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  position: relative;
  background: radial-gradient(circle at 35% 30%, #f4ffc9 0 18%, var(--acc) 40%, #8fbf1f 100%);
  box-shadow: inset 0 0 0 2px rgba(14, 19, 0, 0.25), 0 0 14px rgba(200, 255, 62, 0.45);
}
.coin::after { content: ""; position: absolute; left: 50%; top: 25%; width: 3px; height: 50%; transform: translateX(-50%); background: rgba(14, 19, 0, 0.35); border-radius: 2px; }

/* ---------- light play (SVG rings, comets, rim) ---------- */
.lights { position: absolute; pointer-events: none; overflow: visible; }
.lights ellipse, .lights circle, .lights path { fill: none; }
.lights--hero { left: 0; top: 0; width: 100%; height: min(100svh, 1000px); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 86%); mask-image: linear-gradient(180deg, #000 62%, transparent 86%); }
.ring__glow { stroke-width: 16; opacity: 0.3; animation: breathe 6s ease-in-out infinite alternate; }
.ring__line { stroke-width: 1.8; }
.ring__inner { stroke-width: 1; opacity: 0.3; }
.ring__outer { stroke-width: 1; opacity: 0.14; stroke-dasharray: 2 7; }
.ring__comet { stroke: #f4ffd1; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 26 974; opacity: 0; }
.ring__comet--l { animation: comet-l 7s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.ring__comet--r { animation: comet-r 7s cubic-bezier(0.45, 0, 0.2, 1) infinite 3.5s; }
.ring--r .ring__glow { animation-delay: -3s; }
.shards path { stroke: url(#lg-shard); stroke-width: 2; stroke-linecap: round; opacity: 0.55; animation: shard 4s ease-in-out infinite; }
.shards path:nth-child(2) { animation-delay: 0.25s; } .shards path:nth-child(3) { animation-delay: 0.5s; }
.shards path:nth-child(4) { animation-delay: 1.6s; } .shards path:nth-child(5) { animation-delay: 1.85s; }

/* taille fixe (pas de mise à l'échelle avec la largeur) : le sommet de l'arc reste toujours à la même hauteur, juste sous le formulaire */
.lights--final { left: 50%; bottom: -42px; width: 1440px; height: 640px; transform: translateX(-50%); }
.rim__glow { stroke-width: 34; opacity: 0.5; animation: breathe 7s ease-in-out infinite alternate; }
.rim__planet { fill: url(#lg-planet); }
.rim__line { stroke-width: 2; }
.rim__comet { stroke: #f6ffd6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 986; animation: comet 14s linear infinite; }

.term-wrap { position: relative; }
.term-wrap .term { position: relative; z-index: 1; }
.lights--orbit { left: -7%; top: -16%; width: 114%; height: 132%; z-index: 0; }
.orbit__glow { stroke-width: 10; opacity: 0.3; animation: breathe 5s ease-in-out infinite alternate; }
.orbit__line { stroke-width: 1.4; opacity: 0.9; }
.orbit__comet { stroke: #f1ffc4; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 16 984; animation: comet 10s linear infinite; }

/* ---------- founders strip ---------- */
.founders { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0 34px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); overflow: hidden; }
.founders::before { content: ""; position: absolute; top: -1px; left: 0; width: 28%; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); box-shadow: 0 0 14px 1px rgba(200, 255, 62, 0.45); animation: scanline 7s linear infinite; }
.founders__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.founders__head .px { color: var(--acc); }
.founders__head p { margin: 0; color: var(--muted); font-size: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.capsule {
  width: 240px;
  aspect-ratio: 460 / 215;
  flex: none;
  border-radius: 12px;
  border: 1px dashed var(--line-3);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 10px;
}
.capsule .px { font-size: 9.5px; color: var(--muted); }
.capsule small { font: 500 10.5px/1.3 var(--f-mono); color: var(--dim); }
.capsule--you { border-color: var(--acc-line); background: linear-gradient(180deg, rgba(200, 255, 62, 0.06), rgba(200, 255, 62, 0.01)); }
.capsule--you .px { color: var(--acc); }


/* ---------- language selector ---------- */
.nav__right { position: relative; }
.lang { position: relative; }
.lang > summary { list-style: none; }
.lang > summary::-webkit-details-marker { display: none; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 9px 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); color: var(--muted); cursor: var(--cur-hand, pointer); user-select: none; -webkit-tap-highlight-color: transparent; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.lang__btn:hover, .lang[open] .lang__btn { color: var(--text); border-color: var(--line-3); background: rgba(255, 255, 255, 0.05); }
.lang__btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.lang__globe { width: 15px; height: 15px; flex: none; }
.lang__cur { font: 600 12px/1 var(--f-mono); letter-spacing: 0.04em; }
.lang__chev { width: 12px; height: 12px; flex: none; opacity: 0.7; transition: transform 0.25s var(--ease); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 240px;
  padding: 6px;
  display: grid;
  gap: 2px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(12, 14, 18, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.5);
  transform-origin: top right;
  animation: lang-in 0.18s var(--ease);
}
.lang__menu::before { content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-line), transparent); }
.lang--up .lang__menu { top: auto; bottom: calc(100% + 10px); right: auto; left: 0; transform-origin: bottom left; animation-name: lang-up; }
.lang__menu a { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 11px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background 0.15s, color 0.15s; }
.lang__menu a::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--line-2); transition: background 0.15s, box-shadow 0.15s; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: rgba(255, 255, 255, 0.05); color: var(--text); outline: 0; }
.lang__menu a[aria-current] { color: var(--text); background: var(--acc-soft); }
.lang__menu a[aria-current]::before { background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.lang__name { flex: 1; }
.lang__code { font: 500 11px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--dim); }
.lang__menu a[aria-current] .lang__code { color: var(--acc); }
.foot__brand .lang { margin-top: 20px; display: inline-block; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes lang-up { from { opacity: 0; transform: translateY(4px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- CJK: system fonts for the glyphs DM Sans and Inter don't have, calmer spacing ---------- */
:root:lang(ja) {
  --f-display: "DM Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", system-ui, sans-serif;
  --f-body: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", system-ui, sans-serif;
}
:root:lang(ko) {
  --f-display: "DM Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --f-body: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  word-break: keep-all;
}
:root:lang(zh) {
  --f-display: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --f-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
:root:is(:lang(ja), :lang(zh)) { line-break: strict; }
:root:is(:lang(ja), :lang(ko), :lang(zh)) :is(.h1, .h2, .h3) { letter-spacing: -0.012em; }
:root:is(:lang(ja), :lang(ko), :lang(zh)) .h1 { line-height: 1.16; font-size: clamp(30px, 7.6vw, 64px); }
:root:is(:lang(ja), :lang(ko), :lang(zh)) .h2 { font-size: clamp(25px, 3.6vw, 44px); }
/* japonais : coupure aux limites de groupes de mots, jamais au milieu (Chrome 119+) */
:root:lang(ja) :is(.h1, .h2, .h3, .lead, .sec__lead, .flow__txt p, .card p, .faq p, summary) { word-break: auto-phrase; }
:root:is(:lang(ja), :lang(ko), :lang(zh)) .h2 { line-height: 1.18; }
:root:is(:lang(ja), :lang(ko), :lang(zh)) .px { letter-spacing: 0.05em; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 128px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: 60px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__lead { color: var(--muted); font-size: clamp(16px, 1.45vw, 18px); line-height: 1.6; margin: 20px 0 0; max-width: 620px; text-wrap: pretty; }
.sec__head--center .sec__lead { margin-left: auto; margin-right: auto; }

/* problem: one story told with the real numbers, lit word by word as it scrolls past */
.problem .eyebrow { margin-bottom: 30px; }
.tale { max-width: 1080px; font: 500 clamp(23px, 3.1vw, 44px)/1.26 var(--f-display); font-optical-sizing: auto; letter-spacing: -0.03em; }
.tale__h, .tale__p { display: inline; margin: 0; font: inherit; letter-spacing: inherit; }
.tale__h { color: var(--text); }
.tale__p { color: #8e949e; }
.tale__p.is-split .tw { color: rgba(238, 240, 243, calc(0.16 + 0.84 * var(--l, 0))); transition: color 0.35s linear; }
.tk { display: inline-flex; align-items: center; gap: 0.26em; height: 1.18em; margin: 0 0.05em; padding: 0 0.32em; border-radius: 0.3em; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.045); vertical-align: -0.09em; font: 600 0.8em/1 var(--f-display); letter-spacing: -0.02em; color: var(--text); white-space: nowrap; transition: opacity 0.5s var(--ease), filter 0.5s var(--ease), border-color 0.5s; }
.tale__p.is-split .tk { opacity: calc(0.26 + 0.74 * var(--l, 0)); filter: grayscale(calc(1 - var(--l, 0))); transition: opacity 0.35s linear, filter 0.35s linear; }
.tk svg { width: 0.85em; height: 0.85em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tk--ava img { width: 0.66em; height: 0.66em; margin-right: -0.3em; border-radius: 50%; box-shadow: 0 0 0 0.09em #121418; }
.tk--ava img:last-of-type { margin-right: 0.14em; }
.tk--yes, .tk--spike { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc); }
.tk--spike svg { width: 1.3em; stroke-width: 1.8; }
.tk--logo { padding: 0 0.26em; }
.tk--logo img { height: 0.64em; width: auto; }
.problem .source { margin-top: 34px; }
.source { margin: 22px 0 0; font-size: 13px; color: var(--dim); }

/* how */
.flow { display: flex; flex-direction: column; gap: 104px; }
.flow__row { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.flow__row--flip .flow__txt { order: 2; }
.flow__row--flip { grid-template-columns: 7fr 5fr; }
.flow__n { color: var(--acc); }
.flow__txt .h3 { font-size: clamp(26px, 2.7vw, 36px); font-weight: 500; letter-spacing: -0.035em; margin: 14px 0 14px; }
.flow__txt p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0; max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 7px 12px 7px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); color: #c9cdd4; }
.ticks li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%23c8ff3e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.codes { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.codes .chip--key { font-size: 15px; min-height: 40px; padding: 8px 12px 11px; }
.codes .chip--key:nth-child(2) { color: var(--vio); }
.codes .chip--key:nth-child(3) { color: var(--steam); }

/* features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 255, 62, 0.06), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s, transform 0.3s var(--ease);
  overflow: hidden;
}
.card:hover { border-color: var(--line-2); }
.card .h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.card__tag { font-size: 10px; }
.card--big { grid-column: span 2; display: grid; grid-template-columns: 5fr 6fr; gap: 28px; align-items: center; padding: 30px; }
.card--big .h3 { font-size: clamp(24px, 2.3vw, 30px); font-weight: 500; letter-spacing: -0.035em; }
.receipt { margin-top: 22px; border: 1px dashed var(--line-3); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; color: var(--muted); display: grid; gap: 8px; background: rgba(0, 0, 0, 0.18); }
.receipt div { display: flex; justify-content: space-between; gap: 12px; }
.receipt__total { border-top: 1px dashed var(--line-3); padding-top: 9px; color: var(--text); font-weight: 700; }

/* engines: coverage bar + four paths + one API */
.engines .sec__head { margin-bottom: 52px; }
.cover {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px 28px;
  background: radial-gradient(900px 220px at 50% 0%, rgba(200, 255, 62, 0.05), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cover__head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.cover__title { color: var(--dim); }
.cover__keys { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.cover__keys span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 14px; height: 10px; border-radius: 3px; flex: none; background: linear-gradient(180deg, rgba(200, 255, 62, 0.55), rgba(200, 255, 62, 0.28)); box-shadow: inset 0 0 0 1px var(--acc-line); }
.key--rest { background: repeating-linear-gradient(135deg, rgba(200, 255, 62, 0.38) 0 3px, rgba(200, 255, 62, 0.06) 3px 6px); box-shadow: inset 0 0 0 1px rgba(200, 255, 62, 0.3); }
.cover__bar { display: flex; gap: 4px; height: 62px; margin-top: 18px; }
.js .cover__bar { clip-path: inset(0 100% 0 0 round 12px); transition: clip-path 1.5s var(--ease) 0.25s; }
.js .cover.is-in .cover__bar { clip-path: inset(0 0 0 0 round 12px); }
.seg {
  flex: var(--w) 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(200, 255, 62, 0.2), rgba(200, 255, 62, 0.07));
  box-shadow: inset 0 0 0 1px var(--acc-line), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
  white-space: nowrap;
}
.seg:first-child { background: linear-gradient(180deg, rgba(200, 255, 62, 0.28), rgba(200, 255, 62, 0.1)); }
.seg img { height: 20px; width: auto; flex: none; }
.seg em { font-style: normal; font-size: 15px; font-weight: 500; }
.seg b { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--acc); }
.seg--sm { justify-content: center; padding: 0; }
.seg--sm img { height: 18px; }
.seg--rest { background: repeating-linear-gradient(135deg, rgba(200, 255, 62, 0.13) 0 7px, rgba(200, 255, 62, 0.03) 7px 14px); box-shadow: inset 0 0 0 1px rgba(200, 255, 62, 0.26); color: var(--muted); }
.seg--rest b { color: var(--muted); }
.cover__list { display: none; }
.cover__sum { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--line-2); }
.cover__sum > i { font-style: normal; font-family: var(--f-mono); font-size: 24px; color: var(--dim); }
.cover__sum b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.cover__sum span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.cover__all b { color: var(--acc); text-shadow: 0 0 28px rgba(200, 255, 62, 0.35); }
.cover__all span { color: var(--text); }
.cover__src { text-align: center; }

.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.path { display: flex; flex-direction: column; padding: 26px 24px 22px; }
.path__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.path__n { color: var(--dim); font-size: 10px; }
.path .h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin: 16px 0 10px; }
.path > p:not(.path__cov) { font-size: 14.5px; }
.path__engines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; }
.path__engines li { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px 0 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 13.5px; font-weight: 500; color: #d7dae0; }
.path__engines img { height: 16px; width: auto; flex: none; }
.path__logos { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.path__logos li { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s, transform 0.2s var(--ease); }
.path__logos li:hover { border-color: var(--line-3); transform: translateY(-2px); }
.path__logos img { height: 20px; width: auto; }
.path .path__cov { margin: auto 0 0; padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.path__cov::before { content: ""; display: block; height: 1px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, var(--line-3) 0 4px, transparent 4px 8px); }
.path__cov b { font-size: 15px; font-weight: 700; color: var(--text); margin-right: 4px; }
.path--link { border-color: var(--acc-line); background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 255, 62, 0.08), transparent 60%), linear-gradient(180deg, rgba(200, 255, 62, 0.05), var(--surface) 60%); }
.path--link:hover { border-color: rgba(200, 255, 62, 0.5); }
.linkdemo { margin-top: 22px; display: grid; gap: 8px; }
.linkdemo__url { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.28); font-size: 13px; color: var(--dim); }
.linkdemo__url svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.linkdemo__url b { color: var(--acc); font-weight: 700; }
.linkdemo__btn { display: grid; place-items: center; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--steam); background: linear-gradient(180deg, rgba(102, 192, 244, 0.16), rgba(102, 192, 244, 0.07)); border: 1px solid rgba(102, 192, 244, 0.38); }

.rail__wires { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; height: 46px; }
.rail__wires i { position: relative; }
.rail__wires i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--line-2), var(--acc-line)); }
.rail__wires i::after { content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; margin-left: -2px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px 2px rgba(200, 255, 62, 0.55); opacity: 0; animation: wire 2.8s var(--ease) infinite; }
.rail__wires i:nth-child(2)::after { animation-delay: 0.7s; }
.rail__wires i:nth-child(3)::after { animation-delay: 1.4s; }
.rail__wires i:nth-child(4)::after { animation-delay: 2.1s; }
.rail__bar { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--acc-line); background: linear-gradient(180deg, rgba(200, 255, 62, 0.06), rgba(200, 255, 62, 0.015)), var(--surface); }
.rail__bar::before { content: ""; position: absolute; top: -1px; left: 0; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); box-shadow: 0 0 14px 1px rgba(200, 255, 62, 0.45); animation: scanline 6s linear infinite; }
.rail__txt p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.rail__flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rail__flow .chip--key { font-size: 14px; min-height: 38px; padding: 7px 11px 10px; }
.rail__op { font-family: var(--f-mono); color: var(--dim); }
.rail__res { display: inline-flex; align-items: center; gap: 12px; }
.rail__ticket { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--steam); background: rgba(10, 22, 32, 0.85); border: 1px solid rgba(102, 192, 244, 0.38); }
.rail__arrow { position: relative; width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--acc) 0 5px, transparent 5px 9px); background-size: 9px 2px; animation: flow 0.9s linear infinite; }
.rail__arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--acc); border-right: 0; }
.rail__out { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px 0 10px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--text); background: rgba(16, 19, 23, 0.92); border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(200, 255, 62, 0.05), 0 0 24px -6px rgba(200, 255, 62, 0.3); }

/* agent */
.agent__in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.agent__txt .sec__lead { margin-top: 20px; }
.term { border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0c0e12, #090b0e); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.term__dots { display: flex; gap: 6px; padding-left: 4px; }
.term__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e35; }
.term__tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.term__tabs::-webkit-scrollbar { display: none; }
.term__tabs button { flex: none; }
.term__tabs button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.term__tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.term__copy { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 600; height: 32px; padding: 0 12px; border-radius: 9px; transition: border-color 0.2s, color 0.2s; }
.term__copy svg { width: 15px; height: 15px; }
.term__copy:hover { border-color: var(--acc-line); }
.term__copy.is-done { color: var(--acc); border-color: var(--acc-line); }
.term__body { margin: 0; padding: 26px 26px 30px; font-size: 14.5px; line-height: 1.75; color: #d7dae0; white-space: pre-wrap; word-break: break-word; min-height: 180px; }
.term__p { color: var(--acc); font-weight: 700; }
.term__body::after { content: ""; display: inline-block; width: 9px; height: 17px; margin-left: 4px; vertical-align: -3px; background: var(--acc); animation: blink 1.1s steps(1) infinite; }


/* ---------- light sheet (features): one paper section for contrast ---------- */
.sec--light {
  --text: #0c0e11;
  --muted: #555b65;
  --dim: #7d838d;
  --line: rgba(12, 14, 17, 0.08);
  --line-2: rgba(12, 14, 17, 0.12);
  --line-3: rgba(12, 14, 17, 0.2);
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #eef0e8;
  --acc-text: #3d6a00;
  --acc-line: rgba(84, 140, 0, 0.4);
  --acc-soft: rgba(200, 255, 62, 0.32);
  --vio: #5a49d8;
  --steam: #1675b3;
  margin: 28px 12px;
  border-radius: 36px;
  color: var(--text);
  color-scheme: light;
  isolation: isolate;
  overflow: hidden;
  overflow: clip; /* same clipping, but not a scroll container: scroll-driven reveals inside keep working */
  background:
    radial-gradient(760px 360px at 50% -6%, rgba(200, 255, 62, 0.5), transparent 70%),
    radial-gradient(520px 320px at 100% 100%, rgba(165, 151, 255, 0.18), transparent 70%),
    #f3f4ee;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 120px -40px rgba(200, 255, 62, 0.18);
}
.sec + .sec--light, .sec--light + .sec { border-top: 0; }
.sec--light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(12, 14, 17, 0.09) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hud--sheet { --c: rgba(12, 14, 17, 0.5); --s: 26px; inset: 22px; opacity: 0.6; }
.sec--light .wrap { position: relative; z-index: 1; }
.sec--light .acc, .sec--light .eyebrow { color: var(--acc-text); }
.sec--light .eyebrow::before { background: var(--acc); box-shadow: 0 0 0 1px rgba(61, 106, 0, 0.55); }
.hl {
  color: inherit;
  padding: 0 0.08em;
  margin: 0 -0.02em;
  border-radius: 0.12em;
  background: linear-gradient(180deg, transparent 54%, var(--acc) 54%, var(--acc) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sec--light .btn--acc { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(70, 118, 0, 0.6), 0 14px 26px -14px rgba(70, 118, 0, 0.6); }
.sec--light .btn--acc:hover { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(70, 118, 0, 0.8), 0 18px 32px -14px rgba(70, 118, 0, 0.7); }

/* inside a light sheet, image slots stay dark: they are screens */
.sec--light .slot {
  --text: #eef0f3;
  --muted: #979da8;
  --dim: #737983;
  --line: rgba(255, 255, 255, 0.07);
  --surface: #0d0f13;
  --surface-2: #12151a;
  --acc-text: var(--acc);
  border: 0;
  box-shadow: 0 30px 60px -34px rgba(12, 14, 17, 0.55), 0 0 0 1px rgba(12, 14, 17, 0.9);
}
.sec--light .slot .slot__label .px { color: var(--acc); }
/* feature cards on paper */
.sec--light .card {
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 255, 62, 0.22), transparent 60%),
    #fff;
  box-shadow: 0 1px 0 rgba(12, 14, 17, 0.03), 0 24px 48px -36px rgba(12, 14, 17, 0.35);
}
.sec--light .card:not(:hover) { --my: -60%; }
.sec--light .card:hover { border-color: var(--line-3); }
.sec--light .receipt { background: #f6f7f2; color: var(--muted); }
.sec--light .receipt__total .acc { color: var(--acc-text); }

/* pricing */
.price {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-radius: 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface)) padding-box,
    linear-gradient(140deg, rgba(200, 255, 62, 0.55), rgba(255, 255, 255, 0.08) 40%, rgba(165, 151, 255, 0.35)) border-box;
  overflow: hidden;
}
.price__main { padding: 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; background: radial-gradient(400px 260px at 0% 0%, rgba(200, 255, 62, 0.08), transparent 70%); }
.price__big { display: flex; align-items: baseline; gap: 10px; }
.price__big span { font-size: clamp(56px, 6vw, 76px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price__big small { color: var(--muted); font-size: 16px; }
.price__main p { margin: 0 0 6px; color: var(--muted); font-size: 15.5px; max-width: 340px; }
.price__rows { margin: 0; padding: 18px 40px; }
.price__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price__rows div:last-child { border-bottom: 0; }
.price__rows dt { color: var(--muted); font-size: 15px; }
.price__rows dd { margin: 0; text-align: right; font-weight: 500; font-size: 15px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.versus__col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; background: var(--surface); }
.versus__col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.versus__col li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--muted); }
.versus__col li::before { content: "×"; font: 700 14px/1 var(--f-mono); color: var(--dim); width: 14px; flex: none; }
.versus__col--us { border-color: var(--acc-line); background: linear-gradient(180deg, rgba(200, 255, 62, 0.05), var(--surface)); }
.versus__col--us li { color: var(--text); }
.versus__col--us li::before { content: "✓"; color: var(--acc); }

/* faq */
.faq__in { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: var(--cur-hand, pointer); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; transition: color 0.2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: linear-gradient(var(--muted), var(--muted)) center / 10px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 10px no-repeat; transition: transform 0.3s var(--ease), border-color 0.2s; }
.faq__list summary:hover { color: var(--acc); }
.faq__list details[open] summary::after { transform: rotate(45deg); border-color: var(--acc-line); }
.faq__list details p { margin: -6px 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 620px; }

/* ---------- menu cursor ----------
   A pixel ▶ points at the item under the mouse or the keyboard focus, as in a game menu: top menu, FAQ
   questions, footer links, language menu (where the square bullet turns into the arrow). It is absolutely
   placed in the padding or the gutter, so nothing moves. Hover only where a real hover exists (on phones a
   tap would leave it stuck); keyboard focus everywhere. */
.nav__links a, .faq__list summary, .foot__links a { position: relative; }
.nav__links a::before, .faq__list summary::before, .foot__links a::before { content: ""; position: absolute; top: 50%; width: 6px; height: 10px; margin-top: -5px; background: var(--menu-arrow) center / 6px 10px no-repeat; opacity: 0; pointer-events: none; }
.nav__links a::before { left: 2px; }
.faq__list summary::before { left: -22px; }
.foot__links a::before { left: -16px; }
.nav__links a:focus-visible::before, .faq__list summary:focus-visible::before, .foot__links a:focus-visible::before { opacity: 1; animation: menu-bob 0.8s steps(1, end) infinite; }
.lang__menu a:not([aria-current]):focus-visible::before { height: 10px; background: var(--menu-arrow) center / 6px 10px no-repeat; animation: menu-bob 0.8s steps(1, end) infinite; }
/* top menu: the cursor rests on the section being read (main.js sets aria-current while scrolling) */
.nav__links a[aria-current] { color: var(--text); }
.nav__links a[aria-current]::before { opacity: 1; animation: menu-bob 0.8s steps(1, end) infinite; }
@media (hover: hover) {
  /* one cursor at a time: hovering another entry takes it, leaving the menu gives it back */
  .nav__links:has(a:hover) a[aria-current]:not(:hover)::before { opacity: 0; }
  .nav__links a:hover::before, .faq__list summary:hover::before, .foot__links a:hover::before { opacity: 1; animation: menu-bob 0.8s steps(1, end) infinite; }
  .lang__menu a:not([aria-current]):hover::before { height: 10px; background: var(--menu-arrow) center / 6px 10px no-repeat; animation: menu-bob 0.8s steps(1, end) infinite; }
}
@keyframes menu-bob { 50% { transform: translateX(-2px); } }

/* final */
.final { position: relative; padding: 140px 0 150px; text-align: center; border-top: 1px solid var(--line); overflow: hidden; overflow: clip; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 60%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 60% at 50% 60%, #000 10%, transparent 70%); }
.final .glow--a { width: 820px; height: 460px; left: 50%; bottom: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(200, 255, 62, 0.22), transparent); }
.final__eyebrow { color: var(--acc); animation: arcade 1.4s steps(1) infinite; display: inline-block; margin-bottom: 26px; font-size: 13px; }
.final__h { font-size: clamp(40px, 6.4vw, 82px); }
.join--center { margin-top: 44px; }
.join--center .join__hint { position: relative; z-index: 1; width: max-content; max-width: 100%; margin: 16px auto 0; padding: 6px 14px; border-radius: 999px; background: rgba(7, 8, 10, 0.88); box-shadow: 0 0 0 1px var(--line); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot__in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot__brand p { margin: 16px 0 0; color: var(--muted); font-size: 14px; max-width: 300px; }
.foot__links { display: flex; gap: 64px; }
.foot__links div { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.foot__links .px { color: var(--dim); margin-bottom: 4px; }
.foot__links a { color: var(--muted); transition: color 0.2s; }
.foot__links a:hover { color: var(--text); }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot__copy { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.foot__privacy { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color 0.2s; }
.foot__privacy:hover { color: var(--text); }

/* ---------- waitlist window (dialog) ----------
   Own class prefix (wl-) on purpose: the old window borrowed `.seg` from the engine share bar and
   inherited its green gradient and padding. Modes (data-mode): join = email to give, joined = just
   signed up, existing = already on the list. data-done = sent: only the message stays. */
.wl { width: min(500px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: var(--text); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(200, 255, 62, 0.06); overflow: auto; overscroll-behavior: contain; }
.wl::backdrop { background: rgba(3, 4, 5, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wl[open] { animation: sheet-in 0.45s var(--ease-pop); }
.wl__in { padding: 24px 24px 22px; }
.wl__top { display: flex; align-items: flex-start; gap: 14px; }
.wl__badge { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; color: var(--acc); background: linear-gradient(180deg, #1b1f26, #14171c); border: 1px solid var(--acc-line); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.5), 0 0 24px -6px rgba(200, 255, 62, 0.45); }
.wl__badge > * { grid-area: 1 / 1; display: none; }
.wl__badge .coin { width: 22px; height: 22px; }
.wl__badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wl__badge .wl__ic-logo { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.wl[data-mode="join"] .wl__ic-logo, .wl[data-mode="joined"] .coin, .wl[data-mode="existing"] .wl__ic-check { display: block; }
.wl__head { flex: 1; min-width: 0; padding-top: 1px; }
.wl__title { font: 600 22px/1.2 var(--f-display); letter-spacing: -0.02em; margin: 0; outline: 0; }
.wl__sub { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.wl__x { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: var(--cur-hand, pointer); transition: color 0.2s, border-color 0.2s; }
.wl__x:hover { color: var(--text); border-color: var(--line-3); }
.wl__body { display: grid; gap: 18px; margin-top: 22px; }
.wl[data-done] .wl__body { display: none; }
.wl__fld { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wl__fld > span, .wl__fld legend { padding: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.wl__fld legend { margin-bottom: 8px; }
.wl__fld input[type="email"], .wl__fld input[type="text"] { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25); color: var(--text); font-size: 15px; outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.wl__fld input::placeholder { color: var(--dim); }
.wl__fld input:focus { border-color: var(--acc-line); box-shadow: 0 0 0 4px rgba(200, 255, 62, 0.08); }
.wl__fld input[aria-invalid="true"] { border-color: rgba(255, 138, 122, 0.6); }
.wl__fld input[readonly] { color: var(--muted); }
.wl__note { margin: -10px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.wl__note[data-tone="ok"] { color: var(--acc); }
.wl__note[data-tone="warn"] { color: #ffc27a; }
.wl__note[data-tone="bad"] { color: #ff9d8f; }
.wl__note button { padding: 0; border: 0; background: none; color: var(--acc); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: var(--cur-hand, pointer); }
.wl__opt { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-3); background: rgba(255, 255, 255, 0.015); color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.wl__opt .px { flex: none; color: var(--acc); font-size: 10px; }
.wl__chips label { position: relative; display: block; }
.wl__chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: var(--cur-hand, pointer); }
.wl__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl__chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); font-size: 14px; font-weight: 500; color: #c9cdd4; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.wl__chips label:hover span { border-color: var(--line-3); color: var(--text); }
.wl__chips input:checked + span { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc); }
.wl__chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.wl__group { display: grid; gap: 18px; }
.wl__group[hidden] { display: none; }
.wl__err { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 138, 122, 0.32); background: rgba(255, 138, 122, 0.08); color: #ffb3a8; font-size: 13.5px; line-height: 1.45; }
.wl__err[hidden] { display: none; }
.wl__actions { display: flex; gap: 10px; margin-top: 2px; }
.wl__later { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.wl__later:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.wl__go { flex: 1; }
.wl__go[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.wl[data-mode="join"] .wl__later { display: none; }
.join__hint button { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: var(--cur-hand, pointer); }
.join .btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

/* ---------- reveal ----------
   Modern browsers (Chrome, Android, Safari 26+): the entrance is driven by the scroll position itself, off
   the main thread. A block rises and lights up over its first 160px on screen, following the finger, so it
   can never be missing, whatever the scroll speed or momentum. Side-by-side blocks (--d) start a little
   later each on wide screens; on phones they are stacked, so each one enters on its own.
   Other browsers: main.js adds .reveal-js and fades blocks in just before they arrive.
   The `translate` property is used (not `transform`) so hover effects on the blocks keep working. */
.reveal { --rd: var(--d, 0); }
@media (max-width: 760px) { .reveal { --rd: 0; } }
@keyframes reveal-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-in linear both; animation-timeline: view(); animation-range: entry calc(var(--rd) * 48px) entry calc(160px + var(--rd) * 48px); }
}
.reveal-js .reveal { transition: opacity 0.55s var(--ease), translate 0.55s var(--ease); transition-delay: calc(var(--rd) * 80ms); }
.reveal-js .reveal:not(.is-in) { opacity: 0; translate: 0 16px; }
.reveal-js .reveal.is-instant { transition: none; }
/* off-screen sections and decors pause their looping animations (main.js); never the reveal, which follows the scroll */
.is-offscreen:not(.reveal), .is-offscreen *:not(.reveal), .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- keyframes ---------- */
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.7); opacity: 0.6; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes arcade { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
@keyframes march { to { stroke-dashoffset: -1; } }
@keyframes sweep { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(0.86); opacity: 0.4; } 100% { transform: scale(1); opacity: 1; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes breathe { from { opacity: 0.16; } to { opacity: 0.4; } }
@keyframes comet { to { stroke-dashoffset: -1000; } }
/* hero comets only travel the visible part of each ring, rising, then rest */
@keyframes comet-l { 0% { stroke-dashoffset: -968; opacity: 0; } 6% { opacity: 1; } 40% { opacity: 1; } 46% { stroke-dashoffset: -812; opacity: 0; } 100% { stroke-dashoffset: -812; opacity: 0; } }
@keyframes comet-r { 0% { stroke-dashoffset: -526; opacity: 0; } 6% { opacity: 1; } 40% { opacity: 1; } 46% { stroke-dashoffset: -682; opacity: 0; } 100% { stroke-dashoffset: -682; opacity: 0; } }
@keyframes shard { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.75; } }
@keyframes scanline { from { transform: translateX(-100%); } to { transform: translateX(360%); } }
@keyframes wire { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes flow { to { background-position: 9px 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--big { grid-column: span 2; }
  .agent__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .flow__row { gap: 48px; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .rail__wires { grid-template-columns: 1fr; }
  .rail__wires i:nth-child(n+2) { display: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .flow { gap: 80px; }
  .flow__row { grid-template-columns: 1fr; gap: 32px; }
  .flow__row--flip .flow__txt { order: 0; }
  .price { grid-template-columns: 1fr; }
  .price__main { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq__in { grid-template-columns: 1fr; gap: 36px; }
  .faq__head { position: static; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .sec { padding: 92px 0; }
  .hero { padding: 120px 0 72px; }
  .quest { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .bento { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .final { padding: 104px 0 110px; }
  .lights--final { bottom: -82px; }
  .pill__long { display: none; }
  .shards { display: none; }
  .lights--orbit { left: -14%; width: 128%; }
  .cover { padding: 22px 20px 24px; }
  .cover__bar { height: 44px; gap: 3px; }
  .seg { padding: 0 12px; border-radius: 9px; }
  .seg em, .seg b, .seg--sm img, .seg--rest b { display: none; }
  .seg img { height: 18px; }
  .js .cover__bar { clip-path: inset(0 100% 0 0 round 9px); }
  .js .cover.is-in .cover__bar { clip-path: inset(0 0 0 0 round 9px); }
  .cover__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; list-style: none; margin: 18px 0 0; padding: 0; }
  .cover__list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #d7dae0; }
  .cover__list img { height: 16px; width: auto; }
  .cover__list b { margin-left: auto; font-size: 13px; color: var(--acc); }
  .cover__list .is-rest b { color: var(--muted); }
  .cover__sum { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .cover__sum > i { display: none; }
  .cover__sum div { display: flex; align-items: baseline; gap: 14px; }
  .cover__sum b { flex: none; min-width: 100px; font-size: 28px; }
  .cover__sum span { margin: 0; font-size: 13.5px; }
  .cover__sum div:nth-of-type(2) b::before { content: "+"; margin-right: 4px; color: var(--dim); font-weight: 500; }
  .cover__sum div:nth-of-type(3) b::before { content: "="; margin-right: 4px; color: var(--dim); font-weight: 500; text-shadow: none; }
  .paths { grid-template-columns: 1fr; margin-top: 44px; }
  .rail__bar { padding: 20px; }
}
@media (max-width: 520px) {
  .nav__right { gap: 10px; }
  .nav .lang { position: static; }
  .nav .lang__btn { width: 36px; padding: 0; justify-content: center; }
  .nav .lang__cur, .nav .lang__chev { display: none; }
  .nav .lang__menu { width: min(260px, calc(100vw - 32px)); }
  .sec--light { margin: 16px 8px; border-radius: 26px; }
  .hud--sheet { inset: 14px; --s: 20px; }
  :root { --gutter: 16px; }
  .join__field { flex-wrap: wrap; padding: 6px; gap: 6px; }
  .join__icon { margin-left: 10px; }
  .join input { flex: 1 1 calc(100% - 46px); }
  .join .btn { width: 100%; }
  .price__main, .price__rows { padding-left: 24px; padding-right: 24px; }
  .price__rows div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price__rows dd { text-align: left; }
  .foot__links { gap: 40px; }
  .foot__tm { text-align: left; }
  .builtfor { gap: 14px; }
  .builtfor__list { gap: 16px; }
  .term__copy span { display: none; }
  .term__dots { display: none; }
  .term__tabs button { padding: 6px 9px; }
  .term__copy { padding: 0 9px; }
  .pill { font-size: 12px; gap: 9px; }
  .pill .px { font-size: 10px; }
  .slot .chip--key { left: 26px; bottom: 26px; }
  .chip--steam { bottom: 26px; }
  .toast { right: 24px; bottom: 24px; }
}

/* waitlist window on phones: a sheet that rises from the bottom, full-width buttons, room for the keyboard */
@media (max-width: 560px) {
  .wl { width: 100%; max-height: calc(100dvh - 10px); margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .wl[open] { animation: wl-up 0.35s var(--ease); }
  .wl__in { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
  .wl__title { font-size: 20px; }
  .wl__body { gap: 16px; margin-top: 18px; }
  .wl__actions { flex-direction: column-reverse; }
  .wl__actions .btn { width: 100%; }
}
@keyframes wl-up { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* ---------- phones: same look, no live blur ----------
   Phones repaint the page in tiles while scrolling. Live blurs (CSS blur on the big glows, the blurred bar
   behind the menu, SVG blurs that WebKit recomputes on the CPU for every comet frame) starve old or
   throttled iPhones: tiles stay black and sections look cut or missing (seen on an iPhone 8, iOS 16).
   Phones keep the same shapes and colours without live blur; desktops keep the full effect. */
@media (hover: none) {
  .glow { filter: none; }
  .nav[data-scrolled] { background: rgba(7, 8, 10, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pill, .chip--steam, .toast, .cr-tags span { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ring__glow, .orbit__glow, .rim__glow { animation: none; }
  .wl::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(3, 4, 5, 0.84); }
}
/* older phone browsers (no scroll-driven animations: iOS 18 and earlier, old Android): no SVG blur at all */
@supports not (animation-timeline: view()) {
  @media (hover: none) {
    .ring__glow, .orbit__glow { filter: none; opacity: 0.16; }
    .rim__glow { filter: none; opacity: 0.3; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-js .reveal { animation: none; opacity: 1; translate: none; }
  .marquee__track { animation: none; }
}

/* problem story in Japanese, Chinese and Korean: calmer size, room around the inline chips */
:root:lang(ja) .tale, :root:lang(zh) .tale, :root:lang(ko) .tale { font-size: clamp(20px, 2.55vw, 36px); line-height: 1.5; letter-spacing: 0; }
:root:lang(ja) .tk, :root:lang(zh) .tk { margin: 0 0.22em; }
