/* ---------- Fonts (self-hosted; Noto Sans includes ʞ and ʇ) ---------- */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/noto-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

/* ---------- Tokens ---------- */
/* Theme colors are registered so the blue → green switch can fade smoothly. */
@property --bg          { syntax: "<color>"; inherits: true; initial-value: #05080c; }
@property --bg-navy     { syntax: "<color>"; inherits: true; initial-value: #081322; }
@property --bg-deep     { syntax: "<color>"; inherits: true; initial-value: #0b1a2b; }
@property --bg-top      { syntax: "<color>"; inherits: true; initial-value: #0c1d2f; }
@property --tint        { syntax: "<color>"; inherits: true; initial-value: #285a78; }
@property --accent        { syntax: "<color>"; inherits: true; initial-value: #bfe0ea; }
@property --accent-bright { syntax: "<color>"; inherits: true; initial-value: #eef9fc; }
@property --accent-dim    { syntax: "<color>"; inherits: true; initial-value: #7fb0c2; }
@property --accent-deep   { syntax: "<color>"; inherits: true; initial-value: #86b7c9; }
@property --glow-c      { syntax: "<color>"; inherits: true; initial-value: #96d2e6; }
@property --text        { syntax: "<color>"; inherits: true; initial-value: #d9e8ee; }
@property --muted       { syntax: "<color>"; inherits: true; initial-value: #8ea6b2; }

:root {
  /* Icy blue: before the flip */
  --bg: #05080c;
  --bg-navy: #081322;
  --bg-deep: #0b1a2b;
  --bg-top: #0c1d2f;
  --tint: #285a78;
  --accent: #bfe0ea;
  --accent-bright: #eef9fc;
  --accent-dim: #7fb0c2;
  --accent-deep: #86b7c9;
  --glow-c: #96d2e6;
  --text: #d9e8ee;
  --muted: #8ea6b2;
  --logo-filter: hue-rotate(0deg) saturate(1);
  --line: color-mix(in srgb, var(--accent) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--accent) 28%, transparent);
  --glow: color-mix(in srgb, var(--glow-c) 35%, transparent);

  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;

  transition:
    --bg 1.2s var(--ease), --bg-navy 1.2s var(--ease), --bg-deep 1.2s var(--ease), --bg-top 1.2s var(--ease),
    --tint 1.2s var(--ease), --accent 1.2s var(--ease), --accent-bright 1.2s var(--ease),
    --accent-dim 1.2s var(--ease), --accent-deep 1.2s var(--ease), --glow-c 1.2s var(--ease),
    --text 1.2s var(--ease), --muted 1.2s var(--ease);
}

/* Green: switched on by main.js once "stonk" has flipped to 180° */
:root.theme-green {
  --bg: #040a07;
  --bg-navy: #06160e;
  --bg-deep: #0a2215;
  --bg-top: #0b2618;
  --tint: #1f7a45;
  --accent: #8ef5b0;
  --accent-bright: #eafff1;
  --accent-dim: #5fc98a;
  --accent-deep: #3fbf74;
  --glow-c: #4ee08a;
  --text: #d9eee2;
  --muted: #8fb09c;
  /* shifts the logo image (drawn in blue) to green; remove if your own logo shouldn't change color */
  --logo-filter: hue-rotate(-55deg) saturate(1.5);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
img[data-logo] { transition: filter 1.2s var(--ease); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 18px;
}
/* The name must never be case-transformed: uppercasing turns ʞ/ʇ into different letters (Ʞ/Ʇ). */
.name { text-transform: none; font-family: var(--font); font-weight: 700; letter-spacing: 0.02em; }
.section-title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  text-wrap: balance;
}
.lede {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; filter: var(--logo-filter); }
.brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--accent-bright); }
.nav__links { display: flex; gap: 6px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; color: var(--text);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.nav__link[href]:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent-bright); }

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.btn--primary {
  color: #06121c;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 10px 30px -10px var(--glow);
}
.btn--primary[href]:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 16px 40px -10px color-mix(in srgb, var(--glow-c) 55%, transparent); }
.btn--ghost { color: var(--accent-bright); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--accent) 3%, transparent); }
.btn--ghost[href]:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }

/* Links that aren't set yet in config.js */
.is-pending { cursor: default; }
.btn.is-pending {
  color: var(--muted); background: transparent; box-shadow: none;
  border: 1px dashed var(--line-strong);
}
.nav__link.is-pending { color: var(--muted); }
.soon {
  font-family: var(--mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--accent-dim);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 104px var(--gutter) 96px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 110%, var(--bg-deep) 0%, transparent 60%),
    radial-gradient(90% 60% at 50% -10%, var(--bg-top) 0%, transparent 70%),
    var(--bg);
}
.hero__beam {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 60% at 50% 0%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 72%),
    radial-gradient(26% 34% at 50% 48%, color-mix(in srgb, var(--glow-c) 12%, transparent), transparent 75%);
}
.hero__beam::after {
  /* thin vertical light shaft from above */
  content: ""; position: absolute; left: 50%; top: 0; width: min(420px, 60vw); height: 70%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-bright) 10%, transparent), transparent 85%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  filter: blur(18px);
}
.hero__floor {
  position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, color-mix(in srgb, var(--bg-navy) 90%, transparent), transparent);
}
.wordmark::after {
  /* the "floor" the name stands on, with its reflection just below */
  content: ""; position: absolute; left: -20%; right: -20%; top: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}

.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__mark {
  width: clamp(88px, 12vw, 132px); height: auto;
  filter: var(--logo-filter) drop-shadow(0 0 22px color-mix(in srgb, var(--glow-c) 45%, transparent)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
  animation: bob 7s ease-in-out infinite;
  margin-bottom: clamp(8px, 2vw, 18px);
}

.wordmark { position: relative; line-height: 0.92; }
.wordmark__text,
.wordmark__reflection {
  display: block;
  font-size: clamp(4.5rem, 19vw, 11.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  padding: 0 0.04em;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.wordmark__text { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--glow-c) 32%, transparent)); }
.wordmark__reflection {
  position: absolute; left: 0; right: 0; top: 100%;
  transform: scaleY(-1);
  margin-top: 0.04em;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 42%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 42%);
  pointer-events: none; user-select: none;
}
.hero__line {
  margin-top: clamp(52px, 8vw, 92px);
  max-width: 30rem;
  font-size: clamp(1.125rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: balance;
}
.hero__line strong { color: var(--accent-bright); font-weight: 700; }
.hero .cta-row { margin-top: 34px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--line-strong);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--accent);
  animation: cue 2.2s var(--ease) infinite;
}

/* Floating glass tiles */
.tiles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tile {
  --s: 120px; --r: 0deg; --ry: 0deg; --b: 0px; --o: 1; --d: 12s; --delay: 0s;
  position: absolute;
  width: var(--s); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 24%;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent-bright) 16%, transparent) 0%, color-mix(in srgb, var(--bg-deep) 55%, transparent) 42%, rgba(4, 8, 12, 0.85) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -14px 28px rgba(0, 0, 0, 0.45),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 44px color-mix(in srgb, var(--glow-c) 9%, transparent);
  filter: blur(var(--b));
  opacity: var(--o);
  transform: perspective(800px) rotateY(var(--ry)) rotate(var(--r));
  animation: float var(--d) ease-in-out var(--delay) infinite;
}
.tile img { width: 50%; height: auto; opacity: 0.85; filter: var(--logo-filter) drop-shadow(0 0 10px color-mix(in srgb, var(--glow-c) 35%, transparent)); }
.tile--1 { --s: 168px; --r: -14deg; --ry: 24deg;  --d: 13s; left: -2%;  top: 15%; }
.tile--2 { --s: 82px;  --r: 12deg;  --ry: -10deg; --b: 1.5px; --o: 0.55; --d: 10s; --delay: -3s; left: 17%; top: 42%; }
.tile--3 { --s: 250px; --r: 18deg;  --ry: 30deg;  --b: 7px; --o: 0.45; --d: 16s; --delay: -6s; left: 4%; bottom: -6%; }
.tile--4 { --s: 150px; --r: 16deg;  --ry: -26deg; --d: 12s; --delay: -2s; right: 3%; top: 11%; }
.tile--5 { --s: 68px;  --r: -10deg; --ry: 12deg;  --b: 2px; --o: 0.5; --d: 9s; --delay: -5s; right: 19%; top: 47%; }
.tile--6 { --s: 270px; --r: -18deg; --ry: -30deg; --b: 8px; --o: 0.42; --d: 17s; --delay: -8s; right: -6%; bottom: -4%; }
.tile--7 { --s: 54px;  --r: 22deg;  --ry: 0deg;   --b: 3px; --o: 0.32; --d: 11s; --delay: -1s; left: 31%; top: 9%; }

@keyframes float {
  0%, 100% { transform: perspective(800px) rotateY(var(--ry)) rotate(var(--r)) translate3d(0, 0, 0); }
  50%      { transform: perspective(800px) rotateY(calc(var(--ry) * 0.7)) rotate(calc(var(--r) + 5deg)) translate3d(0, -18px, 0); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- The flip ---------- */
.flip {
  --p: 0;
  position: relative;
  background:
    radial-gradient(70% 50% at 50% 50%, color-mix(in srgb, var(--bg-top) 90%, transparent), transparent 75%),
    linear-gradient(180deg, var(--bg-navy), var(--bg) 50%, var(--bg-navy));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flip__stage {
  padding: clamp(96px, 13vw, 160px) var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(28px, 5vh, 52px);
  overflow: hidden;
}
.flip__head .eyebrow { margin-bottom: 14px; }

.flip__dial, .flip__readout { display: none; }
.flip__dial {
  position: relative;
  width: min(78vw, 560px); aspect-ratio: 1;
  max-height: 48vh; max-width: 48vh;
  min-width: 260px; min-height: 260px;
  place-items: center;
}
.flip__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle closest-side, color-mix(in srgb, var(--glow-c) calc((0.06 + var(--p) * 0.12) * 100%), transparent), transparent 72%);
  transform: rotate(calc(var(--p) * 180deg));
}
.flip__ring::before {
  /* tick marks around the inside edge */
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  background: repeating-conic-gradient(from -0.5deg, color-mix(in srgb, var(--accent) 40%, transparent) 0 1deg, transparent 1deg 10deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 91%, #000 91.5%);
  mask: radial-gradient(circle closest-side, transparent 91%, #000 91.5%);
}
.flip__ring::after {
  /* marker dot */
  content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--glow);
}
.flip__word {
  position: relative;
  font-size: clamp(3.5rem, 14vw, 8.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  padding-bottom: 0.12em; /* balances the x-height so it spins around the letters' centre */
  color: var(--accent-bright);
  text-shadow: 0 0 calc(10px + var(--p) * 30px) color-mix(in srgb, var(--glow-c) calc((0.15 + var(--p) * 0.35) * 100%), transparent);
  transform: rotate(calc(var(--p) * 180deg));
  will-change: transform;
}
.flip__readout {
  align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 0.9375rem; color: var(--muted);
}
.flip__from { opacity: calc(1 - var(--p) * 0.6); font-family: var(--font); font-weight: 700; }
.flip__to { opacity: calc(0.4 + var(--p) * 0.6); font-family: var(--font); font-weight: 700; color: var(--accent-bright); }
.flip__deg {
  min-width: 7ch; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Static version (reduced motion / no JS) */
.flip__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: 100%; max-width: 720px;
}
.flip__steps li {
  display: grid; place-items: center; gap: 14px;
  padding: 28px 8px 18px;
  border: 1px solid var(--line); border-radius: 20px;
  background: color-mix(in srgb, var(--accent) 3%, transparent);
}
.flip__step-word {
  display: grid; place-items: center; height: 5.2rem;
  font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--accent-bright);
}
.flip__steps li:last-child .flip__step-word { text-shadow: 0 0 24px var(--glow); }
.flip__step-deg { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  html.js .flip { height: 280vh; }
  html.js .flip__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 80px; padding-bottom: 48px; }
  html.js .flip__dial { display: grid; }
  html.js .flip__readout { display: flex; }
  html.js .flip__steps { display: none; }
}

/* ---------- About ---------- */
.about { padding: clamp(96px, 14vw, 180px) 0; }
.about__inner { max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.about .section-title { font-size: clamp(2.25rem, 6.4vw, 4.5rem); }
.about .lede { margin-left: auto; margin-right: auto; max-width: 32rem; }
.points {
  list-style: none; margin: clamp(56px, 8vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.point {
  padding: 26px 24px 28px;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 5%, transparent), color-mix(in srgb, var(--accent) 1%, transparent));
}
.point__num { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 0.8125rem; color: var(--accent-dim); }
.point h3 { font-size: 1.1875rem; font-weight: 700; color: var(--accent-bright); letter-spacing: -0.01em; }
.point p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.points .reveal:nth-child(2) { transition-delay: 0.08s; }
.points .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Closing ---------- */
.closing {
  position: relative;
  padding: clamp(96px, 14vw, 170px) 0;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--tint) 28%, transparent), transparent 75%),
    linear-gradient(180deg, var(--bg), var(--bg-navy));
  border-top: 1px solid var(--line);
}
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing__mark {
  width: 64px; height: 64px; margin-bottom: 28px;
  filter: var(--logo-filter) drop-shadow(0 0 18px color-mix(in srgb, var(--glow-c) 40%, transparent));
  transform: rotate(180deg); /* the mark, flipped back the "right" way up */
}
.closing .lede { margin-left: auto; margin-right: auto; }
.closing .cta-row { margin-top: 34px; }
.closing__note { margin-top: 20px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-navy); padding: 32px 0 40px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.brand--footer img { width: 22px; height: 22px; filter: var(--logo-filter); }
.brand--footer .brand__name { font-size: 1.0625rem; }
.footer__legal { font-size: 0.8125rem; line-height: 1.55; color: var(--muted); max-width: 44rem; }
.footer__copy { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero entrance */
html.js .hero__content > * { animation: rise 1.2s var(--ease) both; }
html.js .hero__content > :nth-child(2) { animation-delay: 0.08s; }
html.js .hero__content > :nth-child(3) { animation-delay: 0.2s; }
html.js .hero__content > :nth-child(4) { animation-delay: 0.3s; }
html.js .hero__content > .hero__mark { animation: rise 1.2s var(--ease) both, bob 7s ease-in-out 1.2s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .points { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav__link { padding: 8px 10px; }
  .hero { padding-top: 88px; padding-bottom: 88px; }
  .hero .cta-row, .closing .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .tile--2, .tile--5, .tile--7 { display: none; }
  .tile--1 { --s: 92px; left: -6%; top: 11%; }
  .tile--4 { --s: 84px; right: -4%; top: 16%; }
  .tile--3 { --s: 150px; left: -14%; bottom: -3%; }
  .tile--6 { --s: 160px; right: -16%; bottom: 2%; }
  .flip__readout { gap: 12px; font-size: 0.875rem; }
  .flip__steps { gap: 8px; }
  .flip__steps li { padding: 20px 4px 14px; }
  .flip__step-word { height: 4.4rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
