:root {
  color-scheme: dark;
  --bg: #07090c;
  --surface: #10141b;
  --surface-2: #151b25;
  --surface-3: #0c1016;
  --text: #f8fafc;
  --muted: #a7b1c2;
  --line: #273142;
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.18);
  --ocean: #38bdf8;
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.16);
  --forest: #4ade80;
  --ember: #f97316;
  --amber: #f59e0b;
  --pink: #f43f5e;
  --plum: #a855f7;
  --neon: #06b6d4;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.07), transparent 420px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 12, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 950;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050607;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 950;
  white-space: nowrap;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 14px 38px rgba(59, 130, 246, 0.24);
}

.button.nav-cta {
  min-height: 40px;
  background: var(--blue-soft);
  border-color: rgba(59, 130, 246, 0.5);
}

.button.disabled {
  cursor: default;
  color: var(--muted);
  background: rgba(16, 20, 27, 0.72);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 48px;
}

.hero-grid {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.98) 0%, rgba(7, 9, 12, 0.87) 45%, rgba(8, 16, 24, 0.68) 100%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.18), transparent 34%),
    linear-gradient(45deg, transparent 55%, rgba(244, 63, 94, 0.12));
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 54px 0 54px 44px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 20, 27, 0.82);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: 92px;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 30px;
  font-weight: 950;
  line-height: 1.08;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  max-width: 540px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.device-cluster {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 42px 42px 42px 0;
}

.device {
  position: absolute;
  width: 218px;
  padding: 10px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050607;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.device-active {
  z-index: 3;
  width: 292px;
  transform: translateX(-4px);
}

.device-routines {
  z-index: 2;
  left: 28px;
  top: 142px;
  transform: rotate(-6deg);
}

.device-progress {
  z-index: 1;
  right: 14px;
  bottom: 106px;
  transform: rotate(6deg);
}

.device-screen {
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 14px;
}

.device-active .device-screen {
  min-height: 580px;
  padding: 22px 16px;
}

.theme-midnight {
  background: #0b0b0b;
  color: #ffffff;
}

.theme-ocean {
  background: #10202d;
  color: #f3fbff;
}

.theme-cherry {
  background: #22111a;
  color: #fff6fa;
}

.phone-status {
  height: 24px;
  display: flex;
  justify-content: space-between;
  color: currentColor;
  font-size: 12px;
  font-weight: 950;
  opacity: 0.9;
}

.mock-label,
.panel-topline span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.theme-ocean .mock-label {
  color: #9ac2d9;
}

.theme-cherry .mock-label {
  color: #d3a8bc;
}

.mock-title {
  margin: 5px 0 0;
  color: currentColor;
  font-size: 20px;
  line-height: 1.08;
}

.workout-summary {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #272727;
  border-radius: 20px;
  background: #151515;
}

.workout-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 42px;
  line-height: 1;
}

.workout-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.mock-card {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #282828;
  border-radius: 20px;
  background: #151515;
}

.mock-card.compact {
  padding-bottom: 18px;
}

.timer-pill {
  width: fit-content;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.55);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 950;
}

.set-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.set-line {
  display: grid;
  grid-template-columns: 22px 1fr 1fr 42px;
  gap: 6px;
  align-items: center;
  min-height: 42px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #111111;
  color: var(--muted);
  font-size: 12px;
}

.set-line.complete {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.08);
}

.set-line b {
  display: grid;
  place-items: center;
  min-height: 30px;
  border-radius: 9px;
  background: #171717;
  color: var(--text);
}

.set-line em {
  color: var(--green);
  font-style: normal;
  font-weight: 950;
}

.routine-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.routine-item {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #3a2030;
  background: #1a0d14;
}

.routine-item.accent {
  border-color: var(--pink);
  background: rgba(244, 63, 94, 0.16);
}

.routine-item span,
.metric-row span,
.progress-note {
  color: #d3a8bc;
  font-size: 12px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.metric-row div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #1b3648;
  background: #0c1821;
}

.metric-row span,
.progress-note {
  color: #9ac2d9;
}

.metric-row strong {
  font-size: 15px;
}

.chart-preview {
  height: 142px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.04));
}

.chart-preview span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 4px 4px;
  background: var(--ocean);
}

.progress-note {
  margin: 12px 0 0;
}

.section,
.showcase-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.showcase-copy p,
.launch-card p,
.page-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.faq-card,
.policy-card,
.trust-card,
.launch-card,
.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 27, 0.9);
  padding: 22px;
}

.feature-card {
  min-height: 222px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 950;
}

.accent-blue .feature-icon {
  border: 1px solid var(--blue);
  background: var(--blue-soft);
  color: #93c5fd;
}

.accent-green .feature-icon {
  border: 1px solid var(--forest);
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
}

.accent-orange .feature-icon {
  border: 1px solid var(--ember);
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
}

.accent-pink .feature-icon {
  border: 1px solid var(--pink);
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
}

.feature-card h3,
.faq-card h3,
.policy-card h2 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.feature-card p,
.faq-card p,
.policy-card p,
.policy-card li,
.trust-card p,
.product-panel p {
  margin: 0;
  color: var(--muted);
}

.theme-section,
.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-3);
}

.theme-inner,
.trust-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.theme-board {
  display: grid;
  grid-template-columns: repeat(13, minmax(64px, 1fr));
  gap: 10px;
}

.theme-chip {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.theme-chip span {
  display: block;
  height: 36px;
  border-radius: 8px;
}

.theme-chip strong {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.midnight span { background: #3b82f6; }
.graphite span { background: #60a5fa; }
.ocean span { background: #38bdf8; }
.forest span { background: #4ade80; }
.ember span { background: #f97316; }
.cherry span { background: #f43f5e; }
.amber span { background: #f59e0b; }
.plum span { background: #a855f7; }
.arctic span { background: #22d3ee; }
.neon span { background: #06b6d4; }
.daylight span { background: #2563eb; }
.fieldhouse span { background: #16a34a; }
.steel span { background: #2563eb; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.showcase-copy {
  padding: 18px 20px 18px 0;
}

.panel-forest {
  background: #142017;
  border-color: #26362b;
}

.panel-ember {
  background: #241612;
  border-color: #3a2721;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-topline strong {
  font-size: 24px;
  line-height: 1;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-weight: 850;
}

.panel-row.active {
  border-color: var(--forest);
  background: rgba(74, 222, 128, 0.13);
  color: var(--text);
}

.timer-ring {
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  margin: 28px auto;
  border-radius: 50%;
  border: 10px solid rgba(249, 115, 22, 0.2);
  outline: 1px solid rgba(249, 115, 22, 0.48);
  color: #fdba74;
  font-size: 44px;
  font-weight: 950;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-card {
  background: rgba(16, 20, 27, 0.74);
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.launch-section {
  padding-bottom: 86px;
}

.launch-card {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), transparent 34%),
    linear-gradient(45deg, transparent 56%, rgba(168, 85, 247, 0.18)),
    var(--surface);
}

.launch-card h2 {
  max-width: 820px;
}

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

.page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.page h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

.policy-card {
  margin-top: 18px;
}

.policy-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-card a {
  color: #93c5fd;
  font-weight: 850;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-3);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    max-width: 760px;
    padding: 44px 34px 0;
  }

  .device-cluster {
    min-height: 620px;
    padding: 20px 34px 44px;
  }

  .device-routines {
    left: 12%;
  }

  .device-progress {
    right: 10%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-board {
    grid-template-columns: repeat(7, minmax(86px, 1fr));
  }

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

  .showcase-copy {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-content {
    padding: 32px 20px 0;
  }

  h1 {
    font-size: 56px;
  }

  h2,
  .page h1 {
    font-size: 38px;
  }

  .hero-kicker {
    font-size: 24px;
  }

  .hero-copy,
  .section-heading p,
  .showcase-copy p,
  .launch-card p,
  .page-copy {
    font-size: 16px;
  }

  .device-cluster {
    min-height: 760px;
    padding: 24px 14px 36px;
  }

  .device {
    width: min(210px, 68vw);
  }

  .device-active {
    width: min(292px, 84vw);
    top: 54px;
    transform: none;
  }

  .device-routines {
    left: 5px;
    top: 430px;
  }

  .device-progress {
    right: 5px;
    bottom: 18px;
  }

  .device-screen {
    min-height: 390px;
  }

  .device-active .device-screen {
    min-height: 520px;
  }

  .section,
  .showcase-section,
  .theme-inner,
  .trust-inner {
    padding: 52px 0;
  }

  .feature-grid,
  .showcase-grid,
  .trust-inner,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .theme-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-chip {
    min-height: 78px;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .button.nav-cta {
    width: auto;
  }

  .device-cluster {
    min-height: 870px;
  }

  .device-routines,
  .device-progress {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-top: 18px;
  }

  .device-active {
    position: relative;
    top: auto;
  }

  .theme-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
