/* ============================================================
   MomentumX — night almanac
   A dark, instrument-like editorial system:
   engraved rules, monospaced data, gold marks the peak hour.
   ============================================================ */

:root {
  color-scheme: dark;

  /* ink */
  --ink:        #080A11;
  --ink-raise:  #0D111C;
  --ink-panel:  #111623;
  --ink-edge:   #1C2333;

  /* light */
  --bone:       #F0EADC;
  --bone-mute:  #A7ADBE;
  --bone-faint: #6E7488;

  /* signals */
  --gold:       #E9B44C;
  --gold-warm:  #F4CE7A;
  --iris:       #7C6CF0;
  --iris-soft:  #A79BFF;
  --cyan:       #63D2CE;

  --rule:       rgba(240, 234, 220, 0.10);
  --rule-soft:  rgba(240, 234, 220, 0.055);

  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body:    'Schibsted Grotesk', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #0A0A0A; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- atmosphere ---------- */

/* fine film grain over everything, fixed so it never scrolls */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* the sky: two slow auroral pools + a star grid */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -8%,  rgba(124, 108, 240, 0.20), transparent 62%),
    radial-gradient(760px 520px at 6%  14%,  rgba(99, 210, 206, 0.10), transparent 60%),
    radial-gradient(1100px 700px at 50% 106%, rgba(233, 180, 76, 0.09), transparent 60%);
}

.sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.1px 1.1px at 12% 18%, rgba(240,234,220,0.55), transparent),
    radial-gradient(1px 1px at 34% 62%, rgba(240,234,220,0.35), transparent),
    radial-gradient(1.4px 1.4px at 68% 26%, rgba(240,234,220,0.45), transparent),
    radial-gradient(1px 1px at 88% 71%, rgba(240,234,220,0.30), transparent),
    radial-gradient(1.2px 1.2px at 52% 88%, rgba(240,234,220,0.28), transparent),
    radial-gradient(1px 1px at 78% 8%, rgba(240,234,220,0.32), transparent),
    radial-gradient(1px 1px at 22% 84%, rgba(240,234,220,0.24), transparent);
  animation: twinkle 9s ease-in-out infinite alternate;
}

@keyframes twinkle { from { opacity: 0.45; } to { opacity: 0.95; } }

/* ---------- layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section + .section { border-top: 1px solid var(--rule-soft); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #0A0A0A;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- type ---------- */

.kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }

h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 8.4vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

/* Russian and Spanish headlines run longer than the English ones. */
html[lang='ru'] h1 { font-size: clamp(2.25rem, 6vw, 4.75rem); letter-spacing: -0.02em; }
html[lang='ru'] h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); letter-spacing: -0.015em; }
html[lang='es'] h1 { font-size: clamp(2.5rem, 7.2vw, 5.75rem); }
html[lang='es'] h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }

h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--bone-mute);
  max-width: 46ch;
}

em.gold { font-style: italic; color: var(--gold-warm); }

/* ---------- header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.masthead[data-stuck='true'] {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-inline-end: auto;
  white-space: nowrap;
}
.brand .mark { width: 1.5rem; height: 1.5rem; flex: none; }
.brand .mark circle { transform-origin: 50% 50%; }
.brand:hover .mark .orbit { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sitenav {
  display: flex;
  gap: 0.25rem;
  font-size: 0.875rem;
}
.sitenav a {
  text-decoration: none;
  color: var(--bone-mute);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.sitenav a:hover { color: var(--bone); background: rgba(240,234,220,0.06); }
.sitenav a[aria-current='page'] { color: var(--bone); }
.sitenav a[aria-current='page']::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 2px;
  background: var(--gold);
}

.langs {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.2rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}
.langs a {
  text-decoration: none;
  color: var(--bone-faint);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.langs a:hover { color: var(--bone); }
.langs a[aria-current='true'] { color: #0A0A0A; background: var(--gold); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-warm), var(--gold));
  color: #14100A;
  box-shadow: 0 10px 34px -14px rgba(233, 180, 76, 0.85);
}
.btn-gold:hover { box-shadow: 0 16px 42px -14px rgba(233, 180, 76, 0.95); }

.btn-ghost { border-color: var(--rule); color: var(--bone); }
.btn-ghost:hover { border-color: rgba(240,234,220,0.3); background: rgba(240,234,220,0.04); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 { margin-block: 1.75rem 1.5rem; }
.hero h1 .line { display: block; }
.hero h1 .line:last-child {
  font-style: italic;
  color: var(--gold-warm);
  padding-inline-start: clamp(0.5rem, 4vw, 3.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.hero-note {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-top: 1rem;
}

/* ---------- the dial ---------- */

.dial-shell { position: relative; display: grid; place-items: center; }

.dial-shell::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,180,76,0.16), transparent 68%);
  filter: blur(28px);
}

.dial { width: min(100%, 30rem); aspect-ratio: 1; position: relative; }
.dial svg { width: 100%; height: 100%; overflow: visible; }

.dial .tick { stroke: rgba(240,234,220,0.22); stroke-width: 1.2; stroke-linecap: round; }
.dial .tick.major { stroke: rgba(240,234,220,0.5); stroke-width: 1.6; }

.dial .bar {
  stroke-linecap: round;
  transform-origin: 160px 160px;
  animation: barIn 0.9s var(--ease) backwards;
}
@keyframes barIn { from { opacity: 0; stroke-dasharray: 0 100; } }

.dial .ring-base { fill: none; stroke: rgba(240,234,220,0.08); stroke-width: 1; }

.dial .sweep {
  fill: none;
  stroke: url(#sweepGrad);
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 160px 160px;
  animation: sweep 14s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.dial .hour-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  fill: var(--bone-faint);
}

.dial-readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.15rem;
}
.dial-readout .cap {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.dial-readout .score {
  font-family: var(--display);
  font-size: clamp(3.25rem, 9vw, 4.75rem);
  line-height: 1;
  color: var(--gold-warm);
}
.dial-readout .peak {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.dial-readout .peak span { color: var(--gold); }

.dial-foot {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--bone-faint);
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--rule);
  overflow: hidden;
  padding-block: 1.1rem;
  background: rgba(13, 17, 28, 0.5);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-mute);
  white-space: nowrap;
}
.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.7;
}

/* ---------- steps ---------- */

.section-head { max-width: 34ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 1.25rem; }
.section-head .lead { margin-top: 1.25rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  overflow: hidden;
}
.step {
  background: var(--ink-raise);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transition: background 0.35s var(--ease);
}
.step:hover { background: var(--ink-panel); }
.step .n {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}
.step h3 { margin-block: 1.25rem 0.6rem; }
.step p { color: var(--bone-mute); font-size: 0.9375rem; }

/* ---------- signal cards ---------- */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}

.signal {
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  padding: 1.75rem;
  background:
    linear-gradient(180deg, rgba(240,234,220,0.035), transparent 55%),
    var(--ink-raise);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.signal::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(320px 160px at var(--mx, 50%) var(--my, 0%), rgba(233,180,76,0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.signal:hover { border-color: rgba(233,180,76,0.35); transform: translateY(-3px); }
.signal:hover::after { opacity: 1; }

.signal .glyph { width: 2.25rem; height: 2.25rem; color: var(--gold); }
.signal h3 { margin-block: 1.25rem 0.55rem; }
.signal p { color: var(--bone-mute); font-size: 0.9375rem; }

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split .copy h2 { margin-block: 1.25rem 1.25rem; }
.split .copy p { color: var(--bone-mute); max-width: 46ch; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--bone-mute);
  background: rgba(240,234,220,0.03);
}
.chip:nth-child(odd) { border-color: rgba(233,180,76,0.28); color: var(--gold-warm); }

/* week strip visual */
.weekstrip {
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: var(--ink-raise);
  display: grid;
  gap: 0.75rem;
}
.weekrow { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: 0.85rem; }
.weekrow .d {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
  text-transform: uppercase;
}
.weekbar {
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(240,234,220,0.05);
  position: relative;
  overflow: hidden;
}
.weekbar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,108,240,0.55), rgba(233,180,76,0.9));
  transform-origin: left;
  animation: growX 1.1s var(--ease) backwards;
}
@keyframes growX { from { transform: scaleX(0); } }

/* ---------- model bars ---------- */

.bars { display: grid; gap: 1rem; }
.bar-row { display: grid; grid-template-columns: minmax(6.5rem, 9rem) 1fr auto; gap: 1rem; align-items: center; }
.bar-row .lbl { font-size: 0.875rem; color: var(--bone-mute); }
.bar-row .val { font-family: var(--mono); font-size: 0.75rem; color: var(--gold); min-width: 3ch; text-align: end; }
.bar-track {
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(240,234,220,0.07);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--iris), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.is-visible .bar-fill { transform: scaleX(var(--w, 1)); }
.bars-caption { margin-top: 1.5rem; font-size: 0.75rem; color: var(--bone-faint); font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- surfaces ---------- */

.surfaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.surface { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem) 0; padding-inline: clamp(1.25rem, 2.5vw, 2rem); }
.surface h3 { color: var(--gold-warm); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.surface p { margin-top: 0.85rem; font-size: 0.9375rem; color: var(--bone-mute); }

/* ---------- privacy statement ---------- */

.statement {
  border: 1px solid var(--rule);
  border-radius: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(99,210,206,0.09), transparent 65%),
    var(--ink-raise);
}
.statement h2 { max-width: 20ch; }
.statement p { color: var(--bone-mute); max-width: 58ch; margin-top: 1.5rem; }

.pills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(99,210,206,0.28);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}
.pill::before { content: ''; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: currentColor; }

/* ---------- plans ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
}
.plan {
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--ink-raise);
}
.plan.is-premium {
  border-color: rgba(233,180,76,0.35);
  background:
    linear-gradient(180deg, rgba(233,180,76,0.07), transparent 45%),
    var(--ink-panel);
}
.plan-name {
  font-family: var(--display);
  font-size: 1.875rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.plan-badge {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(233,180,76,0.35);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.plan ul { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.plan li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--bone-mute);
}
.plan li::before { content: '→'; color: var(--gold); font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7; }
.plan-note { margin-top: 2rem; font-size: 0.8125rem; color: var(--bone-faint); max-width: 70ch; }

/* ---------- final CTA ---------- */

.finale { text-align: center; }
.finale h2 { max-width: 20ch; margin-inline: auto; }
.finale p { color: var(--bone-mute); margin-top: 1rem; font-size: 1.125rem; }
.finale .hero-actions { justify-content: center; }

.disclaimer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--bone-faint);
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: rgba(8, 10, 17, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2.5rem;
  align-items: start;
}
.footer .tagline { font-family: var(--display); font-size: 1.5rem; margin-top: 0.75rem; color: var(--bone); }
.footer nav { display: grid; gap: 0.6rem; font-size: 0.9375rem; }
.footer nav a { color: var(--bone-mute); text-decoration: none; transition: color 0.2s; }
.footer nav a:hover { color: var(--gold-warm); }
.footer .colhead {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 1rem;
}
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--bone-faint);
}

/* ---------- legal / document pages ---------- */

.doc-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
html[lang] .doc-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  margin-top: 1.25rem;
}
.doc-hero .updated {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--bone-faint);
  margin-top: 1.25rem;
}
.doc-hero .lead { margin-top: 1.5rem; max-width: 52ch; }

.doc {
  max-width: 44rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.doc p, .doc li { color: var(--bone-mute); }
.doc p + p { margin-top: 1rem; }
.doc h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--bone);
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
}
.doc h3:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc ul { list-style: none; display: grid; gap: 0.7rem; margin-top: 1rem; }
.doc ul li { display: grid; grid-template-columns: 0.9rem 1fr; gap: 0.75rem; }
.doc ul li::before { content: '·'; color: var(--gold); font-weight: 700; line-height: 1.4; }
.doc strong { color: var(--bone); font-weight: 600; }
.doc a { color: var(--gold-warm); text-underline-offset: 3px; }

.card {
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  padding: 1.5rem 1.75rem;
  background: var(--ink-raise);
  margin-top: 1.5rem;
}
.card a { font-weight: 600; }

/* long-document layout: a quiet index on the left */
.doc-layout { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc { display: none; }

@media (min-width: 64rem) {
  .doc-layout { grid-template-columns: 15rem minmax(0, 1fr); }
  .toc { display: block; position: sticky; top: 6rem; }
  .toc nav { display: grid; gap: 0.5rem; border-left: 1px solid var(--rule); padding-left: 1.25rem; }
  .toc a {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--bone-faint);
    text-decoration: none;
    transition: color 0.2s;
  }
  .toc a:hover { color: var(--gold-warm); }
}

/* ---------- act / wait ---------- */

.verdicts { display: grid; gap: 1rem; }

.verdict {
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  padding: 1.5rem 1.75rem;
  background: var(--ink-raise);
  position: relative;
  overflow: hidden;
}
.verdict::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
}
.verdict p:last-child { color: var(--bone-mute); font-size: 0.9375rem; }

.verdict-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.verdict-act { border-color: rgba(233, 180, 76, 0.3); }
.verdict-act::before { background: var(--gold); }
.verdict-act .verdict-label { color: var(--gold); }
.verdict-wait::before { background: var(--iris); }
.verdict-wait .verdict-label { color: var(--iris-soft); }

/* ---------- app screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.shot { position: relative; text-align: center; }
.shot:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }

.shot img {
  width: 100%;
  max-width: 17rem;
  height: auto;
  margin-inline: auto;
  border-radius: clamp(1.5rem, 3vw, 2.25rem);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s var(--ease);
}
.shot:hover img { transform: translateY(-6px); }

.shot::before {
  content: '';
  position: absolute;
  inset: 12% 8% 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 240, 0.22), transparent 70%);
  filter: blur(38px);
  z-index: -1;
}
.shot:nth-child(2)::before { background: radial-gradient(circle, rgba(233, 180, 76, 0.2), transparent 70%); }

.shot figcaption { margin-top: 1.5rem; max-width: 22rem; margin-inline: auto; }
.shot figcaption h3 { color: var(--gold-warm); }
.shot figcaption p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--bone-mute); }

/* ---------- life areas ---------- */

.signal-area .glyph { color: var(--iris-soft); }
.signal-area:hover { border-color: rgba(124, 108, 240, 0.45); }
.signal-area::after {
  background: radial-gradient(320px 160px at var(--mx, 50%) var(--my, 0%), rgba(124, 108, 240, 0.16), transparent 70%);
}

/* ---------- who it's for ---------- */

.audience { list-style: none; display: grid; gap: 0; counter-reset: who; }
.audience li {
  counter-increment: who;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  color: var(--bone);
}
.audience li:last-child { border-bottom: 1px solid var(--rule-soft); }
.audience li::before {
  content: '0' counter(who);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-warm); }
.faq summary::after {
  content: '';
  position: absolute;
  right: 0.35rem;
  top: 1.75rem;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding-bottom: 1.5rem; color: var(--bone-mute); max-width: 60ch; }

/* ---------- reveal on scroll ---------- */

/* Only hide when JS is present to reveal them again. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dial { width: min(100%, 24rem); }
  .hero { padding-block: 2.5rem 3.5rem; }
  .shots { grid-template-columns: 1fr; gap: 3rem; }
  .shot:nth-child(2) { margin-top: 0; }
}

@media (max-width: 46rem) {
  .masthead .wrap { flex-wrap: wrap; min-height: 0; padding-block: 0.6rem; gap: 0.5rem 1rem; }
  .brand { margin-inline-end: 0; flex: 1 0 auto; font-size: 1.125rem; }
  .brand .mark { width: 1.25rem; height: 1.25rem; }
  .sitenav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    font-size: 0.8125rem;
    scrollbar-width: none;
  }
  .sitenav::-webkit-scrollbar { display: none; }
  .sitenav a { padding: 0.25rem 0.55rem; }
  .langs { font-size: 0.625rem; padding: 0.15rem; }
  .langs a { padding: 0.25rem 0.45rem; }
  .dial { width: min(100%, 19rem); }
  .dial-shell { margin-top: 2.5rem; }
  .hero h1 .line:last-child { padding-inline-start: 0; }
  .bar-row { grid-template-columns: minmax(5rem, 7rem) 1fr auto; }
  .surface { padding-inline: 0; }
  .statement, .plan, .step { border-radius: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bar-fill { transform: scaleX(var(--w, 1)); }
}

@media print {
  .sky, .masthead, .marquee, .footer nav { display: none; }
  body { background: #fff; color: #111; }
  body::after { display: none; }
  .doc p, .doc li { color: #333; }
}
