/* Yakın Direk — yakindirek.app
   Light theme, no framework. Colours follow the app (YakinDirek/Core/DesignSystem/Theme.swift). */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JB Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JB Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ink: #0E1522;
  --ink-2: #3D4A5C;
  --muted: #69727F;
  --hairline: #E6E9EE;
  --divider: #EEF0F3;
  --fill: #F3F5F7;
  --surface: #FFFFFF;
  --bg: #FFFFFF;
  --wash: #F4F9EA;
  --lime: #7CC800;
  --lime-bright: #C6F432;
  --brand: #3A8F00;
  --lime-text: #3F7A00;
  --live: #0E9F4F;
  --live-on-dark: #58D662;
  --ht: #E38B00;
  --red: #E5383B;
  --yellow: #F5C518;
  --slate: #4A5568;

  --font: "Jakarta", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JB Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --gutter: 20px;
  --max: 1180px;
  --shadow-sm: 0 1px 2px rgba(14, 21, 34, .06), 0 1px 1px rgba(14, 21, 34, .04);
  --shadow: 0 1px 2px rgba(14, 21, 34, .05), 0 12px 32px -12px rgba(14, 21, 34, .18);
  --shadow-lg: 0 2px 4px rgba(14, 21, 34, .04), 0 40px 80px -24px rgba(14, 21, 34, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime-bright); color: var(--ink); }

/* ---------- Language toggle: both languages are in the document; one is hidden. ---------- */
:root:not([data-lang="en"]) body [lang="en"],
:root[data-lang="en"] body [lang="tr"] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mark { width: 38px; height: 38px; color: var(--ink); }
.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.wordmark b { color: var(--brand); font-weight: 800; }
.nav-links { display: none; list-style: none; gap: 4px; margin-left: 12px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none;
  color: var(--ink-2); font-weight: 600; font-size: 15px;
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--fill); color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--fill);
  border: 1px solid var(--hairline);
}
.lang-switch button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-width: 40px; height: 32px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.lang-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-switch button:hover { color: var(--ink); }

.store-badge.header-cta { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .store-badge.header-cta { display: inline-flex; }
}

/* ---------- Buttons & badge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1b2436; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: #cfd5dd; background: var(--fill); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 20px 0 14px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
  transition: transform .15s var(--ease), box-shadow .15s ease;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.store-badge .mark { width: 32px; height: 32px; color: #fff; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 11.5px; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.store-badge strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.store-badge.is-small { height: 44px; padding: 0 14px 0 10px; border-radius: 12px; gap: 9px; }
.store-badge.is-small .mark { width: 24px; height: 24px; }
.store-badge.is-small small { font-size: 10px; }
.store-badge.is-small strong { font-size: 14.5px; }

/* ---------- Generic section ---------- */
.section { padding: 88px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #FAFBFC 0%, #F6F8FA 100%); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lime-text);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--lime); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(32px, 5vw, 52px); margin-top: 14px; }
.section-lead { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.hl { color: var(--brand); }
.mono { font-family: var(--mono); }

/* ---------- Logo mark (geometry from AnimatedLogoMark.swift, 1024 units) ---------- */
.mark { overflow: visible; }
.mark-post { stroke-dasharray: 1 1.2; stroke-dashoffset: 0; }
.mark-line, .mark-ball, .mark-squash { transform-box: fill-box; }
.mark-line { transform-origin: right center; }
.mark-ball, .mark-squash { transform-origin: center; }

.mark.is-playing .mark-post { animation: mark-post .55s cubic-bezier(.2, .7, .3, 1) both; }
.mark.is-playing .mark-ball { animation: mark-ball .78s cubic-bezier(.3, 1.28, .5, 1) .25s both; }
.mark.is-playing .mark-line { animation: mark-line .35s ease-out both; }
.mark.is-playing .l1 { animation-delay: .45s; }
.mark.is-playing .l2 { animation-delay: .52s; }
.mark.is-playing .l3 { animation-delay: .59s; }
.mark.is-playing .mark-squash { animation: mark-squash .36s ease-out .78s both; }
.mark.is-idle .mark-ball { animation: mark-ball .78s cubic-bezier(.3, 1.28, .5, 1) .25s both, mark-sway 2.4s ease-in-out 1.6s infinite; }
.mark.is-idle:not(.is-playing) .mark-ball { animation: mark-sway 2.4s ease-in-out infinite; }
.mark.is-kick .mark-ball { animation: mark-kick .55s ease-in-out both; }
.mark.is-kick .mark-line { animation: mark-line-kick .5s ease-out both; }
.mark.is-kick .l2 { animation-delay: .06s; }
.mark.is-kick .l3 { animation-delay: .12s; }
.mark.is-kick .mark-squash { animation: mark-squash .36s ease-out .45s both; }

@keyframes mark-post { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }
@keyframes mark-ball { from { transform: translateX(-420px) rotate(-540deg); opacity: 0; } 12% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes mark-line { from { transform: scaleX(0); opacity: 0; } 1% { opacity: 1; } to { transform: scaleX(1); opacity: 1; } }
@keyframes mark-squash { 0% { transform: scale(1); } 35% { transform: scale(.9, .94); } 100% { transform: scale(1); } }
@keyframes mark-sway { 0%, 100% { transform: rotate(0deg); } 33% { transform: rotate(14deg); } 66% { transform: rotate(-14deg); } }
@keyframes mark-kick { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes mark-line-kick { 0% { transform: scaleX(1); } 30% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* ---------- Live dot ---------- */
.live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(124, 200, 0, .16), rgba(124, 200, 0, 0));
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pill .sep { width: 1px; height: 14px; background: var(--hairline); }
.hero h1 { font-size: clamp(44px, 9vw, 84px); margin-top: 22px; letter-spacing: -0.04em; line-height: 1.0; }
.hero h1 .accent { position: relative; white-space: nowrap; color: var(--ink); }
.hero h1 .accent::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .28em; z-index: -1;
  background: var(--lime-bright); border-radius: .08em;
  transform-origin: left center;
}
.js .hero h1 .accent::after { animation: underline-in .7s var(--ease) .5s both; }
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero h1 > span { position: relative; z-index: 0; display: block; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; list-style: none; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.hero-notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 8px 0 40px; min-height: 0; }
.hero-post {
  position: absolute; width: 112%; max-width: 640px; left: 50%; top: -2%; transform: translateX(-50%);
  color: #E8F1D6; pointer-events: none;
}
.hero-post path { stroke-dasharray: 1 1.2; }
.js .hero-post path { animation: mark-post 1.2s cubic-bezier(.2, .7, .3, 1) .1s both; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 32px; }
  .hero-visual { padding: 24px 0 24px; }
}

/* ---------- Device frame ---------- */
.device {
  position: relative; width: 100%; max-width: 300px;
  padding: 9px; border-radius: 50px; background: var(--ink);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a3446;
}
.device::before { /* Dynamic Island */
  content: ""; position: absolute; top: 19px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%);
  background: #000; border-radius: 999px; z-index: 2;
}
.device-screen { border-radius: 41px; overflow: hidden; background: #fff; aspect-ratio: 473 / 1024; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.hero .device { width: 76vw; max-width: 310px; }

/* ---------- Live Activity card (Shared/MatchActivityViews.swift) ---------- */
.la {
  --home: #0E1522; --away: #0E1522;
  position: relative; overflow: hidden; color: #fff;
  border-radius: 26px; padding: 16px 14px 14px;
  background: linear-gradient(90deg, var(--home), #0E1522 50%, var(--away));
  box-shadow: 0 24px 48px -18px rgba(14, 21, 34, .55);
  font-variant-numeric: tabular-nums;
}
.la::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); pointer-events: none; }
.la > * { position: relative; }
.la-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 6px; }
.la-side { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.la-name { font-size: 14px; font-weight: 600; text-align: center; line-height: 1.2; }
.crest {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
}
.crest-gs { background: #A90432; color: #FDB912; box-shadow: inset 0 0 0 2.5px #FDB912; }
.crest-fb { background: #0E1C47; color: #F6E21A; box-shadow: inset 0 0 0 2.5px #F6E21A; }
.crest-rma { background: #fff; color: #00529F; box-shadow: inset 0 0 0 2.5px #FEBE10; }
.crest-bar { background: #A50044; color: #fff; box-shadow: inset 0 0 0 2.5px #004D98; }
.la-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 128px; }
.la-score { display: flex; align-items: center; gap: 12px; height: 46px; font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.la-score .sep { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: 26px; }
.la-clock { display: inline-flex; align-items: center; gap: 6px; color: var(--live-on-dark); font-weight: 800; font-size: 16px; }
.la-clock .live-dot { background: var(--live-on-dark); box-shadow: 0 0 8px var(--live-on-dark); }
.la-stats { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 600; }
.la-stats > span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.la-stats > span:nth-child(2) { min-width: 128px; }
.la-stats svg { width: 16px; height: 16px; color: rgba(255, 255, 255, .7); }
.la.is-goal { animation: la-flash 1.2s ease-out; }
@keyframes la-flash { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .9), 0 24px 48px -18px rgba(14,21,34,.55); } 100% { box-shadow: 0 0 0 18px rgba(198, 244, 50, 0), 0 24px 48px -18px rgba(14,21,34,.55); } }

/* Score digits roll */
.roll { position: relative; display: inline-block; min-width: .62em; text-align: center; overflow: hidden; height: 1em; line-height: 1; }
.roll > span { display: block; }
.roll .out { position: absolute; inset: 0; animation: roll-out .45s var(--ease) both; }
.roll .in { animation: roll-in .45s var(--ease) both; }
@keyframes roll-out { to { transform: translateY(-100%); opacity: 0; } }
@keyframes roll-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* iOS-style notification */
.notif {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 10px; align-items: center;
  padding: 12px 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 40px -16px rgba(14, 21, 34, .35);
  color: var(--ink); font-size: 14px; line-height: 1.3;
}
.notif img { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; }
.notif .n-app { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.notif .n-time { font-size: 12px; color: var(--muted); }
.notif .n-body { grid-column: 2 / 4; }
.notif .n-kind { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.k-goal { color: var(--lime-text); }
.k-var { color: var(--ht); }
.k-red { color: var(--red); }

.hero-la { position: absolute; z-index: 3; left: 50%; bottom: 0; width: min(92vw, 380px); transform: translateX(-50%); }
.hero-notif { position: absolute; z-index: 4; top: 12%; left: 50%; width: min(86vw, 330px); transform: translateX(-50%); }
.js .hero-notif { opacity: 0; transform: translate(-50%, -16px) scale(.96); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.js .hero-notif.is-shown { opacity: 1; transform: translate(-50%, 0) scale(1); }

@media (min-width: 960px) {
  .hero-la { left: -14%; bottom: 7%; transform: none; width: 372px; }
  .hero-notif { left: auto; right: -6%; top: 16%; width: 320px; transform: none; }
  .js .hero-notif { transform: translateY(-16px) scale(.96); }
  .js .hero-notif.is-shown { transform: none; }
}

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--hairline);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.feature:hover { border-color: #d6dce3; box-shadow: var(--shadow); transform: translateY(-2px); }
.f-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--wash); color: var(--lime-text); margin-bottom: 18px;
}
.f-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; letter-spacing: -0.02em; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Screens strip ---------- */
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px var(--gutter) 28px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screen { scroll-snap-align: center; margin: 0; }
.screen .device { max-width: none; border-radius: 44px; padding: 8px; box-shadow: var(--shadow); }
.screen .device::before { top: 16px; height: 19px; }
.screen .device-screen { border-radius: 36px; }
.screen figcaption { margin-top: 18px; text-align: center; }
.screen figcaption strong { display: block; font-size: 17px; letter-spacing: -0.01em; }
.screen figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.screens-hint { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
@media (min-width: 1000px) {
  .screens { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding: 8px 0 0; margin: 0; }
  .screen:nth-child(even) { transform: translateY(36px); }
  .screens-wrap { padding-bottom: 36px; }
}

/* ---------- Split sections ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.checks li strong { color: var(--ink); font-weight: 700; }
.checks svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--lime)); flex: none; }

/* Lock screen mock */
.lock {
  position: relative; margin: 0 auto; width: 100%; max-width: 400px; aspect-ratio: 400 / 520;
  border-radius: 44px; padding: 18px 16px 22px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 15% 0%, #3c5a1a 0%, rgba(60, 90, 26, 0) 60%),
    radial-gradient(90% 70% at 100% 100%, #13305c 0%, rgba(19, 48, 92, 0) 70%),
    linear-gradient(160deg, #1a2333, #0b1019);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; color: #fff;
}
.island {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 64%; height: 36px; padding: 0 8px 0 7px; border-radius: 999px; background: #000;
  font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.island .crest { width: 24px; height: 24px; font-size: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.island .il { display: inline-flex; align-items: center; gap: 8px; }
.island .ir { display: inline-flex; align-items: center; gap: 6px; color: var(--live-on-dark); }
.island .ir .live-dot { background: var(--live-on-dark); width: 6px; height: 6px; }
.lock-time { margin-top: 22px; font-size: clamp(64px, 18vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-stack { margin-top: auto; width: 100%; display: grid; gap: 10px; }
.lock .la { box-shadow: none; }
.lock .notif { background: rgba(255, 255, 255, .78); }

/* Stacked alerts */
.alerts { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; width: 100%; }
.alerts .notif { box-shadow: var(--shadow); border-color: var(--hairline); background: #fff; }

/* ---------- Odds ---------- */
.odds-card {
  max-width: 440px; margin: 0 auto; width: 100%;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow);
  overflow: hidden;
}
.odds-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--divider); }
.odds-head strong { font-size: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tag-live { background: #E8F7EE; color: var(--live); }
.tag-18 { background: var(--ink); color: #fff; }
.odds-body { padding: 16px 18px 18px; display: grid; gap: 18px; }
.odds-market .mlabel { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.odds-row.two { grid-template-columns: repeat(2, 1fr); }
.odd {
  display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 12px;
  border-radius: 12px; background: var(--fill); font-variant-numeric: tabular-nums;
}
.odd span { color: var(--muted); font-weight: 600; font-size: 14px; }
.odd b { font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; gap: 4px; }
.odd .up { color: var(--live); }
.odd .down { color: var(--red); }
.odd svg { width: 10px; height: 10px; }
.odds-foot { padding: 12px 18px; background: #FAFBFC; border-top: 1px solid var(--divider); font-size: 13px; color: var(--muted); }
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin-top: 28px; padding: 18px; border-radius: var(--radius-sm); background: var(--fill); color: var(--ink-2); font-size: 15px;
}
.notice .tag-18 { margin-top: 1px; }

/* ---------- Premium ---------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline);
}
.plan.is-featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan .p-kind { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 26px; }
.plan p { color: var(--ink-2); font-size: 15.5px; }
.plan .p-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--muted); }
.premium-free {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; padding: 18px 22px;
  border-radius: var(--radius); background: var(--wash); color: var(--lime-text); font-weight: 600; font-size: 15.5px;
}
.premium-free svg { width: 20px; height: 20px; flex: none; }
.premium-free span { display: inline-flex; align-items: center; gap: 8px; }
.fineprint { margin-top: 22px; font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 920px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  border-radius: 18px; background: var(--surface); border: 1px solid var(--hairline);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #d3d9e0; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1522' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--wash); }
.faq .a { padding: 0 20px 20px; color: var(--ink-2); font-size: 16px; }
.faq .a p + p { margin-top: 10px; }
.faq .a a, .prose a, .link { color: var(--lime-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 24px; border-radius: 36px; background: var(--ink); color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(198, 244, 50, .22), rgba(198, 244, 50, 0));
}
.cta > * { position: relative; }
.cta .mark { width: 120px; height: 120px; margin: 0 auto 18px; color: #fff; }
.cta h2 { font-size: clamp(30px, 5vw, 48px); }
.cta p { margin: 14px auto 0; max-width: 34em; color: rgba(255, 255, 255, .75); font-size: 18px; }
.cta .store-badge { margin-top: 28px; background: #fff; color: #000; }
.cta .store-badge .mark { color: #000; width: 32px; height: 32px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--divider); background: #FAFBFC; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 26em; }
.footer-col h2 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15.5px; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline);
  color: var(--muted); font-size: 13.5px;
}
.footer-legal { margin-top: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- Legal / document pages ---------- */
.doc-hero { padding: 56px 0 32px; border-bottom: 1px solid var(--divider); background: linear-gradient(180deg, var(--wash), #fff); }
.doc-hero h1 { font-size: clamp(36px, 6vw, 56px); margin-top: 14px; }
.doc-meta { margin-top: 14px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc-layout { display: grid; gap: 40px; padding: 40px 0 88px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; } }
.toc h2 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--divider); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.toc a:hover { color: var(--ink); border-left-color: var(--lime); }
.prose { max-width: 74ch; font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 14px; padding-top: 8px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 18px; letter-spacing: -0.01em; margin: 28px 0 10px; line-height: 1.3; }
.prose p, .prose ul, .prose ol, .prose table, .prose .callout { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--fill); padding: 2px 6px; border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--hairline); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--divider); }
.prose th { background: #FAFBFC; color: var(--ink); font-weight: 700; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.callout { padding: 16px 18px; border-radius: 14px; background: var(--wash); color: var(--ink-2); border: 1px solid #E1EDCB; }
.callout.neutral { background: var(--fill); border-color: var(--hairline); }
.steps { list-style: none; counter-reset: step; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; margin: 0; border-radius: 14px; border: 1px solid var(--hairline); background: #fff; }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 14px;
}
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: #fff; margin: 0 0 28px;
}
.contact-card p { color: rgba(255,255,255,.75); font-size: 15px; margin: 4px 0 0 !important; }
.contact-card strong { color: #fff; font-size: 18px; }
.contact-card .btn { background: #fff; color: var(--ink); }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 48px 0 64px; }
.nf .mark { width: 168px; height: 168px; margin: 0 auto; color: var(--ink); }
.nf-code { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; color: var(--lime-text); margin-top: 18px; font-size: 14px; }
.nf h1 { font-size: clamp(34px, 6vw, 54px); margin-top: 10px; }
.nf p { margin: 14px auto 0; max-width: 32em; color: var(--ink-2); font-size: 18px; }
.nf .hero-actions { justify-content: center; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (min-width: 1000px) {
  .js .screen.reveal:nth-child(even) { transform: translateY(54px); }
  .js .screen.reveal.is-in:nth-child(even) { transform: translateY(36px); }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .wordmark { font-size: 17px; }
  .store-badge { padding: 0 16px 0 12px; }
  .la { padding: 14px 10px 12px; }
  .la-mid { min-width: 104px; }
  .la-stats > span:nth-child(2) { min-width: 104px; }
  .la-score { font-size: 36px; }
  .la-name { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .mark.is-idle .mark-ball { animation: none !important; }
  .live-dot::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .lang-switch, .toc { display: none !important; }
  .doc-layout { display: block; }
  body { font-size: 12pt; }
}

/* ---------- Small helpers ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.la-derby { --home: #A90432; --away: #0E1C47; }
.la-clasico { --home: #3D4F7A; --away: #A50044; }
.redcard { display: inline-block; width: 7px; height: 10px; border-radius: 1.5px; background: var(--red); margin-left: 3px; vertical-align: -1px; }
.chip .c-lime { --c: var(--lime); }
.chip .c-ht { --c: var(--ht); }
.chip .c-red { --c: var(--red); }
.chip .c-yellow { --c: var(--yellow); }
.chip .c-live { --c: var(--live); }
.chip .c-slate { --c: #A9B1BC; }
.footer-brand .brand .mark { width: 34px; height: 34px; }
.footer-brand p + p { margin-top: 8px; }
.screens:focus-visible { outline-offset: -3px; }
.btn svg { width: 18px; height: 18px; }
.checks > li > svg { width: 22px; height: 22px; }
