/* ShotSink marketing site. Brand Kit v2 tokens, the same as the app
   (packages/app-native/src/ui/theme.ts). One file, no build. */

@font-face { font-family: 'Inter'; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700-latin.woff2) format('woff2'); }

:root {
  --pine: #123F35;
  --chalk: #F7F8F5;
  --white: #FFFFFF;
  --orange: #F47B3E;
  --ink: #172923;
  --muted: #52645D;
  --sage: #E5EDE6;
  --sunk: #ECEFEA;
  --border: #CBD5CF;
  --focus: #245E9B;
  --display: 'Barlow Condensed', 'Arial Narrow', Inter, Arial, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; }
.skip:focus { left: 16px; z-index: 10; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
@media (min-width: 768px) { .wrap { width: min(1200px, 100% - 64px); } }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.5px; margin: 0; }
h1 { font-size: clamp(64px, 11vw, 112px); line-height: 0.95; color: var(--pine); }
/* The home page's h1 says what it is first (audit D1.1), then the tagline, big. */
.h1-what { display: block; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-bottom: 8px; }
h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; color: var(--pine); margin-bottom: 18px; }
h3 { font-size: 26px; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 14px; }
.kicker { font: 600 13px/1.2 var(--body); letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.45; max-width: 34ch; margin: 22px 0 28px; }
.sub { font-size: 20px; max-width: 60ch; color: var(--ink); margin-bottom: 36px; }
.fine { font-size: 15px; color: var(--muted); margin-top: 14px; }

/* buttons: one primary per region; orange takes ink, never white */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px;
  background: var(--pine); color: var(--white); font: 700 17px/1 var(--body); text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #1c5547; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--pine); }
.btn-ghost:hover { background: var(--sage); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #f68b55; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(247, 248, 245, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav-main { display: none; gap: 28px; }
.nav-main a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-main a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 4px; }
.nav-end { display: flex; align-items: center; gap: 10px; }
/* Below 900 the menu folds into a button. A <details>, so it opens with no script. */
.menu, .menu:last-of-type { border: 0; padding: 0; }
.menu > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--pine); color: var(--pine); font-weight: 700; font-size: 15px; cursor: pointer; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after, .menu[open] > summary::after { content: none; }
.menu > summary:focus-visible { outline: 3px solid var(--focus, #245E9B); outline-offset: 2px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu[open] > summary { background: var(--pine); color: var(--white); }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 68px); overflow-y: auto; background: var(--chalk); border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(18, 63, 53, 0.14); padding: 4px 16px 20px; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: 17px; color: var(--ink); }
.menu-panel a:hover { color: var(--pine); }
.menu-sub { margin: 18px 0 2px; font: 600 12px/1.2 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.nav .btn-small { white-space: nowrap; }
/* A small phone: the logo keeps its 140px minimum (brand), so Menu shows its
   icon alone. The word stays for screen readers. */
@media (max-width: 420px) {
  .brand img { width: 140px; height: auto; }
  .nav-end { gap: 8px; }
  .menu > summary { width: 44px; padding: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav .btn-small { padding: 0 14px; }
}
@media (min-width: 900px) { .nav-main { display: flex; } .menu { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--orange); opacity: 0.6; pointer-events: none; display: none; }
/* The flight path flies behind the phones, never across the words. */
@media (min-width: 960px) { .flight { display: block; } }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 88px 0 104px; } }
.hero-art { position: relative; min-height: 420px; }
.hero-art .phone { position: absolute; width: min(270px, 50%); }
@media (min-width: 960px) { .hero-art { min-height: 520px; } }
.phone-front { left: 4%; top: 30px; transform: rotate(-4deg); z-index: 2; }
.phone-back { right: 2%; top: 0; transform: rotate(5deg); }
.sticker { position: absolute; z-index: 3; left: 46%; bottom: 18px; transform: rotate(-6deg); background: var(--orange); color: var(--ink);
  font: 700 22px/1 var(--display); padding: 12px 16px; border-radius: 10px; box-shadow: 0 10px 24px rgba(18, 63, 53, 0.2); }

/* a phone: the app's own screens, framed */
.phone { margin: 0; background: var(--ink); padding: 8px; border-radius: 34px; box-shadow: 0 24px 60px rgba(18, 63, 53, 0.25); }
.phone img { border-radius: 27px; width: 100%; height: auto; }

/* proof strip */
.strip { background: var(--pine); color: var(--white); }
.strip ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; gap: 12px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.strip li { font-size: 17px; color: var(--sage); }
.strip strong { color: var(--white); font-family: var(--display); font-size: 26px; margin-right: 6px; }

/* features */
.feature { padding: 88px 0; }
.feature-grid { display: grid; gap: 48px; align-items: center; }
.feature-grid > figure { width: min(320px, 80%); justify-self: center; }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
  .feature-grid.flip > :first-child { order: 2; }
}
.feature p { max-width: 54ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage);
  box-shadow: inset 0 0 0 6px var(--sage), inset 0 0 0 20px var(--pine); }
.feature-dark { background: var(--pine); color: var(--white); }
.feature-dark h2 { color: var(--white); }
.feature-dark .kicker { color: var(--sage); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.pair .phone:last-child { margin-top: 48px; }
.brag-quote { margin: 26px 0 0; font: 700 clamp(30px, 4vw, 44px)/1.05 var(--display); color: var(--orange); }

/* games */
.games { padding: 88px 0; background: var(--white); border-block: 1px solid var(--border); }
.game-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.game-grid li { background: var(--chalk); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.game-grid h3 { margin-bottom: 6px; }
.game-grid p { margin: 0; color: var(--muted); font-size: 16px; }

/* pricing */
.pricing { padding: 88px 0; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.plan-main { box-shadow: inset 0 0 0 2px var(--pine); }
.price { font: 700 44px/1 var(--display); color: var(--pine); margin: 10px 0 16px; }
.price span { font: 500 15px/1 var(--body); color: var(--muted); margin-left: 4px; }
.plan ul { padding-left: 18px; margin: 0; display: grid; gap: 8px; font-size: 16px; }
/* The plan to start with (audit D4.3): pine, the primary colour, never orange with white text. */
.plan-badge { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: var(--pine); color: var(--white); font-size: 13px; font-weight: 600; }
.pricing .anchor { margin: 20px 0 0; font-size: 17px; }
.pricing .trust { margin-top: 8px; }

/* /vs pages: one row a thing, the two apps side by side, readable at 375px */
.compare { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 16px; background: var(--white); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.compare thead th { font-weight: 700; color: var(--pine); }
.compare tbody th { font-weight: 600; width: 32%; }
@media (max-width: 560px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 8px 4px; } .compare tbody th { width: 24%; } }

/* faq */
.faq { padding: 72px 0 88px; }
details { border-top: 1px solid var(--border); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 19px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 700 28px/1 var(--display); color: var(--pine); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink); max-width: 64ch; }

/* closer + footer */
.closer { padding: 88px 0; background: var(--pine); text-align: center; }
.closer h2 { color: var(--white); margin-bottom: 28px; }
.foot { background: var(--ink); color: var(--sage); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.foot-links { display: grid; gap: 28px; padding: 40px 0 8px; grid-template-columns: 1fr; }
.foot-links ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.foot-links li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-weight: 500; }
.foot-links li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-h { margin: 0 0 6px !important; font: 600 12px/1.2 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--sage); opacity: 0.8; }
.foot-guides { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.foot-row { border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 768px) { .foot-links { grid-template-columns: 2fr 1fr 1fr; } }
.foot p { margin: 0; }
.foot a { color: var(--white); font-weight: 600; }

/* game guides (site/games/): a long read, one column, answer first */
.guide-head { padding: 40px 0 8px; }
.guide-head h1 { margin-bottom: 0; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--pine); font-weight: 600; text-underline-offset: 3px; }
.guide .lead { max-width: 60ch; }
.answer { background: var(--white); border: 1px solid var(--border); border-left: 6px solid var(--pine); border-radius: 12px; padding: 18px 22px; margin: 8px 0 12px; }
.answer-title { font: 600 13px/1.2 var(--body); letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.answer ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 17px; }
.prose { padding: 8px 0 56px; }
.prose section { margin-top: 48px; }
.prose h2 { font-size: clamp(34px, 5vw, 48px); }
.prose p, .prose li { max-width: 68ch; }
.steps { padding-left: 24px; display: grid; gap: 12px; margin: 0; }
.steps li::marker { font-weight: 700; color: var(--pine); }
.table-scroll { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.guide table { border-collapse: collapse; width: 100%; font-size: 16px; }
.guide caption { text-align: left; padding: 14px 16px 6px; font: 600 13px/1.2 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.guide th, .guide td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.guide thead th { border-top: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.guide tfoot th, .guide tfoot td { font-weight: 700; background: var(--sage); }
.guide .num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.guide table.example { min-width: 640px; }
.guide-shot { margin: 32px auto; width: min(280px, 78%); }
.guide-shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--muted); text-align: center; }
.guide .faq { padding: 0; }
.closer-sub { color: var(--sage); max-width: 52ch; margin: -12px auto 28px; }
.game-grid a { color: var(--pine); text-underline-offset: 3px; }
.game-grid h3 a { text-decoration: none; }
.game-grid h3 a:hover { text-decoration: underline; }
/* .wrap's wide-screen width outranks .narrow; a guide keeps a readable column. */
@media (min-width: 768px) { .guide .narrow { width: min(760px, 100% - 64px); } }

/* calculators (site/games/nassau): 48px targets, state in words as well as colour */
.calc { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 24px 20px; margin-top: 32px; }
@media (min-width: 768px) { .calc { padding: 32px; } }
.calc-form { display: grid; gap: 18px; }
.calc-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.calc-field { display: grid; gap: 6px; min-width: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.calc-field input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid #74857D; border-radius: 8px; font: 400 17px var(--body); color: var(--ink); background: var(--white); }
.calc-field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-field select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid #74857D; border-radius: 8px; font: 400 17px var(--body); color: var(--ink); background: var(--white); }
.calc-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc fieldset { border: 0; padding: 0; margin: 0; }
.calc legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.calc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-row legend { width: 100%; }
.calc-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 17px; }
.calc-check input { width: 22px; height: 22px; accent-color: var(--pine); }
/* Money is opt-in: the switch shows this panel, and [hidden] must beat its display. */
.calc-money { display: grid; gap: 18px; }
.calc [hidden] { display: none; }
.seg { position: relative; display: inline-flex; flex: 1; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; border: 1.5px solid var(--border);
  border-radius: 8px; background: var(--chalk); font: 600 15px/1.2 var(--body); color: var(--ink); text-align: center; overflow-wrap: anywhere; }
.seg input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--white); }
.seg input:checked + span::before { content: '✓ '; white-space: pre; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-holes { display: grid; gap: 18px; }
@media (min-width: 900px) { .calc-holes { grid-template-columns: 1fr 1fr; } }
.calc-nine { display: grid; gap: 6px; }
.calc-hole { display: flex; align-items: center; gap: 6px; }
.calc-hole-n { width: 28px; flex: none; font: 700 18px var(--display); color: var(--pine); text-align: right; }
.calc-result { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.calc-verdict { font: 700 clamp(28px, 4vw, 36px)/1.1 var(--display); color: var(--pine); margin-bottom: 14px; }
.calc-bets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.calc-bets li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--chalk); font-size: 16px; }
.calc-bets li.press { margin-left: 18px; background: var(--white); }
.bet-name { font-weight: 700; }
.bet-standing { grid-column: 1; color: var(--muted); }
.bet-money { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-note { color: var(--muted); }
.guide table.strip { min-width: 720px; text-align: center; }
.guide table.strip th, .guide table.strip td { text-align: center; padding: 10px 6px; }
.also { margin-top: 40px; font-weight: 600; }
.also a { color: var(--pine); }

/* the skins score grid: one row a hole, a column a player, the skin at the end */
.guide table.scores { min-width: 100%; }
.guide table.scores th, .guide table.scores td { padding: 4px 4px; text-align: center; vertical-align: middle; }
.guide table.scores thead th { padding: 10px 4px; overflow-wrap: anywhere; }
.guide table.scores thead th:first-child, .guide table.scores tbody th { white-space: nowrap; overflow-wrap: normal; width: 1%; }
.guide table.scores caption { text-transform: none; letter-spacing: 0; font-size: 14px; }
.guide table.scores input.score { width: 100%; min-width: 44px; max-width: 64px; min-height: 48px; padding: 0 4px; border: 1.5px solid #74857D; border-radius: 8px;
  font: 600 18px var(--body); text-align: center; color: var(--ink); background: var(--white); -moz-appearance: textfield; }
.guide table.scores input.score::-webkit-outer-spin-button, .guide table.scores input.score::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.guide table.scores input.score:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.guide .skin-cell { font-size: 14px; font-weight: 600; color: var(--pine); min-width: 72px; text-align: left; white-space: nowrap; }
/* the Bingo Bango Bongo grid: one row a hole, a picker for each award */
.guide table.scores select.award { width: 100%; min-width: 72px; min-height: 48px; padding: 0 6px; border: 1.5px solid #74857D; border-radius: 8px;
  font: 600 16px var(--body); color: var(--ink); background: var(--white); }
.guide table.scores select.award:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* the Stableford card: par and stroke index editable, points under each score */
.calc-field.player { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.calc-field.player label { display: grid; gap: 6px; min-width: 0; }
.calc-field.player input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 1.5px solid #74857D; border-radius: 8px; font: 400 17px var(--body); color: var(--ink); }
.calc-field.player input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-field.player .plays { grid-column: 1 / -1; font-weight: 700; color: var(--pine); }
.guide table.scores.sf td { vertical-align: top; }
.guide table.scores input.score.small { min-width: 40px; max-width: 48px; font-weight: 400; color: var(--muted); background: var(--chalk); }
.guide table.scores .pts { display: block; min-height: 18px; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--pine); white-space: nowrap; }
.guide table.scores .pts.zero { color: var(--muted); }
.guide table.scores tfoot td, .guide table.scores tfoot th { padding: 10px 4px; }

/* the scramble calculator: a card a team */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scr-teams { display: grid; gap: 14px; }
.scr-team { border: 1px solid var(--border) !important; border-radius: 12px; padding: 14px !important; background: var(--chalk); display: grid; gap: 10px; }
.scr-head { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.scr-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.scr-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.linkish { min-height: 48px; padding: 0; border: 0; background: none; font: 600 15px var(--body); color: var(--pine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.linkish[hidden], #add-team[hidden] { display: none; }
/* the Team Cup's result pickers: one a row on a phone, so the words fit */
.cup-matches { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.scr-working { margin: 0; font-size: 15px; font-weight: 600; color: var(--pine); }

/* organiser pages (site/for/): the home page's hero and features, with a
   longer headline and a breadcrumb */
.organiser h1 { font-size: clamp(52px, 8vw, 92px); }
.organiser .hero { padding-top: 40px; }
.closer-links { margin: 22px 0 0; color: var(--sage); font-size: 16px; }
.closer-links a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.for-links { margin-top: 26px; font-size: 16px; color: var(--muted); }
.for-links a { color: var(--pine); font-weight: 700; text-underline-offset: 3px; }

/* the quick pick on /games/for-3-players: every column on a phone, no sideways scroll */
.guide table.example.quick { min-width: 0; }
@media (max-width: 560px) { .guide table.quick { font-size: 14px; } .guide table.quick th, .guide table.quick td { padding-left: 6px; padding-right: 6px; } }

/* the Sixes example: a heading row per match, and its result */
.guide table.sixes tr.group th { text-align: left; background: var(--chalk); font-weight: 700; padding-top: 12px; }
.guide table.sixes tr.subtotal th, .guide table.sixes tr.subtotal td { font-weight: 700; }

/* Privacy and delete-account pages: long reading, plain. */
.legal { padding: 40px 0 88px; }
.legal h1 { font-size: clamp(48px, 8vw, 80px); }
.legal h2 { font-size: clamp(28px, 4vw, 36px); margin: 40px 0 12px; }
.legal h3 { font-size: 20px; margin: 22px 0 6px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a:not(.btn) { color: var(--pine); font-weight: 600; text-underline-offset: 3px; }
.legal .fine { color: var(--muted); font-size: 15px; }
