:root {
  --bg: #130A1C;

  --amb:
    radial-gradient(75% 55% at 100% 0%, rgba(158,92,240,.55), transparent 68%),
    radial-gradient(60% 45% at 0% 60%, rgba(120,40,120,.40), transparent 70%),
    radial-gradient(50% 40% at 40% 110%, rgba(80,40,140,.45), transparent 70%),
    radial-gradient(40% 30% at 20% 0%, rgba(210,195,235,.10), transparent 70%),
    linear-gradient(180deg, #1C1027, #130A1C);

  --glass: rgba(255,240,255,.04);
  --glass2: rgba(255,240,255,.09);
  --stroke: rgba(235,215,255,.13);
  --hi: rgba(240,225,255,.60);
  --blur: 30px;
  --inner: inset 0 -16px 30px -20px rgba(190,140,255,.60);
  --spec: radial-gradient(
    120% 70% at 8% 0%,
    rgba(255,240,255,.14),
    transparent 55%
  );

  --ink: #F7F1FC;
  --ink2: rgba(247,241,252,.64);
  --ink3: rgba(247,241,252,.40);

  --act: #DCC3FF;
  --act-ink: #22102F;

  --work: #F2B86B;
  --rest: #9DB4FF;
  --done: #8EE9C4;
  --pain: #FF6E8A;

  --r: 28px;
  --rs: 18px;
  --shadow: 0 26px 60px rgba(0,0,0,.55);

  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  z-index: -2;
  inset: -25%;
  background: var(--amb);
  animation: ambient-drift 42s ease-in-out infinite alternate;
  pointer-events: none;
  transform: translate3d(0,0,0);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      45% 34% at 76% 48%,
      rgba(196,148,255,.08),
      transparent 72%
    );
  pointer-events: none;
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(1.5%, 2%, 0) scale(1.015);
  }

  100% {
    transform: translate3d(3%, -1.5%, 0) scale(1.01);
  }
}

.shell {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--act);
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}

.header-contact {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--stroke);
  border-radius: 15px;
  color: var(--ink2);
  font-size: 14px;
  transition:
    background-color .18s ease,
    color .18s ease;
}

.header-contact:hover {
  background: var(--glass2);
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 70px 100px;
}

.hero-copy {
  max-width: 720px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 600;
}

.lead {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--ink2);
  font-size: 19px;
  line-height: 1.6;
}

.status {
  margin-bottom: 30px;
  color: var(--ink3);
  font-size: 13px;
}

.cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 25px;
  border-radius: 20px;
  background: var(--act);
  color: var(--act-ink);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(220,195,255,.35);
  transition: background-color .18s ease;
}

.cta:hover {
  background: #E7D3FF;
}

.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(170%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(170%);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  box-shadow:
    inset 0 1px 0 var(--hi),
    var(--inner),
    var(--shadow);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--spec);
  pointer-events: none;
}

.workout-preview {
  width: 100%;
  max-width: 410px;
  justify-self: end;
  padding: 28px;
}

.preview-top,
.set-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--ink3);
  font-size: 12px;
}

.preview-title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.preview-time {
  color: var(--ink2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.exercise {
  margin-top: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--stroke);
}

.exercise-name {
  margin-bottom: 13px;
  font-size: 15px;
  color: var(--ink2);
}

.set-line {
  align-items: baseline;
}

.set-line span {
  color: var(--ink3);
  font-size: 13px;
}

.set-line strong {
  font-size: 25px;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.preview-grid > div {
  padding: 17px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(235,215,255,.08);
  border-radius: 17px;
}

.preview-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink3);
  font-size: 12px;
}

.preview-grid strong {
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.decision {
  display: flex;
  gap: 13px;
  margin-top: 23px;
  padding-top: 21px;
  border-top: 1px solid var(--stroke);
}

.decision-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--done);
  box-shadow: 0 0 18px rgba(142,233,196,.45);
}

.decision strong {
  font-size: 14px;
  font-weight: 600;
}

.decision p {
  margin: 6px 0 0;
  color: var(--ink2);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding-block: 105px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 600;
}

.how-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.feature {
  min-height: 260px;
  padding: 31px;
}

.feature-wide {
  grid-row: span 2;
  min-height: 538px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-index {
  display: block;
  margin-bottom: auto;
  color: var(--ink3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.feature h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 600;
}

.feature p {
  margin-bottom: 0;
  color: var(--ink2);
}

.working {
  max-width: 768px;
}

.working-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.working-list li {
  position: relative;
  padding: 17px 0 17px 28px;
  border-bottom: 1px solid rgba(235,215,255,.08);
  color: var(--ink2);
}

.working-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 26px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--done);
  box-shadow: 0 0 13px rgba(142,233,196,.35);
}

.roadmap-section {
  padding-inline: 0;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.road-card {
  min-height: 410px;
  padding: 27px 24px;
}

.road-status {
  margin-bottom: 27px;
  font-size: 14px;
  font-weight: 600;
}

.road-status.done {
  color: var(--done);
}

.road-status.now {
  color: var(--work);
}

.road-status.next {
  color: var(--rest);
}

.road-status.later {
  color: var(--ink3);
}

.road-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.road-card li {
  padding: 10px 0;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px solid rgba(235,215,255,.065);
}

.road-card li:last-child {
  border-bottom: 0;
}

.about {
  max-width: 768px;
}

.about p {
  margin: 0;
  color: var(--ink2);
  font-size: 19px;
  line-height: 1.7;
}

.contact {
  padding-block: 110px 130px;
}

.contact > div {
  max-width: 720px;
}

.contact h2 {
  margin-bottom: 19px;
}

.contact p {
  margin: 0;
  color: var(--ink2);
}

.footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(235,215,255,.08);
  color: var(--ink3);
  font-size: 13px;
}

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

  .workout-preview {
    justify-self: start;
    max-width: 520px;
  }

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

  .road-card {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  :root {
    --blur: 18px;
    --r: 23px;
  }

  .shell {
    width: min(100% - 32px, 1080px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 11px;
  }

  .header-contact {
    min-height: 38px;
    padding-inline: 13px;
  }

  .hero {
    padding-block: 70px 82px;
    gap: 55px;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 1.04;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .workout-preview {
    padding: 22px;
  }

  .section {
    padding-block: 78px;
  }

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

  .section-heading h2,
  .contact h2 {
    font-size: 34px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature,
  .feature-wide {
    grid-row: auto;
    min-height: 0;
    padding: 25px;
  }

  .feature-index {
    margin-bottom: 52px;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .road-card {
    min-height: 0;
  }

  .about p {
    font-size: 17px;
  }

  .contact {
    padding-block: 82px 95px;
  }

  .footer {
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .shell {
    width: calc(100% - 24px);
  }

  .site-header {
    gap: 12px;
  }

  h1 {
    font-size: 34px;
  }

  .workout-preview {
    padding: 19px;
  }

  .preview-grid {
    gap: 8px;
  }

  .preview-grid > div {
    padding: 14px;
  }

  .feature,
  .road-card {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient {
    animation: none;
  }

  .cta,
  .header-contact {
    transition: none;
  }
}
