:root {
  --bg: #0e0c0b;
  --surface: #1c1a18;
  --surface-raised: #292624;
  --accent: #ff5a1f;
  --accent-deep: #e8480f;
  --ink: #f4f1ee;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.12);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* Type */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin: 0;
}
.stamp {
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stamp.orange { color: var(--accent); }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: 26px; text-transform: uppercase; letter-spacing: 0.01em; }
.site-header nav { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.site-header nav a { text-decoration: none; opacity: 0.85; }
.site-header nav a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font: 700 17px/1 var(--body);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--bg); color: var(--accent); }
.btn-dark:hover { background: #000; }
.btn-orange { background: var(--accent); color: #000; }
.btn-orange:hover { background: #ff6c36; }
.btn svg { width: 20px; height: 20px; }

/* Apple's App Store badge: shown unmodified, at least 40px tall, with clear space around it. */
.appstore-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform 0.15s ease; }
.appstore-badge img { height: 54px; width: auto; }
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge:active { transform: scale(0.97); }
.appstore-badge:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #ff7130 0%, var(--accent) 45%, var(--accent-deep) 100%);
  color: #0e0c0b;
  overflow: hidden;
  padding: 92px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(96px, min(15vw, 20vh), 196px); }
.hero .barbell { margin: 14px 0 22px; width: calc(100% + 16px); max-width: 520px; height: auto; color: #0e0c0b; }
.hero .lede { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.2; margin: 0 0 28px; letter-spacing: -0.01em; }
.hero .lede .nowrap { white-space: nowrap; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-bottom: 72px; }
.hero .cta-note { font-size: 14px; font-weight: 600; opacity: 0.75; }
.hero .phone { align-self: end; justify-self: center; width: min(340px, 100%); margin-bottom: -90px; }

/* Phone frame */
.phone {
  border-radius: 44px;
  padding: 10px;
  background: #0e0c0b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 35px; width: 100%; height: auto; aspect-ratio: 603 / 1311; }

/* Barbell plates animation */
.barbell .plate { transform-box: fill-box; transform-origin: center; animation: plate-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.barbell.wait .plate { animation-play-state: paused; }
@keyframes plate-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .barbell .plate { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
section { padding: 120px 0; }
.ambient {
  background:
    radial-gradient(900px 520px at 50% 28%, rgba(255, 90, 31, 0.16), transparent 70%),
    radial-gradient(600px 400px at 100% 75%, rgba(255, 90, 31, 0.07), transparent 70%),
    var(--bg);
}
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(64px, 9vw, 120px); }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { color: var(--muted); font-size: 20px; margin: 22px 0 0; max-width: 46ch; }

/* Features */
.features { display: grid; gap: 28px; }
.feature {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 32px;
  padding: 48px 56px 0;
  overflow: hidden;
}
.feature:nth-child(even) { grid-template-columns: 300px 1fr; }
.feature:nth-child(even) .feature-shot { order: -1; }
.feature h3 { font-size: clamp(48px, 5.5vw, 72px); margin: 12px 0 16px; }
.feature p { color: var(--muted); margin: 0 0 48px; max-width: 42ch; font-size: 18px; }
.feature-shot { align-self: end; }
.feature-shot .phone { border-radius: 40px 40px 0 0; padding-bottom: 0; box-shadow: 0 -10px 60px rgba(255, 90, 31, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.feature-shot .phone img { border-radius: 31px 31px 0 0; aspect-ratio: 603 / 980; object-fit: cover; object-position: top; }

/* Streak band */
.streak { padding: 0 0 120px; }
.streak-card {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--faint);
  border-radius: 32px;
  padding: 44px 56px;
}
.streak-card .barbell { width: 300px; height: auto; color: var(--accent); }
.streak-card h3 { font-size: 56px; margin: 8px 0 10px; }
.streak-card p { color: var(--muted); margin: 0; max-width: 48ch; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy-grid div { background: var(--surface); border: 1px solid var(--faint); border-radius: 24px; padding: 28px; }
.privacy-grid h4 { font: 800 20px/1.2 var(--body); margin: 14px 0 8px; }
.privacy-grid p { color: var(--muted); margin: 0; font-size: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; }
.plan { background: var(--surface); border: 1px solid var(--faint); border-radius: 28px; padding: 32px; position: relative; }
.plan.best { background: var(--accent); color: #0e0c0b; border-color: transparent; }
.plan .badge { position: absolute; top: 24px; right: 24px; background: #0e0c0b; color: var(--ink); font: 700 12px/1 var(--body); padding: 7px 10px; border-radius: 999px; }
.plan h4 { font: 800 22px/1 var(--body); margin: 0 0 18px; }
.plan .price { font-size: 88px; }
.plan .per { font-weight: 700; opacity: 0.7; margin-top: 6px; }
.plan.best .stamp { color: rgba(0, 0, 0, 0.6); }
.plan-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 600; }
.plan-list li { padding-left: 22px; position: relative; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.plan.best .plan-list li::before { background: #0e0c0b; }
.pricing-note { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 70ch; }

/* Final CTA */
.final { background: var(--accent); color: #0e0c0b; text-align: center; padding: 120px 0; }
.final h2 { font-size: clamp(60px, 14vw, 168px); }
.final p { font-size: 22px; font-weight: 700; margin: 24px auto 36px; max-width: 30ch; }

/* Footer */
.site-footer { padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Document pages (privacy, support) */
.doc-header { position: static; padding: 20px 0; border-bottom: 1px solid var(--faint); }
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(72px, 12vw, 120px); color: var(--accent); margin-bottom: 18px; }
.doc h2 { font: 800 22px/1.25 var(--body); margin: 44px 0 8px; }
.doc p { color: rgba(255, 255, 255, 0.82); margin: 0 0 14px; }
.doc a { color: #ff8a5c; }

/* Responsive */
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .hero { padding-top: 96px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .cta-row { padding-bottom: 48px; }
  .hero .phone { width: min(300px, 80%); margin-bottom: -140px; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; padding: 36px 28px 0; gap: 8px; }
  .feature:nth-child(even) .feature-shot { order: 0; }
  .feature p { margin-bottom: 28px; }
  .feature-shot { width: min(300px, 100%); justify-self: center; }
  .streak-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
  .streak-card .barbell { width: 240px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }
  .site-header nav { gap: 16px; font-size: 14px; }
}
@media (max-width: 420px) {
  .site-header nav a.hide-sm { display: none; }
  .hero h1 { font-size: 31vw; }
}
.doc .muted { color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px; }
