/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Tokens ── */
:root {
  --color-pure-black: #000000;
  --color-graphite: #1d1d1f;
  --color-smoke: #333336;
  --color-charcoal: #161617;
  --color-fog: #86868b;
  --color-pearl: #f5f5f7;
  --color-white: #ffffff;
  --color-signal-blue: #2997ff;
  --color-action-blue: #0071e3;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius-nav:     980px;
  --radius-cards:    28px;
  --radius-buttons: 999px;

  --page-max: 980px;
  --section-gap: 120px;
}

/* ── Base ── */
body {
  background: var(--color-pure-black);
  color: var(--color-pearl);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-action-blue);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.019em;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-buttons);
  white-space: nowrap;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.86; }
.btn-large { font-size: 19px; padding: 16px 28px; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: var(--page-max);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(29,29,31,0.84);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-nav);
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.07);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--color-pearl);
  margin-right: auto;
}
.nav-logo { display: block; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-right: 12px;
}
.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-pearl);
  letter-spacing: 0.007em;
  padding: 6px 12px;
  border-radius: var(--radius-buttons);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width 0.2s;
}
.nav-link.active::after,
.nav-link:hover::after { width: calc(100% - 24px); }
.nav-cta { font-size: 14px; padding: 8px 16px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.1fr);
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 120px 20px 80px;
  gap: 40px;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-fog);
  letter-spacing: -0.019em;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: 80px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--color-pearl);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--color-fog);
  margin-bottom: 24px;
}

.hero-body {
  font-size: 17px;
  color: var(--color-pearl);
  line-height: 1.47;
  letter-spacing: -0.32px;
  margin-bottom: 40px;
  max-width: 380px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-legal {
  font-size: 14px;
  color: var(--color-fog);
  letter-spacing: -0.31px;
}

/* ── Hero devices ── */
.hero-device {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

/* Watch frame */
.watch-frame {
  position: relative;
  background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
  border-radius: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px #3a3a3c, 0 32px 60px rgba(0,0,0,0.7);
}

.hero-watch {
  width: 200px;
  height: 244px;
  border-radius: 50px;
}

.feature-watch {
  width: 180px;
  height: 218px;
  border-radius: 44px;
}

.watch-screen {
  overflow: hidden;
  background: #000;
}

.hero-watch .watch-screen {
  width: 168px;
  height: 204px;
  border-radius: 40px;
}

.feature-watch .watch-screen {
  width: 150px;
  height: 182px;
  border-radius: 36px;
}

.watch-crown {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-60px);
  width: 5px;
  height: 30px;
  background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
  border-radius: 3px;
}
.watch-btn-top {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(10px);
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
  border-radius: 3px;
}
.watch-btn-bottom {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(34px);
  width: 5px;
  height: 12px;
  background: linear-gradient(180deg, #3a3a3c, #2a2a2c);
  border-radius: 3px;
}

/* Watch UI — home screen */
.watch-ui-hero {
  width: 100%;
  height: 100%;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #000;
}

.wu-time {
  font-size: 11px;
  color: var(--color-pearl);
  opacity: 0.7;
  text-align: right;
  letter-spacing: 0.04em;
}

.wu-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.wu-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  letter-spacing: -0.2px;
}
.wu-btn-primary {
  background: #3a3a3c;
  color: var(--color-pearl);
}
.wu-btn-secondary {
  background: #2c2c2e;
  color: var(--color-fog);
}

/* Watch UI — active workout */
.wu-active-workout {
  width: 100%;
  height: 100%;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #000;
}

.aw-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.aw-time-elapsed {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-pearl);
  letter-spacing: -0.3px;
}
.aw-bpm { font-size: 10px; color: var(--color-fog); }
.aw-bpm-val { color: #ff453a; font-weight: 600; font-size: 12px; }

.aw-exercise {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-pearl);
  letter-spacing: -0.1px;
}

.aw-set-row {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.aw-set-block {
  flex: 1;
  background: #2c2c2e;
  border-radius: 6px;
  padding: 4px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.aw-set-block.done { background: #1c3a1c; }
.aw-set-block.active { background: #1c2e3a; border: 1px solid var(--color-signal-blue); }

.set-n { font-size: 7px; color: var(--color-fog); font-weight: 600; }
.set-v { font-size: 7px; color: var(--color-pearl); }

.aw-rest {
  background: #1c1c1e;
  border-radius: 8px;
  padding: 5px 7px;
}
.aw-rest-label { font-size: 8px; color: var(--color-fog); text-transform: uppercase; letter-spacing: 0.05em; }
.aw-rest-timer { font-size: 16px; font-weight: 300; color: var(--color-pearl); letter-spacing: -0.5px; line-height: 1.1; }
.aw-rest-bar { height: 3px; background: #333; border-radius: 2px; margin-top: 3px; overflow: hidden; }
.aw-rest-fill { height: 100%; background: var(--color-signal-blue); border-radius: 2px; }

.aw-kcal { font-size: 10px; color: var(--color-fog); text-align: right; }
.aw-kcal-val { color: #ff9f0a; font-weight: 600; font-size: 12px; }

/* Phone frame */
.phone-frame {
  background: #1c1c1e;
  border-radius: 44px;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px #3a3a3c, 0 24px 48px rgba(0,0,0,0.6);
}

.hero-phone {
  width: 220px;
  margin-bottom: 24px;
}

.feature-phone {
  width: 200px;
}

.phone-screen {
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-phone .phone-screen { height: 420px; }
.feature-phone .phone-screen { height: 380px; }

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 4px;
}
.ps-time { font-size: 13px; font-weight: 600; color: var(--color-pearl); }
.ps-icons { display: flex; gap: 4px; align-items: center; }

.phone-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
}
.pnav-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-pearl);
}
.pnav-edit {
  font-size: 13px;
  color: #0a84ff;
  background: #2c2c2e;
  border-radius: 999px;
  padding: 4px 12px;
}
.pnav-gear { color: #8e8e93; }

.phone-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-pearl);
  padding: 4px 16px 12px;
  letter-spacing: -0.5px;
}

/* Routines grid */
.routines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
  flex: 1;
}

.routine-card {
  background: #2c2c2e;
  border-radius: 16px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  aspect-ratio: 1.1;
}
.routine-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-pearl);
  letter-spacing: -0.2px;
}

.phone-add-btn {
  text-align: center;
  color: #0a84ff;
  font-size: 14px;
  padding: 12px;
  margin-top: 4px;
}

/* Tab bar */
.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 8px 12px;
  background: rgba(28,28,30,0.95);
  border-top: 1px solid #2c2c2e;
  margin-top: auto;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #8e8e93;
  flex: 1;
  letter-spacing: -0.1px;
}
.tab-active span { color: #0a84ff; }

/* Calendar */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 8px;
}
.cal-month { font-size: 13px; font-weight: 600; color: var(--color-pearl); }
.cal-nav { display: flex; gap: 14px; font-size: 16px; color: #0a84ff; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0 8px;
  flex: 1;
}

.cal-dow {
  text-align: center;
  font-size: 9px;
  color: #8e8e93;
  padding: 2px 0 4px;
  font-weight: 400;
}

.cal-d {
  text-align: center;
  font-size: 11px;
  color: var(--color-pearl);
  padding: 3px 2px;
  position: relative;
  line-height: 1.6;
}

.cal-d.cal-workout::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0a84ff;
  margin: 0 auto;
}

.cal-d.cal-today {
  background: #0a84ff;
  border-radius: 50%;
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px auto;
  font-size: 11px;
}
.cal-d.cal-today::after { display: none; }

.cal-session {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2c2c2e;
  border-radius: 12px;
  margin: 8px 10px;
  padding: 10px 12px;
}
.cal-session-info { flex: 1; }
.cal-session-name { font-size: 13px; font-weight: 600; color: var(--color-pearl); }
.cal-session-meta { font-size: 11px; color: #8e8e93; }
.cal-session-arrow { color: #8e8e93; font-size: 14px; }

/* ── Statement band ── */
.statement-band {
  background: var(--color-graphite);
  padding: 100px 20px;
  text-align: center;
}
.statement-text {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.72px;
  color: var(--color-pearl);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Features ── */
.features {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--section-gap) 20px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.section-header { text-align: center; }
.section-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.72px;
  color: var(--color-pearl);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

.feature-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-signal-blue);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.feature-heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.72px;
  color: var(--color-pearl);
  margin-bottom: 20px;
}

.feature-body {
  font-size: 17px;
  color: var(--color-fog);
  line-height: 1.55;
  letter-spacing: -0.32px;
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  font-size: 15px;
  color: var(--color-pearl);
  letter-spacing: -0.25px;
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-signal-blue);
}

.feature-device {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.screenshot-hero {
  width: clamp(260px, 42vw, 520px);
  height: auto;
  border-radius: 28px;
  display: block;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
}

.screenshot-watch {
  width: 200px;
  height: auto;
  border-radius: 36px;
  display: block;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.screenshot-phone {
  width: 240px;
  height: auto;
  border-radius: 36px;
  display: block;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

/* ── Privacy ── */
.privacy-section {
  background: var(--color-charcoal);
  padding: var(--section-gap) 20px;
}
.privacy-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  text-align: center;
}

.privacy-sub {
  font-size: 21px;
  color: var(--color-fog);
  letter-spacing: -0.32px;
  margin-top: 20px;
  margin-bottom: 60px;
}

.privacy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pillar {
  background: var(--color-graphite);
  border-radius: var(--radius-cards);
  padding: 32px 24px;
  text-align: left;
}
.pillar-icon { margin-bottom: 20px; }
.pillar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-pearl);
  letter-spacing: -0.32px;
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 14px;
  color: var(--color-fog);
  line-height: 1.5;
  letter-spacing: -0.31px;
}

.privacy-footnote {
  font-size: 12px;
  color: var(--color-fog);
  line-height: 1.5;
  letter-spacing: -0.27px;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Social proof ── */
.social-proof {
  padding: var(--section-gap) 20px;
}
.proof-inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

.quotes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.quote-card {
  background: var(--color-graphite);
  border-radius: var(--radius-cards);
  padding: 32px 28px;
}
.quote-card-featured {
  background: var(--color-charcoal);
  border: 1px solid #333336;
  transform: translateY(-12px);
}

.quote-text {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-pearl);
  margin-bottom: 20px;
}
.quote-card-featured .quote-text { font-size: 24px; }

.quote-cite {
  font-size: 14px;
  color: var(--color-fog);
  letter-spacing: -0.31px;
  font-style: normal;
}

/* ── Beta CTA ── */
.beta-cta {
  padding: var(--section-gap) 20px;
  text-align: center;
}
.beta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.beta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-signal-blue);
  background: rgba(41,151,255,0.1);
  border: 1px solid rgba(41,151,255,0.25);
  border-radius: var(--radius-buttons);
  padding: 6px 14px;
  margin-bottom: 28px;
}

.beta-headline {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--color-pearl);
  margin-bottom: 16px;
}

.beta-sub {
  font-size: 17px;
  color: var(--color-fog);
  line-height: 1.47;
  letter-spacing: -0.32px;
  margin-bottom: 40px;
}

.beta-btn { margin: 0 auto; }

.beta-legal {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-fog);
  letter-spacing: -0.27px;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-graphite);
  padding: 60px 20px 40px;
}
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-fog);
  letter-spacing: -0.3px;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 12px;
  color: var(--color-fog);
  letter-spacing: -0.27px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-pearl); }
.footer-divider {
  height: 1px;
  background: #333336;
  margin-bottom: 24px;
}
.footer-legal {
  font-size: 12px;
  color: var(--color-fog);
  line-height: 1.5;
  letter-spacing: -0.27px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    min-height: auto;
  }
  .hero-headline { font-size: 56px; }
  .hero-sub { font-size: 24px; }
  .hero-body { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-device { justify-content: center; }
  .hero-phone { display: none; }

  .statement-text { font-size: 32px; }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
    gap: 40px;
  }
  .feature-list { text-align: left; display: inline-flex; }
  .feature-heading { font-size: 32px; }

  .privacy-pillars { grid-template-columns: 1fr 1fr; }

  .quotes-row { grid-template-columns: 1fr; }
  .quote-card-featured { transform: none; }

  .beta-headline { font-size: 48px; }

  .section-title { font-size: 36px; }

  .nav-links { display: none; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .privacy-pillars { grid-template-columns: 1fr; }
}
