:root {
  color-scheme: dark;
  --background: #080d10;
  --text: #f1f7f6;
  --muted: #a8b8b9;
  --teal: #7affe2;
  font-family: Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--background); }
a { color: inherit; text-decoration: none; }
a:focus-visible, video:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
p { color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
h1, h2, h3 { margin: 0; font-weight: 730; line-height: 1; letter-spacing: -.065em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7vw, 7.3rem); }
h2 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h3 { font-size: clamp(2rem, 3.65vw, 4rem); }
h1 span { color: var(--teal); }
.shell { width: min(1320px, 100% - 9vw); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; transform: translateY(-200%); background: var(--teal); color: #071311; padding: 1rem; z-index: 5; }
.skip:focus { transform: none; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.top { border-bottom: 1px solid #233133; }
.logo { display: block; width: 64px; height: 48px; object-fit: contain; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.65rem, 2vw, 1.7rem); font-size: .9rem; }
nav a:hover, .actions a:hover, .footer a:hover { color: var(--teal); }
.nav-demo { border: 1px solid #365453; padding: .65rem .9rem; border-radius: .35rem; }
.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; padding-block: clamp(4rem, 10vw, 9rem); }
.hero p:not(.label) { max-width: 36ch; }
.label { color: var(--teal); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 1.2rem; }
.actions { margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; gap: .65rem; background: var(--teal); color: #0a211d; font-weight: 750; border-radius: .35rem; padding: .95rem 1.15rem; }
a.button:hover { background: #c0fff1; color: #0a211d; }
.hero-price strong { color: var(--text); }
.screen { --glow: 80, 225, 201; min-width: 0; position: relative; isolation: isolate; scroll-margin-top: 1rem; }
.screen::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -17% -2%; background: radial-gradient(ellipse, rgba(var(--glow), .23), transparent 70%); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(var(--glow), .4); border-radius: .8rem; background: #10181c; box-shadow: 0 20px 65px #0009; object-fit: contain; }
.hero-screen { animation: approach 1.15s cubic-bezier(.2,.75,.2,1) both; }
.introduction { padding-block: 4rem 2rem; border-top: 1px solid #253535; }
.feature { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3.5rem, 8vw, 8rem); border-bottom: 1px solid #223032; }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.feature:nth-of-type(even) .screen { grid-row: 1; grid-column: 1; }
.feature:nth-of-type(even) .feature-copy { grid-column: 2; }
.feature-copy p:last-child { max-width: 40ch; margin-bottom: 0; }
.workouts .screen { --glow: 184, 137, 255; }
.calendar .screen { --glow: 111, 153, 255; }
.payments .screen { --glow: 113, 255, 157; }
.migration .screen { --glow: 92, 202, 255; }
.arrived { animation: approach .85s cubic-bezier(.2,.75,.2,1) both; }
@keyframes approach {
  from { transform: perspective(1100px) translateY(16px) rotateY(-12deg) scale(.97); }
  to { transform: none; }
}
.pricing { text-align: center; padding: clamp(4rem, 10vw, 9rem) 5vw; background: radial-gradient(ellipse at bottom, #103c38, transparent 70%); }
.pricing .logo { margin: 0 auto 1.5rem; }
.price { margin: 1rem 0; }
.price strong { color: var(--teal); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.07em; }
.pricing .button { margin-top: 1rem; }
.footer { border-top: 1px solid #233133; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .hero, .feature, .feature:nth-of-type(even) { min-height: auto; grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .screen, .feature:nth-of-type(even) .feature-copy { grid-area: auto; }
  .hero-screen { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-screen, .arrived { animation: none; }
}
