/* MatchDay Buddy — website styles. Pitch greens, lime and amber, chalk-white paper. */

:root {
  --pitch-deep: #0b3a28;
  --pitch: #0e4a33;
  --pitch-mid: #17694a;
  --lime: #b9f227;
  --amber: #f2b233;
  --chalk: #f6f5f0;
  --paper: #ffffff;
  --ink: #10231b;
  --muted: #56665e;
  --line: #e3e1d8;
  --away: #b3261e;
  --loss: #c8662b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 58, 40, 0.35);
  --shadow-soft: 0 8px 24px -12px rgba(11, 58, 40, 0.25);
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pitch-mid); }
a:hover { color: var(--pitch); }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0 0 0.4em; letter-spacing: 0.2px; }
h1 { font-size: clamp(44px, 7vw, 82px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--pitch-mid); margin-bottom: 12px;
}
.on-dark .eyebrow { color: var(--lime); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; }
.on-dark .lead { color: rgba(255, 255, 255, 0.82); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 178, 51, 0.8); }
.btn-amber:hover { color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }
.btn-green { background: var(--pitch); color: #fff; }
.btn-green:hover { color: #fff; background: var(--pitch-mid); }
.btn svg { width: 20px; height: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 58, 40, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand, .brand:hover { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: 0.3px; }
.brand b { color: var(--lime); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 9px 13px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-links .btn { padding: 10px 18px; margin-left: 8px; font-size: 15px; }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 10px;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--pitch-deep); padding: 10px 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 17px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 58, 40, 0.55) 0%, rgba(11, 58, 40, 0.88) 55%, var(--pitch-deep) 100%),
    url("../img/hero-pitch.jpg") center top / cover no-repeat;
  padding: 72px 0 0;
}
.hero::after { /* halfway-line chalk */
  content: ""; position: absolute; left: 50%; bottom: -220px; width: 440px; height: 440px;
  transform: translateX(-50%); border: 2px solid rgba(255, 255, 255, 0.07); border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: end; position: relative; z-index: 1; }
.hero-copy { padding-bottom: 80px; }
.hero h1 .accent { color: var(--lime); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.hero-visual .phone { width: 280px; transform: translateY(40px); }
.hero-visual .phone.back { position: absolute; width: 240px; left: 4%; bottom: 0; transform: translateY(90px) rotate(-7deg); opacity: 0.9; }
.hero-visual .watch { position: absolute; right: 2%; bottom: 120px; }

@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { padding-bottom: 20px; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .badges, .hero-points { justify-content: center; }
  .hero-visual { min-height: 440px; }
  .hero-visual .phone { width: 240px; }
  .hero-visual .phone.back { width: 200px; left: calc(50% - 230px); }
  .hero-visual .watch { right: calc(50% - 200px); bottom: 90px; }
}
@media (max-width: 520px) {
  .hero-visual .phone.back { display: none; }
  .hero-visual .watch { right: 4px; transform: scale(0.8); transform-origin: right bottom; }
}

/* Store badges (placeholders until the store links are live) */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #000; color: #fff; border-radius: 14px; padding: 9px 18px 9px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.28); min-width: 190px;
  transition: transform 0.15s ease;
}
.store-badge:hover { color: #fff; transform: translateY(-2px); }
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; }
.store-badge strong { display: block; font-size: 21px; line-height: 1.1; font-weight: 700; letter-spacing: -0.2px; }
.store-badge.soon { opacity: 0.75; }
.store-badge .pill {
  margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  background: var(--amber); color: var(--ink); border-radius: 999px; padding: 3px 8px;
}

/* Device frames */
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #2b3430, #0d1311);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; background: #0b0f0d; }
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 999px; background: #000; z-index: 2;
}
.phone.placeholder img { display: none; }
.phone.placeholder .ph {
  width: 100%; height: 100%; border-radius: 35px; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(90deg, #12553b 0 28px, #0f4a33 28px 56px); color: rgba(255, 255, 255, 0.8);
  font-weight: 700; padding: 20px;
}
.watch {
  width: 150px; aspect-ratio: 416 / 496; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #333c38, #0d1311);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.watch img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #000; }
.watch::after { /* digital crown */
  content: ""; position: absolute; right: -6px; top: 30%; width: 7px; height: 30px; border-radius: 4px; background: #2b3430;
}
.watch { position: relative; }

/* Sections */
section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.band-dark { background: var(--pitch-deep); color: #fff; }
.band-white { background: var(--paper); }

/* Trust strip */
.strip { background: var(--pitch-deep); padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, 0.78); font-weight: 600; font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip svg { width: 20px; height: 20px; color: var(--amber); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--lime);
}
.pillar:nth-child(2) { border-top-color: var(--amber); }
.pillar:nth-child(3) { border-top-color: var(--pitch-mid); }
.pillar .num { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--pitch); }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; background: var(--paper); border-radius: var(--radius);
  padding: 24px 22px 22px; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--c, var(--pitch)) 14%, white); color: var(--c, var(--pitch));
}
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { font-family: var(--body); font-size: 18px; font-weight: 800; margin-bottom: 6px; line-height: 1.25; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.5; }
.tile .tag {
  position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--amber); color: var(--ink);
}
.tile.wide { grid-column: span 2; background: var(--pitch); color: #fff; border: 0; }
.tile.wide p { color: rgba(255, 255, 255, 0.8); }
.tile.wide .ico { background: rgba(185, 242, 39, 0.16); color: var(--lime); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* Screenshot gallery */
.gallery {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 8px; }
.shot { flex: none; width: 250px; scroll-snap-align: center; text-align: center; }
.shot .phone { margin-bottom: 18px; }
.shot h3 { font-family: var(--body); font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.shot p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; }
.gallery-wrap { position: relative; }
.gallery-controls { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.gallery-controls button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.gallery-controls button:hover { background: rgba(255, 255, 255, 0.18); }
.gallery-controls svg { width: 20px; height: 20px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 22px 24px; box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; margin-bottom: 14px;
}
.step h3 { font-family: var(--body); font-size: 18px; font-weight: 800; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split (watch) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { display: flex; justify-content: center; gap: 24px; align-items: center; }
.split .visual .watch { width: 210px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--pitch-mid); margin-top: 2px; }
.on-dark .checks svg { color: var(--lime); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split .visual { order: -1; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan.best { background: var(--pitch); color: #fff; border: 0; box-shadow: var(--shadow); position: relative; }
.plan.best::before {
  content: "Best value"; position: absolute; top: -13px; left: 26px; background: var(--amber); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-family: var(--body); font-size: 19px; font-weight: 800; margin: 0; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; margin: 14px 0 2px; }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan.best .per { color: rgba(255, 255, 255, 0.75); }
.plan ul { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--pitch-mid); flex: none; margin-top: 3px; }
.plan.best li svg { color: var(--lime); }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Promise band */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise div { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 26px; }
.promise svg { width: 30px; height: 30px; color: var(--lime); margin-bottom: 12px; }
.promise h3 { font-family: var(--body); font-size: 18px; font-weight: 800; }
.promise p { color: rgba(255, 255, 255, 0.75); font-size: 15px; margin: 0; }
@media (max-width: 820px) { .promise { grid-template-columns: 1fr; } }

/* Download */
.download {
  color: #fff; position: relative;
  background: linear-gradient(180deg, rgba(11, 58, 40, 0.86), rgba(11, 58, 40, 0.92)), url("../img/grass-line.jpg") center / cover no-repeat;
}
.download-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.qr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.qr-card.soon { opacity: 0.86; }
.qr {
  width: 100%; aspect-ratio: 1; border-radius: 14px; margin-bottom: 12px; position: relative; overflow: hidden;
  background:
    conic-gradient(from 90deg at 18% 18%, transparent 0 0) ,
    var(--chalk);
  display: grid; place-items: center;
}
.qr svg.pattern { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); opacity: 0.16; }
.qr .qr-label {
  position: relative; z-index: 1; background: var(--paper); border-radius: 12px; padding: 8px 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--pitch); box-shadow: var(--shadow-soft);
}
.qr-card strong { display: block; font-size: 16px; }
.qr-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .download-grid { grid-template-columns: 1fr; } }

/* FAQ / accordion */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details {
  background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line);
  padding: 0 22px; box-shadow: 0 2px 8px -6px rgba(11, 58, 40, 0.3);
}
details[open] { box-shadow: var(--shadow-soft); }
summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { /* a drawn plus (rotates into an ×), so it's always perfectly centred */
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--pitch), var(--pitch)) center / 12px 2px no-repeat,
    linear-gradient(var(--pitch), var(--pitch)) center / 2px 12px no-repeat,
    var(--chalk);
  transition: transform 0.2s ease;
}
details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--amber);
}
summary:focus { outline: none; }
summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 8px; }
details > div { padding: 0 0 20px; color: var(--muted); }
details > div p:last-child { margin: 0; }

/* Page hero (inner pages) */
.page-hero {
  color: #fff; padding: 64px 0 56px;
  background:
    radial-gradient(1200px 300px at 80% -10%, rgba(185, 242, 39, 0.16), transparent 60%),
    linear-gradient(160deg, var(--pitch) 0%, var(--pitch-deep) 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border: 2px solid rgba(255, 255, 255, 0.08); border-radius: 50%;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 66px); }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); }

/* Help */
.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.help-nav { position: sticky; top: 92px; background: var(--paper); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-soft); }
.help-nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 10px; }
.help-nav a:hover { background: var(--chalk); }
.help-nav .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--pitch)); flex: none; }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 999px; padding: 6px 8px 6px 18px;
  box-shadow: var(--shadow); max-width: 560px; margin-top: 26px;
}
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 10px 0; background: transparent; color: var(--ink); min-width: 0; }
.quickstart { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.quickstart .qs { background: var(--paper); border-radius: var(--radius-sm); padding: 18px 16px; box-shadow: var(--shadow-soft); border-top: 4px solid var(--lime); }
.quickstart .qs b { display: block; font-family: var(--display); font-size: 30px; color: var(--pitch); line-height: 1; margin-bottom: 6px; }
.quickstart .qs span { font-size: 14px; color: var(--muted); display: block; line-height: 1.45; }
.quickstart .qs strong { display: block; font-size: 15px; margin-bottom: 4px; }
.topic { background: var(--paper); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-soft); margin-bottom: 18px; scroll-margin-top: 92px; }
.topic-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.topic-head .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, white); color: var(--c); flex: none; }
.topic-head .ico svg { width: 24px; height: 24px; }
.topic-head h2 { font-size: 34px; margin: 0; }
.topic > p.summary { color: var(--muted); margin-bottom: 18px; }
.topic h3 { font-family: var(--body); font-size: 17px; font-weight: 800; margin: 20px 0 8px; }
.topic ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.topic li::marker { color: var(--pitch-mid); font-weight: 800; }
.tip { margin-top: 12px; background: #fdf6e3; border-left: 4px solid var(--amber); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.tip::before { content: "Tip  "; font-weight: 800; color: #9a6a00; }
.pro { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; background: var(--amber); color: var(--ink); padding: 2px 7px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.no-results { display: none; background: var(--paper); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
@media (max-width: 1000px) { .quickstart { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 10px; }
  .help-nav a { flex: none; background: var(--chalk); }
}
@media (max-width: 520px) { .quickstart { grid-template-columns: 1fr; } .topic { padding: 22px 20px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 28px; align-items: start; }
.form-card { background: var(--paper); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; border: 0; padding: 0; }
.types legend { font-weight: 800; margin-bottom: 10px; font-size: 15px; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type label {
  display: flex; flex-direction: column; gap: 8px; height: 100%; cursor: pointer; padding: 16px 14px; border-radius: 16px;
  border: 2px solid var(--line); background: var(--chalk); transition: border-color 0.15s ease, background 0.15s ease;
}
.type label svg { width: 26px; height: 26px; color: var(--pitch-mid); }
.type label strong { font-size: 15px; }
.type label span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.type input:checked + label { border-color: var(--pitch-mid); background: #eaf5ee; }
.type input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--chalk);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pitch-mid); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.issue-only { display: none; }
.form-card.is-issue .issue-only { display: grid; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-status { display: none; margin-top: 16px; background: #eaf5ee; border: 1px solid #b7dcc4; color: var(--pitch); border-radius: 12px; padding: 14px; font-weight: 600; }
.side-card { background: var(--pitch); color: #fff; border-radius: var(--radius); padding: 26px; margin-bottom: 16px; }
.side-card h3 { font-family: var(--body); font-size: 18px; font-weight: 800; }
.side-card p, .side-card li { color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.side-card a { color: var(--lime); font-weight: 700; }
.side-card.light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.side-card.light p, .side-card.light li { color: var(--muted); }
.side-card.light a { color: var(--pitch-mid); }
.side-card ul { padding-left: 18px; margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 92px; background: var(--paper); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-soft); font-size: 14px; }
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--pitch-mid); text-decoration: underline; }
.legal { background: var(--paper); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-soft); }
.legal h2 { font-family: var(--body); font-size: 22px; font-weight: 800; margin: 34px 0 10px; scroll-margin-top: 92px; }
.legal h2:first-of-type { margin-top: 10px; }
.legal h3 { font-family: var(--body); font-size: 17px; font-weight: 800; margin: 20px 0 6px; }
.legal p, .legal li { color: #2d3c35; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--chalk); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.summary-box { background: #eaf5ee; border: 1px solid #b7dcc4; border-radius: 16px; padding: 18px 20px; margin-bottom: 8px; }
.summary-box strong { color: var(--pitch); }
.summary-box ul { margin: 8px 0 0; }
.updated { color: rgba(255, 255, 255, 0.7); font-size: 15px; margin-top: 10px; }
.placeholder-note { background: #fff5e0; border: 1px dashed var(--amber); border-radius: 8px; padding: 1px 6px; font-size: 0.92em; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .legal { padding: 26px 22px; }
  .legal table { display: block; overflow-x: auto; }
}

/* Footer */
.site-footer { background: #07261a; color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand p { margin: 14px 0 0; max-width: 320px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p { margin: 0; max-width: 760px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .store-badge { transition: none; }
}

/* Equal-width store badges when they stack on phones */
@media (max-width: 960px) { .store-badge { min-width: 250px; } }

/* Examples: match report and season report in paper frames */
.examples { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.paper-stack { position: relative; min-height: 560px; }
.paper {
  position: absolute; width: 62%; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(11, 58, 40, 0.55), 0 0 0 1px rgba(11, 58, 40, 0.06);
  transition: transform 0.3s ease;
}
.paper img { width: 100%; }
.paper.p1 { left: 0; top: 30px; transform: rotate(-5deg); z-index: 1; }
.paper.p2 { left: 20%; top: 0; transform: rotate(1deg); z-index: 3; }
.paper.p3 { right: 0; top: 50px; transform: rotate(6deg); z-index: 2; }
.paper-stack:hover .paper.p1 { transform: rotate(-8deg) translateX(-10px); }
.paper-stack:hover .paper.p3 { transform: rotate(9deg) translateX(10px); }
.paper .label {
  position: absolute; left: 10px; bottom: 10px; background: var(--pitch); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 10px; border-radius: 999px; letter-spacing: 0.3px;
}
.report-card {
  background: var(--paper); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-soft);
  border-left: 5px solid var(--lime); margin-top: 22px;
}
.report-card .meta { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pitch-mid); margin-bottom: 8px; }
.report-card p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.65; color: #2d3c35; margin: 0 0 10px; }
.report-card p:last-child { margin: 0; }
@media (max-width: 900px) {
  .examples { grid-template-columns: 1fr; }
  .paper-stack { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 560px; margin: 0 auto; width: 100%; }
}
figure.shot, figure.paper { margin: 0; }

/* Cookie choice (only shown when Google Analytics is set up) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(11, 58, 40, 0.08);
  display: flex; gap: 18px; align-items: center;
}
.cookie-banner p { margin: 0; font-size: 15px; color: var(--muted); }
.cookie-banner p strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 11px 18px; font-size: 15px; }
.btn-ghost-dark { background: var(--chalk); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost-dark:hover { color: var(--ink); background: #ecebe4; }
@media (max-width: 620px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; justify-content: center; } }
