/* ─── GetUp – shared tokens (ported from app design system) ─────── */
:root {
  /* Background ramp */
  --bg: #000000;
  --surface: #0d0d0d;
  --surface-alt: #111111;
  --surface-raised: #161616;

  /* Borders */
  --border: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.08);
  --separator: rgba(255, 255, 255, 0.06);

  /* Accent (GetUp green) */
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-dim: rgba(16, 185, 129, 0.15);
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-muted: rgba(16, 185, 129, 0.08);
  --accent-border: rgba(16, 185, 129, 0.2);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Type */
  --font-display: 'Geist', system-ui, sans-serif;
  --font-body: 'Libre Franklin', system-ui, sans-serif;
  --fs-hero: clamp(42px, 5.4vw, 82px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 11px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --max-w: 1240px;
  --nav-h: 92px;
  --footer-h: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text-primary); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Ambient grain overlay — soft character without visual noise */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Single-page layout: keep hero in viewport, footer at bottom */
body.single-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.single-page .hero { flex: 1; display: flex; align-items: center; }

/* ─── Header / nav ─────────────────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.3px;
  font-size: 20px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--accent-border), 0 8px 24px -8px var(--accent-glow);
  object-fit: cover;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--text-primary); }

/* ─── Shared containers ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ─── Hero (two-column split) ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 24px 0 56px;
  overflow: hidden;
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  top: 10%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-muted);
  color: var(--accent-bright);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 1.9px;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}
.hero-headline .accent {
  color: var(--accent-bright);
  font-style: italic;
  font-weight: 700;
  display: inline-block;
}
.hero-headline .accent::after {
  content: "";
  display: block;
  width: 62%;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}

.hero-sub {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.55;
}
.hero-sub .accent-word {
  color: var(--accent-bright);
  font-weight: 600;
}

.cta-row {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: all 180ms ease;
  min-width: 190px;
}
.badge:hover {
  border-color: var(--accent-border);
  background: var(--surface-raised);
  transform: translateY(-1px);
}
.badge-icon { width: 24px; height: 24px; flex-shrink: 0; }
.badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.badge-text .tiny {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.badge-text .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.2px;
}

/* ─── Hero video ──────────────────────────────────────────────────── */
.hero-video { position: relative; z-index: 2; width: 100%; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at center, rgba(16,185,129,0.14) 0%, transparent 65%),
    linear-gradient(135deg, #0a0f0d 0%, #060606 60%, #0a0f0d 100%);
  display: grid;
  place-items: center;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.9),
    inset 0 1px 0 rgba(255,255,255,0.03);
}
.video-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0 2px,
      transparent 2px 14px
    );
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  pointer-events: none;
}
.video-inner { text-align: center; position: relative; z-index: 2; padding: 32px; }
.play-btn {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px var(--accent-muted), 0 20px 50px -10px var(--accent-glow);
  position: relative;
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px var(--accent-muted), 0 20px 50px -10px var(--accent-glow); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 14px var(--accent-muted), 0 20px 60px -10px var(--accent-glow); }
}
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; fill: #001912; }
.video-label {
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 8px;
}
.video-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.video-note {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer {
  padding: 28px 0 32px;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  padding: 0 16px;
  position: relative;
}
.footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}
.footer-links a:hover { color: var(--accent-bright); }
.footer-copy { color: var(--text-muted); }

/* ─── Legal page ───────────────────────────────────────────────────── */
.legal {
  padding: 40px 0 120px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-kicker {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.legal .effective {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--separator);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.3px;
  margin: 44px 0 14px;
  color: var(--text-primary);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 26px 0 10px;
  color: var(--accent-bright);
  letter-spacing: -0.1px;
}
.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal ul { padding-left: 1.2em; margin-bottom: 18px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text-primary); font-weight: 600; }
.legal a {
  color: var(--accent-bright);
  border-bottom: 1px solid var(--accent-border);
  transition: border-color 150ms;
}
.legal a:hover { border-color: var(--accent-bright); }
.legal hr {
  border: 0;
  height: 1px;
  background: var(--separator);
  margin: 40px 0;
}
.legal .callout {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-border);
  background: var(--accent-muted);
  margin: 22px 0;
}
.legal .callout p { margin-bottom: 8px; }
.legal .callout p:last-child { margin-bottom: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}
.back-link:hover { color: var(--accent-bright); }
.back-link svg { width: 14px; height: 14px; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 16px 0 40px; }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-video { order: -1; }
  .nav { padding: 20px 24px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .legal h1 { font-size: 36px; }
  .footer-inner { padding: 0 24px; }
}
