/* Miles OS landing: the app's colours and type, with motion that stays out of the way. */
:root {
  --bg: #0b0b0d;
  --card: #131316;
  --raised: #1a1a1e;
  --line: #232327;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #ededf0;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #e5383b;
  --accent-soft: rgba(229, 56, 59, 0.16);
  --accent-glow: rgba(229, 56, 59, 0.35);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --num: Bahnschrift, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

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

.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; }

h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; letter-spacing: -0.02em; }

h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; }

h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }

p { color: var(--muted); margin: 0; }

.muted { color: var(--faint); }

.accent-word { color: var(--accent); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }

.reveal.in { opacity: 1; transform: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: 600 12px/1 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--accent-glow); filter: brightness(1.06); }

.button:disabled { opacity: 0.6; cursor: default; }

.button:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible, [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.button-small { padding: 10px 16px; font-size: 11px; border-radius: 10px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }

.nav.scrolled { background: rgba(11, 11, 13, 0.75); backdrop-filter: blur(14px); border-color: var(--line); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-name { font-size: 13px; font-weight: 600; letter-spacing: 0.28em; }

.badge { border: 1px solid var(--accent); border-radius: 4px; padding: 1px 6px; color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }

.nav-links a:not(.button) { color: var(--muted); text-decoration: none; transition: color 0.2s; }

.nav-links a:not(.button):hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }

.orb-1 { width: 620px; height: 620px; left: 50%; top: -260px; margin-left: -310px; background: radial-gradient(circle, rgba(229, 56, 59, 0.55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }

.orb-2 { width: 460px; height: 460px; right: -120px; top: 380px; background: radial-gradient(circle, rgba(229, 56, 59, 0.28), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }

@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}

.hero-copy { position: relative; text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 19, 22, 0.7);
  color: var(--muted);
  font-size: 13px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.2s infinite; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70% { box-shadow: 0 0 0 10px rgba(229, 56, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, 0); } }

.headline { margin-top: 28px; font-size: clamp(46px, 8.4vw, 104px); line-height: 1; }

.word { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px); animation: rise 1s var(--ease) forwards; }

.word:nth-child(1) { animation-delay: 0.05s; }
.word:nth-child(2) { animation-delay: 0.12s; }
.word:nth-child(3) { animation-delay: 0.19s; }
.word:nth-child(4) { animation-delay: 0.26s; }
.word:nth-child(5) { animation-delay: 0.33s; }
.word:nth-child(6) { animation-delay: 0.4s; }
.word.accent-word { animation-delay: 0.52s; font-weight: 400; }

@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }

.lead { margin-top: 26px; font-size: clamp(18px, 2vw, 21px); }

.join { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 500px; margin: 36px auto 0; }

.join input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(19, 19, 22, 0.85);
  color: var(--text);
  font: 15px var(--ui);
  transition: border-color 0.2s;
}

.join input[type="email"]:focus { border-color: rgba(229, 56, 59, 0.6); }

.join input::placeholder { color: var(--faint); }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hint { flex-basis: 100%; margin-top: 4px; font-size: 13px; color: var(--faint); text-align: center; }

.hint.ok { color: var(--text); }

.hint.error { color: var(--accent); }

/* The app in perspective, flattening as you scroll (--tilt from main.js) */
.stage { position: relative; margin-top: 72px; perspective: 1800px; }

.device {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  transform: rotateX(var(--tilt, 18deg)) scale(var(--zoom, 0.94));
  transform-origin: 50% 0;
  box-shadow: 0 -20px 120px -40px var(--accent-glow), 0 60px 120px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: appear 1.4s var(--ease) 0.7s forwards;
}

@keyframes appear { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 19, 22, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  opacity: 0;
  animation: pop 0.8s var(--ease) forwards, bob 6s ease-in-out infinite;
}

.float b { font-family: var(--num); font-weight: 600; }

.float-1 { left: -18px; top: 18%; animation-delay: 1.5s, 2.3s; }

.float-2 { right: -24px; top: 34%; animation-delay: 1.7s, 2.5s; }

.float-3 { left: 8%; bottom: 10%; animation-delay: 1.9s, 2.7s; }

@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }

@keyframes bob { 50% { translate: 0 -10px; } }

.check { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--faint); position: relative; }

.check.on { border-color: var(--accent); background: var(--accent); }

.check.on::after { content: ""; position: absolute; left: 5.5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.ring { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--accent) 0 70%, var(--line) 70% 100%); mask: radial-gradient(circle, transparent 5px, #000 6px); -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); }

.flame { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); box-shadow: 14px 0 0 -1px var(--accent), 28px 0 0 -2px rgba(229, 56, 59, 0.5); margin-right: 28px; }

/* Marquee */
.marquee { margin-top: 110px; padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 38s linear infinite; }

.marquee span { color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: 0.32em; white-space: nowrap; }

.marquee span:nth-child(3n + 1) { color: var(--muted); }

@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section-head { text-align: center; }

.tour { padding-top: 140px; }

.tabs { display: flex; justify-content: center; gap: 6px; margin: 44px auto 0; padding: 5px; width: fit-content; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }

.tabs [role="tab"] {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 500 14px var(--ui);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.tabs [role="tab"][aria-selected="true"] { background: var(--raised); color: var(--text); }

.tabs .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }

.tabs [aria-selected="true"] .bar { animation: progress var(--cycle, 6s) linear forwards; }

.tabs.paused [aria-selected="true"] .bar { animation: none; width: 100%; }

@keyframes progress { to { width: 100%; } }

.tab-caption { margin-top: 20px; text-align: center; min-height: 1.6em; transition: opacity 0.3s; }

.screens { position: relative; margin-top: 36px; aspect-ratio: 1440 / 900; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }

.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }

.screen.active { opacity: 1; transform: none; }

/* Bento */
.features { padding-top: 160px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }

.tile {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card), #101013);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.tile:hover { border-color: #34343a; transform: translateY(-3px); }

.tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 56, 59, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tile:hover::before { opacity: 1; }

.tile p { margin-top: 6px; font-size: 15px; }

.viz { height: 150px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; }

.tile-mission, .tile-insights, .tile-calendar { grid-column: span 2; }

/* Mission: the box ticks, the title strikes through */
.mission-viz { justify-content: flex-start; gap: 16px; padding-left: 8px; }

.mission-viz .box { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--faint); position: relative; transition: all 0.4s var(--ease) 0.6s; }

.mission-viz .box::after { content: ""; position: absolute; left: 9px; top: 4px; width: 7px; height: 14px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform 0.4s var(--ease) 0.8s; }

.mission-viz .mission-text { font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); font-weight: 300; position: relative; transition: color 0.5s 0.9s; }

.mission-viz .mission-text::after { content: ""; position: absolute; left: 0; top: 55%; height: 2px; width: 0; background: var(--faint); transition: width 0.7s var(--ease) 1s; }

.in .mission-viz .box { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 30px -4px var(--accent-glow); }

.in .mission-viz .box::after { transform: rotate(45deg) scale(1); }

.in .mission-viz .mission-text { color: var(--faint); }

.in .mission-viz .mission-text::after { width: 100%; }

/* Focus: a ring counting down */
.timer {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p, 0) * 1%), var(--line) 0);
  mask: radial-gradient(circle, transparent 57px, #000 58px);
  -webkit-mask: radial-gradient(circle, transparent 57px, #000 58px);
  position: relative;
}

.focus-viz { position: relative; }

.focus-viz #timer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 300 30px var(--num); color: var(--text); }

/* Habits: two weeks lighting up */
.habits-viz { display: grid; grid-template-columns: repeat(7, 18px); gap: 10px; }

.habits-viz i { width: 18px; height: 18px; border-radius: 5px; background: var(--raised); transition: background 0.3s, box-shadow 0.3s; transition-delay: calc(var(--i) * 80ms); }

.in .habits-viz i.on { background: var(--accent); box-shadow: 0 0 14px -2px var(--accent-glow); }

/* Insights: the two averages */
.insights-viz { flex-direction: column; align-items: stretch; gap: 22px; padding: 0 6px; }

.bar-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }

.bar-row b { position: relative; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font: 500 15px var(--num); color: #fff; width: 0; background: var(--accent); transition: width 1.4s var(--ease) 0.3s; }

.bar-row b.dim { background: #2a2a2f; color: var(--muted); }

.in .bar-row b { width: var(--w); }

/* Calendar: blocks dropping into a week */
.calendar-viz { gap: 10px; align-items: stretch; padding: 0 4px; }

.calendar-viz .col { min-height: 150px; }

.calendar-viz .col { position: relative; flex: 1; border-left: 1px solid var(--line); }

.calendar-viz em { position: absolute; left: 4px; right: 4px; top: var(--t); height: var(--h); border-radius: 6px; background: var(--accent-soft); border-left: 2px solid rgba(229, 56, 59, 0.5); opacity: 0; transform: translateY(-14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

.calendar-viz em.focus { background: rgba(229, 56, 59, 0.32); border-left-color: var(--accent); }

.calendar-viz .col:nth-child(2) em { transition-delay: 0.1s; }
.calendar-viz .col:nth-child(3) em { transition-delay: 0.2s; }
.calendar-viz .col:nth-child(4) em { transition-delay: 0.3s; }
.calendar-viz .col:nth-child(5) em { transition-delay: 0.4s; }

.in .calendar-viz em { opacity: 1; transform: none; }

/* Goals: bars filling */
.goals-viz { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 6px; }

.goal-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

.goal-line b { font: 500 14px var(--num); color: var(--text); }

.track { height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; margin-bottom: 14px; }

.track span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 1.6s var(--ease) 0.4s; }

.in .track span { width: var(--w); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }

.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; }

/* Statement: words light up as you scroll */
.statement { padding: 180px 0 40px; text-align: center; }

.statement p { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 7vw, 92px); line-height: 1.1; letter-spacing: -0.02em; color: #2a2a2f; }

.statement span { transition: color 0.6s var(--ease); }

.statement span.lit { color: var(--text); }

.statement span.accent-word.lit { color: var(--accent); }

/* Beta */
.beta { padding-top: 140px; }

.beta-card { position: relative; overflow: hidden; padding: 72px 32px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, #141417, #0e0e10); text-align: center; }

.beta-glow { position: absolute; left: 50%; top: -60%; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(229, 56, 59, 0.25), transparent); filter: blur(30px); animation: breathe 6s ease-in-out infinite; pointer-events: none; }

@keyframes breathe { 50% { opacity: 0.55; transform: scale(1.08); } }

.beta-card > *:not(.beta-glow) { position: relative; }

.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin: 36px 0 8px; padding: 0; list-style: none; color: var(--text); font-size: 16px; }

.steps b { margin-right: 10px; color: var(--accent); font: 500 14px var(--num); }

.join-center { margin-top: 28px; }

/* FAQ */
.faq { padding: 140px 0 110px; max-width: 760px; }

.faq h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }

details { border-top: 1px solid var(--line); padding: 20px 0; }

details:last-of-type { border-bottom: 1px solid var(--line); }

summary { cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; }

summary::-webkit-details-marker { display: none; }

summary::after { content: ""; width: 10px; height: 10px; border: solid var(--faint); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-right: 4px; }

details[open] summary::after { transform: rotate(-135deg); }

details p { margin-top: 10px; }

.footer { border-top: 1px solid var(--line); }

.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 30px 0; color: var(--faint); font-size: 13px; }

.footer .brand-name { font-size: 11px; color: var(--muted); }

/* Phones and narrow windows */
@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 120px; }
  .float-1 { left: 4px; top: -26px; }
  .float-2 { right: 4px; top: auto; bottom: -24px; }
  .float-3 { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-mission, .tile-insights, .tile-calendar { grid-column: auto; }
  .tabs { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .tabs [role="tab"] { flex: 1 0 auto; }
  .bar-row { grid-template-columns: 100px 1fr; }
  .marquee { margin-top: 80px; }
}

@media (max-width: 480px) {
  .float { font-size: 12px; padding: 8px 12px; }
  .footer-inner { flex-direction: column; }
}


/* 404 */
.notfound { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 24px; }

.notfound-copy { position: relative; display: grid; justify-items: center; gap: 18px; }

.notfound-code { font: 300 clamp(96px, 18vw, 180px)/1 var(--display); color: var(--accent); letter-spacing: -0.04em; margin-top: 28px; }

.notfound h1 { font-size: clamp(28px, 4vw, 44px); }

/* After joining: the form gives way to a confirmation */
.joined { display: flex; align-items: center; justify-content: center; gap: 12px; flex-basis: 100%; padding: 14px 0; font-size: 16px; color: var(--text); animation: pop 0.6s var(--ease) both; }

.joined .check { width: 26px; height: 26px; }

.joined .check.on::after { left: 8px; top: 4px; width: 6px; height: 11px; }

.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; flex-basis: 100%; margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--faint); }

.trust li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }

/* ---------- v3: more pictures, fewer words ---------- */

.hero { padding-top: 110px; }

/* The logo's pulse, huge, drawing itself; then a red blip keeps running along it */
.pulse-hero { position: relative; width: min(1100px, 100% - 32px); margin: 0 auto; }

.pulse-hero svg { width: 100%; height: auto; overflow: visible; }

.pulse-line, .pulse-glow, .pulse-blip { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.pulse-line { stroke: var(--text); stroke-width: 9; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards; }

.pulse-glow { stroke: var(--accent); stroke-width: 14; opacity: 0; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards, glow-in 1s ease 1.8s forwards; }

.pulse-blip { stroke: var(--accent); stroke-width: 9; stroke-dasharray: 70 930; stroke-dashoffset: 1000; opacity: 0; animation: blip 2.6s linear 2.4s infinite; }

.pulse-dot { fill: var(--accent); transform-origin: 1160px 140px; transform: scale(0); animation: dot-in 0.5s var(--ease) 2.05s forwards; }

.pulse-ring { fill: none; stroke: var(--accent); stroke-width: 3; transform-origin: 1160px 140px; opacity: 0; animation: ring 2.6s ease-out 2.5s infinite; }

@keyframes draw { to { stroke-dashoffset: 0; } }

@keyframes glow-in { to { opacity: 0.35; } }

@keyframes blip { 0% { stroke-dashoffset: 1070; opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

@keyframes dot-in { to { transform: scale(1); } }

@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.hero-copy { margin-top: 18px; }

.headline { margin-top: 0; }

.hero .join { margin-top: 40px; }

.trust li { font-size: 13px; }

/* Three big numbers, counting up */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 140px; text-align: center; }

.number b { display: block; font: 200 clamp(84px, 13vw, 168px)/1 var(--display); letter-spacing: -0.04em; color: var(--text); }

.number:first-child b { color: var(--accent); }

.number span { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; letter-spacing: 0.04em; }

/* The app scrolling past, big */
.gallery { margin-top: 140px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.gallery-track { display: flex; gap: 24px; width: max-content; animation: scroll 70s linear infinite; }

.gallery:hover .gallery-track { animation-play-state: paused; }

.gallery figure { position: relative; margin: 0; width: min(620px, 78vw); flex: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transition: transform 0.5s var(--ease); }

.gallery figure:hover { transform: translateY(-6px) scale(1.015); }

.gallery figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(11, 11, 13, 0.82); backdrop-filter: blur(8px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }

/* Bento: big titles, no sentences */
.features { padding-top: 140px; }

.bento { margin-top: 0; }

.tile h3 { font-size: 24px; font-weight: 400; }

.viz { height: 170px; }

/* Beta card */
.beta-mark { width: 64px; height: 64px; margin: 0 auto 26px; }

.beta-card h2 { margin-bottom: 8px; }

@media (max-width: 900px) {
  .numbers { grid-template-columns: 1fr; gap: 48px; padding-top: 100px; }
  .gallery { margin-top: 100px; }
  .features { padding-top: 100px; }
  .hero { padding-top: 96px; }
}


/* No prefers-reduced-motion override: the animations play on every system (owner's decision). */
