:root {
  --bg: #05070c;
  --surface: #0d121c;
  --surface-2: #121927;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f3f6fc;
  --muted: #a3adc2;
  --faint: #7d889e;
  --blue: #39a7ff;
  --blue-light: #a9e6ff;
  --blue-deep: #0b6fe0;
  --violet: #7a6cff;
  --violet-deep: #5a49e0;
  --green: #4ade80;
  --nolan: #b6d36b;
  --mia: #c4a5ff;
  --jay: #ff5d55;
  --andy: #ffd84d;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(57, 167, 255, .35); }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 80px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.kicker {
  margin-bottom: 18px;
  font: 500 13px/1.3 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-light);
}

h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -.01em;
  padding-right: .08em;
  background: linear-gradient(100deg, var(--blue-light) 0%, var(--blue) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .16);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 12, .74);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.beta-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(57, 167, 255, .3);
  border-radius: 999px;
  background: rgba(57, 167, 255, .08);
  color: var(--blue-light);
  font: 500 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 880px) {
  .nav-links { display: flex; }
  .beta-pill { margin-left: 8px; }
}

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--violet-deep) 100%);
  box-shadow: 0 12px 32px -12px rgba(57, 167, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(57, 167, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Phone mockup */
.phone {
  --w: clamp(230px, 64vw, 300px);
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * .032);
  border-radius: calc(var(--w) * .165);
  background: linear-gradient(150deg, #3b4355 0%, #151a24 28%, #0a0d13 70%, #2b3242 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .12),
    0 50px 100px -40px rgba(0, 0, 0, .95),
    0 30px 120px -50px rgba(57, 167, 255, .5);
}
.screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .135); background: #0b0c11; }
.screen img { width: 100%; }
.screen::after {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  aspect-ratio: 393 / 59;
  background: url("/img/statusbar.svg") top center / 100% auto no-repeat;
  pointer-events: none;
}

/* Hero */
.hero { position: relative; padding: 48px 0 64px; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute; inset: -10% 0 auto; height: 110%; z-index: -1;
  background:
    radial-gradient(50% 45% at 78% 35%, rgba(57, 167, 255, .18), transparent 70%),
    radial-gradient(40% 35% at 10% 5%, rgba(122, 108, 255, .16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 9vw, 96px);
  line-height: .98;
  letter-spacing: -.045em;
}
.lead { max-width: 34em; margin-bottom: 32px; font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); }
.status { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--muted); }

.hero-visual { --w: clamp(230px, 62vw, 320px); position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.hero-glow {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: calc(var(--w) * 2.2); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(57, 167, 255, .3), rgba(122, 108, 255, .12) 55%, transparent 75%);
}
.hero-stage { position: relative; width: var(--w); }
.hero-stage .phone { --w: inherit; z-index: 1; }
.hero-coach {
  position: absolute; z-index: 2;
  width: 62%; right: -22%; bottom: -3%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55));
  /* The cutout is cropped at its right and bottom edges, so fade both instead of showing a hard cut. */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%), linear-gradient(to bottom right, #000 62%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%), linear-gradient(to bottom right, #000 62%, transparent 80%);
  mask-composite: intersect;
}
/* The bubble and chip sit over the Today screenshot; their offsets keep the edges in gaps
   between the screenshot's text rows (the bubble covers the "Build with purpose." heading). */
.bubble {
  position: absolute; z-index: 3; left: -16%; top: 14.6%;
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: min(250px, 78vw);
  padding: 11px 16px 11px 11px;
  border-radius: 20px 20px 20px 6px;
  background: rgba(15, 21, 32, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(182, 211, 107, .35);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, .9);
}
.bubble img { width: 42px; height: 42px; border-radius: 13px; flex: none; }
.bubble-name { margin-bottom: 2px; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nolan); }
.bubble p:last-child { font-size: 14px; line-height: 1.35; font-weight: 600; }
.chip {
  position: absolute; z-index: 3; left: -12%; bottom: 21%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 21, 32, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 128, .35);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, .9);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.chip .ico { width: 18px; height: 18px; color: var(--green); }
@media (min-width: 450px) { .bubble { top: 16.8%; } }

@media (min-width: 960px) {
  .hero { padding: 80px 0 112px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 32px; }
  .hero-coach { width: 80%; right: -50%; }
  .bubble { left: -38%; }
  .chip { left: -30%; bottom: 22%; }
}

/* Sections */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .control h2, .final h2 {
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.section-lead { max-width: 40em; margin: 18px auto 0; font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); }

/* Coaches */
.coaches { padding-top: clamp(48px, 7vw, 96px); }
.coach-list {
  list-style: none; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 320px); gap: 14px;
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.coach-list::-webkit-scrollbar { display: none; }
.coach {
  --c: var(--blue);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, var(--surface)) 0%, var(--surface) 62%);
}
.coach--nolan { --c: var(--nolan); }
.coach--mia { --c: var(--mia); }
.coach--jay { --c: var(--jay); }
.coach--andy { --c: var(--andy); }
.coach-art {
  aspect-ratio: 1;
  background: radial-gradient(60% 55% at 50% 62%, color-mix(in srgb, var(--c) 42%, transparent), transparent 72%);
}
.coach-art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.coach-body { display: flex; flex-direction: column; flex: 1; padding: 6px 22px 24px; border-top: 1px solid color-mix(in srgb, var(--c) 25%, transparent); }
.coach-meta { margin: 16px 0 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.coach h3 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; }
.coach-trait { margin: 4px 0 10px; font-weight: 600; }
.coach-desc { margin-bottom: 20px; font-size: 15.5px; color: var(--muted); }
.coach-quote {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 500;
}
@media (min-width: 760px) {
  .coach-list {
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 20px;
    width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 0;
    overflow: visible;
  }
}
@media (min-width: 1120px) { .coach-list { grid-template-columns: repeat(4, 1fr); } }

/* Feature rows */
.feature { display: grid; gap: 40px; align-items: center; padding: 32px 0; }
.feature + .feature { margin-top: 32px; }
.feature h3 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.035em; }
.feature-copy > p:not(.kicker) { color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(57, 167, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9e6ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.feature-media { --glow: rgba(57, 167, 255, .3); position: relative; isolation: isolate; display: flex; justify-content: center; margin: 0; }
.feature-media::before {
  content: "";
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 150%; max-width: 640px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
}
.feature:nth-of-type(2) .feature-media { --glow: rgba(122, 108, 255, .32); }
.feature:nth-of-type(3) .feature-media { --glow: rgba(182, 211, 107, .22); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; padding: 48px 0; }
  .feature--flip .feature-copy { order: 2; }
}

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  --ic: var(--blue);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.card--green { --ic: var(--green); }
.card--yellow { --ic: var(--andy); }
.card--violet { --ic: var(--mia); }
.card--blue { --ic: var(--blue); }
.card--lime { --ic: var(--nolan); }
.card--red { --ic: var(--jay); }
.card-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 15px;
  color: var(--ic);
  background: color-mix(in srgb, var(--ic) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 28%, transparent);
}
.card h3 { margin-bottom: 6px; font-size: 20px; letter-spacing: -.02em; }
.card p { font-size: 15.5px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step-num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 22px;
  border-radius: 15px;
  border: 1px solid rgba(57, 167, 255, .28);
  background: rgba(57, 167, 255, .1);
  font: 500 16px/1 var(--mono);
  color: var(--blue-light);
}
.step h3 { margin-bottom: 8px; font-size: 22px; letter-spacing: -.02em; }
.step p { color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Control */
.control { padding-top: 0; }
.control-card {
  display: grid; gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  border: 1px solid rgba(57, 167, 255, .22);
  background: radial-gradient(80% 120% at 0% 0%, rgba(57, 167, 255, .16), transparent 60%), var(--surface);
}
.control-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 22px;
  color: var(--blue-light);
  border: 1px solid rgba(57, 167, 255, .3);
  background: rgba(57, 167, 255, .12);
}
.control-icon .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.control h2 { margin-bottom: 14px; font-size: clamp(30px, 4.4vw, 48px); }
.control p { max-width: 48em; color: var(--muted); }
@media (min-width: 860px) { .control-card { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } }

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
details[open] { border-color: rgba(57, 167, 255, .3); }
summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute; right: 24px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 22px 22px; color: var(--muted); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq .section-head { position: sticky; top: 120px; margin: 0; text-align: left; }
}

/* Final call to action */
.final { padding-top: 0; }
.final-card {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  border: 1px solid var(--line-strong);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(57, 167, 255, .24), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(122, 108, 255, .2), transparent 70%),
    var(--surface);
}
.final-card img { margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 20px 60px -10px rgba(57, 167, 255, .5); }
.final-card p { margin: 18px auto 32px; max-width: 32em; font-size: 18px; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
.footer-grid { display: grid; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .brand { font-size: 17px; color: var(--text); }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer nav { justify-self: end; }
  .fine { grid-column: 1 / -1; }
}

/* Motion */
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(36px); } }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 6s ease-in-out infinite; }
  .float-late { animation: float 7s ease-in-out -3s infinite; }
  .dot { animation: pulse 2.4s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
