/*
 * Pursue — "Lux Athletic" marketing + legal site.
 * Ink-and-platinum system; the app's level ring and 1–60 ladder are the
 * page's art. Track hues are the only saturated color. Palette and type
 * roles mirror native/src/theme/tokens.ts (dark mode).
 * Plain static CSS, mobile-first, no build step.
 */

:root {
  /* Surfaces — dark ink ladder, biased a breath toward blue so the
     black reads photographic, not void. */
  --bg: #050608;
  --surface: #0a0c10;
  --surface-2: #10131a;
  --surface-3: #151922;

  /* Lines — hairline by default */
  --border-hairline: #232830;
  --border: #1a1e26;

  /* Text */
  --fg: #e9eaee;
  --fg-muted: #a6aab4;
  --fg-faint: #7d818b;

  /* Accent — monochrome platinum; color is "earned" by the tracks. */
  --accent: #d3d5db;
  --accent-soft: #a6aab4;

  /* Warm paper — CTAs read premium against the ink, not clinical white. */
  --cream: #f2eee3;

  /* Atmosphere tints — deep in the neutrals, never saturated. */
  --steel: 96, 124, 168;
  --bronze: 168, 136, 96;

  /* Radii — 8 / 16 / 24 / pill */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Soft, low-opacity elevation */
  --elev-1: 0 2px 6px rgba(0, 0, 0, 0.2);
  --elev-2: 0 6px 16px rgba(0, 0, 0, 0.32);

  /* Type roles. --font-wide is Barlow (the uncondensed sibling of the
     body face) — display headlines share the logo type's DNA at a wider,
     calmer width. */
  --font-hero: "Bebas Neue", "Barlow Condensed", system-ui, sans-serif;
  --font-wide: "Barlow", "Barlow Condensed", system-ui, sans-serif;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --gutter: 24px;
  --measure: 760px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain over the whole page — keeps the ink from reading as dead
   pixels. Non-interactive, extremely low opacity, screen-blended. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Layout primitives ─────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main {
  display: block;
}

/* ── Links ─────────────────────────────────────────────────────── */

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover {
  color: #fff;
}

a:focus-visible,
.eyebrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

/* ── Eyebrow / mono micro-labels ───────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0;
}

/* ── Visually hidden (a11y) ────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Skip link (a11y) ──────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}

.skip-link:focus {
  left: var(--gutter);
  top: 12px;
  padding: 10px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-sm);
  color: var(--fg);
}

/* ── Scroll reveals (JS-gated; no-JS visitors see everything) ──── */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease,
    color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: var(--cream);
  color: #141414;
  padding: 11px 20px;
  box-shadow: 0 0 0 0 rgba(242, 238, 227, 0);
}

.btn-primary:hover {
  background: #fbf9f2;
  color: #0a0a0c;
  box-shadow: 0 0 24px 0 rgba(242, 238, 227, 0.14);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-lg {
  font-size: 13px;
  padding: 15px 30px;
}

/* ── Sticky top nav ────────────────────────────────────────────── */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(5, 6, 8, 0.55);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 18px;
  color: var(--fg);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.topnav-brand:hover {
  color: #fff;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 12px 26px;
}

.topnav-links > a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.topnav-links > a:not(.btn):hover {
  color: var(--fg);
}

/* ── Hero: the ring is the room ───────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: clamp(620px, 92vh, 920px);
  padding: clamp(48px, 8vh, 96px) 0 clamp(40px, 7vh, 72px);
  border-bottom: 1px solid var(--border-hairline);
}

/* Atmospheric field: platinum key light over the phone, cool steel wash
   behind the headline, warm bronze low in the frame. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 640px at 74% 8%, rgba(211, 213, 219, 0.10), transparent 64%),
    radial-gradient(900px 720px at 8% 30%, rgba(var(--steel), 0.11), transparent 62%),
    radial-gradient(1000px 820px at 88% 88%, rgba(var(--bronze), 0.08), transparent 66%);
}

/* The level ring at architectural scale. A faint full circle carries a
   bright arc that sweeps in on load — the app's Home ring as set piece. */
@property --sweep {
  syntax: "<angle>";
  initial-value: 212deg;
  inherits: false;
}

.hero-ring {
  position: absolute;
  top: 50%;
  right: max(-18vw, -260px);
  transform: translateY(-52%);
  width: min(88vh, 860px);
  aspect-ratio: 1;
  pointer-events: none;
  --sweep: 212deg;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    rgba(211, 213, 219, 0.10),
    rgba(211, 213, 219, 0.02) 55%,
    rgba(211, 213, 219, 0.10)
  );
  -webkit-mask: radial-gradient(closest-side, transparent 63.6%, #000 64.2% 69.8%, transparent 70.4%);
  mask: radial-gradient(closest-side, transparent 63.6%, #000 64.2% 69.8%, transparent 70.4%);
}

.hero-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 238deg,
    transparent 0deg,
    rgba(233, 234, 238, 0.34) calc(var(--sweep) * 0.55),
    rgba(243, 244, 246, 0.85) var(--sweep),
    transparent calc(var(--sweep) + 12deg)
  );
  -webkit-mask: radial-gradient(closest-side, transparent 63%, #000 63.8% 70.2%, transparent 71%);
  mask: radial-gradient(closest-side, transparent 63%, #000 63.8% 70.2%, transparent 71%);
  filter: drop-shadow(0 0 26px rgba(211, 213, 219, 0.25));
  animation: ring-sweep 1.7s cubic-bezier(0.3, 0.7, 0.2, 1) 0.35s both;
}

@keyframes ring-sweep {
  from { --sweep: 0deg; }
  to   { --sweep: 212deg; }
}

.hero-grid {
  position: relative;
}

.hero .eyebrow {
  margin-bottom: 26px;
}

/* The value proposition IS the headline — Barlow at display width shares
   the logo type's skeleton without the condensed shout. */
.hero-head {
  font-family: var(--font-wide);
  font-weight: 500;
  font-size: clamp(38px, 8.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #f3f4f6;
  margin: 0;
  text-wrap: balance;
}

.lede {
  color: var(--fg-muted);
  font-size: clamp(17px, 2.4vw, 19px);
  margin: 28px 0 0;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 40px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-pill);
  background: rgba(10, 12, 16, 0.55);
  box-shadow: var(--elev-1);
}

.availability .dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(211, 213, 219, 0.1);
  flex: none;
}

.availability span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Phone frame (real app screenshots) ────────────────────────── */

.phone {
  position: relative;
  border: 8px solid #171a20;
  border-radius: 44px;
  background: #171a20;
  box-shadow:
    0 0 0 1px var(--border-hairline),
    var(--elev-2);
  overflow: hidden;
  line-height: 0;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 8vh, 64px);
}

/* Light bloom behind the device so it stands in a pool of light. */
.hero-phone::before {
  content: "";
  position: absolute;
  inset: -22% -30%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgba(211, 213, 219, 0.16),
    rgba(211, 213, 219, 0.055) 48%,
    transparent 72%
  );
}

.hero-phone .phone {
  width: min(290px, 78vw);
  flex: none;
  position: relative;
  z-index: 1;
}

/* ── Marquee (colorful, CSS-only, seamless) ────────────────────── */

.marquee {
  padding: clamp(36px, 6vh, 56px) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-row {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}

.marquee-row-reverse {
  animation-direction: reverse;
  animation-duration: 58s;
}

.marquee:hover .marquee-row {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0 7px;
  flex: none;
}

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

.m-card {
  --track-color: hsl(var(--track));
  position: relative;
  flex: none;
  width: 230px;
  padding: 18px 18px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

.m-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--track-color);
  opacity: 0.85;
}

.m-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--track-color);
}

.m-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--track-color);
  box-shadow: 0 0 0 3px hsl(var(--track) / 0.16);
}

.m-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-top: 12px;
}

.m-lvl {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-pill);
}

/* ── Manifesto band ────────────────────────────────────────────── */

.manifesto {
  padding: clamp(72px, 14vh, 128px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(800px 340px at 50% 100%, rgba(var(--steel), 0.06), transparent 70%);
}

.manifesto-line {
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: clamp(34px, 6.5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}

.manifesto-sub {
  font-family: var(--font-display);
  color: var(--fg-faint);
  font-size: clamp(17px, 2.4vw, 20px);
  margin: 18px 0 0;
}

/* ── Sections ──────────────────────────────────────────────────── */

.section {
  padding: clamp(56px, 12vh, 96px) 0;
}

.section-flush {
  padding-top: 0;
}

.section-head {
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: clamp(26px, 4.6vw, 34px);
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  color: var(--fg);
  text-wrap: balance;
}

.section-sub {
  color: var(--fg-muted);
  margin: 12px 0 0;
  max-width: 56ch;
}

/* ── Value cards ───────────────────────────────────────────────── */

.values {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.value-card {
  position: relative;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}

.value-card:hover {
  border-color: #2e3440;
  transform: translateY(-2px);
}

.value-title {
  font-family: var(--font-wide);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}

.value-body {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* ── Screens: one mission, five frames ─────────────────────────── */

.screens {
  position: relative;
}

.screens::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    1000px 480px at 50% 62%,
    rgba(211, 213, 219, 0.055),
    transparent 70%
  );
}

.screens-rail {
  display: flex;
  gap: 22px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 6px max(var(--gutter), calc((100vw - var(--measure)) / 2)) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-hairline) transparent;
}

.screen-card {
  flex: none;
  width: clamp(210px, 58vw, 250px);
  margin: 0;
  scroll-snap-align: start;
  scroll-margin-inline-start: max(var(--gutter), calc((100vw - var(--measure)) / 2));
}

.screen-card figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.4;
}

.screen-card figcaption b {
  font-weight: 400;
  color: var(--fg-faint);
  margin-right: 8px;
}

/* ── The ladder: six tracks, 1 → 60 ────────────────────────────── */

.ladder {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ladder-col {
  --track-color: hsl(var(--track));
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

.ladder-col::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--track-color);
  opacity: 0.85;
}

.ladder-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.ladder-name .dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--track-color);
  box-shadow: 0 0 0 3px hsl(var(--track) / 0.16);
  flex: none;
}

.rung {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.rung b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
}

.rung span {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--fg-muted);
}

.rung.high {
  margin-top: 0;
}

.rung.high span {
  color: var(--fg);
  font-weight: 500;
}

/* The climb between the first rung and the elite one. */
.climb {
  flex: none;
  width: 1px;
  height: 26px;
  margin: 10px 0 10px 3px;
  background: linear-gradient(
    180deg,
    var(--border-hairline),
    hsl(var(--track) / 0.55)
  );
}

/* ── Founder note ──────────────────────────────────────────────── */

.note {
  border-top: 1px solid var(--border-hairline);
  background:
    radial-gradient(760px 380px at 50% 0%, rgba(var(--bronze), 0.05), transparent 70%);
}

.note-inner {
  max-width: calc(620px + var(--gutter) * 2);
}

.note-mark {
  display: block;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.note-body p {
  color: var(--fg-muted);
  font-size: clamp(17px, 2.4vw, 19px);
  line-height: 1.72;
  margin: 22px 0 0;
}

.note-body p:first-child {
  margin-top: 30px;
}

.note-sign {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 30px 0 0;
}

/* ── Get the app / QR block ────────────────────────────────────── */

.get {
  border-top: 1px solid var(--border-hairline);
  background:
    radial-gradient(900px 460px at 50% 8%, rgba(211, 213, 219, 0.05), transparent 70%);
}

.get-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.get .eyebrow,
.get .section-head {
  text-align: center;
}

.get-sub {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.qr-tile {
  margin-top: 36px;
  padding: 18px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--elev-2);
  line-height: 0;
}

.qr-tile img {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: var(--r-sm);
}

.qr-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 18px 0 0;
}

/* ── Waitlist form ─────────────────────────────────────────────── */

.waitlist {
  width: 100%;
  max-width: 460px;
  margin-top: 36px;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.waitlist input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 18px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--fg);
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-pill);
  outline: none;
  transition: border-color 160ms ease;
}

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

.waitlist input:focus {
  border-color: var(--accent-soft);
}

.waitlist .btn {
  flex: none;
}

.waitlist .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-note,
.waitlist-done {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 14px 0 0;
}

.waitlist-done {
  margin-top: 36px;
  color: var(--fg-muted);
}

/* Neutral, non-interactive App Store badge — honest "coming soon". */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 20px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: var(--elev-1);
  cursor: default;
}

.store-badge-glyph {
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--fg-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.365 1.43c0 1.14-.42 2.2-1.18 3.02-.83.9-2.2 1.6-3.32 1.5-.13-1.1.42-2.27 1.13-3.02.79-.86 2.2-1.5 3.37-1.5zM20.5 17.04c-.55 1.27-.82 1.84-1.53 2.96-1 1.57-2.4 3.52-4.14 3.53-1.55.02-1.95-1.01-4.05-1-2.1.01-2.54 1.02-4.09 1-1.74-.01-3.07-1.78-4.06-3.34C-.4 17.9-.7 13.2 1.55 10.7c1.02-1.16 2.62-1.9 4.1-1.9 1.5 0 2.45 1.02 3.7 1.02 1.2 0 1.93-1.02 3.67-1.02 1.3 0 2.68.71 3.66 1.94-3.22 1.76-2.7 6.36.82 7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.365 1.43c0 1.14-.42 2.2-1.18 3.02-.83.9-2.2 1.6-3.32 1.5-.13-1.1.42-2.27 1.13-3.02.79-.86 2.2-1.5 3.37-1.5zM20.5 17.04c-.55 1.27-.82 1.84-1.53 2.96-1 1.57-2.4 3.52-4.14 3.53-1.55.02-1.95-1.01-4.05-1-2.1.01-2.54 1.02-4.09 1-1.74-.01-3.07-1.78-4.06-3.34C-.4 17.9-.7 13.2 1.55 10.7c1.02-1.16 2.62-1.9 4.1-1.9 1.5 0 2.45 1.02 3.7 1.02 1.2 0 1.93-1.02 3.67-1.02 1.3 0 2.68.71 3.66 1.94-3.22 1.76-2.7 6.36.82 7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-pre {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.store-badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--fg-muted);
}

/* ── Footer (shared, multi-column) ─────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: clamp(40px, 7vh, 64px) 0 56px;
  margin-top: clamp(40px, 8vh, 80px);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  padding: 0;
}

.footer-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.footer-col ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--fg-muted);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(36px, 6vh, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-legal {
  color: var(--fg-faint);
  font-size: 13px;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ── Legal pages ───────────────────────────────────────────────── */

.legal-top {
  padding: 36px 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.back-link:hover {
  color: var(--fg);
}

.back-link .arrow {
  font-size: 13px;
  line-height: 1;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0 8px;
}

.legal h1 {
  font-family: var(--font-hero);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(46px, 12vw, 84px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 12px 0 0;
  color: var(--fg);
}

.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 18px 0 0;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 24px);
  letter-spacing: 0.01em;
  color: var(--fg);
  margin: 48px 0 0;
  padding-top: 8px;
}

.legal p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.72;
  margin: 18px 0 0;
}

.legal ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal li {
  position: relative;
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 12px 0 0;
  padding-left: 26px;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
}

.legal h1 + .legal-meta {
  margin-top: 16px;
}

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

@media (max-width: 559px) {
  .topnav-links > a:not(.btn) {
    display: none;
  }
}

/* On phones, scanning a QR with the device you're holding is a dead end —
   hide the tile and lead with the badge. */
@media (max-width: 719px) {
  .qr-tile,
  .qr-caption {
    display: none;
  }

  /* Ring recedes on small screens: quieter, higher, never behind text. */
  .hero-ring {
    width: 150vw;
    right: -70vw;
    top: 30%;
    opacity: 0.6;
  }
}

@media (min-width: 560px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 680px) {
  .ladder {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .m-card {
    width: 250px;
  }
}

/* ── Desktop: scale horizontally instead of a narrow reading column ── */
@media (min-width: 1024px) {
  .landing {
    --measure: 1180px;
    --gutter: 40px;
  }

  /* Hero → copy left, the real app right, ring behind the phone column. */
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    grid-template-areas:
      "eyebrow  phone"
      "head     phone"
      "lede     phone"
      "actions  phone";
    column-gap: clamp(48px, 6vw, 104px);
    row-gap: clamp(18px, 2.4vh, 32px);
    align-items: start;
  }
  .hero .eyebrow { grid-area: eyebrow; margin-bottom: 0; }
  .hero .hero-head {
    grid-area: head;
    font-size: clamp(48px, 4.3vw, 64px);
    margin-top: 10px;
  }
  .hero .lede { grid-area: lede; margin: 6px 0 0; max-width: 52ch; }
  .hero .hero-actions { grid-area: actions; margin-top: 8px; }
  .hero-phone {
    grid-area: phone;
    margin-top: 0;
    align-self: center;
    justify-content: end;
  }
  .hero-phone .phone { width: 100%; }

  .values { grid-template-columns: repeat(4, 1fr); }
  .ladder { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .section-sub { max-width: 64ch; }

  .screen-card { width: 260px; }
  .screens-rail { gap: 28px; }

  .qr-tile img { width: 300px; height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .marquee-row {
    animation: none;
  }

  /* Ring rests at its final sweep; reveals render in place. */
  .hero-ring::after {
    animation: none;
  }

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