/* ------------------------------------------------------------------ *
 * The front page.
 *
 * Loaded only by lib/home.php, on top of tracker.css — which already carries
 * the palette, the buttons and the fonts, so this is layout and nothing else.
 * ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ *
 * The palette.
 *
 * The page used to be one blue on white, with the only red on it being the
 * bird in the logo — which made the mark look like it had been dropped in
 * from somewhere else. The crimson is sampled from the logo itself and is
 * now the page's own colour: the button that matters, the certificate, the
 * fourth step.
 *
 * Four hues, each with a job, so the colour means something rather than
 * just being there: sky for anything you click, green for work that is
 * done, amber for what is earned, crimson for the brand and the one action
 * the page is asking for. Scoped to body.home — the app inside is painted
 * in each club's own accent and none of this reaches it.
 * ------------------------------------------------------------------ */
body.home {
  --sky: #00bfff;
  --sky-deep: #0384b4;
  --brand: #b0151f;
  --brand-deep: #8a0f18;
  --sun: #e8930c;
  --grow: #12a06a;
  /* The help centre's "academy navy", so the two sites read as one family. */
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --navy-line: #334155;
  --card-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  --card-shadow-up: 0 6px 20px rgba(15, 23, 42, .10);

  color: var(--ink);
  background: #fff;
}

/* Every button here is a link; none of them should look like one. */
body.home a.btn, body.home a.btn-solid, body.home a.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }

/* The one thing the page is asking for, in the colour of the bird. */
body.home .btn-solid {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14.5px;
}
body.home .btn-solid:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

/* Outlined in white, for sitting on navy — the help centre's secondary button. */
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 6px;
  padding: 10px 16px; font-size: 14.5px; font-weight: 800; transition: background .18s, border-color .18s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

body.home main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 60px; }

/* ---- the bar ---- */
.home-bar { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), var(--card-shadow); }
.home-bar-in { display: flex; align-items: center; gap: 12px; max-width: 1120px; min-height: 68px; margin: 0 auto; padding: 0 20px; }
.home-bar .spacer { flex: 1; }
.home-mark { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.home-mark:hover { color: #fff; }
/* Only the birds, on a white tile: the wordmark's dark "GOALS" vanishes on
   navy, and the name is written out beside it anyway. */
.home-mark-tile { width: 42px; height: 42px; flex: none; border-radius: 10px; background: #fff; overflow: hidden;
  display: flex; justify-content: center; }
.home-mark-tile img { height: 56px; width: auto; margin-top: 1px; display: block; max-width: none; }
.home-mark-text { display: flex; flex-direction: column; line-height: 1.2; }
.home-mark-text b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.home-mark-text small { font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.home-nav { display: flex; gap: 4px; margin-right: 6px; }
.home-nav a { color: #cbd5e1; text-decoration: none; font-size: 14.5px; font-weight: 700; padding: 8px 10px; border-radius: 6px; }
.home-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
@media (max-width: 760px) {
  .home-nav, .home-mark-text small { display: none; }
  .home-bar-in { gap: 8px; padding: 0 14px; }
  .home-bar .btn-ghost, .home-bar .btn-solid { padding: 8px 11px; font-size: 13.5px; }
}
@media (max-width: 420px) { .home-mark-text { display: none; } }

/* ---- section labels, the help centre's "STEP 1" pills ---- */
.pill { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pill-sky { color: var(--sky-deep); background: color-mix(in srgb, var(--sky) 13%, #fff); }
.pill-grow { color: #0b7a50; background: color-mix(in srgb, var(--grow) 13%, #fff); }
.pill-brand { color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); }
.pill-dark { color: #7dd3fc; background: rgba(0, 191, 255, .12); border: 1px solid rgba(0, 191, 255, .25); }

/* ---- hero ---- */
/* A navy panel, as the help centre's "How can we help?" — washed with sky
   from one corner and the bird's crimson from the other. */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin: 0 0 46px;
  padding: 48px 44px; border-radius: 16px; color: #fff;
  background:
    radial-gradient(1000px 420px at 10% -12%, rgba(0, 191, 255, .22), transparent 60%),
    radial-gradient(800px 400px at 95% 110%, rgba(176, 21, 31, .30), transparent 60%),
    var(--navy); }
.hero h1 { margin: 0 0 14px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; font-weight: 900; letter-spacing: -.03em; text-wrap: balance; color: #fff; }
.hero .lede { margin: 0 0 28px; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; color: #cbd5e1; max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.btn.big, body.home .btn-solid.big, .btn-ghost.big { padding: 13px 22px; font-size: 16px; border-radius: 8px; }
.hero .hint { margin: 0; font-size: 13.5px; color: #94a3b8; }

/* A card, drawn rather than screenshotted — it cannot go out of date. */
.hero-shot { display: flex; justify-content: center; }
.shot-card { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .13); overflow: hidden; }
.shot-head { display: flex; align-items: center; gap: 11px; padding: 15px 16px; background: color-mix(in srgb, var(--accent) 8%, #fff); border-bottom: 1px solid var(--rule); }
.shot-face { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--accent); }
.shot-head b { display: block; font-size: 15px; }
.shot-head i { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); }
.shot-head div { flex: 1; min-width: 0; }
.shot-pct { font-size: 13px; font-weight: 900; color: var(--ink-soft); }
.shot-items { list-style: none; margin: 0; padding: 10px 16px 12px; }
.shot-items li { position: relative; padding: 8px 0 8px 30px; font-size: 14.5px; border-bottom: 1px solid #f1f5f9; }
.shot-items li:last-child { border-bottom: 0; }
.shot-items li::before { content: ""; position: absolute; left: 0; top: 8px; width: 19px; height: 19px; border-radius: 6px; border: 2px solid var(--rule); }
.shot-items li.on { color: var(--ink-soft); }
.shot-items li.on::before { background: var(--accent); border-color: var(--accent); }
.shot-items li.on::after { content: ""; position: absolute; left: 6px; top: 12px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.shot-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--rule); font-size: 13px; }
.shot-foot span { color: var(--ink-soft); text-transform: uppercase; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; }
.shot-foot b { margin-left: auto; }

/* ---- the three screens ---- */
/* Drawn, not screenshotted: a picture of the product that cannot go stale and
   costs no image file. Shapes only — the words are in the caption. */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  padding: 30px 26px 26px; margin: 0 0 46px;
  background: color-mix(in srgb, var(--sky) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--sky) 18%, #fff); border-radius: 20px; }
/* One hue each, so three screens read as three screens. */
.screen:nth-child(1) { --shot: var(--sky); }
.screen:nth-child(2) { --shot: var(--grow); }
.screen:nth-child(3) { --shot: var(--brand); }
@media (max-width: 820px) { .screens { grid-template-columns: 1fr; gap: 30px; max-width: 380px; margin: 0 auto; } }
.screen p { margin: 14px 0 0; text-align: center; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.mock { height: 190px; padding: 12px; background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .10); overflow: hidden; }
.mock-bar { display: flex; gap: 5px; margin-bottom: 11px; }
.mock-bar span { height: 7px; border-radius: 4px; background: var(--rule); }
.mock-bar span:first-child { width: 52px; background: color-mix(in srgb, var(--shot, var(--accent)) 55%, #fff); }
.mock-bar span:last-child { width: 24px; }

.mock-tick ul { list-style: none; margin: 0; padding: 0; }
.mock-tick li { position: relative; padding: 7px 0 7px 26px; font-size: 12.5px; color: var(--ink-soft);
  border-bottom: 1px solid #f1f5f9; }
.mock-tick li:last-child { border-bottom: 0; }
.mock-tick li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 5px; border: 2px solid var(--rule); }
.mock-tick li.on { color: var(--ink); }
.mock-tick li.on::before { background: var(--shot, var(--accent)); border-color: var(--shot, var(--accent)); }
.mock-tick li.on::after { content: ""; position: absolute; left: 5px; top: 10px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.lbrow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
.lbrow:last-child { border-bottom: 0; }
.lbrow i { font-style: normal; font-size: 11px; font-weight: 900; color: var(--ink-soft); width: 9px; }
.lbrow em { width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: color-mix(in srgb, var(--shot, var(--accent)) 24%, #fff); }
.lbbar { flex: 1; height: 8px; border-radius: 5px; background: var(--paper); overflow: hidden; }
.lbbar b { display: block; height: 100%; border-radius: 5px; background: var(--shot, var(--accent)); }

.mock-cert { display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border: 1px solid var(--rule); position: relative; }
.mock-cert::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--shot, var(--accent));
  border-radius: 9px; opacity: .4; }
.certmark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--shot, var(--accent)); color: #fff; font-size: 14px; font-weight: 900; margin-bottom: 9px; }
.certtitle { font-family: 'Caveat', cursive; font-size: 25px; font-weight: 700; line-height: 1; }
/* Gold on the certificate, because that is what a rosette is. */
.certrule { width: 46px; height: 3px; border-radius: 2px; background: var(--sun); margin: 7px 0 9px; }
.certline { height: 7px; border-radius: 4px; background: var(--rule); }
.certline.w1 { width: 84px; margin-bottom: 9px; }
.certline.w2 { width: 108px; }
.certfeet { display: flex; gap: 16px; margin-top: 16px; }
.certfeet span { width: 46px; height: 5px; border-radius: 3px; background: var(--rule); }

/* ---- how it works ---- */
/* Four steps in the order they happen, above the list of what it has. A coach
   deciding in thirty seconds wants to know what using it is like first. */
.steps { padding: 34px 0 46px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.steps-head { margin: 0 0 22px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -.02em; }
/* Four across on a wide screen, so the numbers read as one sequence rather
   than as three and a straggler. Two-up, then stacked, as it narrows. */
.step-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 26px; margin: 0; padding: 0; }
@media (max-width: 900px) { .step-list { grid-template-columns: repeat(2, 1fr); gap: 22px 30px; } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }
.step { display: flex; gap: 13px; align-items: flex-start; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 900; font-size: 15px; }
/* Set up, add people, tick things off, everyone sees it — the four hues in
   the order the club meets them. */
.step:nth-child(1) .step-n { background: var(--sky); }
.step:nth-child(2) .step-n { background: var(--grow); }
.step:nth-child(3) .step-n { background: var(--sun); }
.step:nth-child(4) .step-n { background: var(--brand); }
.step h3 { margin: 3px 0 6px; font-size: 16.5px; font-weight: 900; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.steps-foot { margin: 26px 0 0; font-size: 15px; line-height: 1.62; color: var(--ink-soft); max-width: 46em; }

/* ---- pick your discipline ---- */
/* A row of bubbles over one section per discipline. The radios are the state:
   no script, so it works on a page with JavaScript blocked, and the keyboard
   gets arrow-key movement for free. The rules that say which panel is showing
   are generated in home.php, from the same list the panels are. */
.picker { padding: 34px 0 48px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.picker-lede { margin: -8px 0 20px; font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 46em; }
.disc-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.bubbles { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.bubble { display: inline-block; padding: 9px 17px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 800; color: var(--slate); cursor: pointer; user-select: none; transition: background .12s, border-color .12s, color .12s; }
.bubble:hover { border-color: var(--brand); color: var(--brand); }

.disc { display: none; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.disc h3 { margin: 0 0 10px; font-size: clamp(20px, 2.3vw, 26px); font-weight: 900; letter-spacing: -.02em; }
.disc-lede { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.disc-points { margin: 0 0 14px; padding-left: 20px; }
.disc-points li { margin: 0 0 9px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.disc-points li:last-child { margin-bottom: 0; }
.disc-shot { display: flex; justify-content: center; }
@media (max-width: 820px) { .disc { grid-template-columns: 1fr; gap: 24px; } .disc-shot { order: -1; } }

/* ---- the full card, in a dialog ---- */
/* Opened by :target, so a link opens it and a link closes it and no script is
   involved. Hidden rather than off-screen: there is a lot inside each one, and
   nine of them, so none of it should be in the tab order until it is open. */
.modal { display: none; position: fixed; inset: 0; z-index: 40; padding: 20px; overflow-y: auto; }
.modal:target { display: block; }
.modal-shade { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: block; }
.modal-box { position: relative; max-width: 900px; margin: 24px auto 40px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); overflow: hidden; }
.modal-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: color-mix(in srgb, var(--accent) 8%, #fff); border-bottom: 1px solid var(--rule); position: sticky; top: 0; }
.modal-head h3 { margin: 3px 0 0; font-size: clamp(18px, 2.2vw, 23px); font-weight: 900; letter-spacing: -.02em; }
.modal-x { margin-left: auto; flex: none; }
.modal-body { padding: 20px 22px 26px; }
.modal-lede { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 56em; }

.lvl { border: 1px solid var(--rule); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.lvl-head { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.lvl-head b { font-size: 15px; }
.lvl-head span { font-size: 12px; font-weight: 800; color: var(--ink-soft); margin-left: auto; }
/* 150px lets the five columns of an Acro card sit in one row, which is the
   whole point of showing it — that is how the printed card reads. */
.lvl-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 16px; padding: 12px 14px 14px; }
.lvl-cat ul { list-style: none; margin: 6px 0 10px; padding: 0; }
.lvl-cat li { position: relative; padding: 3px 0 3px 20px; font-size: 13.5px; line-height: 1.45; color: var(--slate); }
.lvl-cat li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 4px; border: 2px solid var(--rule); }
.lvl-cat li.more { color: var(--ink-soft); font-weight: 800; font-size: 12.5px; padding-left: 20px; }
.lvl-cat li.more::before { display: none; }

.modal-points { margin: 0 0 20px; padding-left: 20px; }
.modal-points li { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.modal-rest { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.modal-rest b { color: var(--ink); }
.modal-notes { margin: 20px 0 0; padding-left: 20px; }
.modal-notes li { margin: 0 0 9px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.modal-notes li b { color: var(--ink); }
.modal-foot { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

.disc-more { margin: 0 0 12px; }
/* Sky, not crimson: this opens a card to look at. Crimson on this page means
   the one thing it is actually asking for, and two reds on a screen means
   neither of them is that. */
.disc-more .btn-solid { background: var(--sky-deep); border-color: var(--sky-deep); }
.disc-more .btn-solid:hover { background: var(--ink); border-color: var(--ink); }

@media (max-width: 700px) {
  .modal { padding: 0; }
  .modal-box { margin: 0; border-radius: 0; min-height: 100%; }
}

/* ---- what it does ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; padding: 34px 0 52px; border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature .glyph { width: 26px; height: 26px; display: block; color: var(--accent); margin-bottom: 10px; }
.feature:nth-child(6n+1) .glyph { color: var(--sky); }
.feature:nth-child(6n+2) .glyph { color: var(--grow); }
.feature:nth-child(6n+3) .glyph { color: var(--sky-deep); }
.feature:nth-child(6n+4) .glyph { color: var(--brand); }
.feature:nth-child(6n+5) .glyph { color: var(--sun); }
.feature:nth-child(6n+6) .glyph { color: var(--grow); }
.feature h2 { margin: 0 0 3px; font-size: 16.5px; font-weight: 900; letter-spacing: -.01em; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---- starting one ---- */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 40px;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff); border-radius: 18px;
  background:
    radial-gradient(600px 300px at 100% 0, color-mix(in srgb, var(--sun) 12%, #fff), transparent 70%),
    color-mix(in srgb, var(--brand) 5%, #fff);
  scroll-margin-top: 20px; }
.start-text h2 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.start-text p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.62; color: var(--slate); max-width: 34em; }
.start-form { display: flex; flex-direction: column; gap: 6px; background: #fff; padding: 22px; border: 1px solid var(--rule); border-radius: 14px; }
.start-form .eyebrow { margin-top: 8px; }
.start-form .eyebrow:first-child { margin-top: 0; }
.start-form .btn-solid { margin-top: 14px; }
.start-form .hint { margin: 2px 0 0; }
/* The honeypot. Off-screen rather than display:none, which some fillers skip. */
.nope { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* A policy page: one readable column, nothing else on the screen. */
.legal { max-width: 46em; padding: 26px 0 40px; }
.legal h1 { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.legal h2 { margin: 30px 0 8px; font-size: 18px; font-weight: 900; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.68; color: var(--slate); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal b { color: var(--ink); }
.legal a { color: var(--accent-deep); }
.legal code { font-size: 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 5px; }
.legal-date { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }

.home-foot { display: flex; gap: 16px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 22px 20px 40px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-soft); }
.home-foot .spacer { flex: 1; }
.home-foot a { color: var(--slate); }

@media (max-width: 820px) {
  .hero, .start { grid-template-columns: 1fr; }
  .hero { padding-bottom: 34px; }
  .hero-shot { order: -1; }
  .start { padding: 26px; }
}


/* ------------------------------------------------------------------ *
 * The help centre's cards.
 *
 * White, a soft shadow, a 4px hairline of colour across the top and a lift
 * on hover — the same card the help centre lists its articles on, so
 * someone who has used one site recognises the other.
 * ------------------------------------------------------------------ */
.steps, .picker, .features { border-top: 0; }
.steps-head { font-weight: 800; letter-spacing: -.015em; }

.step, .feature { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: var(--card-shadow); transition: box-shadow .18s, transform .18s, border-color .18s; }
.step::before, .feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hue, var(--sky)); }
.step:hover, .feature:hover { border-color: #d7dce3; box-shadow: var(--card-shadow-up); transform: translateY(-2px); }

.step { padding: 22px 20px 20px; }
.step:nth-child(1) { --hue: var(--sky); }
.step:nth-child(2) { --hue: var(--grow); }
.step:nth-child(3) { --hue: var(--sun); }
.step:nth-child(4) { --hue: var(--brand); }
.step h3, .feature h2 { font-weight: 800; }

.features { gap: 20px; }
.features-head { grid-column: 1 / -1; }
.features-head .steps-head { margin-bottom: 4px; }
.feature { padding: 22px 22px 20px; }
.feature:nth-child(6n+1) { --hue: var(--sky); }
.feature:nth-child(6n+2) { --hue: var(--grow); }
.feature:nth-child(6n+3) { --hue: var(--sky-deep); }
.feature:nth-child(6n+4) { --hue: var(--brand); }
.feature:nth-child(6n+5) { --hue: var(--sun); }
.feature:nth-child(6n+6) { --hue: var(--grow); }
.feature .glyph { color: var(--hue) !important; }

.screens { background: #f8fafc; border-color: var(--rule); border-radius: 16px; }

.bubble:hover { border-color: var(--sky-deep); color: var(--sky-deep); }

.start { border-radius: 16px; }
.start-form { box-shadow: var(--card-shadow); }

/* Navy again at the bottom, so the page is bookended like the help centre. */
.home-foot { max-width: none; margin: 0; padding: 26px max(20px, calc((100% - 1080px) / 2)) 34px; border-top: 0;
  background: var(--navy); color: #94a3b8; flex-wrap: wrap; }
.home-foot span:first-child { color: #fff; font-weight: 800; }
.home-foot a { color: #cbd5e1; text-decoration: none; }
.home-foot a:hover { color: #fff; }

@media (max-width: 820px) {
  .hero { padding: 30px 22px; gap: 28px; }
}
.steps, .picker, .start, .features { scroll-margin-top: 84px; }
/* The sample card sits on navy but is a white card; keep its ink dark. */
.hero .shot-card { color: var(--ink); }

/* ---- why this one ---- */
/* The argument against one more big system, beside the promise that it fits
   next to the club's existing ones. */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 10px 0 46px; scroll-margin-top: 84px; }
.why-text p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--slate); max-width: 36em; }
.why-text p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 600; }
.why-card { position: relative; overflow: hidden; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--rule);
  border-radius: 16px; box-shadow: var(--card-shadow); }
.why-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); }
.why-card h3 { margin: 6px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.why-card p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.why-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.why-tags li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--sky-deep);
  background: color-mix(in srgb, var(--sky) 11%, #fff); border: 1px solid color-mix(in srgb, var(--sky) 25%, #fff); }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; gap: 22px; } }

/* ------------------------------------------------------------------ *
 * A feature's own page, /features/<slug>/.
 * ------------------------------------------------------------------ */
.crumbs { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-soft); }
.crumbs a { color: var(--sky-deep); text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; color: var(--rule); }

.fhero { grid-template-columns: 1fr; padding: 40px 44px; }
.fhero .lede { max-width: 40em; margin-bottom: 0; }
.fhero-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.fhero-icon .glyph { width: 28px; height: 28px; }

.fdetail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 0 50px; }
@media (max-width: 760px) { .fdetail { grid-template-columns: 1fr; } }
.fblock { position: relative; overflow: hidden; padding: 24px 24px 20px; background: #fff; border: 1px solid var(--rule);
  border-radius: 16px; box-shadow: var(--card-shadow); }
.fblock::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hue, var(--sky)); }
.fblock h2 { margin: 0 0 10px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.fblock p, .fblock li { font-size: 15px; line-height: 1.65; color: var(--slate); }
.fblock p { margin: 0 0 10px; }
.fblock ul { margin: 0 0 6px; padding-left: 20px; }
.fblock li { margin: 0 0 6px; }

.fmore { padding: 34px 0 46px; }
.fmore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.fmore-grid .feature h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 800; }

/* The front page's feature cards are links now. */
a.feature { display: block; color: inherit; text-decoration: none; }
.feature .more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 800; color: var(--sky-deep); }
a.feature:hover .more { text-decoration: underline; }

.fcta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 16px; color: #fff;
  background: radial-gradient(700px 300px at 100% 120%, rgba(176, 21, 31, .35), transparent 60%), var(--navy); }
.fcta div { flex: 1; min-width: 220px; }
.fcta h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.fcta p { margin: 0; color: #cbd5e1; }

/* What it does, now inside How it works. */
.steps .features { padding: 0; }
.sub-head { margin: 40px 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; scroll-margin-top: 84px; }
.feature h4 { margin: 0 0 3px; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
