/* ============================================================
   Zyclia — Apple-Grade Landing Page
   Design language: pure black, system fonts, no gradients.
   ============================================================ */

/* ----------  Design Tokens  ---------- */
:root {
  /* Surfaces */
  --black:           #000000;
  --surface-1:       #1C1C1E;
  --surface-2:       #2C2C2E;
  --separator:       #38383A;

  /* Light surfaces */
  --white:           #FFFFFF;
  --gray-light:      #f5f5f7;

  /* Text on dark */
  --text-primary:    #FFFFFF;
  --text-secondary:  rgba(235,235,245,0.6);
  --text-tertiary:   rgba(235,235,245,0.3);

  /* Text on light */
  --text-dark:       #1d1d1f;
  --text-dark-2:     rgba(0,0,0,0.8);
  --text-dark-3:     rgba(0,0,0,0.5);

  /* Accents */
  --accent:          #FF6B35;
  --positive:        #30D158;
  --warning:         #FF9F0A;

  /* Nav */
  --nav-bg:          rgba(0,0,0,0.8);
  --nav-border:      rgba(255,255,255,0.08);

  /* Typography */
  --font: system-ui, -apple-system, 'SF Pro Display', 'SF Pro Text', sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.42, 0, 0.58, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ----------  Layout  ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.container-wide {
  max-width: 1440px;
}

/* ----------  Nav  ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 48px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand svg { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0 12px;
  transition: color 0.2s var(--ease);
  letter-spacing: -0.1px;
}
.nav-link:hover { color: var(--text-primary); text-decoration: none; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta .pill-sm {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  transition: opacity 0.2s var(--ease);
}
.nav-cta .pill-sm:hover {
  opacity: 0.88;
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 6px;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ----------  Buttons / Pills  ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 980px;
  letter-spacing: -0.2px;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.pill:hover { text-decoration: none; opacity: 0.88; }

.pill-primary {
  background: var(--accent);
  color: #fff;
}
.pill-secondary-light {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark-3);
}
.pill-secondary-light:hover {
  background: rgba(0,0,0,0.04);
  border-color: var(--text-dark-2);
  opacity: 1;
}
.pill-secondary-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.pill-secondary-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  opacity: 1;
}

/* ============================================================
   PHONE MOCKUP FRAMES
   ============================================================ */
.phone-mockup {
  width: 320px;
  flex-shrink: 0;
  border-radius: 44px;
  background: var(--black);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05),
              0 0 0 12px #1a1a1a,
              0 0 0 13px rgba(255,255,255,0.08),
              0 40px 80px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.phone-mockup .phone-screen {
  width: 100%;
  aspect-ratio: 390 / 844;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-mockup .sb {
  height: 38px;
  padding: 14px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  flex-shrink: 0;
  z-index: 5;
}
.phone-mockup .sb-time { font-variant-numeric: tabular-nums; }
.phone-mockup .sb-icons { display: flex; align-items: center; gap: 5px; opacity: 0.95; }
.phone-mockup .sb-icons svg { display: block; }

/* Notch / dynamic island */
.phone-mockup .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 6;
}

/* --- Home Dashboard Screen --- */
.ds-body {
  flex: 1;
  padding: 4px 16px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ds-greeting { margin-bottom: 14px; }
.ds-greeting h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.ds-greeting p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.ds-workout {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 14px;
}
.ds-wc-label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ds-wc-type {
  float: right;
  font-size: 10px;
  color: var(--positive);
  font-weight: 600;
}
.ds-wc-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  margin-top: 6px;
}
.ds-wc-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
}
.ds-wc-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--separator);
}
.ds-wc-stat .v {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.ds-wc-stat .v .u { font-size: 10px; color: var(--text-secondary); font-weight: 400; }
.ds-wc-stat .l { font-size: 9px; color: var(--text-secondary); margin-top: 1px; }

.ds-metrics {
  display: flex;
  gap: 1px;
  background: var(--separator);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}
.ds-metric {
  flex: 1;
  background: var(--surface-1);
  padding: 11px 8px;
}
.ds-metric .mv {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.ds-metric .ml {
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 500;
}
.ds-metric .md {
  font-size: 8px;
  margin-top: 3px;
  font-weight: 600;
}
.ds-metric .md.pos { color: var(--positive); }
.ds-metric .md.neg { color: #FF453A; }

.ds-week {
  margin-top: 12px;
  background: var(--surface-1);
  border-radius: 12px;
  padding: 12px 14px;
}
.ds-week-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.ds-week-title { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.ds-week-val { font-size: 10px; color: var(--text-secondary); }
.ds-week-val strong { color: var(--text-primary); font-weight: 600; }
.ds-week-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}
.ds-week-fill {
  height: 100%;
  width: 74%;
  background: var(--accent);
  border-radius: 2px;
}

.ds-tabbar {
  margin-top: auto;
  height: 44px;
  background: rgba(28,28,30,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--separator);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 6px;
}
.ds-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ds-tab svg { width: 18px; height: 18px; }
.ds-tab span {
  font-size: 7px;
  font-weight: 500;
  color: var(--text-secondary);
}
.ds-tab.active span { color: var(--accent); }
.ds-tab svg path { stroke: var(--text-secondary); fill: none; stroke-width: 2; }
.ds-tab.active svg path { stroke: var(--accent); }

/* --- Coach Chat Screen --- */
.chat-header {
  padding: 6px 16px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0.5px solid var(--separator);
}
.chat-back {
  font-size: 18px;
  color: var(--accent);
  width: 24px;
}
.chat-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.chat-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 1px;
}
.chat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--positive);
}
.chat-body {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.1px;
}
.bubble.coach {
  background: var(--surface-2);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble.user {
  background: var(--accent);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 22px;
  border-top: 0.5px solid var(--separator);
}
.chat-input-field {
  flex: 1;
  background: var(--surface-1);
  border-radius: 980px;
  padding: 7px 12px;
  font-size: 11px;
  color: var(--text-tertiary);
}
.chat-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send svg { width: 12px; height: 12px; fill: var(--text-primary); }

/* --- Training Plan Screen --- */
.plan-body {
  flex: 1;
  padding: 4px 16px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.plan-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.plan-week {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  overflow-x: hidden;
}
.plan-day {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 0;
  border-radius: 10px;
}
.plan-day.active { background: var(--surface-1); }
.plan-day .pd-dow {
  font-size: 8px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}
.plan-day .pd-num {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.plan-day .pd-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
}
.plan-day.has-workout .pd-dot { background: var(--accent); }
.plan-day.rest .pd-dot { background: var(--text-tertiary); }

.plan-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--separator);
}
.plan-summary .ps-l { font-size: 11px; color: var(--text-secondary); }
.plan-summary .ps-v { font-size: 11px; font-weight: 600; color: var(--text-primary); }

.plan-detail-card {
  background: var(--surface-1);
  border-radius: 12px;
  padding: 16px 14px;
  margin-top: 14px;
}
.plan-detail-type {
  font-size: 10px;
  font-weight: 600;
  color: var(--positive);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-detail-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-top: 4px;
  color: var(--text-primary);
}
.plan-detail-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}
.plan-detail-grid {
  display: flex;
  gap: 1px;
  background: var(--separator);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 14px;
}
.plan-dg-item {
  flex: 1;
  background: var(--surface-2);
  padding: 10px 6px;
  text-align: center;
}
.plan-dg-v {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.plan-dg-v .u { font-size: 9px; color: var(--text-secondary); }
.plan-dg-l {
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.plan-zones { margin-top: 14px; }
.plan-dz-title {
  font-size: 10px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.plan-zone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.plan-zb-bg {
  flex: 1;
  height: 7px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.plan-zb {
  height: 100%;
  border-radius: 4px;
}
.plan-zl {
  font-size: 9px;
  color: var(--text-secondary);
  width: 44px;
  flex-shrink: 0;
}
.plan-zt {
  font-size: 9px;
  color: var(--text-primary);
  width: 26px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SECTIONS
   ============================================================ */

/* ----------  Section Base  ---------- */
.section {
  padding: 120px 22px;
  display: flex;
  justify-content: center;
}
.section-inner {
  width: 100%;
  max-width: 1080px;
}
.section-dark {
  background: var(--black);
  color: var(--text-primary);
}
.section-light {
  background: var(--gray-light);
  color: var(--text-dark);
}
.section-white {
  background: var(--white);
  color: var(--text-dark);
}

/* ----------  Section Headlines  ---------- */
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--accent); }
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.07;
}
.section-dark .section-title { color: var(--text-primary); }
.section-subtitle {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.33;
  margin-top: 16px;
  color: var(--text-secondary);
}
.section-light .section-subtitle { color: var(--text-dark-2); }
.section-body {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  margin-top: 20px;
  color: var(--text-secondary);
}
.section-light .section-body { color: var(--text-dark-2); }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  margin-top: 16px;
}
.section-link:hover { text-decoration: underline; }
.section-link svg { width: 14px; height: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black);
  padding: 120px 22px 100px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  width: 100%;
  max-width: 980px;
  text-align: center;
}
.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--text-primary);
}
.hero-subtitle {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.33;
  color: var(--text-secondary);
  margin: 20px auto 0;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-phone {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   FEATURE SECTIONS (text + phone side by side)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-text {
  max-width: 480px;
}
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Metrics inline display for feature 2 */
.feature-metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.feature-metric {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--separator);
}
.feature-metric:last-child { border-bottom: 1px solid var(--separator); }
.feature-metric .fm-label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  width: 60px;
  flex-shrink: 0;
}
.feature-metric .fm-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.pricing-head .section-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.price-card {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.price-card.elite {
  background: var(--black);
  color: var(--text-primary);
}
.price-name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.price-card.elite .price-name { color: var(--text-primary); }
.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}
.price-amount-row .pa-val {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}
.price-amount-row .pa-per {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dark-3);
}
.price-card.elite .price-amount-row .pa-per { color: var(--text-secondary); }
.price-desc {
  font-size: 15px;
  margin-top: 8px;
  color: var(--text-dark-3);
}
.price-card.elite .price-desc { color: var(--text-secondary); }
.price-trial-note {
  font-size: 14px;
  color: var(--accent);
  margin-top: 16px;
  font-weight: 500;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  flex-grow: 1;
}
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  line-height: 1.4;
}
.price-card.elite .price-feature {
  border-bottom-color: var(--separator);
  color: var(--text-secondary);
}
.price-feature:last-child { border-bottom: none; }
.price-feature .pf-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.price-feature .pf-check svg { width: 16px; height: 16px; }
.price-card.elite .price-feature { color: var(--text-secondary); }
.price-card.elite .pf-check { color: var(--accent); }

.price-cta { margin-top: 28px; }
.price-card.elite .price-feature .pf-check { color: var(--accent); }

.price-footnote {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-dark-3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--text-secondary);
  padding: 60px 22px 40px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--separator);
}
.footer-brand-block {
  max-width: 320px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand span {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.footer-brand svg { width: 28px; height: 28px; }
.footer-brand-block p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col a {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-col a:hover { text-decoration: underline; color: var(--text-primary); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  background: var(--black);
  color: var(--text-primary);
  padding: 140px 22px 80px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.07;
}
.legal-hero .updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}
.legal-body {
  background: var(--white);
  padding: 80px 22px 120px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-toc {
  background: var(--gray-light);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 56px;
}
.legal-toc h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark-3);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
  break-inside: avoid;
}
.legal-toc li a {
  font-size: 14px;
  color: var(--accent);
}
.legal-toc li::before {
  content: counter(toc) ". ";
  color: var(--text-dark-3);
}
.legal-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.28px;
  line-height: 1.14;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark-2);
  margin-bottom: 12px;
}
.legal-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.legal-content ul li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark-2);
  margin-bottom: 6px;
  list-style: disc;
}
.legal-content ul li::marker { color: var(--accent); }
.legal-content a {
  color: var(--accent);
}
.legal-content strong { color: var(--text-dark); font-weight: 600; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.legal-content th {
  text-align: left;
  padding: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark-3);
  border-bottom: 2px solid var(--gray-light);
}
.legal-content td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-menu-mobile {
    display: none;
    position: fixed;
    top: 48px;
    left: 0; right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 40px 22px;
    z-index: 999;
  }
  .nav-menu-mobile.open { display: flex; flex-direction: column; gap: 8px; }
  .nav-menu-mobile a {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    padding: 8px 0;
  }
  .nav-cta { gap: 8px; }
  .nav-cta .nav-link { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }

  .section { padding: 80px 22px; }
  .hero { padding: 100px 22px 60px; }
  .phone-mockup { width: 280px; }
}

@media (max-width: 500px) {
  .phone-mockup { width: 260px; }
  .price-card { padding: 32px 24px; }
  .legal-toc ol { columns: 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .pill { width: 100%; }
}

/* Touch device adjustments */
@media (pointer: coarse) {
  .pill:hover { opacity: 1; }
}

/* ============================================================
   LEGAL PAGES — container + back-to-top
   ============================================================ */
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
