/* Golf Practice Buddy public site (docs/plans/website-revamp-2026.md §7).
   Font faces and metric-matched fallbacks are inlined from marketing-fonts.css. */

:root {
  --ink: #27235E;
  --ink-2: #1C1945;
  --azure: #28A9E0;
  --azure-2: #1C8FC2;
  --azure-soft: #BFE6F7;
  --orange: #FF6400;
  --orange-2: #E55A00;
  --green: #1E9E5A;
  --paper: #FFFFFF;
  --paper-2: #F5F6FA;
  --text: #1F2240;
  --muted: #5F6482;
  --line: rgba(31, 34, 64, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --display: "League Gothic", "League Gothic Fallback", Impact, sans-serif;
  --body: "Poppins", "Poppins Fallback", Arial, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --max: 74rem;
  --shadow-key: 0 18px 40px -18px rgba(28, 25, 69, .45);
  --shadow-ambient: 0 2px 8px rgba(28, 25, 69, .10);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.m {
  margin: 0;
  font: 400 1rem/1.6 var(--body);
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--orange); color: #fff; padding: .6rem 1rem; border-radius: 999px; z-index: 50; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.h1 { font-size: clamp(3.4rem, 8.5vw, 7.2rem); }
.h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }
.max-copy { max-width: 36rem; }
.center { text-align: center; }
.section { padding: var(--section) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section .h2 { color: var(--ink); }
.section--ink .h2 { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  cursor: pointer; text-align: center;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: #fff; }
.btn--ghost-ink { background: transparent; color: var(--ink); border-color: rgba(39, 35, 94, .35); }
.btn--ghost-ink:hover { border-color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--sm { min-height: 2.6rem; padding: .4rem 1.1rem; font-size: .9rem; }
.btn--lg { min-height: 3.6rem; padding-inline: 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.microcopy { font-size: .875rem; color: rgba(255, 255, 255, .78); }
.link { font-weight: 600; color: var(--azure-2); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: .3em; }
.section--ink .link { color: var(--azure-soft); }

/* ---------- nav ---------- */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; color: #fff; }
.nav--light { position: relative; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand img { width: 2.4rem; height: auto; }
.brand span { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; letter-spacing: .02em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .92; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.nav__links .btn { opacity: 1; }
.nav__links .btn:hover { text-decoration: none; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 2px solid currentColor; color: inherit; border-radius: 999px; padding: .45rem .9rem; cursor: pointer; }
.nav--dark .nav__toggle { border-color: rgba(255, 255, 255, .5); }
@media (max-width: 60em) {
  .nav__toggle { display: inline-flex; gap: .4rem; align-items: center; }
  .nav__links { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 4.6rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-2); color: #fff; border-radius: var(--r); padding: .5rem; box-shadow: var(--shadow-key); }
  .nav__links a { padding: .8rem 1rem; border-radius: var(--r-sm); }
  .nav__links .btn { margin-top: .5rem; }
  .nav.is-open .nav__links { display: flex; }
}

/* ---------- hero ---------- */
/* Nicky's art (2026-10-29): the copy sits on plain sky (left on desktop, top on
   phones), the golfer lower down, and a smaller phone on the right. The
   background is the portrait photo's top-row colour, so below 60em the sky
   carries on above the bottom-anchored photo. */
.hero { position: relative; min-height: min(92svh, max(54rem, 45vw)); color: #fff; background: #002f6f; display: grid; align-items: center; isolation: isolate; padding-top: 5rem; padding-bottom: 5.5rem; }
.hero__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__photo img { will-change: transform; }
.hero__tint { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 38, 92, .72) 0%, rgba(0, 38, 92, .5) 35%, rgba(0, 38, 92, 0) 58%),
    linear-gradient(180deg, rgba(0, 38, 92, .4) 0%, rgba(0, 38, 92, 0) 22%, rgba(0, 38, 92, 0) 80%, rgba(0, 38, 92, .45) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.hero__eyebrow { font-weight: 500; color: var(--azure-soft); margin-bottom: 1rem; }
.hero .h1 { max-width: 14ch; }
.hero .h1 span { display: block; }
.hero .h1 span:first-child { white-space: nowrap; }
.hero__sub { margin-top: 1.25rem; max-width: 30rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; }
.hero__for { margin-top: .6rem; max-width: 30rem; font-size: clamp(.875rem, 1.1vw, 1rem); font-weight: 500; color: rgba(255, 255, 255, .8); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.75rem; }
.hero__cta .microcopy { flex-basis: 100%; }
.badges { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.6rem; }
.badges a { display: inline-flex; }
.badges img { height: 2.75rem; width: auto; }
.badges--sm img { height: 2.5rem; }
.badges .caption { font-size: .875rem; color: rgba(255, 255, 255, .78); }
.badges__beta { font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .2rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.badges__get { display: none; align-items: center; gap: .4rem; background: none; border: 0; padding: 0; color: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
.badges__get .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 60em) and (hover: hover) { .badges__get { display: inline-flex; } }

/* Past the wrap's width the photo (and so the golfer) keeps scaling with the
   viewport, so the phone follows it out to 92vw rather than covering the club. */
.hero__device { position: relative; justify-self: end; align-self: end; width: clamp(11rem, 15vw, 14rem); margin-right: min(0px, var(--max) / 2 - 42vw); padding: 1.5rem 0; isolation: isolate; container-type: inline-size; }
.rings { position: absolute; inset: 50% auto auto 50%; width: 150%; transform: translate(-50%, -50%); color: var(--azure); opacity: .22; z-index: -1; }
.phone { position: relative; width: 100%; aspect-ratio: 9 / 19.5; border-radius: 2.6rem; background: #0b0b12; padding: .55rem; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 2px #2a2a33; }
.phone::before { content: ""; position: absolute; top: .9rem; left: 50%; width: 30%; height: .8rem; border-radius: 999px; background: #0b0b12; transform: translateX(-50%); z-index: 2; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 2.1rem; overflow: hidden; background: #111; }
.phone__screen picture, .phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: #fff; color: var(--text); box-shadow: var(--shadow-key), var(--shadow-ambient); font-size: .8rem; line-height: 1.25; }
.chip strong { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--ink); }
.chip--pb { right: -1.5rem; bottom: 15%; }
.chip__meta { color: var(--muted); }
.chip__meta b { color: var(--green); font-weight: 600; }
/* The hero phone is small, so its frame and chip scale with its width */
.hero .phone { border-radius: 13cqi; padding: 2.75cqi; }
.hero .phone::before { top: 4.5cqi; height: 4cqi; }
.hero .phone__screen { border-radius: 10.5cqi; }
.hero .chip { font-size: clamp(.62rem, 6.4cqi, .8rem); padding: .6em .8em; }
.hero .chip strong { font-size: clamp(1.05rem, 12cqi, 1.6rem); }

@media (max-width: 60em) {
  .hero { min-height: 0; padding-bottom: 4.5rem; }
  .hero__photo picture { display: block; position: absolute; inset: auto 0 0; height: auto; }
  .hero__photo img { height: auto; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
  .hero__tint { background: linear-gradient(180deg, rgba(0, 38, 92, .4) 0%, rgba(0, 38, 92, 0) 18%); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__device { width: 10rem; margin-right: 0; padding-top: 2.5rem; }
  .chip--pb { right: -1rem; }
}
/* Portrait photo: the golfer fills the bottom ~1 viewport width of it, so the
   stage under the copy is sized in vw to keep the copy on the plain sky. */
@media (max-width: 47.99em) {
  .hero__photo img { aspect-ratio: 941 / 1672; }
  .hero { padding-bottom: 4rem; }
  .hero__device { width: 28vw; padding-top: max(1rem, 39vw - 2.5rem); }
  .hero .chip--pb { right: .5rem; bottom: 12%; }
}
/* Phones: the small phone sits top right beside the headline and the golfer
   stands bottom right beside the stacked buttons, so both are on the first
   screen. The copy under the headline stops short of that column, and the
   left of the photo is tinted for the small text over the horizon. */
@media (max-width: 33.99em) {
  .hero__photo img { aspect-ratio: 1080 / 941; -webkit-mask-image: linear-gradient(transparent, #000 20%); mask-image: linear-gradient(transparent, #000 20%); }
  .hero__tint { background: linear-gradient(180deg, rgba(0, 38, 92, .4) 0%, rgba(0, 38, 92, 0) 18%), linear-gradient(90deg, rgba(0, 38, 92, .8) 0%, rgba(0, 38, 92, .55) 45%, rgba(0, 38, 92, 0) 62%); }
  .hero .microcopy, .hero .badges .caption { color: #fff; }
  .hero__grid { position: relative; }
  .hero__sub, .hero__for, .hero__cta, .hero__copy .badges { max-width: max(62%, 14.5rem); }
  .hero__device { position: absolute; top: 2.6rem; right: 0; width: 24vw; padding: 0; }
  .hero .rings { display: none; }
  .hero .chip--pb { right: -.25rem; bottom: -1.75rem; }
}

/* Load sequence: one orchestrated moment. The hidden state lives only in the
   keyframes (fill-mode both), so if animations never run the content is visible. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
  .rise:nth-child(2) { animation-delay: .07s; }
  .rise:nth-child(3) { animation-delay: .14s; }
  .rise:nth-child(4) { animation-delay: .21s; }
  .rise:nth-child(5) { animation-delay: .28s; }
  .hero__device { animation: rise-device .8s .25s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes rise-device { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* ---------- proof strip ---------- */
.proof { position: relative; z-index: 2; margin-top: -3.25rem; }
.proof__card { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink-2); color: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-key); overflow: hidden; }
.proof__item { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: center; padding: 1.6rem 1.75rem; }
.proof__item + .proof__item { border-left: 1px solid var(--line-dark); }
.proof__icon { grid-row: span 2; width: 2.6rem; height: 2.6rem; color: var(--azure); }
.proof__num { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1; }
.proof__label { font-size: .9rem; color: rgba(255, 255, 255, .8); line-height: 1.35; }
@media (max-width: 60em) {
  .proof__card { grid-template-columns: 1fr; }
  .proof__item { padding: 1.1rem 1.4rem; }
  .proof__item + .proof__item { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- intro ---------- */
.intro { padding: calc(var(--section) * .75) 0 var(--section); }
.intro p { max-width: 60ch; margin-inline: auto; }
.intro h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; color: var(--ink); }
.intro .caption { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* ---------- why ---------- */
.why { overflow: hidden; }
.why__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; }
.why .h2 { max-width: 24ch; }
.why .lede { margin-top: 1.25rem; }
/* Problem vs approach: the approach column is a white card on the tint band */
.contrast { width: 100%; margin-top: 1.75rem; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .95rem; }
.contrast th { padding: 1rem 1rem .75rem; text-align: left; vertical-align: bottom; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contrast td { padding: .85rem 1rem; vertical-align: top; border-top: 1px solid var(--line); color: var(--muted); }
.contrast th:last-child, .contrast td:last-child { background: var(--paper); color: var(--ink); }
.contrast th:last-child { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.contrast tbody tr:last-child td:last-child { border-radius: 0 0 var(--r-sm) var(--r-sm); }
.contrast td:last-child { font-weight: 500; }
.contrast__cell { display: grid; grid-template-columns: 1.3rem 1fr; gap: .6rem; align-items: start; }
.contrast .icon { width: 1.3rem; height: 1.3rem; margin-top: .1rem; color: var(--muted); }
.contrast td:last-child .icon { color: var(--green); }
.why__turn { margin-top: 1.5rem; font-weight: 500; }
.why__pull { margin-top: 1.5rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--ink); }
.why__pull em { font-style: normal; color: var(--azure-2); }
/* Portrait beside the table on desktop, landscape under it once the grid stacks (NL-703) */
.why__photo { align-self: center; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-key), var(--shadow-ambient); }
@media (max-width: 60em) {
  .why__grid { grid-template-columns: 1fr; }
  .contrast { font-size: .875rem; }
  .contrast th { padding: .85rem .65rem .6rem; font-size: .7rem; }
  .contrast td { padding: .75rem .65rem; }
  .contrast__cell { grid-template-columns: 1.1rem 1fr; gap: .45rem; }
  .contrast .icon { width: 1.1rem; height: 1.1rem; }
  .why__photo { margin-top: 2rem; }
}

/* ---------- how ---------- */
.how { position: relative; isolation: isolate; overflow: clip; }
.how::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60rem 40rem at 20% 30%, rgba(40, 169, 224, .14), transparent 70%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.how__head { max-width: 44rem; }
.how__head .lede { margin-top: 1.25rem; color: rgba(255, 255, 255, .86); }
.how__frame { margin-top: 1.5rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--azure-soft); display: flex; flex-wrap: wrap; gap: .4em 0; }
.how__frame span + span::before { content: "·"; margin-inline: .45em; color: rgba(255, 255, 255, .4); }
.how__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; margin-top: 3rem; align-items: start; }
.how__sticky { position: sticky; top: 8vh; width: min(100%, 18rem); margin-inline: auto; }
.how__sticky .phone__screen picture { transition: opacity .45s ease; opacity: 0; }
.how__sticky .phone__screen picture.is-active { opacity: 1; }
.stage { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; padding: 2.25rem 0; border-top: 1px solid var(--line-dark); min-height: 23rem; }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__n { font-family: var(--display); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: rgba(255, 255, 255, .35); transition: color .3s ease; }
.stage.is-active .stage__n { color: var(--azure); }
.stage h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; }
.stage h3 small { display: block; font-family: var(--body); text-transform: none; font-size: .95rem; font-weight: 500; color: var(--azure-soft); letter-spacing: 0; margin-bottom: .35rem; }
.stage p { margin-top: .75rem; max-width: 34rem; color: rgba(255, 255, 255, .88); }
.stage__more { font-size: .95rem; color: rgba(255, 255, 255, .72); }
.stage__phone { display: none; }
.how__foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.how__pull { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; max-width: 22ch; }
@media (max-width: 60em) {
  .how__body { grid-template-columns: 1fr; margin-top: 2rem; }
  .how__sticky { display: none; }
  .how__stages { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .how__stages::-webkit-scrollbar { display: none; }
  .stage { flex: 0 0 min(84vw, 22rem); scroll-snap-align: start; grid-template-columns: 1fr; gap: .75rem; border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.25rem; min-height: 0; background: rgba(28, 25, 69, .55); }
  .stage:first-child { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }
  .stage__n { font-size: 2.2rem; color: var(--azure); }
  .stage__phone { display: block; width: 9rem; margin-top: .75rem; }
  .stage__phone .phone { border-radius: 1.4rem; padding: .3rem; }
  .stage__phone .phone::before { height: .45rem; top: .5rem; }
  .stage__phone .phone__screen { border-radius: 1.15rem; }
  .stage__more { display: none; }
}

/* ---------- library ---------- */
.library__intro { margin-top: 1rem; max-width: 40rem; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 17rem; gap: 1rem; margin-top: 2.5rem; }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-2); box-shadow: var(--shadow-ambient); transition: transform .2s ease, box-shadow .2s ease; isolation: isolate; }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 25, 69, 0) 35%, rgba(28, 25, 69, .55) 70%, rgba(28, 25, 69, .92) 100%); }
.tile__text { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; }
.tile__name, .tile__copy { display: block; }
.tile__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.7rem, 2.2vw, 2.3rem); line-height: .95; }
.tile__copy { margin-top: .4rem; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.tile--tall { grid-row: span 2; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-key); }
.tile:hover img { transform: scale(1.04); }
.library__foot { margin-top: 2rem; }
@media (max-width: 60em) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 13rem; }
  .tile--tall { grid-row: auto; grid-column: 1 / -1; }
  .tile--tall img { object-position: 50% 20%; }
  .tile__copy { display: none; }
}

/* ---------- research ---------- */
.research__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.research__photos { position: relative; padding-bottom: 3rem; padding-right: 3rem; }
.research__main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-key), var(--shadow-ambient); }
.research__inset { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-key), var(--shadow-ambient); border: 4px solid var(--paper); }
.research__award { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; box-shadow: var(--shadow-ambient); }
.research__award .icon { width: 1.1rem; height: 1.1rem; color: var(--azure); }
.research__copy .lede { margin-top: 1.25rem; }
.research__copy p + p { margin-top: 1rem; }
.research__stat { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--azure); background: var(--paper-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.research__stat strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--ink); }
.research__stat span { font-size: .95rem; }
.research__foot { margin-top: 1.75rem; }
@media (max-width: 60em) {
  .research__grid { grid-template-columns: 1fr; gap: 2rem; }
  .research__photos { padding-right: 2rem; padding-bottom: 2rem; }
}

/* ---------- testimonials ---------- */
.voices__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.alred { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; margin-top: 2rem; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); color: #fff; min-height: 16rem; isolation: isolate; position: relative; }
.alred picture, .alred img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; z-index: -1; }
.alred::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 25, 69, .15) 0%, rgba(28, 25, 69, .55) 50%, rgba(28, 25, 69, .95) 100%); }
.alred__text { grid-column: 2; padding: 1.5rem 2rem; text-align: right; }
.alred__text strong { display: block; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.alred__text span { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.quote { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.75rem; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-ambient); }
.quote .icon { width: 2rem; height: 2rem; color: var(--azure); }
.quote p { font-size: 1.05rem; line-height: 1.5; }
.quote footer { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); }
.quote__hcap { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.quote__hcap small { font-family: var(--body); font-size: .8rem; color: var(--muted); margin-left: .3rem; }
@media (max-width: 60em) {
  .cards { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: .25rem var(--gutter) 1rem; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 min(84vw, 22rem); scroll-snap-align: start; }
  /* Caption below the photo: over it, the text would cover his face */
  .alred { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .alred picture { position: relative; inset: auto; height: 13rem; z-index: 0; }
  .alred img { object-position: 50% 15%; }
  .alred::before { display: none; }
  .alred__text { grid-column: 1; text-align: left; padding: 1.1rem 1.5rem 1.25rem; }
}

/* ---------- coaches ---------- */
.coaches { position: relative; isolation: isolate; overflow: hidden; }
.coaches__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem; align-items: center; }
.coaches__copy .lede { margin-top: 1.25rem; font-weight: 500; }
.coaches__copy p + p { margin-top: 1rem; color: rgba(255, 255, 255, .88); }
.coaches__copy .btn { margin-top: 1.75rem; }
.coaches__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); margin-right: calc(-1 * var(--gutter) - 4vw); }
.coaches__photo picture { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.coaches__list { margin-top: 1.5rem; display: grid; gap: .6rem; }
.coaches__list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; font-size: .95rem; }
.coaches__list .icon { width: 1.4rem; height: 1.4rem; color: var(--azure); margin-top: .1rem; }
@media (max-width: 60em) {
  .coaches__grid { grid-template-columns: 1fr; }
  .coaches__photo { margin-right: 0; }
  .coaches__photo picture { border-radius: var(--r-lg); }
}

/* ---------- pricing ---------- */
.pricing__head { max-width: 44rem; }
.pricing__head .lede { margin-top: 1rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: 1.75rem 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.plan--hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-key); }
.plan__tag { position: absolute; top: -.8rem; left: 1.5rem; padding: .25rem .75rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.plan h3 { font-family: var(--display); text-transform: uppercase; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.plan--hot h3 { color: #fff; }
.plan__price { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.plan__price small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.plan--hot .plan__price small { color: var(--azure-soft); }
.plan__save { display: inline-block; margin-top: .35rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(30, 158, 90, .12); color: var(--green); font-size: .75rem; font-weight: 600; }
.plan--hot .plan__save { background: rgba(255, 255, 255, .14); color: #fff; }
.plan ul { display: grid; gap: .5rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; align-items: start; font-size: .95rem; }
.plan li .icon { width: 1.2rem; height: 1.2rem; color: var(--green); margin-top: .15rem; }
.plan--hot li .icon { color: var(--azure); }
.plan__cta { display: grid; gap: .5rem; }
.plan__cta .microcopy { text-align: center; color: var(--muted); }
.plan--hot .plan__cta .microcopy { color: rgba(255, 255, 255, .78); }
.pricing__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.pricing__note { font-size: .85rem; color: var(--muted); max-width: 40rem; }
@media (max-width: 70em) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40em) { .plans { grid-template-columns: 1fr; } .plan--hot { order: -1; } }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; }
.faq__intro p { margin-top: 1rem; color: var(--muted); }
.faq__intro .btn { margin-top: 1.5rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: 0 0 .7rem; width: .7rem; height: .7rem; border-right: 2px solid var(--azure-2); border-bottom: 2px solid var(--azure-2); transform: rotate(45deg); transition: transform .2s ease; margin-right: .3rem; }
.faq__item[open] summary::after { transform: rotate(225deg); }
.faq__item p { padding: 0 2rem 1.25rem 0; max-width: 62ch; }
@media (max-width: 60em) { .faq__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- final cta ---------- */
.final { position: relative; isolation: isolate; color: #fff; background: var(--ink); padding: var(--section) 0; text-align: center; overflow: hidden; }
.final__photo { position: absolute; inset: 0; z-index: -2; }
.final__photo picture, .final__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 25, 69, .82) 0%, rgba(28, 25, 69, .7) 100%); }
.final__inner { display: grid; justify-items: center; }
.final .h2 { max-width: 16ch; }
.final .lede { margin-top: 1rem; max-width: 36rem; }
.final__cta { display: grid; justify-items: center; gap: .6rem; margin-top: 1.75rem; }
.final .badges { justify-content: center; }
.final__signoff { margin-top: 2.5rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; color: var(--azure-soft); }

/* ---------- footer ---------- */
.footer { background: var(--ink-2); color: #fff; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 2.5rem 2rem; }
.footer__grid > * { min-width: 0; }
.footer__tag { margin-top: 1rem; font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; line-height: 1; color: var(--azure-soft); }
.footer .badges { margin-top: 1.25rem; }
.footer__caption { margin-top: .75rem; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.footer h2 { font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--azure-soft); margin-bottom: .9rem; }
.footer__col li + li { margin-top: .45rem; }
.footer__col a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
.footer__news p { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.news { margin-top: 1rem; }
.news__row { display: flex; gap: .5rem; }
.news__input { flex: 1 1 0; width: 100%; min-width: 0; min-height: 2.6rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: .95rem; }
.news__input::placeholder { color: rgba(255, 255, 255, .5); }
.news__input:focus { outline: 2px solid var(--azure); outline-offset: 1px; border-color: transparent; }
.news__hp { position: absolute; left: -9999px; }
.news__msg { margin-top: .6rem; font-size: .9rem; min-height: 1.4em; color: var(--azure-soft); }
.news__msg.is-error { color: #FFB38A; }
.news__msg.is-ok { color: #8FE3B5; }
.news__legal { margin-top: .5rem; font-size: .75rem; color: rgba(255, 255, 255, .55); }
.news__legal a { color: inherit; }
.news.is-done .news__row, .news.is-done .news__legal { display: none; }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.social { display: flex; gap: .6rem; }
.social a { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--azure); }
.social .icon { width: 1.2rem; height: 1.2rem; }
.footer__copy { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.footer__copy a { color: inherit; }
@media (max-width: 70em) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand, .footer__news { grid-column: 1 / -1; } }
@media (max-width: 40em) { .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* ---------- get-the-app dialog ---------- */
.getapp { border: 0; border-radius: var(--r-lg); padding: 0; max-width: min(92vw, 34rem); color: var(--text); background: var(--paper); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.getapp::backdrop { background: rgba(28, 25, 69, .6); backdrop-filter: blur(4px); }
.getapp__close { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.getapp__close button { width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 0; background: var(--paper-2); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.getapp__body { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 2rem; }
.getapp__qr { border-radius: var(--r-sm); border: 1px solid var(--line); padding: .5rem; width: 10rem; height: 10rem; }
.getapp h2 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--ink); }
.getapp p { margin-top: .5rem; font-size: .95rem; }
.getapp .badges { margin-top: 1rem; }
.getapp .badges .caption { display: none; }
.getapp__caption { font-size: .85rem; color: var(--muted); }
@media (max-width: 40em) { .getapp__body { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- sticky mobile bar ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: none; align-items: center; gap: .75rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(28, 25, 69, .94); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .25s ease; }
.bar.is-visible { transform: none; }
.bar .btn { flex: 1; min-height: 2.9rem; }
.bar__store { display: inline-flex; width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.bar__store .icon { width: 1.4rem; height: 1.4rem; }
.bar__store[hidden] { display: none; }
@media (max-width: 48em) { .bar { display: flex; } body.m { padding-bottom: 4.5rem; } }

/* ---------- inner-page hero ---------- */
.phero { position: relative; background: var(--ink-2); color: #fff; padding: 7.5rem 0 var(--section); isolation: isolate; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 30rem at 85% 10%, rgba(40, 169, 224, .16), transparent 70%); }
.phero--short { padding-bottom: calc(var(--section) * .7); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.phero--aside .phero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.phero__eyebrow { font-weight: 500; color: var(--azure-soft); margin-bottom: 1rem; }
.phero .h1 { font-size: clamp(3rem, 6.5vw, 5.6rem); max-width: 14ch; }
.phero__lede { margin-top: 1.25rem; max-width: 36rem; }
.phero__more { margin-top: .9rem; max-width: 36rem; color: rgba(255, 255, 255, .85); }
.phero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.75rem; }
.phero__cta .microcopy { flex-basis: 100%; }
.phero__aside { justify-self: center; width: 100%; }
.phero__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.devices { position: relative; width: min(100%, 22rem); margin-inline: auto; aspect-ratio: 1 / 1.5; } /* a phone is 1.26x the box width tall; the stagger needs the rest */
.devices .phone { position: absolute; width: 58%; }
.devices__back { right: 0; top: 0; opacity: .9; }
.devices__front { left: 0; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .phero__aside { animation: rise-device .8s .25s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (max-width: 60em) {
  .phero { padding-top: 6.5rem; }
  .phero--aside .phero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .phero__aside { max-width: 26rem; }
  .devices { width: min(100%, 17rem); }
}

/* ---------- shared inner-page blocks ---------- */
.section__head { max-width: 46rem; }
.section__head .lede { margin-top: 1rem; }
.section--ink .section__head .lede { color: rgba(255, 255, 255, .86); }
.section__foot { margin-top: 2rem; }
.pull { margin-top: 1.25rem; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; color: var(--ink); }
.prose { max-width: 44rem; margin-top: 3rem; }
.prose h3 { color: var(--ink); }
.prose p { margin-top: .9rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__copy .lede { margin-top: 1.25rem; }
.split__copy p + p, .split__copy ul + p { margin-top: 1rem; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.split__media--photo { overflow: visible; }
.split__media--photo picture { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-key), var(--shadow-ambient); }
.split__media--portrait { max-width: 26rem; justify-self: center; }
/* About: golf-pro photo with the congress photo as an inset over its open sky (top left) */
.about__photos { padding: 3.5rem 0 0 3rem; }
.about__photos .about__inset { position: absolute; left: 0; top: 0; width: 48%; border: 4px solid var(--paper); border-radius: var(--r); }
.split__media--phone { overflow: visible; display: grid; justify-items: center; }
.split__media--phone .phone { width: min(100%, 16rem); }
.split__phone { position: absolute; width: 9rem; right: -1rem; bottom: -2rem; border-radius: 1.4rem; padding: .3rem; }
.split__phone::before { height: .45rem; top: .5rem; }
.split__phone .phone__screen { border-radius: 1.15rem; }
.split .badges { margin-top: 1.5rem; }
.split .badges .caption, .split .badges__get { color: var(--muted); }
.deflist { display: grid; gap: 1rem; margin-top: 1.75rem; }
.deflist dt { font-weight: 600; }
.deflist dd { margin: .2rem 0 0; color: rgba(255, 255, 255, .85); }
.section--tint .deflist dd, .section:not(.section--ink) .deflist dd { color: var(--muted); }
.creds { display: grid; gap: .6rem; margin-top: 1.25rem; }
.creds li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .7rem; align-items: start; }
.creds .icon { width: 1.3rem; height: 1.3rem; color: var(--green); margin-top: .2rem; }
.creds a { color: var(--azure-2); }
.callout { margin-top: 3rem; padding: 1.75rem 2rem; border-radius: var(--r); background: var(--paper-2); border-left: 4px solid var(--azure); }
.callout h3 { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.callout p { margin-top: .6rem; max-width: 60ch; }
.callout--ink { background: var(--ink); color: #fff; border-left-color: var(--azure); }
.callout--ink h3 { color: #fff; }
.callout__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.fgrid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.fgrid--2 { grid-template-columns: repeat(2, 1fr); }
.fgrid--3 { grid-template-columns: repeat(3, 1fr); }
.fgrid--4 { grid-template-columns: repeat(4, 1fr); }
.fcard { padding: 1.5rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.section--tint .fcard { border-color: transparent; box-shadow: var(--shadow-ambient); }
.fcard__icon { width: 2.4rem; height: 2.4rem; color: var(--azure-2); margin-bottom: .9rem; }
.fcard h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.fcard p { margin-top: .5rem; font-size: .95rem; }
.fcard__what { font-weight: 500; color: var(--ink); }
.fgrid--compact .fcard { padding: 1.25rem; }
.fgrid--compact .fcard__icon { width: 2rem; height: 2rem; margin-bottom: .6rem; }
.numbered { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; counter-reset: none; }
.numbered li { position: relative; padding: 1.5rem; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-ambient); }
.numbered__n { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--azure); }
.numbered h3 { margin-top: .5rem; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.numbered p { margin-top: .5rem; font-size: .95rem; }
@media (max-width: 60em) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .fgrid--3, .fgrid--4, .numbered { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 40em) {
  .fgrid--2, .fgrid--3, .fgrid--4, .numbered { grid-template-columns: 1fr; }
  .split__phone { width: 7rem; right: 0; bottom: -1.5rem; }
}

/* ---------- how it works: steps, practice types, pathway, analytics ---------- */
.steps__list { display: grid; gap: 3rem; margin-top: 3rem; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.step:nth-child(even) .step__media { order: -1; }
.step__n { display: block; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--azure); }
.step h3 { margin-top: .25rem; color: var(--ink); }
.step p { margin-top: .75rem; max-width: 34rem; }
.step__media { display: grid; justify-items: center; }
.step__media > picture { max-width: 30rem; }
.step__phone { width: min(100%, 15rem); }
.types__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.tcard { position: relative; padding: 2rem; border-radius: var(--r); background: var(--paper-2); border-top: 6px solid var(--azure); }
.tcard--test { border-top-color: var(--ink); }
.tcard--muted { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--line); }
.tcard--app { background: var(--paper-2); border-top-color: var(--azure); }
.tcard__tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--azure-2); margin-bottom: .75rem; }
.tcard--muted .tcard__tag { color: var(--muted); }
.tcard h3 { color: var(--ink); }
.tcard__strap { font-weight: 600; color: var(--ink); margin-top: .35rem; }
.tcard p { margin-top: .75rem; }
.tcard h4 { margin-top: 1.25rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.pathway { margin-top: 3rem; padding: 2rem; border-radius: var(--r); background: var(--ink); color: #fff; }
.pathway__label { font-weight: 500; color: var(--azure-soft); }
.pathway__list { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.pathway__item { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; padding: .6rem 1rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .35); }
.pathway__item--test { border-color: var(--azure); color: var(--azure-soft); }
.pathway__item + .pathway__item::before { content: "→"; font-family: var(--body); margin-right: .6rem; color: rgba(255, 255, 255, .5); position: relative; left: -1.1rem; }
.pathway__item + .pathway__item { padding-left: 1.6rem; }
.pathway__note { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .75); max-width: 60ch; }
.analytics { background: var(--ink-2); } /* matches the flattened composite's background */
.analytics__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem; align-items: center; }
.analytics__media picture { max-width: 34rem; margin-inline: auto; }
.threet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.study { margin-top: 3rem; padding: 2rem; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-ambient); }
.study .prose { margin-top: 0; }
.study__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.study__finding { margin-top: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--azure); background: var(--paper-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.05rem; }
.study__finding strong { color: var(--ink); }
.chartbox { display: grid; gap: .5rem; }
.chartbox__title { font-weight: 600; color: var(--ink); }
.chart { width: 100%; height: auto; font-family: var(--body); }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__tick { font-size: 12px; fill: var(--muted); }
.chart__axis { font-size: 12px; fill: var(--muted); font-weight: 500; }
.chart__line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
circle.chart__line { fill: #fff; stroke-width: 2.5; }
.chart__line--a { stroke: var(--ink); }
.chart__line--b { stroke: var(--azure); }
.chart__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .85rem; color: var(--muted); }
.chart__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.chart__swatch { width: 1.2rem; height: 3px; border-radius: 2px; background: var(--ink); }
.chart__swatch--b { background: var(--azure); }
.chartbox__caption { font-size: .9rem; }
@media (max-width: 60em) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 1.25rem; }
  .step:nth-child(even) .step__media { order: 0; }
  .types__grid, .threet__grid, .study__charts, .analytics__grid { grid-template-columns: 1fr; }
  .pathway__item { font-size: 1.25rem; }
}

/* ---------- resources ---------- */
.bookcover { display: block; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-key), var(--shadow-ambient); transition: transform .2s ease; }
.bookcover:hover { transform: translateY(-4px); }
.bookcover img { width: 100%; height: auto; }
.bookcover--hero { width: min(100%, 17rem); margin-inline: auto; transform: rotate(-3deg); }
.bookcover--hero:hover { transform: rotate(-3deg) translateY(-4px); }
.book__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: start; }
.book__cover { max-width: 20rem; position: sticky; top: 2rem; }
.book__sub { margin-top: .75rem; font-weight: 600; color: var(--ink); }
.book__copy p + p, .book__copy ul, .book__copy ul + p { margin-top: 1rem; }
.book__parts { display: grid; gap: .75rem; padding-left: 1.25rem; list-style: disc; }
.workbooks__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.workbook { display: grid; gap: .75rem; }
@media (max-width: 70em) { .workbooks__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 60em) { .book__grid { grid-template-columns: 1fr; } .book__cover { position: static; max-width: 14rem; display: none; } }
@media (max-width: 40em) { .workbooks__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- coaches ---------- */
.forcoaches__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 2rem; align-items: start; }
.forcoaches__grid .fgrid { margin-top: 2.5rem; }
.offer { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--r); background: var(--ink); color: #fff; display: grid; gap: .9rem; }
.offer picture { max-width: 14rem; margin-inline: auto; }
.offer__price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.offer__price span { font-weight: 500; color: var(--azure-soft); }
.offer__price strong { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.offer p { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.offer__commission a { color: var(--azure-soft); text-decoration: none; }
.cards--2 { grid-template-columns: 1fr 1fr; margin-top: 2rem; }
.coachsay .quote { background: var(--paper-2); box-shadow: none; }
.quote footer { flex-wrap: wrap; }
.quote__role { font-size: .85rem; color: var(--muted); }
.academy__head { max-width: 46rem; }
.academy__head .lede { margin-top: 1rem; color: rgba(255, 255, 255, .86); }
.academy__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; align-items: center; margin-top: 2.5rem; }
.academy__media picture { max-width: 20rem; margin-inline: auto; }
.academy__photo { margin-top: 3rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.academy__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.cmp { margin-top: 2.5rem; overflow-x: auto; contain: paint; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); -webkit-overflow-scrolling: touch; }
.cmp table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: .95rem; }
.cmp--2 table { min-width: 34rem; }
.cmp th, .cmp td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--ink); color: #fff; font-weight: 600; position: sticky; top: 0; }
.cmp thead th:first-child { z-index: 2; }
.cmp tbody th { font-weight: 500; color: var(--ink); background: var(--paper); position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); min-width: 12rem; }
.cmp thead th:first-child { left: 0; background: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__yes .icon { width: 1.3rem; height: 1.3rem; color: var(--green); }
.cmp__no { color: var(--muted); }
.cmp__notes { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); max-width: 64rem; }
.cmp__notes p + p { margin-top: .6rem; }
.cmp__notes a { color: var(--azure-2); }
.cmp__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
@media (max-width: 60em) {
  .forcoaches__grid, .academy__grid, .cards--2 { grid-template-columns: 1fr; }
  .cards--2 { display: grid; overflow: visible; margin-inline: 0; padding: 0; }
  .cards--2 .quote { flex: none; }
  .offer { margin-top: 1rem; }
}

/* ---------- pricing page ---------- */
.pricing--page { padding-top: calc(var(--section) * .6); }
.plans--detail .plan { grid-template-rows: auto auto 1fr auto; }
.plan__strap { margin-top: .4rem; font-weight: 600; font-size: .95rem; }
.plan__who { margin-top: .4rem; font-size: .9rem; color: var(--muted); }
.plan--hot .plan__who { color: rgba(255, 255, 255, .8); }
.pricing--page .pricing__note { margin-top: 1.5rem; }
.pricing__note a { color: var(--azure-2); }
.faq__body { padding: 0 2rem 1.25rem 0; max-width: 62ch; }
.faq__body p + p, .faq__body ul { margin-top: .6rem; }
.faq__ul { display: grid; gap: .35rem; padding-left: 1.25rem; list-style: disc; }
.faq__item .faq__body p { padding: 0; }

/* ---------- 404 / plain pages ---------- */
.plain { padding: var(--section) 0; }
.plain .h1 { color: var(--ink); }
.plain .lede { margin-top: 1rem; max-width: 40rem; }
.plain__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.75rem; }

/* ---------- about, reviews, partners, personal ---------- */
.section__p { margin-top: 1rem; }
.section__note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); max-width: 60ch; }
.about__pull { margin-top: 2.5rem; max-width: 30ch; }
.split__cta { margin-top: 1.75rem; }
.approach__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.approach__copy .lede { margin-top: 1.25rem; }
.approach__copy p + p { margin-top: 1rem; color: rgba(255, 255, 255, .88); }
.approach__list { padding: 2rem; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.approach__label { font-weight: 500; color: var(--azure-soft); }
.section--ink .creds .icon { color: var(--azure); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.quote--long p { font-size: 1rem; }
.fgrid--top { align-items: start; }
.pcard { display: grid; gap: .75rem; padding: 2rem; }
.pcard__offer { justify-self: start; padding: .25rem .75rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 600; }
.pcard h2 { color: var(--ink); }
.pcard__code code { font: inherit; font-weight: 600; letter-spacing: .04em; padding: .15rem .5rem; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.pcard__cta { margin-top: .5rem; }
.pkg { display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.25rem; padding: 1.75rem 1.5rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.pkg--hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-key); }
.pkg h3 { font-family: var(--display); text-transform: uppercase; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.pkg--hot h3 { color: #fff; }
.pkg__strap { margin-top: .5rem; font-weight: 500; color: var(--ink); }
.pkg--hot .pkg__strap { color: var(--azure-soft); }
.pkg h4 { font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.pkg--hot h4 { color: rgba(255, 255, 255, .7); }
.pkg ul { display: grid; gap: .45rem; margin-top: .5rem; padding-left: 1.1rem; list-style: disc; font-size: .95rem; }
.pkg p { font-size: .95rem; }
.pkg h4 + p { margin-top: .4rem; }
@media (max-width: 60em) {
  .approach__grid, .reviews__grid { grid-template-columns: 1fr; }
  .approach__grid { gap: 2rem; }
}

/* ---------- legal pages (privacy, terms, affiliate terms, support) ---------- */
.legal { max-width: 46rem; }
.legal h2 { margin-top: 2.5rem; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.legal h3 { margin-top: 1.4rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.legal p, .legal ul { margin-top: .8rem; }
.legal ul { display: grid; gap: .45rem; padding-left: 1.25rem; list-style: disc; }
.legal ul ul { margin-top: .45rem; }
.legal a { color: var(--azure-2); }
.legal__meta { font-size: .9rem; color: var(--muted); }
.legal__note { font-size: .9rem; color: var(--muted); }
.legal__notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: #FFF4EC; border-left: 4px solid var(--orange); font-weight: 500; color: var(--ink); }
.legal__notice--ok { background: rgba(30, 158, 90, .1); border-left-color: var(--green); font-weight: 400; }
.accept { position: sticky; bottom: 0; z-index: 20; margin: 0; padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; box-shadow: 0 -10px 30px rgba(28, 25, 69, .25); }
.accept__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.accept__row p { font-size: .95rem; }
body.has-accept .bar { display: none; }
body.has-accept.m { padding-bottom: 0; }

/* ---------- forms: auth pages and contact ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; margin-top: 1rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label small { font-size: .8rem; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: .95rem; line-height: 1.4; color: var(--text); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6482' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.1rem; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input::placeholder, .field textarea::placeholder { color: #A1A5BD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(40, 169, 224, .2); }
.field--pass input { padding-right: 3rem; }
.field__toggle { position: absolute; right: .35rem; bottom: .3rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.field__toggle:hover { color: var(--ink); background: var(--paper-2); }
.field__toggle .icon { width: 1.25rem; height: 1.25rem; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form__actions { margin-top: 1.5rem; }
.form__msg { margin-top: .75rem; font-size: .9rem; min-height: 1.4em; color: var(--muted); }
.form__msg.is-error { color: #B42318; }
.form__msg.is-ok { color: var(--green); font-weight: 500; }
.form__legal { margin-top: .75rem; font-size: .8rem; color: var(--muted); }
.form__legal a { color: inherit; }
.contact__form.is-done .field, .contact__form.is-done .field--2, .contact__form.is-done .form__actions, .contact__form.is-done .form__legal { display: none; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; }
.contact__form { padding: 2rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-ambient); }
.contact__form h2 { color: var(--ink); margin-bottom: .5rem; }
.contact__aside { display: grid; gap: 1rem; }
.contact__aside .fcard { background: var(--paper-2); border-color: transparent; }
.contact__aside .fcard a { color: var(--azure-2); }
.faq__legend { display: grid; gap: .6rem; margin: 0 0 1.25rem; }
.faq__legend li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.faq__legend img { width: 2rem; height: 2rem; flex: 0 0 auto; }
.faq--page .faq__intro p { margin-top: .75rem; }
@media (max-width: 60em) { .contact__grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 40em) { .field--2 { grid-template-columns: 1fr; } .contact__form { padding: 1.25rem; } }

/* ---------- auth pages (register, login) ---------- */
.auth { padding: clamp(1.5rem, 4vw, 3.5rem) 0 var(--section); background: var(--paper-2); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.auth__panel { order: -1; position: sticky; top: 2rem; padding: 2.25rem; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.auth__eyebrow { font-weight: 500; color: var(--azure-soft); }
.auth__panel .h2 { margin-top: .75rem; color: #fff; }
.auth__panel .creds { margin-top: 1.5rem; }
.auth__panel .creds .icon { color: var(--azure); }
.auth__panel .badges { margin-top: 1.75rem; }
.auth__panel .badges .caption { color: rgba(255, 255, 255, .75); }
.auth__card { width: min(100%, 27.5rem); justify-self: center; padding: 2rem 1.875rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-ambient); }
.auth__title { font-family: var(--display); text-transform: uppercase; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.auth__sub { margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.auth-steps { display: flex; gap: .4rem; margin-top: 1.25rem; }
.auth-step-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width .25s ease, background-color .25s ease; }
.auth-step-dot.active { width: 24px; background: var(--orange); }
.auth-step-dot.done { background: var(--green); }
.auth-error { display: none; margin-top: 1rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: #FFF1EC; border: 1px solid #F5B9A3; color: #9A3412; font-size: .9rem; }
.auth-error.visible { display: block; }
.auth-step2 { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s ease, opacity .35s ease; }
.auth-step2.visible { opacity: 1; }
.auth-continue-btn.hidden { display: none; }
.auth__submit { margin-top: 1.25rem; }
.auth__legal { margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.auth__legal a { color: inherit; }
.auth__forgot { margin-top: .6rem; text-align: right; font-size: .85rem; }
.auth__forgot a { color: var(--azure-2); text-decoration: none; }
.auth__forgot a:hover { text-decoration: underline; }
.auth__ref { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--r-sm); background: rgba(30, 158, 90, .1); border: 1px solid rgba(30, 158, 90, .3); color: #14532D; font-size: .9rem; }
.auth__ref .icon { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--green); margin-top: .2rem; }
.divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; font-size: .8rem; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso { display: grid; gap: .65rem; justify-items: center; }
.sso .g_id_signin { width: 100%; display: grid; justify-items: center; }
#appleid-signin { width: 100%; max-width: 380px; height: 40px; cursor: pointer; }
.auth__alt { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--muted); }
.auth__alt a { color: var(--azure-2); font-weight: 600; text-decoration: none; }
.auth__alt a:hover { text-decoration: underline; }
.auth__avail { display: none; margin-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.footer--slim { padding: 1.5rem 0; font-size: .85rem; }
.footer--slim .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.footer--slim ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer--slim a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer--slim a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 60em) {
  .auth__grid { grid-template-columns: 1fr; }
  .auth__panel { display: none; }
  .auth__avail { display: block; }
}
@media (max-width: 40em) {
  .auth__card { padding: 1.5rem 1.25rem; }
  .auth__title { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
