/* guide.css — the public, indexable guide pages (/sports, /sports/*, /features/*).
   Loaded AFTER css/base.css. The long-form layout follows what-counts.html; the
   header and footer follow index.html. Static English on purpose: these pages do
   not load js/i18n.js, so a crawler without JS reads every word and no language
   switch can blank the copy. Colours come from base.css tokens; link colours are
   literal hex where :visited applies (Safari ignores var() there, see base.css). */

body { font-family: var(--font-ui); background: var(--white); color: var(--ink); }

/* Header: the landing's dark nav (base.css) with Log in + Sign Up, no picker. */
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Long-form column, same measure as what-counts.html */
.wrap { max-width: 680px; margin: 0 auto; padding: 40px 20px 72px; }
.crumb { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.crumb a { color: #767676; text-decoration: none; }
.crumb a:visited { color: #767676; }
.crumb a:hover { color: #111; }
.crumb span { color: #aaa; padding: 0 6px; }
.wrap h1 { font-size: clamp(36px, 7vw, 54px); font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: -1px; margin-bottom: 16px; }
.wrap h1 em { font-style: normal; background: var(--neon); padding: 0 8px; }
.lead { font-family: var(--font-read); font-size: 17px; color: var(--label); line-height: 1.6; margin-bottom: 32px; }
.wrap h2 { font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--surface-2); }
.wrap h2 a { color: #111; text-decoration: none; }
.wrap h2 a:visited { color: #111; }
.wrap h2 a:hover { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 2px; }
.wrap p, .wrap li { font-family: var(--font-read); font-size: var(--fs-body); color: var(--label); line-height: 1.65; }
.wrap p { margin-bottom: 12px; }
.wrap p b, .wrap li b { color: var(--ink); font-weight: 600; }
.wrap p a, .wrap li a { color: #111; text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.wrap p a:visited, .wrap li a:visited { color: #111; }
.wrap ul { margin: 0 0 14px 18px; }
.wrap li { margin-bottom: 6px; }

/* Option rows: label on the left, the product's own option names as grey tags
   (the dashboard .r-tag-sm look). Mirrors the what-counts .test box. */
.opts { border: 1.5px solid #ececec; border-radius: 12px; padding: 4px 18px; margin: 14px 0 14px; }
.opt-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f3f3f3; align-items: baseline; }
.opt-row:last-child { border-bottom: none; }
.opt-k { flex: 0 0 112px; font-size: var(--fs-label); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.opt-v { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tag { font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--surface-2); color: var(--label); white-space: nowrap; }
.opt-note { font-family: var(--font-read); font-size: var(--fs-meta); color: var(--label); line-height: 1.5; }

/* Sport marker on /sports headings: a small square in the canonical sport colour */
.sp-chip { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 10px; vertical-align: 1px; }

/* Closing call to action: white, one neon moment (the button). */
.cta { margin-top: 48px; padding: 28px 24px; border: 1.5px solid #ececec; border-top: 3px solid var(--neon); border-radius: 12px; }
.cta-t { font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -0.5px; margin-bottom: 10px; }
.cta p { margin-bottom: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-btn { display: inline-block; background: #CCFF00; color: #111; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 13px 28px; border-radius: 4px; text-decoration: none; }
.cta-btn:visited { color: #111; }
.cta-btn:hover { opacity: 0.88; }
.cta-alt { font-size: var(--fs-label); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #111; text-decoration: none; border-bottom: 2px solid var(--neon); padding-bottom: 1px; }
.cta-alt:visited { color: #111; }

/* Sibling links */
.related { margin-top: 36px; }
.related-h { font-size: var(--fs-label); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.related li { margin: 0; }
.wrap .related a { display: block; height: 100%; font-family: var(--font-ui); font-size: var(--fs-title); font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; color: #111; text-decoration: none; border: 1px solid #ddd; border-radius: 6px; padding: 12px 14px; }
.wrap .related a:visited { color: #111; }
.wrap .related a:hover { border-color: #111; }
.wrap .related a small { display: block; font-family: var(--font-read); font-size: var(--fs-meta); font-weight: 400; letter-spacing: 0; text-transform: none; color: #767676; margin-top: 2px; line-height: 1.4; }

/* Footer: the landing's footer, plus the Sports / Features link groups. */
footer { padding: 20px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 14px; border-top: 0.5px solid var(--border-light); }
.footer-logo { font-size: 15px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; color: #111; }
.footer-logo:visited { color: #111; }
.footer-note { font-size: 12px; color: #aaa; letter-spacing: 0.5px; }
.footer-note a { color: inherit; text-decoration: underline; }
.foot-groups { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 32px; font-size: 12px; color: #aaa; letter-spacing: 0.5px; }
.foot-group { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.foot-h { font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #767676; }
.foot-group a { color: #aaa; text-decoration: underline; }
.foot-group a:visited { color: #aaa; }
.foot-group a:hover { color: #111; }

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .wrap { padding: 32px 16px 56px; }
  .opt-row { flex-direction: column; gap: 6px; }
  .opt-k { flex-basis: auto; }
  .related ul { grid-template-columns: 1fr; }
  footer { padding: 20px; flex-direction: column; gap: 8px; }
  .foot-groups, .foot-group { justify-content: center; text-align: center; }
  .foot-groups { margin-bottom: 4px; }
}

/* The CTA and Keep reading headings are real h2s, styled apart from .wrap h2 */
.wrap .cta-t, .wrap .related-h { border: none; padding: 0; margin: 0 0 10px; }
.wrap .cta-t { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.wrap .related-h { font-size: var(--fs-label); letter-spacing: 1.5px; color: #767676; }
