:root {
  --ink: #161616;
  --muted: #5f6470;
  --paper: #fffdf7;
  --panel: #ffffff;
  --lime: #b7ff32;
  --green: #16b46b;
  --red: #f04b32;
  --blue: #1d73e8;
  --gold: #ffca3a;
  --line: rgba(22, 22, 22, 0.12);
  --shadow: 0 24px 80px rgba(24, 29, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 255, 50, 0.38), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(240, 75, 50, 0.18), transparent 26rem),
    linear-gradient(180deg, #fffdf7 0%, #f8fbff 48%, #fffdf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand,
.header-cta,
.primary-button,
.secondary-button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(22, 22, 22, 0.15);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

.header-cta,
.primary-button {
  color: #101010;
  background: var(--lime);
  border: 2px solid #101010;
  box-shadow: 5px 5px 0 #101010;
}

.secondary-button {
  color: var(--ink);
  background: #ffffff;
  border: 2px solid var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 78px) 40px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 78px);
  right: clamp(18px, 5vw, 78px);
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8.6vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
}

.hero-text {
  max-width: 700px;
  color: #303641;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.quick-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-stats dt {
  font-size: 1.4rem;
  font-weight: 1000;
}

.quick-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.phone-stage {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
}

.track-lines {
  position: absolute;
  inset: 5% -12% 2% 8%;
  transform: rotate(-11deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(240, 75, 50, 0.24) 48px 55px),
    linear-gradient(135deg, rgba(255, 202, 58, 0.8), rgba(29, 115, 232, 0.16));
  border-radius: 8px;
  clip-path: polygon(5% 8%, 100% 0, 88% 92%, 0 100%);
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  padding: 14px;
  background: #15171d;
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.speaker {
  width: 82px;
  height: 8px;
  margin: 4px auto 12px;
  background: #30343c;
  border-radius: 999px;
}

.screen {
  min-height: 570px;
  padding: 24px 18px;
  background: linear-gradient(180deg, #fffef9, #edf6ff);
  border-radius: 30px;
  text-align: center;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.18);
}

.screen-label {
  margin: 14px 0;
  font-size: 2.1rem;
  font-weight: 1000;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  background: rgba(22, 22, 22, 0.08);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.segmented span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

.segmented .active {
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(22, 22, 22, 0.12);
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.metric strong {
  font-size: 1.05rem;
}

.timer-card {
  margin-top: 24px;
  padding: 22px 16px;
  color: #ffffff;
  background: #101010;
  border-radius: 14px;
}

.timer-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 3.2rem;
  line-height: 1;
}

.timer-card small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(183, 255, 50, 0.8);
  animation: pulse 1.4s infinite;
}

.finish-card {
  position: absolute;
  right: 4%;
  bottom: 10%;
  max-width: 210px;
  padding: 18px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-5deg);
}

.finish-card span {
  display: block;
  color: #3a3a3a;
  font-weight: 900;
}

.finish-card strong {
  font-size: 1.35rem;
}

.split-section,
.accuracy-section,
.coach-section,
.launch-section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 78px);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article,
.feature-band article,
.accuracy-tool,
.coach-card,
.launch-section {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(24, 29, 40, 0.08);
}

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 16px;
  padding: 20px;
}

.steps article span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 1000;
}

.steps p,
.feature-band p,
.accuracy-copy p,
.coach-card p,
.launch-section p {
  color: var(--muted);
  line-height: 1.58;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 78px) clamp(56px, 9vw, 112px);
}

.feature-band article {
  padding: 24px;
  min-height: 190px;
}

.feature-band article:nth-child(1) {
  border-top: 8px solid var(--red);
}

.feature-band article:nth-child(2) {
  border-top: 8px solid var(--gold);
}

.feature-band article:nth-child(3) {
  border-top: 8px solid var(--green);
}

.feature-band article:nth-child(4) {
  border-top: 8px solid var(--blue);
}

.accuracy-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  color: #ffffff;
  background: #121419;
}

.accuracy-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.accuracy-tool {
  color: var(--ink);
  padding: 26px;
}

.accuracy-tool label {
  display: block;
  margin-bottom: 18px;
  font-weight: 1000;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.range-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 12px;
}

.range-readout strong {
  font-size: 2.5rem;
}

.range-readout span {
  color: var(--muted);
  font-weight: 900;
  text-align: right;
}

.meter {
  height: 16px;
  overflow: hidden;
  background: #eceef2;
  border-radius: 999px;
}

.meter span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--lime));
  border-radius: inherit;
  transition: width 180ms ease;
}

.coach-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
}

.coach-card img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 58px rgba(22, 22, 22, 0.16);
}

.launch-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 5vw, 78px) clamp(56px, 9vw, 112px);
}

.launch-section div {
  max-width: 760px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.74);
  background: #101010;
  font-weight: 800;
}

footer p {
  margin: 0;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(183, 255, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(183, 255, 50, 0);
  }
}

@media (max-width: 960px) {
  nav {
    display: none;
  }

  .hero,
  .split-section,
  .accuracy-section,
  .coach-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-stage {
    min-height: 560px;
  }

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

  .launch-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .quick-stats,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: min(292px, 88vw);
  }

  .screen {
    min-height: 500px;
  }

  .finish-card {
    right: 2%;
    bottom: 2%;
  }

  .range-readout {
    display: block;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
