:root {
  --bg: #080a0e;
  --panel: #12161c;
  --panel-elevated: #1c222b;
  --border: #373c46;
  --text: #f0f4f8;
  --muted: #828c9b;
  --orange: #ff7a2e;
  --orange-dim: #b45a28;
  --green: #48dc8c;
  --cyan: #4cc9f0;
  --purple: #a78bfa;
  --gold: #ffc83d;
  --radius: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Barlow", system-ui, sans-serif;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 14, 0.82);
  border-bottom: 1px solid rgba(55, 60, 70, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}

.brand-z {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 122, 46, 0.16);
  border: 1px solid rgba(255, 122, 46, 0.45);
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero-glow {
  position: absolute;
  inset: -20% auto auto 50%;
  width: 700px;
  height: 700px;
  transform: translateX(-35%);
  background: radial-gradient(circle, rgba(255, 122, 46, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: var(--orange);
}

.lead {
  margin: 0 0 28px;
  max-width: 52ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-label {
  font-size: 1rem;
  font-weight: 800;
}

.btn-sub {
  font-size: 0.78rem;
  opacity: 0.82;
}

.btn-primary {
  background: linear-gradient(180deg, #ff8a45, var(--orange));
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 122, 46, 0.28);
}

.btn-secondary {
  background: var(--panel-elevated);
  border-color: var(--border);
  color: var(--text);
}

.btn-block {
  width: 100%;
  align-items: center;
  text-align: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-points li::before {
  content: "●";
  margin-right: 8px;
  color: var(--green);
  font-size: 0.55rem;
  vertical-align: middle;
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(28, 34, 43, 0.95), rgba(18, 22, 28, 0.98));
  border: 1px solid rgba(255, 122, 46, 0.28);
  box-shadow: var(--shadow);
}

.metric-card {
  position: absolute;
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(8, 10, 14, 0.72);
  border: 1px solid var(--border);
}

.metric-card.power {
  top: 28px;
  left: 28px;
}

.metric-card.hr {
  top: 120px;
  right: 24px;
}

.metric-card.cadence {
  bottom: 110px;
  left: 48px;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
}

.metric-card.power .metric-value { color: var(--orange); }
.metric-card.hr .metric-value { color: #ff5f64; }
.metric-card.cadence .metric-value { color: var(--cyan); }

.metric-unit {
  font-size: 0.82rem;
  color: var(--muted);
}

.workout-bar {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.55);
  border: 1px solid var(--border);
}

.workout-bar span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--orange), rgba(255, 122, 46, 0.35));
}

.workout-bar span:nth-child(1) { height: 35%; opacity: 0.55; }
.workout-bar span:nth-child(2) { height: 55%; opacity: 0.7; }
.workout-bar span:nth-child(3) { height: 78%; }
.workout-bar span:nth-child(4) { height: 92%; }
.workout-bar span:nth-child(5) { height: 68%; opacity: 0.8; }
.workout-bar span:nth-child(6) { height: 42%; opacity: 0.6; }

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.45), rgba(8, 10, 14, 0));
}

.section-head strong {
  color: var(--text);
}

.setup-figure {
  margin: 0 0 32px;
  padding: 0;
}

.setup-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--panel);
}

.setup-figure figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.trainer-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.trainer-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #0e1116;
  border-bottom: 1px solid var(--border);
}

.trainer-copy {
  padding: 20px 22px 22px;
}

.trainer-copy h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.trainer-copy p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trainer-examples {
  margin: 0 !important;
  font-size: 0.84rem !important;
  color: var(--cyan) !important;
  font-weight: 600;
}

.compat-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(72, 220, 140, 0.08);
  border: 1px solid rgba(72, 220, 140, 0.24);
}

.compat-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52ch;
}

.compat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compat-tags li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}

.feature-card h3 {
  margin: 14px 0 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-icon.orange { background: rgba(255, 122, 46, 0.16); color: var(--orange); }
.feature-icon.cyan { background: rgba(76, 201, 240, 0.14); color: var(--cyan); }
.feature-icon.green { background: rgba(72, 220, 140, 0.14); color: var(--green); }
.feature-icon.purple { background: rgba(167, 139, 250, 0.14); color: var(--purple); }
.feature-icon.gold { background: rgba(255, 200, 61, 0.14); color: var(--gold); }
.feature-icon.mint { background: rgba(88, 214, 141, 0.14); color: #58d68d; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.app-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid rgba(255, 122, 46, 0.22);
}

.app-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 46, 0.14);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-badge.ios {
  background: rgba(76, 201, 240, 0.14);
  color: var(--cyan);
}

.app-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.app-card > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.app-list {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.app-list li + li {
  margin-top: 6px;
}

.app-note {
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.roadmap-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 36px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(28, 34, 43, 0.95), rgba(12, 15, 20, 0.98));
  border: 1px solid rgba(72, 220, 140, 0.22);
  box-shadow: var(--shadow);
}

.roadmap-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
}

.roadmap-card > .roadmap-copy > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.roadmap-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(55, 60, 70, 0.7);
}

.roadmap-list li:last-child {
  border-bottom: 0;
}

.roadmap-list strong {
  display: block;
  margin-bottom: 4px;
}

.roadmap-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.notify-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.notify-row {
  display: flex;
  gap: 10px;
}

.notify-row input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.notify-row input:focus-visible {
  outline: 2px solid rgba(72, 220, 140, 0.5);
  outline-offset: 2px;
}

.form-msg {
  margin: 12px 0 0;
  color: var(--green);
  font-size: 0.92rem;
}

.cloud-stack {
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.cloud-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.65);
  border: 1px solid var(--border);
  font-weight: 600;
}

.cloud-card.dim {
  color: var(--muted);
  font-weight: 500;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.green { background: var(--green); }
.dot.cyan { background: var(--cyan); }
.dot.orange { background: var(--orange); }

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .trainer-grid,
  .app-grid,
  .roadmap-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
  color: var(--text);
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 1.08rem;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: #d5dbe3;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content code {
  font-size: 0.92em;
  color: var(--cyan);
}

.support-card {
  margin: 28px 0 36px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}

.support-card h2 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 8px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .notify-row {
    flex-direction: column;
  }

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