:root {
  --teal: #42baa9;
  --teal-hover: #5ccbbb;
  --on-teal: #06211d;
  --on-teal-2: #164a43;
  --mint: #e8f5f2;
  --paper: #f6f8f7;
  --ink: #0b0d0d;
  --ink-2: #141817;
  --ink-3: #1e2422;
  --on-ink-2: #9ba7a4;
  --on-light-2: #4a5856;
  --line-light: rgba(11, 13, 13, 0.12);
  --line-dark: rgba(246, 248, 247, 0.12);

  --sans: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 72px;
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--on-teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 16px; }

.display { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; }
/* uppercase accents (Ñ, Ã, Й) need room above the cap height */
:lang(es) .display, :lang(pt) .display, :lang(ru) .display { line-height: 1.04; }
.mono { font-family: var(--mono); font-size: 0.8125rem; }
/* split text: each word rises out of its own clip */
/* vertical padding keeps accents (Ñ, Ó, Й) inside the clip */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0 0.08em; margin: -0.16em 0 -0.08em; }
.w > span { display: inline-block; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.9375rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s;
}
.pill svg { width: 19px; height: 19px; flex: none; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(0.97); }
.pill-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.pill-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--ink-3); }
.pill-teal { background: var(--teal); color: var(--on-teal); }
.pill-teal:hover { background: var(--teal-hover); }
.pill-line { border-color: currentColor; }
.pill-line:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.text-link { font-weight: 700; text-underline-offset: 0.25em; }

/* ---------- nav: colors follow the section underneath ---------- */
.nav {
  --bg: rgba(232, 245, 242, 0.75);
  position: fixed; z-index: 40; inset: 0 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  color: var(--ink); transition: color 0.35s, background-color 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled { background: var(--bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line-light); }
.nav[data-theme="dark"] { --bg: rgba(11, 13, 13, 0.75); color: var(--paper); }
.nav[data-theme="dark"].is-scrolled { box-shadow: 0 1px 0 var(--line-dark); }
.nav[data-theme="teal"] { --bg: rgba(66, 186, 169, 0.82); }
.nav[data-theme="teal"] .pill-teal { background: var(--ink); color: var(--paper); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; text-decoration: none; }
.logo { width: 30px; height: 30px; background: currentColor; -webkit-mask: url("icon-256.png") center / contain no-repeat; mask: url("icon-256.png") center / contain no-repeat; }
.nav-links { display: flex; gap: 4px; }
.nav-links a, .langs a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; padding: 8px 14px; border-radius: 999px; transition: background-color 0.2s; }
.nav-links a:hover, .langs a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; margin-right: 6px; }
.langs a { padding: 8px 9px; font-size: 0.8125rem; letter-spacing: 0.04em; opacity: 0.6; }
.langs a[aria-current="true"] { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(28px, 7vh, 72px)) var(--gutter) 0;
  background: var(--mint); text-align: center;
}
.hero-copy { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; transform-origin: 50% 0; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(18px, 3vh, 28px); }
.hero-meta > span { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(66, 186, 169, 0.18); color: var(--on-teal-2); }
.hero h1 { font-size: clamp(3.4rem, 10.4vw, 10rem); }
.lede { max-width: 56ch; margin: clamp(18px, 3vh, 28px) auto 0; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--on-light-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 4vh, 36px); }

/* cover-art orbs, the same gradient discs the app uses as placeholder art */
.orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.orb {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--a) 0%, var(--b) 52%, var(--c) 100%);
  box-shadow: inset -12px -18px 40px rgba(0, 0, 0, 0.18), 0 30px 60px -30px rgba(11, 13, 13, 0.45);
}
.o1 { --s: 150px; left: 3%; top: 60%; --a: #9ff0e2; --b: #2c9c8c; --c: #0b3a34; }
.o2 { --s: 96px; right: 4%; top: 13%; --a: #c9c4ff; --b: #6155d8; --c: #1a1440; }
.o3 { --s: 120px; right: 3%; top: 58%; --a: #ffd7a3; --b: #e0694d; --c: #3a1020; }
.o4 { --s: 70px; left: 5%; top: 16%; --a: #ffb3d1; --b: #b13f7f; --c: #2a0b20; }
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: float 7s ease-in-out infinite alternate; }
  .o2 { animation-duration: 8.5s; animation-delay: -2s; }
  .o3 { animation-duration: 6.5s; animation-delay: -4s; }
  .o4 { animation-duration: 9s; animation-delay: -1s; }
}
@keyframes float { to { translate: 0 -22px; rotate: 8deg; } }

.hero-shot { position: relative; z-index: 3; margin: clamp(40px, 7vh, 72px) auto 0; perspective: 1600px; }
.window {
  position: relative; width: min(1180px, 100%); margin: 0 auto; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; background: #0f0f0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 100px -40px rgba(11, 13, 13, 0.6), 0 20px 40px -20px rgba(11, 13, 13, 0.35);
}
.window img { width: 100%; height: 100%; object-fit: cover; }
.hero .window { transform: rotateX(18deg); transform-origin: 50% 0; }

/* ---------- marquee ---------- */
.marquee { background: var(--teal); color: var(--ink); padding: clamp(56px, 10vw, 140px) 0; overflow: hidden; }
.marquee-line { display: flex; align-items: center; gap: 0.32em; white-space: nowrap; font-size: clamp(4rem, 13vw, 13rem); padding-left: var(--gutter); width: max-content; }
.marquee-line i { width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--ink); flex: none; }

/* ---------- statement ---------- */
.statement { background: var(--ink); color: var(--paper); padding: clamp(96px, 18vh, 200px) var(--gutter) clamp(48px, 8vh, 96px); }
.statement-text { max-width: var(--max); margin: 0 auto; font-size: clamp(2.1rem, 5.6vw, 5.75rem); line-height: 1; text-wrap: balance; }

/* ---------- tour ---------- */
.tour { background: var(--ink); color: var(--paper); padding: 0 var(--gutter) clamp(72px, 10vw, 120px); }
.tour-grid { max-width: var(--max); margin: 0 auto; }
.tour-shots { display: none; }
.tour-steps { display: grid; gap: clamp(64px, 10vw, 110px); }
.step-shot { margin-bottom: 28px; }
.step-no { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.step-no span { display: inline-grid; place-items: center; min-width: 42px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--teal); letter-spacing: 0.02em; }
.step h3 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.step > p:last-child { margin-top: 18px; max-width: 46ch; color: var(--on-ink-2); font-size: 1.0625rem; }
.tour-note { max-width: var(--max); margin: 48px auto 0; font-size: 0.875rem; color: var(--on-ink-2); }

/* pinned layout (added by main.js on large screens): the screenshot stays while the steps change */
.tour-grid.is-pinned { height: 100vh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.is-pinned .tour-shots { display: block; }
.is-pinned .tour-shots img { position: absolute; inset: 0; opacity: 0; }
.is-pinned .tour-shots img:first-child { opacity: 1; }
.is-pinned .tour-steps { position: relative; height: 70vh; display: block; }
.is-pinned .step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; }
.is-pinned .step:first-child { opacity: 1; visibility: visible; }
.is-pinned .step-shot { display: none; }
.tour:has(.is-pinned) .tour-note { margin-top: 0; }

/* ---------- facts ---------- */
.facts { background: var(--teal); color: var(--ink); padding: clamp(72px, 12vw, 140px) var(--gutter); overflow: hidden; }
.facts-stage { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(56px, 9vw, 96px); }
.fact { display: grid; gap: 12px; justify-items: center; text-align: center; }
.fact-big { font-size: clamp(9rem, 30vw, 26rem); line-height: 0.8; letter-spacing: -0.06em; }
.fact-text { max-width: 26ch; font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.facts.is-pinned { padding: 0; }
.facts.is-pinned .facts-stage { position: relative; height: 100vh; display: block; }
.facts.is-pinned .fact { position: absolute; inset: 0; align-content: center; padding: 0 var(--gutter); }

/* ---------- more ---------- */
.more { background: var(--paper); padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(96px, 14vw, 180px); }
.more h2, .more-list { max-width: var(--max); margin-left: auto; margin-right: auto; }
.more h2 { font-size: clamp(3rem, 8vw, 7.5rem); margin-bottom: clamp(36px, 5vw, 64px); }
.more-list { border-top: 1px solid var(--line-light); }
.more-list li {
  display: flex; align-items: center; gap: 0.6em; padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.4rem, 3.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  transition: opacity 0.4s var(--ease), padding-left 0.5s var(--ease);
}
.more-list li::before { content: ""; width: 0.36em; height: 0.36em; border-radius: 50%; background: var(--teal); flex: none; }
@media (hover: hover) {
  .more-list:hover li { opacity: 0.32; }
  .more-list li:hover { opacity: 1; padding-left: 0.4em; }
}

/* ---------- download ---------- */
.download { background: var(--paper); padding: 0 clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px); }
.download-card {
  max-width: 1480px; margin: 0 auto; background: var(--ink); color: var(--paper);
  border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 8vw, 110px) clamp(20px, 6vw, 96px);
}
.download-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.download h2 { font-size: clamp(3rem, 7.6vw, 7rem); color: var(--teal); }
.sec-lede { max-width: 44ch; color: var(--on-ink-2); font-size: 1.125rem; }
.os-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ink-2); width: fit-content; max-width: 100%; }
.os-tabs button { border: 0; background: none; padding: 11px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 0.9375rem; color: var(--on-ink-2); transition: background-color 0.25s, color 0.25s; }
.os-tabs button:hover { color: var(--paper); }
.os-tabs button[aria-selected="true"] { background: var(--teal); color: var(--on-teal); }
.os-panel { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-dark); }
.os-panel[hidden] { display: none; }
.os-get { display: grid; gap: 14px; align-content: start; justify-items: start; }
.os-req { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-2); }
.download .pill-ink { background: var(--teal); color: var(--on-teal); }
.download .pill-ink:hover { background: var(--teal-hover); }
.os-file { color: var(--on-ink-2); word-break: break-all; }
.steps { counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 34px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-3); color: var(--teal); display: grid; place-items: center; font-weight: 800; font-size: 0.9375rem; }
.cmd { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 8px 8px 14px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; max-width: 100%; }
.cmd code { font: 0.8125rem var(--mono); overflow-x: auto; white-space: nowrap; flex: 1; scrollbar-width: thin; }
.copy { flex: none; background: var(--ink-3); color: var(--paper); border: 0; border-radius: 999px; padding: 7px 14px; font-size: 0.8125rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.copy:hover { background: var(--teal); color: var(--on-teal); }
.download-note { margin-top: clamp(32px, 4vw, 48px); max-width: 80ch; font-size: 0.9375rem; color: var(--on-ink-2); }
.download-note a { color: var(--teal); font-weight: 700; }

/* ---------- support ---------- */
.support { background: var(--teal); color: var(--ink); padding: clamp(96px, 14vw, 180px) var(--gutter); text-align: center; }
.support h2 { max-width: 1100px; margin: 0 auto; font-size: clamp(3rem, 8.6vw, 8.25rem); }
.support > p { max-width: 52ch; margin: 28px auto 0; font-size: 1.1875rem; color: var(--on-teal-2); }
.support-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 36px; }

/* ---------- faq ---------- */
.faq { background: var(--ink); color: var(--paper); padding: clamp(96px, 14vw, 180px) var(--gutter); }
.faq-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(var(--paper), var(--paper)) center / 12px 2px no-repeat, linear-gradient(var(--paper), var(--paper)) center / 2px 12px no-repeat, var(--ink-3);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: linear-gradient(var(--on-teal), var(--on-teal)) center / 12px 2px no-repeat, linear-gradient(var(--on-teal), var(--on-teal)) center / 2px 12px no-repeat, var(--teal); }
.faq summary:hover { color: var(--teal); }
.faq .answer { padding: 0 52px 26px 0; max-width: 68ch; color: var(--on-ink-2); }

/* ---------- footer ---------- */
.footer { background: #070909; color: var(--paper); padding: clamp(56px, 8vw, 104px) var(--gutter) 32px; overflow: hidden; }
.footer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.foot-word { color: var(--teal); white-space: nowrap; line-height: 0.8; font-size: clamp(6rem, 26vw, 24rem); margin-bottom: clamp(36px, 5vw, 64px); }
.foot-word span { display: inline-block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; border-top: 1px solid var(--line-dark); padding-top: 32px; }
.foot-head { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.disclaimer { color: var(--on-ink-2); font-size: 0.9375rem; max-width: 70ch; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover, .foot-links a[aria-current="true"] { color: var(--teal); }
.foot-made { margin-top: 48px; color: var(--on-ink-2); font-size: 0.9375rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .download-head, .os-panel, .faq-grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .o1 { --s: 104px; left: -2%; top: 14%; }
  .o2 { --s: 70px; top: 12%; }
  .o3, .o4 { display: none; }
}
@media (max-width: 620px) {
  :root { --nav-h: 64px; --radius: 14px; }
  .nav { gap: 12px; }
  .nav-gh span, .nav-end .pill-teal { display: none; }
  .nav-gh { padding: 0 11px; }
  .langs { margin-right: 0; }
  .langs a { padding: 8px 6px; }
  .hero-meta > span:nth-child(3) { display: none; }
  .hero-actions .pill { width: 100%; }
  .hero .window { transform: rotateX(10deg); }
  .orb { display: none; }
  .os-tabs { border-radius: 22px; }
  .os-tabs button { flex: 1 1 auto; padding: 10px 12px; font-size: 0.875rem; }
  .steps li { padding-left: 46px; }
  .faq .answer { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .hero .window { transform: none; }
}

/* added by main.js on large screens: the hero is one viewport and the app window peeks from below */
.hero.is-stage { height: 100vh; min-height: 0; }
.foot-word { overflow: hidden; }

/* pinned tour: tells the visitor there is more to scroll through */
.tour-hint { display: none; }
.is-pinned .tour-hint {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); translate: -50% 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  font-size: 0.875rem; font-weight: 700; color: var(--paper); transition: opacity 0.4s;
}
.is-pinned .tour-hint.is-done { opacity: 0; }
.tour-hint svg { width: 16px; height: 16px; color: var(--teal); animation: nudge 1.4s ease-in-out infinite; }
.tour-bar { width: 72px; height: 4px; border-radius: 4px; background: var(--ink-3); overflow: hidden; }
.tour-bar i { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.tour-grid.is-pinned { position: relative; }
@keyframes nudge { 50% { translate: 0 4px; } }

/* back to top: appears after the first screen */
.to-top {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--on-teal);
  box-shadow: 0 0 0 1.5px rgba(11, 13, 13, 0.85), 0 12px 30px -10px rgba(11, 13, 13, 0.5);
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity 0.3s, visibility 0.3s, translate 0.4s var(--ease), background-color 0.2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { background: var(--teal-hover); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- privacy page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + clamp(40px, 8vh, 88px)) var(--gutter) clamp(72px, 10vw, 120px); }
.legal-updated { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-teal-2); }
/* long single words (e.g. Russian) must fit a 360 px screen */
.legal h1 { margin-top: 14px; font-size: clamp(1.6rem, 7vw, 5rem); overflow-wrap: anywhere; }
.legal-lede { margin-top: 24px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink); text-wrap: pretty; }
.legal section { margin-top: clamp(36px, 5vw, 52px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line-light); }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.legal section p { margin-top: 12px; color: var(--on-light-2); }
.legal section a { color: var(--ink); font-weight: 700; text-underline-offset: 0.2em; text-decoration-color: var(--teal); }
.legal code { font: 0.875em var(--mono); background: rgba(66, 186, 169, 0.16); color: var(--on-teal-2); padding: 2px 6px; border-radius: 6px; }
.legal-back { margin-top: clamp(40px, 6vw, 64px); }
.legal-foot { padding: 24px var(--gutter) 40px; text-align: center; font-size: 0.875rem; color: var(--on-light-2); }
.legal-foot a { color: inherit; }
