/* bluumme.com — landing page only.
   styles.css stays the shared base (tokens, header, footer, store badges, CTA
   band) because build/generate.mjs inlines it into every legal page. Everything
   that exists only on the home page lives here, so the legal pages do not carry
   it. Loads nothing external (the site CSP is default-src 'self').

   Visual language (2026-11-15): calm and product-first. Pure black canvas,
   centred type set large and tight, one accent colour, generous space, motion
   that eases in slowly and never bounces. Emoji and glow are kept out of
   headings on purpose: the photos and the phone carry the colour. */

:root {
  --live: #ff9f0a;
  --win: #30d158;
  --ink: #000;
  --ink-2: #0a0a0c;
  --tile: #141416;
  --tile-hi: #1c1c1f;
  --hair: rgba(255, 255, 255, 0.08);
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --fg-3: #6e6e73;
  --accent: #2f6bff;
  --accent-text: #4d8dff;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.home {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-sf);
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
html:has(body.home) { background: var(--ink); }
body.home .ambient { display: none; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }

/* ───────────────────────── Header ─────────────────────────
   A thin translucent bar that is always there, like a system menu bar. */

body.home .site-header {
  height: 52px;
  padding: 0 max(22px, calc((100vw - 1040px) / 2));
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--hair);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
body.home .site-header.is-stuck { background: rgba(0, 0, 0, 0.8); }
body.home .site-logo { font-family: var(--font-sf); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; gap: 8px; }
body.home .site-logo img { width: 24px; height: 24px; border-radius: 6px; filter: none; }
body.home .site-nav { gap: 30px; }
body.home .site-nav a { font-size: 12.5px; font-weight: 400; color: rgba(245, 245, 247, 0.8); letter-spacing: -0.01em; }
body.home .site-nav a:hover { color: #fff; }
body.home .site-nav a::after { display: none; }
body.home .nav-cta {
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  color: #fff !important;
  background: var(--accent);
  box-shadow: none;
}
body.home .nav-cta:hover { background: #4a80ff; transform: none; box-shadow: none; }

/* Language switch: its own class, because .nav-link is hidden on phones and
   this has to stay reachable there. */
.site-nav .lang-switch {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.site-nav .lang-switch::after { display: none; }
.site-nav .lang-switch:hover { border-color: rgba(255, 255, 255, 0.45); }

/* ───────────────────────── Hero ───────────────────────── */

.h-hero {
  position: relative;
  padding: clamp(64px, 11vh, 120px) var(--gutter) 0;
  text-align: center;
  overflow: hidden;
}
.h-copy {
  max-width: 820px;
  margin: 0 auto;
  will-change: transform, opacity;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
}
.live-pill b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255, 159, 10, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(255, 159, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 159, 10, 0); }
}

.h-title {
  font-family: var(--font-sf);
  font-weight: 700;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 18px 0 0;
  color: var(--fg);
}
/* The rotating line is a window that shows one phrase at a time. Each slot is
   taller than the type (1.24em) so glyphs never clip; the negative margins give
   the height back so the heading keeps its rhythm. */
.h-title .swap {
  display: block;
  height: 1.24em;
  line-height: 1.24;
  margin: -0.1em 0 -0.12em;
  overflow: hidden;
  background: linear-gradient(90deg, #8fb4ff, var(--accent) 55%, #7a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-title .swap span {
  display: block;
  height: 1.24em;
  white-space: nowrap;
  animation: swap 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes swap {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-100%); }
  66%, 94% { transform: translateY(-200%); }
  100% { transform: translateY(-300%); }
}
.h-sub {
  max-width: 640px;
  margin: 26px auto 34px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-2);
}
.h-sub strong { color: var(--fg); font-weight: 600; }
.h-note { margin: 18px 0 0; font-size: 13px; color: var(--fg-3); }

/* Store buttons become the two pills Apple pages lead with: one filled, one
   outlined. The markup (and its click tracking) is unchanged. */
body.home .store-badges { justify-content: center; gap: 14px; }
body.home .store-badge {
  gap: 9px;
  padding: 12px 24px 12px 20px;
  border-radius: 980px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
body.home .store-badge:first-child { background: var(--accent); border-color: var(--accent); }
body.home .store-badge:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
body.home .store-badge:first-child:hover { background: #4a80ff; border-color: #4a80ff; }
body.home .store-badge svg { width: 20px; height: 20px; }
body.home .store-badge .store-text small { font-size: 9px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.72); font-weight: 500; }
body.home .store-badge .store-text strong { font-family: var(--font-sf); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }

/* ── The phone: built from markup, not a screenshot, so it can move ──
   It rises and settles as the page scrolls (--p, 0 → 1, set by home.js). */

.stage {
  --p: 0;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 8vh, 90px);
  padding-bottom: 40px;
  transform: translateY(calc((1 - var(--p)) * 40px)) scale(calc(0.9 + var(--p) * 0.1));
  transform-origin: 50% 0;
  will-change: transform;
}
.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(900px, 140vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.28), rgba(47, 107, 255, 0) 72%);
  pointer-events: none;
  z-index: -1;
}
.device {
  position: relative;
  width: 330px;
  height: 676px;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(150deg, #3a3a3e, #121214 30%, #1d1d20 70%, #3a3a3e);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 60px 120px -40px rgba(0, 0, 0, 1);
  transition: transform 0.9s var(--ease-out);
}
.device-screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
}
.device-island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 16px;
  background: #000;
  z-index: 5;
}
.app-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  padding: 50px 15px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(#000 55%, rgba(0, 0, 0, 0));
}
.app-word { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: #fff; }
.app-word i { font-style: normal; color: var(--primary); }
.app-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.16);
  color: #ffc46b;
  font-size: 10.5px;
  font-weight: 600;
}
.app-live .pulse { width: 6px; height: 6px; }

.feed-viewport { position: absolute; inset: 0; padding-top: 90px; }
.feed-track { transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.post { padding: 0 10px 12px; }
.post-in { border-radius: 22px; overflow: hidden; background: #0e0e10; }
.post-head { display: flex; align-items: center; gap: 9px; padding: 10px 11px; }
.av {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}
.av.a1 { background: linear-gradient(135deg, #64d2ff, #0a84ff); }
.av.a2 { background: linear-gradient(135deg, #bf5af2, #5e5ce6); }
.av.a3 { background: linear-gradient(135deg, #4a8fff, #2f6bff); }
.av.a4 { background: linear-gradient(135deg, #ff9f0a, #ff375f); }
.av.a5 { background: linear-gradient(135deg, #ffd60a, #ff9f0a); }
.av.a6 { background: linear-gradient(135deg, #30d158, #248a3d); }
.post-who { flex: 1; min-width: 0; text-align: left; }
.post-who b { display: block; font-size: 12.5px; font-weight: 600; color: #fff; }
.post-who span { display: block; font-size: 10.5px; color: var(--fg-3); }
.pts { padding: 4px 8px; border-radius: 999px; background: rgba(255, 214, 10, 0.12); color: #ffd60a; font-size: 10.5px; font-weight: 600; }
.post-photo { position: relative; aspect-ratio: 4 / 4.6; background: #111; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}
.post-foot { display: flex; align-items: center; gap: 14px; padding: 9px 12px; color: var(--fg-2); font-size: 12px; font-weight: 600; }
.post-foot .heart { color: #ff375f; display: inline-flex; align-items: center; gap: 5px; }
.post-foot svg { width: 15px; height: 15px; }
.heart svg { transition: transform 0.3s var(--ease-out); }
.heart.bump svg { transform: scale(1.4); }

.burst {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}
.burst.go { animation: burst 1s var(--ease-out); }
@keyframes burst {
  0% { opacity: 0; transform: scale(0.4); }
  30% { opacity: 1; transform: scale(1.08); }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1) translateY(-14px); }
}

.app-tabs {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  height: 76px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(rgba(0, 0, 0, 0), #000 45%);
  color: #636366;
}
.app-tabs svg { width: 21px; height: 21px; }
.app-tabs .on { color: var(--primary); }
.app-tabs .plus {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
}

/* ───────────────────────── Section heads ───────────────────────── */

.block { padding: clamp(100px, 14vw, 160px) 0; text-align: center; }
.band-alt { background: var(--ink-2); }
.kicker {
  display: inline-block;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--accent-text);
}
.big {
  font-family: var(--font-sf);
  font-weight: 700;
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 10px auto 0;
  max-width: 900px;
}
.big em { font-style: normal; color: var(--fg-3); }
.lede {
  max-width: 660px;
  margin: 22px auto 0;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--fg-2);
}

/* ───────────────────────── Playable demos ─────────────────────────
   Four equal tiles, like a product grid: dark, rounded, quiet. */

.play {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 70px;
  text-align: left;
}
.demo {
  position: relative;
  border-radius: 30px;
  padding: 40px 36px 34px;
  background: var(--tile);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), background 0.4s var(--ease);
}
.demo:hover { background: var(--tile-hi); }
.demo-tag { font-size: 14px; font-weight: 600; color: var(--fg-3); letter-spacing: -0.01em; }
.demo-moment .demo-tag { color: var(--live); }
.demo h3 {
  font-family: var(--font-sf);
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--fg);
  margin: 6px 0 10px;
}
.demo > p { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.demo-hint { margin-top: 16px !important; font-size: 14px !important; color: var(--fg-3) !important; min-height: 21px; }
.demo-hint b { color: var(--fg); font-weight: 600; }

/* Duel */
.duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.duel.leaving { opacity: 0; transform: scale(0.98); }
.duel-side {
  position: relative;
  aspect-ratio: 4 / 4.8;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: #111;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 0 0 0 var(--accent);
  transition: box-shadow 0.35s var(--ease);
}
.duel-side img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); }
.duel:not(.voted) .duel-side:hover img { transform: scale(1.04); }
.duel-side:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.duel.voted .duel-side { cursor: default; }
.duel-side.chosen { box-shadow: 0 0 0 3px var(--accent); }
.duel-name {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 12px 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}
.duel-res {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.duel.voted .duel-res { opacity: 1; }
.duel-res b { font-weight: 700; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.duel-side.lead .duel-res b { color: var(--win); }
.duel-res span { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.vs {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 20, 22, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.plus1 {
  position: absolute;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--win);
  color: #00320f;
  font-weight: 700;
  font-size: 14px;
  pointer-events: none;
  animation: plus1 1.2s var(--ease-out) forwards;
}
@keyframes plus1 {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.7); }
  20% { opacity: 1; transform: translate(-50%, -14px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -64px) scale(1); }
}
.dots { display: flex; gap: 6px; margin-top: 16px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); transition: width 0.4s var(--ease), background 0.4s var(--ease); }
.dots i.on { width: 22px; background: var(--fg); }

/* Boards (league + battle): rows are absolutely placed so a re-sort animates */
.board { position: relative; margin-top: 22px; }
.row {
  position: absolute;
  inset: 0 0 auto 0;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border-radius: 12px;
  transition: transform 0.7s var(--ease-out), background 0.4s var(--ease);
}
.row.me { background: rgba(47, 107, 255, 0.18); }
.row.flash { background: rgba(48, 209, 88, 0.2); }
.row .place { width: 18px; text-align: center; font-size: 13px; font-weight: 600; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.row.up .place { color: var(--win); }
.row .av { width: 28px; height: 28px; font-size: 11px; }
.row .nm { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.me .nm { font-weight: 700; }
.row .sc { font-size: 14.5px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.zone {
  position: absolute;
  inset: auto 0 auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--win);
  pointer-events: none;
}
.zone::before, .zone::after { content: ""; flex: 1; height: 1px; background: rgba(48, 209, 88, 0.4); }
.league-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.tier { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--fg); }
.tier::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #cd7f32; transition: background 0.5s var(--ease); }
.tier.silver::before { background: #d1d1d6; }
.clock { font-size: 13px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  border: 0;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.3s var(--ease);
}
.btn:hover { background: #4a80ff; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; }

/* Live moment */
.moment-clock {
  margin-top: 26px;
  font-weight: 700;
  font-size: clamp(56px, 6.4vw, 88px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.moment-clock small { font-size: 0.24em; letter-spacing: -0.01em; font-weight: 600; color: var(--live); margin-left: 10px; }
.faces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; min-height: 44px; }
.faces .av { width: 44px; height: 44px; font-size: 15px; border: 2px solid var(--tile); animation: pop 0.6s var(--ease-out); overflow: hidden; }
.faces .av img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* Battle */
.demo-battle .row { height: 58px; }
.bar { flex: 1; min-width: 0; }
.bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--fg); }
.bar-top b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-track { height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: #48484a; transition: width 0.8s var(--ease-out), background 0.4s var(--ease); }
.row.first .bar-fill { background: var(--accent); }
.row.first .place { color: #ffd60a; }

.fineprint { margin: 30px 0 0; font-size: 12px; color: var(--fg-3); text-align: center; }

/* ───────────────────────── The rule ───────────────────────── */

.rule { padding: clamp(110px, 15vw, 180px) 0 clamp(100px, 13vw, 150px); text-align: center; }
.cuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5em;
  margin: 22px auto 0;
  max-width: 980px;
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: #3a3a3c;
}
.cuts span { position: relative; white-space: nowrap; transition: color 0.8s var(--ease); }
.cuts span::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 0.07em;
  border-radius: 1em;
  background: var(--fg-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.cuts.in span::after { transform: scaleX(1); }
.cuts.in span:nth-child(2)::after { transition-delay: 0.15s; }
.cuts.in span:nth-child(3)::after { transition-delay: 0.3s; }
.cuts.in span:nth-child(4)::after { transition-delay: 0.45s; }
.cuts.in span:nth-child(5)::after { transition-delay: 0.6s; }
.rule-line {
  margin: 40px auto 0;
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  background: linear-gradient(90deg, #8fb4ff, var(--accent) 50%, #7a5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule-text { max-width: 680px; margin: 34px auto 0; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; font-weight: 500; color: var(--fg-3); }
.rule-text strong { color: var(--fg); font-weight: 600; }

/* ───────────────────────── Photo wall ───────────────────────── */

.wall { margin-top: 100px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wall-row { display: flex; gap: 16px; width: max-content; animation: slide 90s linear infinite; }
.wall-row + .wall-row { margin-top: 16px; animation-direction: reverse; animation-duration: 110s; }
.wall:hover .wall-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tile { position: relative; width: 240px; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #111; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

/* ───────────────────────── Day timeline ───────────────────────── */

.day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; text-align: left; }
.day-step { padding: 30px 26px; border-radius: 26px; background: var(--tile); }
.day-time { font-weight: 700; font-size: 40px; letter-spacing: -0.045em; color: var(--fg); font-variant-numeric: tabular-nums; line-height: 1.1; }
.day-step.hot .day-time { color: var(--live); }
.day-step h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.day-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); }

/* ───────────────────────── Promises ───────────────────────── */

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 70px; text-align: left; }
.promise { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 26px; }
.promise b { display: block; font-size: 13px; font-weight: 600; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.promise h4 { margin: 12px 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--fg); }
.promise p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-2); }

/* ───────────────────────── Closing + footer ───────────────────────── */

body.home .cta-band {
  margin: 0;
  padding: clamp(110px, 15vw, 180px) var(--gutter);
  border: 0;
  background: radial-gradient(800px 420px at 50% 100%, rgba(47, 107, 255, 0.22), transparent 70%), var(--ink);
}
body.home .cta-logo { width: 72px; height: 72px; border: 0; margin: 0 auto 30px; border-radius: 18px; }
body.home .cta-band h2 {
  font-family: var(--font-sf);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  max-width: 820px;
  margin: 0 auto 20px;
}
body.home .cta-band p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--fg-2); max-width: 560px; margin: 0 auto 36px; }
body.home .cta-band p b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

body.home .site-footer {
  background: var(--ink-2);
  border-top: 0;
  padding: 44px max(22px, calc((100vw - 1040px) / 2)) 30px;
  font-size: 12px;
}
body.home .footer-grid { max-width: none; margin-bottom: 30px; }
body.home .footer-brand p, body.home .footer-col a { font-size: 12px; color: var(--fg-3); }
body.home .footer-col a:hover { color: var(--fg); }
body.home .footer-col h5 { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--fg); }
body.home .footer-copy { max-width: none; border-top-color: rgba(255, 255, 255, 0.1); font-size: 12px; color: var(--fg-3); }

/* Slower, longer reveal than the shared default — the "settle into place" feel. */
body.home .reveal {
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
body.home .reveal.in { transform: none; }

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 1000px) {
  .day { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: 1fr; gap: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
  body.home .site-nav .nav-link { display: none; }
}
@media (max-width: 760px) {
  .play { grid-template-columns: 1fr; gap: 14px; margin-top: 46px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .h-hero { padding-top: 54px; }
  .h-sub { margin: 20px auto 28px; }
  body.home .store-badge { padding: 11px 18px 11px 16px; }
  .device { width: 290px; height: 594px; border-radius: 48px; padding: 10px; }
  .device-screen { border-radius: 39px; }
  .demo { padding: 28px 20px 24px; border-radius: 26px; }
  .tile { width: 160px; border-radius: 18px; }
  .wall { margin-top: 64px; }
  .day { grid-template-columns: 1fr; gap: 12px; margin-top: 46px; }
  .promises { margin-top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-row, .h-title .swap span, .pulse { animation: none; }
  .feed-track, .row, .bar-fill { transition: none; }
  .stage { --p: 1 !important; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The German labels are longer: never wrap the header, drop the section links
   earlier instead. The language switch and the CTA always stay. */
body.home .site-nav a { white-space: nowrap; }
@media (max-width: 400px) {
  body.home .site-header { padding: 0 16px; gap: 12px; }
  body.home .site-logo { font-size: 16px; }
  body.home .site-nav { gap: 10px; }
}
