:root {
  --navy: #0F114C;
  --navy-2: #1a1d66;
  --ball: #FEE53C;
  --gold: #A57401;
  --ink: #1b1d33;
  --muted: #5b5e78;
  --paper: #ffffff;
  --soft: #f4f5fb;
  --line: #e2e4f0;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--navy-2); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand b { font-weight: 900; }
.brand span { color: var(--ball); }
.brand:hover { color: #fff; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: #d6d8f5; text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ball); }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #262a8a 0%, var(--navy) 60%);
  color: #fff;
  padding: 56px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.hero h1 em { color: var(--ball); font-style: italic; }
.hero p.lead { font-size: 19px; color: #d6d8f5; margin: 0 0 28px; max-width: 34em; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}
.btn-primary { background: var(--ball); color: var(--navy); }
.btn-primary:hover { background: #fff07a; color: var(--navy); }
.btn-ghost { border: 1.5px solid #5257b8; color: #fff; }
.btn-ghost:hover { border-color: var(--ball); color: var(--ball); }
.note { font-size: 14px; color: #a9acdc; margin-top: 12px; }

/* Phone mockup: the frame sizes itself from the screen, the screen clips the screenshots */
.carousel { justify-self: center; display: grid; gap: 18px; justify-items: center; }
.phone {
  width: 290px;
  padding: 11px;
  background: #05061f;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #2b2f7a;
}
.screen {
  position: relative;
  aspect-ratio: 1206 / 2622;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* makes Safari clip to the radius */
  isolation: isolate;
}
.track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.track.no-anim { transition: none; }
.screen-shot {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.dots { display: flex; justify-content: center; gap: 10px; }
.dots button {
  -webkit-appearance: none;
  appearance: none;
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px;
  background: #5257b8; cursor: pointer; transition: width 0.3s ease, background 0.3s ease;
}
.dots button[aria-selected="true"] { background: var(--ball); width: 26px; }
@media (prefers-reduced-motion: reduce) { .track, .dots button { transition: none; } }
@media (max-width: 420px) { .phone { width: 260px; } }

/* Coaching loop */
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.loop-step p + p { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.chip.up { background: #e3f6e7; color: #1d7a34; }
.chip.hold { background: #eceef8; color: var(--navy-2); }
.chip.down { background: #fdeaea; color: #b4232a; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.15;
}
.section-intro { color: var(--muted); max-width: 40em; margin: 0 0 36px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 8px;
}

.how-photo { margin: 36px 0 0; }
.how-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10, 20, 60, .18); }
.how-photo figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; text-align: center; }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ball);
  font-weight: 900;
  display: grid;
  place-items: center;
}
.step h3 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.privacy-band {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: #d6d8f5; margin: 0; }
.privacy-band .shield {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ball);
  display: grid;
  place-items: center;
}

/* Prose pages */
.page-head { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.02em; }
.page-head p { margin: 0; color: #a9acdc; }
.prose { padding: 48px 0 72px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { color: var(--navy); margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.summary-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--ball);
  border-radius: 14px;
  padding: 18px 22px;
}
.summary-box ul { margin: 8px 0 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); background: var(--soft); }
.table-scroll { overflow-x: auto; }

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
}
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p, details ul { color: var(--muted); }

/* Footer */
.site-footer { background: #090a33; color: #a9acdc; padding: 32px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #d6d8f5; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--ball); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .privacy-band { grid-template-columns: 1fr; padding: 26px; }
  .loop { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
    .site-nav { gap: 12px; }
  .site-nav a { font-size: 14px; }
}
