/* Carga landing page. The film's world on a page: iron type, one bar, lime as the only signal.
   Tokens come from the app (public/style.css) and brand/BRAND.md. No inline styles anywhere (strict CSP):
   scroll scenes are driven by one custom property, --p, that main.js sets from 0 to 1. */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #0e0f11;
  --void: #07080a;
  --surface: #17191c;
  --surface-2: #1f2226;
  --line: rgb(255 255 255 / 0.09);
  --text: #f2f1ed;
  --text-2: #b9b8b2;
  --muted: #85847f;
  --accent: #c8f24a;
  --accent-deep: #a9d22e;
  --on-accent: #12160a;
  --accent-soft: rgb(200 242 74 / 0.12);
  --display: 'Archivo', 'Geist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --round: ui-rounded, 'SF Pro Rounded', 'Geist', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4.4vw, 56px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain over everything, like the film. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url('/img/grain.png') 0 0 / 256px 256px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
.lime {
  color: var(--accent);
}
.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1,
h2,
.marquee,
.chapter-n {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
h1 {
  font-size: clamp(54px, 9.2vw, 164px);
}
h2 {
  font-size: clamp(38px, 6.2vw, 104px);
}
h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
/* Section label: a stamped number and a spaced word, like the markings on a plate. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow b {
  padding: 5px 8px 4px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--round);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.lead {
  max-width: 560px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--text-2);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgb(200 242 74 / 0.16), 0 18px 50px -12px rgb(200 242 74 / 0.7);
}
.button:active {
  transform: scale(0.97);
}
.button.ghost {
  background: rgb(255 255 255 / 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.button.ghost:hover {
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
}
.button.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgb(7 8 10 / 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--round);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.05em;
}
.nav nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav nav a {
  position: relative;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.nav nav a:hover {
  color: var(--text);
}
.nav nav a:hover::after {
  transform: scaleX(1);
}
@media (max-width: 820px) {
  .nav nav {
    display: none;
  }
  .nav .button {
    margin-left: auto;
  }
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--void);
  overflow: hidden;
}
.hero-shot {
  order: 2;
  display: block;
  margin-top: -6vw;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.hero-shot img {
  width: 164%;
  max-width: none;
  margin-left: -32%;
  animation: settle 2.2s var(--ease) both;
}
.hero-copy {
  order: 1;
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: clamp(20px, 2.2vw, 30px);
  padding-top: clamp(112px, 17vh, 190px);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgb(200 242 74 / 0.35);
  background: rgb(200 242 74 / 0.07);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(200 242 74 / 0.7);
  animation: beat 2s infinite;
}
h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.js h1 .line {
  animation: rise 1s var(--ease) both;
}
.js h1 .line + .line {
  animation-delay: 0.12s;
}
.hero-specs {
  order: 3;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 28px;
}
.hero-specs li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-specs b {
  font-family: var(--round);
  color: var(--accent);
  letter-spacing: 0;
}
@media (min-width: 900px) {
  .hero-shot {
    position: absolute;
    inset: 0;
    margin: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
    mask-image: linear-gradient(180deg, #000 80%, transparent);
  }
  .hero-shot img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 78% 60%;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(7 8 10 / 0.72) 0%, rgb(7 8 10 / 0.2) 46%, transparent 62%);
    pointer-events: none;
  }
  .hero-specs {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 28px;
  }
}
@keyframes rise {
  from {
    transform: translateY(105%);
    clip-path: inset(0 0 100% 0);
  }
  to {
    transform: none;
    clip-path: inset(0 0 -10% 0);
  }
}
@keyframes settle {
  from {
    transform: scale(1.08);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes beat {
  70% {
    box-shadow: 0 0 0 9px rgb(200 242 74 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(200 242 74 / 0);
  }
}

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

.marquee {
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 34px) 0;
  border-block: 1px solid var(--line);
  background: var(--void);
  font-size: clamp(54px, 9vw, 140px);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  padding-right: clamp(22px, 3vw, 48px);
  animation: slide 30s linear infinite;
}
.marquee span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(242 241 237 / 0.4);
}
.marquee span.solid {
  color: var(--accent);
  -webkit-text-stroke: 0;
}
.marquee i {
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  border: 0.13em solid var(--accent);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 01 pinned story ---------- */

.pin {
  --p: 1;
  /* a: the tiles fall in (per tile, staggered). b: the plate comes up and becomes the mark. */
  --b: clamp(0, (var(--p) - 0.52) / 0.3, 1);
  position: relative;
  background: radial-gradient(60% 50% at 50% 60%, rgb(200 242 74 / 0.07), transparent 70%), var(--bg);
}
.js .pin {
  height: 340vh;
}
.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  /* The headline and the tiles stack in the flow, so they can never run into each other. */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(96px, 13vh, 150px) var(--gutter) 0;
}
.stage-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}
.stage-copy .eyebrow {
  margin-bottom: 18px;
}
.stage-copy.before h2 {
  font-size: min(clamp(38px, 6.2vw, 104px), 9.5vh);
}
.stage-copy.before {
  opacity: clamp(0, 1 - var(--b) * 2.6, 1);
  transform: translateY(calc(var(--b) * -40px));
}
.stage-copy.after {
  position: absolute;
  inset: clamp(96px, 13vh, 150px) var(--gutter) auto;
  opacity: clamp(0, (var(--b) - 0.5) * 2.6, 1);
  transform: translateY(calc((1 - var(--b)) * 40px));
}
.stage-copy.after h2 {
  font-size: clamp(64px, 11vw, 190px);
}
.tiles {
  position: relative;
  margin-top: clamp(22px, 4.5vh, 52px);
  display: flex;
  justify-content: center;
  gap: clamp(36px, 6vw, 84px);
  z-index: 2;
}
.tile {
  --a: clamp(0, (var(--p) - 0.1 - var(--d)) / 0.32, 1);
  width: min(clamp(84px, 12vw, 172px), 17vh);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(calc(var(--a) * var(--dx)), calc(var(--a) * 40vh)) rotate(calc(var(--r) + var(--a) * var(--spin))) scale(calc(1 - var(--a) * 0.9));
  opacity: clamp(0, (1 - var(--a)) * 6, 1);
  filter: drop-shadow(0 18px 26px rgb(0 0 0 / 0.6));
}
.tile.t1 {
  --d: 0;
  --dx: 125%;
  --r: -5deg;
  --spin: 200deg;
}
.tile.t2 {
  --d: 0.07;
  --dx: 0%;
  --r: 3deg;
  --spin: -160deg;
  margin-top: -1.5vh;
}
.tile.t3 {
  --d: 0.14;
  --dx: -125%;
  --r: 6deg;
  --spin: -220deg;
}
.tile figcaption {
  margin-top: 14px;
  display: grid;
  gap: 2px;
  white-space: nowrap;
  font-size: clamp(9.5px, 1vw, 14px);
  letter-spacing: clamp(0.06em, 0.5vw, 0.14em);
  text-transform: uppercase;
  color: var(--accent);
  opacity: clamp(0, 1 - var(--a) * 5, 1);
}
.tile figcaption b {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(15px, 1.7vw, 24px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.plate-wrap {
  --size: min(64vh, 84vw);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  /* Its top edge waits at 72% of the screen, below the captions, whatever the screen's shape. */
  transform: translateY(calc((1 - var(--b)) * (22vh + var(--size) * 0.6) + var(--b) * 9vh)) scale(calc(1.2 - var(--b) * 0.5));
}
.plate-wrap::before {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(200 242 74 / 0.28), transparent 70%);
  opacity: var(--b);
}
.plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(calc((1 - var(--b)) * -150deg - var(--p) * 60deg + 60deg));
  opacity: clamp(0, 1 - (var(--b) - 0.8) * 8, 1);
  filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.7));
}
.plate-text {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 34px;
  letter-spacing: 0.06em;
  fill: #5c7a0a;
}
.plate-text.big {
  font-size: 46px;
}
.plate-mark {
  position: absolute;
  inset: -12%;
  width: 124%;
  max-width: none;
  height: 124%;
  opacity: clamp(0, (var(--b) - 0.8) * 8, 1);
  filter: drop-shadow(0 0 40px rgb(200 242 74 / 0.5));
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: clamp(96px, 12vw, 190px) 0;
  border-top: 1px solid var(--line);
}

/* 02 film */
.film {
  background: var(--void);
}
.film-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.film-head .eyebrow {
  margin: 0;
}
.film-meta {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.film-frame {
  border-radius: clamp(14px, 2vw, 26px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 80px 140px -60px rgb(200 242 74 / 0.4);
}
.film-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* 03 chapters: one phone that stays, words that pass. */
.chapters {
  margin-top: clamp(40px, 6vw, 90px);
}
.phone-rail {
  display: none;
}
.chapter {
  display: grid;
  gap: 18px;
  padding: clamp(48px, 8vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.chapter-shot {
  width: min(74%, 330px);
  justify-self: center;
  margin-bottom: 14px;
  filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.6));
}
.chapter-n {
  font-size: clamp(64px, 8vw, 128px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 0.8;
}
.chapter > p:not(.chapter-n) {
  max-width: 500px;
  color: var(--text-2);
}
.ticks {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.ticks li {
  position: relative;
  padding-left: 34px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23c8f24a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
@media (min-width: 900px) {
  .chapters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 120px);
  }
  .phone-rail {
    display: block;
  }
  .phone-stack {
    position: sticky;
    top: 11vh;
    height: 78vh;
  }
  .phone-stack::before {
    content: '';
    position: absolute;
    inset: 10% 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(200 242 74 / 0.16), transparent 72%);
  }
  .phone-stack img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
    filter: drop-shadow(0 50px 70px rgb(0 0 0 / 0.65));
  }
  .phone-stack img.on {
    opacity: 1;
    transform: none;
  }
  .chapter-shot {
    display: none;
  }
  .chapter {
    min-height: 84vh;
    align-content: center;
    border-top: 0;
    padding: 0;
    transition: opacity 0.5s;
  }
  .js .chapter:not(.on) {
    opacity: 0.28;
  }
}

/* 04 try it */
.try {
  background: var(--void);
  overflow: hidden;
}
.try::before {
  content: '';
  position: absolute;
  right: -18vw;
  top: 50%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 9vw solid rgb(200 242 74 / 0.05);
  transform: translateY(-50%);
}
.try-grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (min-width: 900px) {
  .try-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}
.try .lead {
  margin-top: 26px;
}
.demo {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(160deg, #24272c, #17191c 55%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 60px 120px -50px #000, inset 0 1px 0 rgb(255 255 255 / 0.1);
  font-family: var(--body);
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-head div {
  flex: 1;
  display: grid;
}
.demo-head strong {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.demo-head small {
  font-size: 14px;
  color: var(--muted);
}
.demo-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #2a2d32;
  font: 700 17px var(--round);
  transition: background 0.3s, color 0.3s;
}
.demo-load {
  font: 700 17px var(--round);
  color: var(--accent);
}
.demo-sets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0 14px;
}
.demo-sets span {
  position: relative;
  display: grid;
  place-items: center;
  height: 62px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font: 700 24px var(--round);
}
.demo-sets i {
  position: absolute;
  left: 9px;
  top: 6px;
  font: 600 11px var(--body);
  color: var(--muted);
}
.demo-sets .next {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(200 242 74 / 0.18);
}
.demo-done {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 18px var(--body);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  animation: nudge 2.4s 1.5s infinite;
}
.demo-done:hover {
  box-shadow: 0 0 0 6px rgb(200 242 74 / 0.18);
}
.demo-done:active {
  transform: scale(0.97);
}
@keyframes nudge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(200 242 74 / 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgb(200 242 74 / 0);
  }
}
.demo-rest {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 4px 18px;
  max-height: 0;
  margin-top: 0;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 24px;
  background: #22252a;
  border: 0 solid rgb(200 242 74 / 0.4);
  opacity: 0;
  transition: max-height 0.6s var(--ease), margin 0.6s var(--ease), padding 0.6s var(--ease), opacity 0.4s;
}
.demo-rest svg {
  grid-row: span 2;
  transform: rotate(-90deg);
}
.ring-track {
  fill: none;
  stroke: rgb(255 255 255 / 0.1);
  stroke-width: 9;
}
.ring-value {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  transition: stroke-dashoffset 1s linear;
}
.demo-clock {
  display: grid;
  align-self: end;
}
.demo-clock small {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-clock b {
  font: 700 60px/1 var(--round);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.demo-skip {
  justify-self: start;
  align-self: start;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--text-2);
  font: 600 14px var(--body);
  cursor: pointer;
}
.demo-skip:hover {
  color: var(--text);
  border-color: rgb(255 255 255 / 0.3);
}
.demo.resting .demo-rest {
  max-height: 190px;
  margin-top: 14px;
  padding: 16px;
  border-width: 1px;
  opacity: 1;
}
.demo.resting .demo-done {
  background: var(--accent-soft);
  color: var(--accent);
  animation: none;
  pointer-events: none;
}
.demo.resting .demo-n {
  background: var(--accent);
  color: var(--on-accent);
}
.demo.resting .demo-sets .next {
  border-color: var(--line);
  box-shadow: none;
}

/* 05 progress */
.progress {
  --p: 1;
}
.progress-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}
.big-n {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 800 clamp(96px, 15vw, 250px) / 0.8 var(--round);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-shadow: 0 0 80px rgb(200 242 74 / 0.35);
}
.big-n span {
  font-size: 0.26em;
  letter-spacing: 0;
  color: var(--text-2);
  text-shadow: none;
}
.chart-box {
  margin-top: clamp(36px, 5vw, 72px);
  padding: clamp(16px, 3vw, 40px) clamp(12px, 3vw, 40px) 20px;
  border-radius: clamp(18px, 2.4vw, 32px);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent);
  border: 1px solid var(--line);
}
.chart {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart .grid path {
  stroke: rgb(255 255 255 / 0.08);
  stroke-width: 1.5;
  fill: none;
}
.chart text {
  font: 600 15px var(--round);
  fill: var(--muted);
}
.chart .grid text {
  text-anchor: end;
}
.chart .weeks text {
  text-anchor: middle;
  font: 600 13px var(--body);
  letter-spacing: 0.12em;
}
.chart .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgb(200 242 74 / 0.7));
}
.chart .dots circle {
  fill: var(--void);
  stroke: var(--accent);
  stroke-width: 4;
}
.chart-note {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-top: clamp(32px, 4vw, 56px);
}
.stats li {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--text-2);
}
.stats b {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 06 privacy */
.privacy {
  background: var(--void);
  overflow: hidden;
}
.privacy h2 {
  font-size: clamp(33px, 9vw, 150px);
}
/* The word that is not there: outlined, then struck through in lime. */
.strike {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px rgb(242 241 237 / 0.4);
}
.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 46%;
  height: 0.11em;
  border-radius: 0.06em;
  background: var(--accent);
  box-shadow: 0 0 30px rgb(200 242 74 / 0.7);
  transform: scaleX(0) rotate(-2deg);
  transform-origin: 0 50%;
  transition: transform 0.9s 0.35s var(--ease);
}
.strike.shown::after,
html:not(.js) .strike::after {
  transform: scaleX(1) rotate(-2deg);
}
.facts {
  counter-reset: fact;
  display: grid;
  gap: 0 clamp(28px, 5vw, 80px);
  margin-top: clamp(48px, 7vw, 100px);
}
.facts li {
  counter-increment: fact;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.facts li::before {
  content: counter(fact, decimal-leading-zero);
  grid-row: span 2;
  font: 800 17px var(--round);
  color: var(--accent);
  padding-top: 4px;
}
.facts b {
  font-size: clamp(20px, 1.9vw, 27px);
  letter-spacing: -0.02em;
}
.facts p {
  color: var(--text-2);
  max-width: 480px;
}
@media (min-width: 900px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 07 invite */
.invite-grid {
  display: grid;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
@media (min-width: 900px) {
  .invite-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.ticket-wrap {
  perspective: 1400px;
  justify-self: center;
  width: min(100%, 520px);
}
.ticket {
  --rx: 6deg;
  --ry: -14deg;
  position: relative;
  aspect-ratio: 1.6;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(200 242 74 / 0.16), transparent 55%),
    linear-gradient(140deg, #272a30, #17191c 48%, #0f1012);
  border: 1.5px solid rgb(200 242 74 / 0.5);
  box-shadow: 0 70px 120px -50px #000, 0 0 90px -30px rgb(200 242 74 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.14);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-3deg);
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}
.ticket::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.16), transparent);
  transform: skewX(-20deg);
  animation: sheen 5s 1s infinite;
}
@keyframes sheen {
  0%,
  55% {
    left: -30%;
  }
  100% {
    left: 130%;
  }
}
.ticket-top,
.ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ticket .brand {
  font-size: clamp(26px, 3.4vw, 38px);
}
.pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticket-line {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.ticket-foot {
  padding-top: 16px;
  border-top: 2px dashed rgb(255 255 255 / 0.18);
  font: 600 clamp(13px, 1.5vw, 17px) var(--round);
}
.ticket-foot span + span {
  font: 650 11px var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.invite .lead {
  margin-top: 24px;
}
.rail {
  counter-reset: step;
  display: grid;
  margin: clamp(28px, 3.5vw, 44px) 0;
}
.rail li {
  counter-increment: step;
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 26px 60px;
}
.rail li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font: 800 17px var(--round);
}
.rail li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 41px;
  bottom: 3px;
  width: 2px;
  background: linear-gradient(var(--accent), rgb(200 242 74 / 0.15));
}
.rail li:last-child {
  padding-bottom: 0;
}
.rail b {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.rail span {
  color: var(--muted);
}

/* 08 spec sheet */
.spec {
  background: var(--void);
}
.sheet {
  margin-top: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.sheet div {
  display: grid;
  gap: 4px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s var(--ease);
}
.sheet div:hover {
  background: rgb(200 242 74 / 0.04);
  padding-left: 14px;
}
.sheet dt {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.sheet dd:first-of-type {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.sheet dd:last-of-type {
  color: var(--text-2);
}
@media (min-width: 900px) {
  .sheet div {
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: baseline;
  }
}

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

.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 100%, rgb(200 242 74 / 0.13), transparent 70%), var(--bg);
  overflow: hidden;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(96px, 12vw, 180px);
}
.footer-top h2 {
  font-size: clamp(54px, 9.6vw, 170px);
}
.footer-word {
  margin: clamp(30px, 5vw, 70px) 0 -0.19em;
  font: 800 31.5vw/0.8 var(--round);
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgb(242 241 237 / 0.2), rgb(242 241 237 / 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
}
.footer-row a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* 404 */
.closing {
  text-align: center;
}
.closing .wrap {
  display: grid;
  justify-items: center;
  gap: 28px;
}
.lost {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.note {
  color: var(--text-2);
}
.actions.center {
  justify-content: center;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.shown {
  opacity: 1;
  transform: none;
}
.js .facts .reveal:nth-child(2),
.js .facts .reveal:nth-child(4) {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js h1 .line,
  .hero-shot img {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .marquee-track,
  .ticket::after,
  .demo-done,
  .tag i {
    animation: none;
  }
  .js .pin {
    height: auto;
  }
  .strike::after {
    transition: none;
  }
}
