/* The guides (plays-like.html, golf-games.html and the game pages, driver-launch-and-spin.html,
   launch-monitor-numbers.html; docs/seo.md): public pages for search engines, in the homepage's look. On top of
   css/site.css, css/home.css and css/home-b.css (the header, the footer, the cards, the calculator); only what an
   article needs is here. Light and dark follow the homepage's tokens (--b-*). Website only
   (app/scripts/web-bundle.mjs WEBSITE_ONLY). */

/* the header's links: the guides, the one you're on marked */
.g .b-nav a[aria-current="page"]{background:var(--b-accent-soft);color:var(--b-ink)}

/* ---------- the top: where you are, the label, the title and the lead ---------- */
.g-top{padding-block:clamp(24px,4.5vw,56px) clamp(28px,4vw,48px);background-color:var(--b-bg);background-image:linear-gradient(180deg,var(--b-surface) 0%,var(--b-bg) 100%);
  border-bottom:1px solid var(--b-line)}
.g-crumbs ol{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:14px;color:var(--b-muted)}
.g-crumbs li{display:inline-flex;align-items:center;gap:8px}
.g-crumbs li + li::before{content:"/";color:var(--b-muted)}
.g-crumbs a{display:inline-flex;align-items:center;min-height:24px;color:var(--b-ink-2)}
.g-crumbs [aria-current="page"]{color:var(--b-ink)}
.g-top .b-label{display:block;margin-bottom:12px}
.b.g h1{font-size:clamp(34px,5.4vw,60px);line-height:1.04;max-width:16em}
.g-lead{margin-top:18px;font-size:clamp(17px,1.7vw,20px);line-height:1.6;color:var(--b-ink-2);max-width:38em}

/* ---------- the body: one readable column ---------- */
.g-body{padding-block:clamp(36px,5vw,64px) clamp(48px,6vw,80px)}
.g-col{max-width:760px}
.g-sec + .g-sec{margin-top:clamp(40px,5.5vw,64px)}
.b.g h2{font-size:clamp(26px,3.2vw,36px);line-height:1.12;margin-bottom:14px}
.b.g h3{margin:26px 0 8px}
.g-sec > p,.g-sec > ul > li,.g-sec > ol > li,.g-dl dd{font-size:17px;line-height:1.65;color:var(--b-ink-2)}
.g-sec > p + p{margin-top:12px}
.g-sec > .g-gap{margin-top:18px}
.g-sec > p a{display:inline-block}
.g-sec > p b,.g-sec > ul > li b,.g-sec > ol > li b,.g-dl dd b{color:var(--b-ink);font-weight:600}
.g-sec ul,.g-sec ol{margin:14px 0 0;padding-left:22px;display:grid;gap:8px}
.g-sec > ul > li::marker,.g-sec > ol > li::marker{color:var(--b-accent)}
.g-sec ul.b-learn-list,.g-sec ul.g-cards{padding-left:0}

/* the rules of thumb and key numbers: the homepage's quiet cards (its .b-learn-list), titled with h3 here */
.g .b-learn-list{margin-top:20px}
@media (min-width:1024px){.g .b-learn-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.g .b-learn-card h3{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--b-muted)}
.g .b-learn-card h3::before{content:"";width:14px;height:3px;border-radius:2px;background:var(--b-accent)}
.g .b-learn-card p:last-child{font-size:15.5px;line-height:1.55}

/* "Averages, not a promise" and the like: a quiet line with a rule beside it */
.g-note{margin-top:18px;padding:2px 0 2px 14px;border-left:3px solid var(--b-accent);font-size:15px;line-height:1.55;color:var(--b-muted)}
.g-sec > .g-note{font-size:15px;color:var(--b-muted)}

/* tables: a few short columns, readable at 320 px; scrolls inside its box if it ever has to */
.g-tbl-wrap{margin-top:18px;border:1px solid var(--b-line);border-radius:var(--b-r);background:var(--b-surface);overflow-x:auto}
.g-tbl{width:100%;border-collapse:collapse;font-size:15.5px;font-variant-numeric:tabular-nums}
.g-tbl caption{padding:12px clamp(12px,2.4vw,20px) 0;text-align:left;font-size:14px;color:var(--b-muted)}
.g-tbl th,.g-tbl td{padding:12px clamp(10px,2.4vw,20px);text-align:left;vertical-align:top;border-top:1px solid var(--b-line)}
.g-tbl thead th{border-top:0;background:var(--b-bg);font-family:var(--mono);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--b-muted)}
.g-tbl caption + thead th{border-top:1px solid var(--b-line)}
.g-tbl tbody th{font-weight:600;color:var(--b-ink)}
.g-tbl td{color:var(--b-ink-2)}
.g-tbl .g-r{text-align:right;white-space:nowrap}
.g-tbl .g-hi td,.g-tbl .g-hi th{background:var(--b-accent-soft);color:var(--b-ink)}

/* a worked example, hole by hole */
.g-holes{list-style:none;margin:18px 0 0;padding:0 !important;display:grid;gap:10px}
.g-holes li{padding:14px 16px;border:1px solid var(--b-line);border-radius:14px;background:var(--b-surface);font-size:16px !important}
.g-holes .g-hole{display:block;margin-bottom:2px;font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--b-accent)}

/* terms and what they mean */
.g-dl{margin:18px 0 0;display:grid;gap:10px}
.g-dl > div{padding:16px 18px;border:1px solid var(--b-line);border-radius:14px;background:var(--b-surface)}
.g-dl dt{font-weight:700;color:var(--b-ink);font-size:17px}
.g-dl dt a{display:inline-flex;align-items:center;min-height:28px}
.g-dl dd{margin:4px 0 0}
.g-dl .g-tag{margin-left:8px;vertical-align:2px}
.g-tag{display:inline-flex;padding:1px 8px;border-radius:6px;background:var(--b-accent-soft);color:var(--b-accent);font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.06em;line-height:1.6;text-transform:uppercase}

/* the plays-like calculator: the homepage's (.b-calc, js/home-caddie.js), on its dark panel */
.g-dark{margin-top:20px;padding:clamp(4px,1vw,8px);border-radius:26px;color:var(--b-screen-ink);
  background-color:var(--b-screen);background-image:radial-gradient(90% 70% at 100% 0%,rgba(143,179,227,.09),transparent 60%),linear-gradient(180deg,var(--b-screen-2),var(--b-screen))}
.g-dark :focus-visible{outline-color:var(--b-sky)}
.g-dark .b-calc{border-color:rgba(143,179,227,.18)}

/* the next step: the homepage's soft blue box */
.g-cta{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:clamp(22px,3vw,32px);border-radius:var(--b-r);background:var(--b-accent-soft)}
.b.g .g-cta h2{margin:0}
.g-cta p{color:var(--b-ink-2);max-width:40em}
.g-cta .b-cta{margin-top:4px}
.g-cta .g-soon{font-weight:600;color:var(--b-ink)}

/* more guides */
.g-cards{list-style:none;margin:18px 0 0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
@media (min-width:640px){.g-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.g-cards .b-card{gap:6px;padding:18px 20px}
.g-cards a{font-weight:600;font-size:17px;text-decoration:none}
.g-cards a:hover{text-decoration:underline}
.g-cards .b-card p{font-size:15px}

@media print{.g-dark{background:none;border:1px solid #C8CFD9}}
