/* ScoreFox landing page – dark-first like the app, everything self-hosted (no external requests). */
@font-face { font-family: "Barlow"; src: url("fonts/barlow_regular.woff2") format("woff2"), url("fonts/barlow_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow_semibold.woff2") format("woff2"), url("fonts/barlow_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow_bold.woff2") format("woff2"), url("fonts/barlow_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow_condensed_bold.woff2") format("woff2"), url("fonts/barlow_condensed_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B0E13;
  --bg2: #10141B;
  --card: #151A22;
  --card2: #1B212B;
  --line: rgba(255, 255, 255, .08);
  --text: #F2F5F9;
  --muted: #9AA4B2;
  --orange: #FF7A1A;
  --orange2: #FF9A3D;
  --blue: #3D7EFF;
  --green: #2ECC71;
  --radius: 26px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 "Barlow", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cond { font-family: var(--cond); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-family: var(--cond); font-size: clamp(38px, 6vw, 64px); text-transform: uppercase; }
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--orange); }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 60ch; }
.accent { color: var(--orange); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 14, 19, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
/* Without JS or if the scroll event is missed (seen once on 2026-11-16): the scroll position itself darkens the nav. */
@supports (animation-timeline: scroll()) {
  @keyframes nav-solid { to { background: rgba(11, 14, 19, .82); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); } }
  .nav { animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 12px; }
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--cond); font-size: 26px; letter-spacing: .01em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--orange); color: #1A0E04 !important; padding: 9px 18px; border-radius: 999px; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* Hero */
.hero { position: relative; padding: 130px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255, 122, 26, .28), transparent 62%); filter: blur(10px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(61, 126, 255, .18), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (min-width: 1200px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-family: var(--cond); font-size: clamp(58px, 10vw, 118px); line-height: .92; text-transform: uppercase; letter-spacing: -.005em; margin: 18px 0 22px; }
.hero h1 .accent { display: block; background: linear-gradient(90deg, var(--orange), var(--orange2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.play-badge img { height: 62px; width: auto; }
.soon-badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); font-weight: 700; }
.soon-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.soon-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 122, 26, .2); animation: pulse 1.8s infinite; }
html[data-released="false"] .when-released { display: none !important; }
html[data-released="true"] .when-soon { display: none !important; }
/* iOS launch switch (site.js IOS_RELEASED): .ios-on only once the app is in the App Store, .ios-off until then.
   Without the attribute (no JS) the page shows the pre-launch state. */
html:not([data-ios-released="true"]) .ios-on { display: none !important; }
html[data-ios-released="true"] .ios-off { display: none !important; }
/* Apple's badge artwork unchanged, as high as the Play badge and first in the row (Apple marketing guidelines). */
.appstore-badge img { display: block; height: 62px; width: auto; }
.platforms { margin: 16px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.trust span::before { content: "✓ " / ""; color: var(--green); font-weight: 700; }

/* Phone + live demo scoreboard */
.stage { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: min(380px, 78vw); aspect-ratio: 9 / 19; container-type: inline-size; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2A303A, #0E1116);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 90px rgba(255, 122, 26, .12); transform: rotate(-2deg); }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #0E1117; display: flex; flex-direction: column; }
.sb-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.sb-sport { font-family: var(--cond); font-size: 20px; color: var(--muted); line-height: 1.1; }
.sb-sport b { display: block; color: var(--orange); font-size: 16px; }
.mic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(46, 204, 113, .15); box-shadow: 0 0 0 2px var(--green) inset; color: var(--green); }
.mic.listening { animation: ring 1.2s infinite; }
.sb-teams { flex: 1; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.sb-team { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 6px 18px; text-align: center; border-top: 4px solid var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); }
.sb-team + .sb-team { border-left: 1px solid var(--line); }
.sb-name { font-family: var(--cond); font-size: 22px; }
.sb-serve { font-size: 13px; color: var(--muted); min-height: 20px; }
.sb-serve.on::before { content: "● "; color: var(--c); }
.sb-points { font-family: var(--cond); font-size: clamp(64px, 27cqw, 104px); line-height: 1; margin-top: auto; transition: transform .25s; }
.sb-points.pop { animation: pop .45s ease; }
.sb-games { font-family: var(--cond); font-size: 34px; color: var(--c); margin-top: 10px; }
.sb-games small { font-family: "Barlow", sans-serif; font-size: 12px; color: var(--muted); margin-left: 4px; }
.sb-sets { display: flex; gap: 5px; margin: 10px 0 auto; }
.sb-sets i { width: 9px; height: 9px; border-radius: 50%; background: #26303E; }
.sb-sets i.won { background: var(--c); }
.sb-badge { position: absolute; top: 8px; left: 50%; transform: translateX(-50%) scale(.6); opacity: 0; background: var(--blue); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; transition: .25s; white-space: nowrap; }
.sb-badge.show { opacity: 1; transform: translateX(-50%) scale(1); }
.sb-say { margin: 0 14px 18px; min-height: 46px; border-radius: 16px; background: var(--card2); display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 15px; color: var(--muted); }
.sb-say b { color: var(--text); font-weight: 600; }
.bubble { position: absolute; z-index: 3; padding: 12px 20px; border-radius: 22px; font-family: var(--cond); font-size: 30px; text-transform: uppercase; background: var(--text); color: #0E1117;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(10px) scale(.9); transition: .3s ease; pointer-events: none; }
.bubble.show { opacity: 1; transform: none; }
.bubble.left { left: -6%; top: 26%; border-bottom-right-radius: 6px; }
.bubble.right { right: -6%; top: 26%; border-bottom-left-radius: 6px; }
.demo-controls { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.demo-controls button { font: 700 16px "Barlow", sans-serif; color: var(--text); background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.demo-controls button:hover { border-color: rgba(255, 255, 255, .25); }
.demo-controls button.sound[aria-pressed="true"] { background: var(--orange); color: #1A0E04; border-color: transparent; }
.demo-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Sections */
section { position: relative; padding: 96px 0; }
.section-head { margin-bottom: 44px; }
.section-head .lead { margin: 14px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
.say-chips .chip-watch { background: rgba(255, 122, 26, .16); color: var(--orange); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: counter(step); position: absolute; right: 18px; top: -14px; font-family: var(--cond); font-size: 140px; color: rgba(255, 255, 255, .04); }
.step .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 122, 26, .14); color: var(--orange); margin-bottom: 18px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.say-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.say-chips span { font-family: var(--cond); font-size: 19px; background: var(--card2); border-radius: 12px; padding: 4px 12px; }

/* Sports */
/* 9 tiles since Beach Tennis: 3 × 3; with two columns the last (odd) tile spans the row */
.sports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .sports { grid-template-columns: repeat(2, 1fr); } .sports > .sport:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.sport { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; transition: transform .2s, border-color .2s; }
.sport:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.sport .em { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 14px; }
.sport h3 { font-family: var(--cond); font-size: 28px; text-transform: uppercase; }
.sport p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; position: relative; }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
@media (max-width: 960px) { .tile, .tile.w3, .tile.w4 { grid-column: span 3; } }
@media (max-width: 640px) { .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 6; } }
.tile h3 { font-size: 24px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); }
.tile .big { font-family: var(--cond); font-size: 64px; line-height: 1; color: var(--orange); }
.tile.glow { background: radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 26, .22), transparent 55%), var(--card); }
.tile.w4.glow { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: end; }
.tile.w4.glow h3, .tile.w4.glow p { grid-column: 1; }
.tile .shot { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin: 0 -28px -28px 0; width: 100%; max-width: 280px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: 50% 0; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .4); }
@media (max-width: 640px) { .tile.w4.glow { grid-template-columns: 1fr; } .tile .shot { grid-column: 1; grid-row: auto; justify-self: center; max-width: 220px; margin: 18px 0 -28px; } }
.tile ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.tile li { padding: 3px 0; }
.tile li::before { content: "→ " / ""; color: var(--orange); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 10px 0; }
.gallery figure { margin: 0; }
@media (max-width: 1100px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 26px; margin: 0 -20px; scrollbar-width: thin; }
  .gallery figure { flex: 0 0 auto; width: min(300px, 72vw); scroll-snap-align: center; }
}
.gallery img { width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Videos (enabled later) */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.videos video { width: 100%; border-radius: var(--radius); background: #000; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.watch-section { background: linear-gradient(180deg, transparent, rgba(255, 122, 26, .05) 50%, transparent); }
.watch-stage { position: relative; display: grid; place-items: center; }
.watch-shot { width: min(380px, 70vw); height: auto; border-radius: 50%; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 110px rgba(255, 122, 26, .14); }
.watch-tag { position: absolute; right: 8%; bottom: 10%; font-family: var(--cond); font-size: 22px; text-transform: uppercase; background: var(--text); color: #0E1117; padding: 8px 16px; border-radius: 18px 18px 18px 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
@media (max-width: 960px) { .watch-stage { order: 2; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓" / ""; flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(46, 204, 113, .15); color: var(--green); font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 30px; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Final CTA */
.final { text-align: center; }
.final .box { border-radius: 36px; padding: 70px 24px; background: radial-gradient(100% 140% at 50% 0%, rgba(255, 122, 26, .35), transparent 60%), var(--card); border: 1px solid var(--line); }
.final img.icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(255, 122, 26, .35); }
.final .cta-row { justify-content: center; margin-top: 30px; }

/* Footer */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes ring { 0% { box-shadow: 0 0 0 2px var(--green) inset, 0 0 0 0 rgba(46, 204, 113, .5); } 100% { box-shadow: 0 0 0 2px var(--green) inset, 0 0 0 16px rgba(46, 204, 113, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Sport icons from the app (SVG used as mask, coloured per sport) */
.sport .em i { width: 26px; height: 26px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* Language menu: <details> with the current code as summary, works without JavaScript (site.js only closes it on an
   outside click / Escape). A new language = one more <a> in .lang-list on every landing page. */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); }
.lang-menu summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; display: grid; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); z-index: 60; }
.lang-list a { padding: 8px 12px; border-radius: 10px; font-size: 15px; }
.lang-list a:hover, .lang-list a[aria-current="page"] { background: var(--card2); color: var(--text); }
@media (max-width: 420px) { .nav-links { gap: 10px; } .nav-cta { padding: 9px 12px; } .lang-menu summary { padding: 5px 10px; } }

/* Pro marking inside feature tiles */
.pro-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1A0E04; background: var(--orange); border-radius: 6px; padding: 1px 7px; vertical-align: 2px; }

/* Free & Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan.pro { background: radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 26, .22), transparent 55%), var(--card); border-color: rgba(255, 122, 26, .35); }
.plan h3 { font-family: var(--cond); font-size: 32px; text-transform: uppercase; }
.plan .price { font-family: var(--cond); font-size: 54px; line-height: 1; margin: 14px 0 0; color: var(--orange); }
.plan .price small { font-family: "Barlow", sans-serif; font-size: 16px; color: var(--muted); margin-left: 8px; }
.plan .price-alt { margin: 8px 0 0; color: var(--muted); }
.plan .price-alt b { color: var(--text); }
.plan .checks { margin-top: 20px; }
.plan-note { margin: 22px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--card2); color: var(--muted); font-size: 16px; }
.plan-note b { color: var(--text); }
.fineprint { color: var(--muted); font-size: 14px; max-width: 90ch; margin: 22px 0 0; }
.fineprint a, .faq details p a { color: var(--orange); }

/* About (prepared, enabled once text and photo exist) */
.about { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.about-photo { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; border: 4px solid var(--card2); box-shadow: 0 0 0 2px var(--orange); }
.about .lead { margin: 14px 0 0; }
.about a { color: var(--orange); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; justify-items: start; } .about-photo { width: 160px; height: 160px; } }

/* Hero video slot (prepared, enabled once the clip exists) */
.hero-video { margin: 26px 0 0; max-width: 300px; }
.hero-video video { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #000; }
.hero-video figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

.final-lead { margin: 16px auto 0; }

/* Sport rules pages (G14/D36: /padel-regeln/, /en/padel-rules/ …) – long-form text, same look as the landing page.
   Everything below is new and scoped to .rules-page or new class names; nothing above changes. */
.rules-page main { padding-top: 68px; }
.rules-hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.rules-hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; background: radial-gradient(closest-side, rgba(255, 122, 26, .16), transparent); pointer-events: none; }
.rules-hero .wrap { position: relative; }
.rules-hero h1 { font-family: var(--cond); font-size: clamp(42px, 7.5vw, 84px); line-height: .95; text-transform: uppercase; margin: 14px 0 20px; max-width: 18ch; overflow-wrap: break-word; hyphens: auto; }
.rules-hero .lead { margin: 0 0 26px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }
.sport-chip { display: inline-flex; align-items: center; gap: 10px; }
.sport-chip i { width: 22px; height: 22px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.facts dd { margin: 4px 0 0; color: var(--text); font-size: 17px; line-height: 1.4; }
.rules-section { padding: 48px 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 16px; overflow-wrap: break-word; hyphens: auto; }
.prose h3 { font-size: 21px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 0 0 14px; }
.prose strong, .prose b { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { padding: 3px 0; }
.prose a { color: var(--orange); }
.score-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; }
.prose .score-ladder { padding: 0; }
.score-ladder li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; color: var(--muted); font-size: 15px; }
.score-ladder b { display: block; font-family: var(--cond); font-size: 34px; line-height: 1.05; color: var(--text); }
.callout { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 26, .16), transparent 60%), var(--card); border: 1px solid rgba(255, 122, 26, .3); border-radius: 20px; padding: 20px 22px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.prose .faq { max-width: none; }
.app-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.app-steps .step { padding: 24px; }
.app-steps .step h3 { font-size: 21px; margin: 0 0 8px; }
.say-line { font-family: var(--cond); font-size: 22px; color: var(--text); }
.sport-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.sport-links a { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-weight: 700; transition: border-color .2s; }
.sport-links a:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.sport-links i { flex: 0 0 24px; height: 24px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.updated { font-size: 14px; color: var(--muted); }
/* Link from a landing-page sport tile to its rules page, and the rules links in the footer */
.sport-more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--orange); text-decoration: none; }
.sport-more:hover { text-decoration: underline; }
.foot-rules { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-rules b { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .rules-section { padding: 36px 0; } .rules-hero { padding-top: 36px; } }
