/* ==========================================================================
   Flick Football — shared site styles
   Zero third-party requests: system fonts, inline SVG, no frameworks, no JS.
   ========================================================================== */

:root {
  --bg: #06101f;
  --bg-deep: #040a14;
  --card: #0e2039;
  --card-hi: #132a4a;
  --line: rgb(146 168 184 / 0.18);
  --line-strong: rgb(146 168 184 / 0.34);
  --text: #effbf4;
  --text-soft: #c6dbd1;
  --muted: #92a8b8;
  --lime: #a3e635;
  --green: #22c55e;
  --emerald: #10b981;
  --gold: #ffd166;
  --orange: #ff8a3d;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --violet: #a78bfa;
  --ink: #052e16;
  --grad: linear-gradient(135deg, #e7ff9e 0%, #4ade80 45%, #10b981 100%);
  --grad-title: linear-gradient(135deg, #ffffff 0%, #b7f7c8 38%, #34d399 68%, #22d3ee 100%);
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --gutter: 16px;
  --a: 163 230 53; /* accent colour channels, set by .accent-* classes */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Floodlights in the corners and the pitch's green glow underneath */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 38% at 0% 0%, rgb(255 250 225 / 0.12), transparent 70%),
    radial-gradient(ellipse 45% 38% at 100% 0%, rgb(255 250 225 / 0.12), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 115%, rgb(34 197 94 / 0.16), transparent 70%),
    radial-gradient(ellipse 60% 45% at 85% 45%, rgb(34 211 238 / 0.07), transparent 70%);
}

main { display: block; flex: 1 0 auto; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
a:hover { color: #67e8f9; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Gradient text, like the in-game logo (falls back to solid lime) */
.grad-text { color: var(--lime); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text {
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Accent colours (RGB channels) used by cards, icons and rules */
.accent-lime   { --a: 163 230 53; }
.accent-green  { --a: 34 197 94; }
.accent-gold   { --a: 255 209 102; }
.accent-orange { --a: 255 138 61; }
.accent-cyan   { --a: 34 211 238; }
.accent-pink   { --a: 244 114 182; }
.accent-violet { --a: 167 139 250; }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(6 16 31 / 0.6);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  border-radius: 12px;
}
.brand:hover { color: var(--text); }
.brand img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgb(34 197 94 / 0.4);
}

.site-nav { width: 100%; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.5rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: rgb(255 255 255 / 0.06); }
.site-nav a.nav-play { color: var(--lime); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgb(163 230 53 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(163 230 53 / 0.4);
}

@media (max-width: 359px) {
  .site-nav a { padding-inline: 0.35rem; font-size: 0.8125rem; }
}
@media (min-width: 720px) {
  .site-nav { width: auto; }
  .site-nav ul { gap: 0.35rem; }
  .site-nav a { padding: 0.5rem 0.85rem; font-size: 0.95rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn-icon { flex: none; width: 20px; height: 20px; }

.btn-primary {
  color: var(--ink);
  background: var(--grad);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 10px 30px -8px rgb(16 185 129 / 0.75),
    0 0 36px rgb(163 230 53 / 0.25);
}
.btn-primary:hover {
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 14px 36px -8px rgb(16 185 129 / 0.9),
    0 0 52px rgb(163 230 53 / 0.4);
}

.btn-secondary {
  color: var(--text);
  background: rgb(34 211 238 / 0.08);
  border-color: rgb(34 211 238 / 0.7);
  box-shadow: 0 0 28px rgb(34 211 238 / 0.2), inset 0 0 14px rgb(34 211 238 / 0.08);
}
.btn-secondary:hover {
  color: var(--text);
  background: rgb(34 211 238 / 0.16);
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgb(34 211 238 / 0.38), inset 0 0 14px rgb(34 211 238 / 0.12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 559px) {
  .cta-row .btn { flex: 1 1 auto; }
}

/* ---------- Hero ---------- */

.hero {
  overflow-x: clip;
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 8vw, 5.5rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.75rem;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 2rem; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border: 1px solid rgb(163 230 53 / 0.35);
  border-radius: 999px;
  background: rgb(163 230 53 / 0.08);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
}
.pill-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgb(163 230 53 / 0.2), 0 0 12px var(--lime);
}

.hero-title {
  margin: 0;
  font-size: clamp(3.1rem, 14vw, 6rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero-title-1,
.hero-title-2 {
  display: block;
  width: fit-content;
}
.hero-title-1 {
  font-size: 0.42em;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.62em;
  margin: 0 0 0.25em 0.08em;
  color: #d9f99d;
  text-shadow: 0 0 0.6em rgb(163 230 53 / 0.45);
}
.hero-title-2 {
  padding: 0.02em 0.1em 0.08em 0;
  filter: drop-shadow(0 0.05em 0 rgb(2 44 34 / 0.6)) drop-shadow(0 0 0.35em rgb(52 211 153 / 0.4));
}

.tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t-lime { color: var(--lime); }
.t-cyan { color: var(--cyan); }
.t-gold { color: var(--gold); }

.lead {
  max-width: 34rem;
  margin: 1rem 0 1.75rem;
  color: var(--text-soft);
  font-size: 1.075rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Pitch illustration, tilted like the stadium camera in the game */
.hero-art {
  position: relative;
  isolation: isolate;
  width: min(80%, 400px);
  margin-inline: auto;
  perspective: 1200px;
}
.hero-art::before {
  /* glow */
  content: "";
  position: absolute;
  inset: -6% -14%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(34 197 94 / 0.42), rgb(34 211 238 / 0.16) 50%, transparent 70%);
  filter: blur(30px);
}
.hero-art::after {
  /* ground shadow */
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -5%;
  height: 9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.65), transparent);
}
.pitch {
  display: block;
  width: 100%;
  height: auto;
  transform: rotateX(22deg);
  transform-origin: 50% 70%;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 8vw, 5rem); }

.section-alt {
  background: linear-gradient(180deg, transparent, rgb(14 32 57 / 0.6) 12%, rgb(14 32 57 / 0.6) 88%, transparent);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section-sub {
  margin: 0.9rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.075rem;
}
.sub-title {
  margin: 3rem 0 1.25rem;
  font-size: 1.3rem;
  font-weight: 900;
  text-align: center;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0) 60%), var(--card);
  box-shadow: 0 14px 34px -14px rgb(0 0 0 / 0.65);
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}
.card p { margin: 0; color: var(--muted); }

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgb(var(--a) / 0.24), rgb(var(--a) / 0.08));
  box-shadow: inset 0 0 0 1px rgb(var(--a) / 0.45), 0 0 26px rgb(var(--a) / 0.2);
  font-size: 1.65rem;
  line-height: 1;
}

/* A row of flag discs, as they look on the pitch */
.flag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: -1rem auto 2.25rem;
  padding: 0;
  list-style: none;
}
.flag-row svg {
  display: block;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 6px 8px rgb(0 0 0 / 0.5));
}

/* The free-to-play note under the features */
.free-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 0;
  border-color: rgb(var(--a) / 0.38);
}
.free-note .icon-tile { flex: none; margin: 0; }
.card.free-note span:last-child { color: var(--text-soft); }

/* Modes */
.mode-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .mode-grid { grid-template-columns: repeat(3, 1fr); }
}
.mode-card {
  border-color: rgb(var(--a) / 0.38);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(var(--a) / 0.16), transparent 60%),
    var(--card);
}
.mode-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.mode-card h3 span { font-size: 1.6rem; line-height: 1; }
.mode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.8rem;
  padding: 0;
  list-style: none;
}
.mode-meta li {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgb(var(--a) / 0.14);
  color: rgb(var(--a));
  font-size: 0.8rem;
  font-weight: 800;
}

/* Power-ups */
.power-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.power-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-color: rgb(var(--a) / 0.38);
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(var(--a) / 0.16), transparent 60%),
    var(--card);
}
.power-card h3 { color: rgb(var(--a)); font-size: 1.25rem; }
.power-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(var(--a) / 0.6), rgb(var(--a) / 0.12) 72%);
  box-shadow: 0 0 0 1px rgb(var(--a) / 0.55), 0 0 30px rgb(var(--a) / 0.45);
  font-size: 1.9rem;
  line-height: 1;
}
@media (min-width: 760px) {
  .power-grid { grid-template-columns: repeat(3, 1fr); }
  .power-card { flex-direction: column; }
}

/* How a match works */
.rule-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 760px) {
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
}
.rule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}
.rule h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.rule-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgb(var(--a) / 0.14);
  box-shadow: inset 0 0 0 1px rgb(var(--a) / 0.45);
  font-size: 1.3rem;
  line-height: 1;
}

/* Trick-shot points */
.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 1rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  text-align: center;
}
.points b {
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gold);
}
.points span { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
@media (max-width: 420px) {
  .points { grid-template-columns: repeat(2, 1fr); }
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 0 26px rgb(34 197 94 / 0.45);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

/* Closing call to action */
.cta-band {
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid rgb(163 230 53 / 0.35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgb(34 197 94 / 0.22), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgb(34 211 238 / 0.14), transparent 60%),
    var(--card);
  box-shadow: 0 0 70px -12px rgb(34 197 94 / 0.35);
  text-align: center;
}
.cta-band .section-sub { margin-bottom: 1.75rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Legal / text pages ---------- */

.legal { padding-block: clamp(2rem, 6vw, 3.5rem) clamp(3rem, 8vw, 5rem); }

.prose {
  max-width: 70ch;
  margin-inline: auto;
}
.prose p,
.prose li { color: var(--text-soft); }
.prose p { margin: 0 0 1rem; }
.prose ul,
.prose ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.prose li { margin: 0.4rem 0; }
.prose li::marker { color: var(--lime); }
.prose strong { color: var(--text); font-weight: 700; }
.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: clamp(1.3rem, 4.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  scroll-margin-top: 1.25rem;
}
.prose h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: 1.25rem;
}
.prose code {
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.08);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9em;
}
.prose .num { color: var(--lime); }
.nowrap { white-space: nowrap; }
.prose .eyebrow { margin: 0 0 0.6rem; color: var(--lime); }

.legal-head { margin-bottom: 1.75rem; }
.legal-head h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.2rem, 8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.prose .effective {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgb(163 230 53 / 0.32);
  border-radius: 999px;
  background: rgb(163 230 53 / 0.1);
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 700;
}
.prose .lede { font-size: 1.1rem; }

/* Tables in text pages (how-to-play) */
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  text-align: left;
  vertical-align: top;
}
.prose th { color: var(--text); font-weight: 800; }

.callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgb(163 230 53 / 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(163 230 53 / 0.1), rgb(34 211 238 / 0.07));
}
.callout-warn {
  border-color: rgb(255 209 102 / 0.45);
  background: linear-gradient(135deg, rgb(255 209 102 / 0.12), rgb(255 138 61 / 0.07));
}
.prose .callout h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}
.prose .callout ul,
.prose .callout p:last-child { margin-bottom: 0; }

.toc {
  margin: 1.75rem 0 0.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.prose .toc h2 {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prose .toc ol { margin: 0; }
.prose .toc li { margin: 0.3rem 0; break-inside: avoid; }
.toc a { color: var(--text-soft); text-decoration: none; }
.toc a:hover { color: var(--lime); text-decoration: underline; }
@media (min-width: 640px) {
  .toc ol { columns: 2; column-gap: 2.5rem; }
}

/* Delete-account page */
.app-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  margin: 0 0 2rem;
}
.app-facts div {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.app-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.app-facts dd {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.option { margin: 1.25rem 0; padding: clamp(1.25rem, 4vw, 1.75rem); }
.prose .option h2 { margin-top: 0.4rem; }
.prose .option > :last-child { margin-bottom: 0; }
.prose .tag {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgb(var(--a) / 0.45);
  border-radius: 999px;
  background: rgb(var(--a) / 0.12);
  color: rgb(var(--a));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose .step-list {
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.prose .step-list li {
  position: relative;
  min-height: 2rem;
  margin: 0.75rem 0;
  padding: 0.2rem 0 0 2.75rem;
  counter-increment: step;
}
.prose .step-list li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--grad);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.prose .check-list {
  padding: 0;
  list-style: none;
}
.prose .check-list li {
  position: relative;
  padding-left: 2.1rem;
}
.prose .check-list li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgb(163 230 53 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23a3e635' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
  box-shadow: inset 0 0 0 1px rgb(163 230 53 / 0.5);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgb(4 10 20 / 0.75);
  padding-block: 2.25rem 1.5rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}
.footer-tag {
  max-width: 30rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--text-soft);
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--lime); text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--lime); }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Motion (only when the user hasn't asked for less) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }

  .pill-dot { animation: ff-blink 2.4s ease-in-out infinite; }

  .pitch { animation: ff-float 7s ease-in-out infinite; }
  .hero-art::after { animation: ff-shadow 7s ease-in-out infinite; }

  .ff-aim { animation: ff-aim 0.9s linear infinite; }
  .ff-ball {
    transform-box: fill-box;
    transform-origin: center;
    animation: ff-spin 3s linear infinite;
  }
  .ff-led { animation: ff-blink 1.8s ease-in-out infinite; }
  .ff-led-2 { animation-delay: 0.9s; }
  .ff-power { animation: ff-pulse 1.6s ease-in-out infinite; }
}

@keyframes ff-float {
  0%, 100% { transform: rotateX(22deg) translateY(0); }
  50% { transform: rotateX(22deg) translateY(-12px); }
}
@keyframes ff-shadow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.7; }
}
@keyframes ff-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes ff-spin {
  to { transform: rotate(360deg); }
}
@keyframes ff-aim {
  to { stroke-dashoffset: -16; }
}
@keyframes ff-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Forced colours & print ---------- */

@media (forced-colors: active) {
  .grad-text { background: none; color: CanvasText; }
  .card, .callout, .toc, .app-facts div { border: 1px solid CanvasText; }
}

@media print {
  body::before,
  .skip-link,
  .site-nav,
  .footer-nav,
  .hero-art,
  .cta-row { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .grad-text { background: none !important; color: #000 !important; }
  .card, .callout, .toc, .app-facts div { background: none !important; box-shadow: none !important; border-color: #999 !important; }
  h1, h2, h3, .prose p, .prose li, .prose strong, .muted, .card p { color: #000 !important; }
  a { color: #000 !important; }
}
