/* The content pages built by tools/build_site_pages.py (2026-10-06): the
   coaches page, the FAQ, the market pages and the press page. Loaded after
   motion.css (tokens) and pages.css (sitebar, footer). Everything is laid out
   on hairline rules, like a planner or a score sheet: no cards, no pills, no
   gradient panels. The type is the site's own system stack; weight and size
   carry the hierarchy. */

.sp { background: var(--atm-top); }
.sp main { display: block; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sp .sitebar { gap: 2px; }
.sp .sitebar-link { padding: 0 7px; }

/* ---- masthead ---- */
.sp-mast { position: relative; padding: 36px 0 30px; border-bottom: 2px solid var(--ink); }
.sp-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kicker); }
.sp-mast h1 { margin: 10px 0 16px; max-width: 14ch; font-size: clamp(40px, 8.6vw, 84px); font-weight: 900; line-height: 0.98; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.sp-lead { margin: 0; max-width: 34em; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--muted); }
.sp-lead strong { color: var(--ink); }
.sp-mast .court-mark { position: absolute; right: 0; top: 28px; width: 132px; opacity: 0.5; transform: rotate(8deg); pointer-events: none; }
.court-mark .ln { fill: none; stroke: var(--brand); stroke-width: 1.1; }
@media (max-width: 719px) { .sp-mast .court-mark { display: none; } }

.sp h2 { color: var(--ink); }
:where(.sp) a { color: var(--ink-brand); text-underline-offset: 3px; }
:where(.sp) p { margin: 0 0 12px; }

/* ---- coaches: the week, one ruled row per day ---- */
.week { list-style: none; margin: 0; padding: 0; }
.day { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 34px 0 38px; border-bottom: 1px solid var(--hairline); }
.day-tag { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.day-tag b { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -0.035em; color: var(--ink-brand); }
.day-tag span { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.day h2 { margin: 0 0 12px; font-size: clamp(26px, 3.3vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.day p { max-width: 36em; font-size: 17px; line-height: 1.55; }
.day p.note { font-size: 15px; color: var(--muted); }
.cap { margin: 8px 0 0; }
.cap img { display: block; box-sizing: content-box; width: min(calc(64vw - 14px), 236px); height: auto; aspect-ratio: 390 / 844; margin: 0 auto; border-radius: 30px; border: 7px solid var(--bezel); box-shadow: 0 0 0 1.5px var(--bezel-edge), var(--phone-shadow); background: #F4F8F6; }
.cap figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
@media (min-width: 900px) {
  .day { grid-template-columns: 150px minmax(0, 1fr) 250px; column-gap: 48px; padding: 48px 0 52px; align-items: start; }
  .day-tag { flex-direction: column; gap: 6px; position: sticky; top: 84px; }
  .day-tag b { font-size: 64px; }
  .cap { margin: 0; }
  .cap img { width: calc(100% - 14px); }
}

/* the rails, as a ruled two-column table */
.rails { width: 100%; max-width: 30em; margin: 6px 0 18px; border-collapse: collapse; font-size: 16px; }
.rails th, .rails td { padding: 9px 0; border-top: 1px solid var(--hairline); text-align: left; vertical-align: baseline; }
.rails tr:last-child th, .rails tr:last-child td { border-bottom: 1px solid var(--hairline); }
.rails th { font-weight: 800; color: var(--ink); width: 42%; }
.rails td { color: var(--muted); }
.nought { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.nought b { font-size: clamp(64px, 9vw, 96px); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; color: var(--ink-brand); font-variant-numeric: tabular-nums; }
.nought span { font-size: 17px; font-weight: 800; color: var(--ink); max-width: 12em; line-height: 1.25; }

/* ---- the close: get the app ---- */
.sp-get { padding: 44px 0 8px; display: grid; gap: 18px; }
.sp-get h2 { margin: 0; font-size: clamp(34px, 6vw, 60px); font-weight: 900; line-height: 1; letter-spacing: -0.035em; }
.sp-get p { max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--muted); }
.sp .beta-buttons { margin: 6px 0 0; max-width: 600px; }
.sp .btn { background: var(--deep); color: #fff; box-shadow: none; }
.sp .btn.ghost { background: transparent; color: var(--ink-brand); border: 1.5px solid var(--ink-brand); }
.sp .btn.ghost .robot-icon { --robot-eye: var(--atm-top); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp .btn { background: var(--brand); color: #06301F; } }
:root[data-theme="dark"] .sp .btn { background: var(--brand); color: #06301F; }
.droid-steps { margin: 4px 0 0; max-width: 34em; font-size: 14.5px; color: var(--muted); }
.droid-steps p { margin: 0 0 4px; font-weight: 800; color: var(--ink); }
.droid-steps ol { margin: 0; padding-left: 20px; }
.droid-steps a { overflow-wrap: anywhere; }
@media (min-width: 900px) { .sp-get { grid-template-columns: 150px minmax(0, 1fr); column-gap: 48px; } .sp-get > * { grid-column: 2; } }
@media (min-width: 600px) { .sp .beta-buttons { margin-left: 0; } }

.sp-also { margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .sp-also { padding-left: 198px; } }

/* ---- FAQ: a numbered sheet with an index in the margin ---- */
.faq { padding: 8px 0 0; }
@media (min-width: 900px) { .faq { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; align-items: start; } }
.faq-index { padding: 22px 0 18px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.faq-index p { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.faq-index ol { list-style: none; margin: 0 0 16px; padding: 0; }
.faq-index li a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.faq-index li a:hover { color: var(--ink-brand); text-decoration: underline; }
.faq-index li a span { display: inline-block; width: 2.6em; color: var(--ink-brand); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .faq-index ol, .faq-index > p { display: none; } .faq-index { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; } .faq-index p { margin: 0; } .faq-index .jump a { font-weight: 800; } }
@media (min-width: 900px) { .faq-index { position: sticky; top: 64px; border-bottom: 0; max-height: calc(100vh - 80px); overflow: auto; } .faq-index .jump { display: none; } }
.faq-part h2 { margin: 36px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.025em; scroll-margin-top: 70px; }
.qa { display: grid; grid-template-columns: 2.8em minmax(0, 1fr); column-gap: 10px; padding: 18px 0 16px; border-bottom: 1px solid var(--hairline); scroll-margin-top: 70px; }
.qa .qn { font-weight: 800; color: var(--ink-brand); font-variant-numeric: tabular-nums; padding-top: 2px; font-size: 15px; }
.qa > :not(.qn) { grid-column: 2; }
.qa .qn { grid-row: 1 / span 6; }
.qa h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.qa p { grid-column: 2; max-width: 38em; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.qa p:last-child { margin-bottom: 0; }
.qa .qa-more { font-size: 14.5px; color: var(--muted); }

/* ---- market pages ---- */
.facts { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--hairline); }
.facts div { padding: 14px 0; border-top: 1px solid var(--hairline); }
.facts div:first-child { border-top: 0; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.facts dd small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } .facts div { border-top: 0; } }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 34px 0 36px; border-bottom: 1px solid var(--hairline); }
.mrow > h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -0.02em; }
.mrow p, .mrow li { max-width: 36em; font-size: 17px; line-height: 1.55; }
.mrow ol { margin: 0; padding-left: 1.3em; }
.mrow ol li { margin: 0 0 8px; padding-left: 4px; }
.mrow ol li::marker { font-weight: 900; color: var(--ink-brand); }
@media (min-width: 900px) { .mrow { grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; } .mrow.has-shot { grid-template-columns: 300px minmax(0, 1fr) 230px; } .mrow .cap img { width: calc(100% - 14px); } }
.mrow .coach-line { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.golink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--ink-brand); text-decoration: none; border-bottom: 2px solid currentColor; }
.golink svg { width: 16px; height: 16px; }
.quote { margin: 4px 0 14px; padding: 0 0 0 0; font-size: 19px; line-height: 1.5; color: var(--ink); font-style: italic; max-width: 32em; }
.quote cite { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--muted); }

/* ---- press ---- */
.marks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.marks li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.marks .tile { width: 112px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 0; }
.marks .tile img { width: 72%; height: auto; display: block; }
.marks .tile.on-grad { background: var(--grad); border-radius: 24px; }
.marks .tile.on-grad img { width: 100%; border-radius: 24px; }
.marks .tile.on-light { background: #FBFDFC; outline: 1px solid #DDE8E1; }
.marks .tile.on-dark { background: #101613; }
.marks .tile.on-brand { background: #148C59; }
.marks h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.marks p { margin: 0 0 6px; font-size: 14.5px; color: var(--muted); }
.marks .dl a { display: inline-block; min-height: 44px; line-height: 44px; margin-right: 18px; font-weight: 800; }
@media (min-width: 900px) { .marks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.swatches { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.swatches li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.swatches i { display: block; width: 64px; height: 44px; outline: 1px solid var(--hairline); outline-offset: -1px; }
.swatches b { display: block; font-size: 16px; color: var(--ink); }
.swatches span { font-size: 14px; color: var(--muted); }
.swatches code { font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.boiler { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.boiler article { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.boiler h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.boiler p { font-size: 16.5px; line-height: 1.6; color: var(--ink); max-width: 36em; }
.copy-btn { font: inherit; font-size: 13px; letter-spacing: 0.04em; text-transform: none; font-weight: 800; color: var(--ink-brand); background: none; border: 0; padding: 0 2px; min-height: 44px; min-width: 44px; cursor: pointer; }
@media (min-width: 900px) { .boiler { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } .boiler article { border-bottom: 0; } }

.sp-footer { margin-top: 56px; }
.sp-footer .foot-links + .foot-links { margin-top: -4px; }
@media (max-width: 380px) { .sp .sitebar-home span:last-child { display: none; } }

/* footer links: each link and its separator stay together when the line wraps */
.foot-links .fl { white-space: nowrap; }
.foot-links .fl:not(:last-child)::after { content: " ·"; color: var(--muted); }

/* a worked example set as a two-line ledger (the coaches page, Thursday) */
.ledger { margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.ledger dt { font-size: 15px; color: var(--muted); }
.ledger dd { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger div:last-child dd { color: var(--ink-brand); }
.ledger-note { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }

/* press: the three-language boilerplate runs the full width */
@media (min-width: 900px) { .mrow.wide { grid-template-columns: minmax(0, 1fr); } }
.mrow-mail a { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -0.02em; }
.boiler article:last-child { border-bottom: 0; }
/* The /android beta page (2026-10-06): the in-app-browser warning and the step buttons. */
.inapp-note { margin: 4px 0 6px; padding: 18px 0 20px; border-bottom: 1px solid var(--hairline); }
.inapp-note h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.inapp-note p { max-width: 36em; font-size: 16px; line-height: 1.5; }
.droid-go { margin-top: 18px; }
.droid-go .btn { min-height: 48px; }
/* android page (2026-10-12): the version check / account match asides and the end-of-page troubleshooting list. */
.day p.note { margin-top: 10px; }
.fix-note { margin: 10px 0 0; padding: 30px 0 4px; border-top: 2px solid var(--ink); }
.fix-note h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; }
.fix-list { list-style: none; margin: 0 0 18px; padding: 0; max-width: 38em; }
.fix-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--hairline); font-size: 16px; line-height: 1.5; color: var(--ink); }
.fix-list li::before { content: "•"; position: absolute; left: 3px; top: 11px; color: var(--ink-brand); font-weight: 900; }
.fix-note > p { max-width: 36em; font-size: 15px; color: var(--muted); }
