/* KickPulse — night-match design system */

:root {
  --bg: #0A0E13;
  --bg-2: #0D1219;
  --card: #111821;
  --raised: #18212D;
  --line: #223042;
  --line-soft: #1A2533;

  --text: #E9EEF4;
  --muted: #8B97A8;
  --dim: #5D6A7C;

  --neon: #B6FF3B;
  --neon-ink: #0A0E13;
  --neon-soft: rgba(182, 255, 59, .12);
  --live: #FF4D5E;
  --live-soft: rgba(255, 77, 94, .14);
  --amber: #FFC23D;
  --amber-soft: rgba(255, 194, 61, .14);
  --away: #6AA8FF;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.neon { color: var(--neon); }
.ico { width: 18px; height: 18px; flex: none; }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; display: inline-block;
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 77, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); }
}

/* ---------- primitives ---------- */
.crest {
  --s: 28px;
  width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .28), transparent 55%), var(--c1);
  color: var(--c2);
  font: 800 calc(var(--s) * .34)/1 var(--font-display); letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c2) 40%, transparent), 0 0 0 1px rgba(255, 255, 255, .14);
}
.crest.sm { --s: 22px; }
.crest.xl { --s: 72px; font-size: 22px; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c2) 40%, transparent), 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 30px -8px rgba(0, 0, 0, .7); }

.lg-badge {
  --lc: #fff;
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  display: inline-grid; place-items: center;
  background: color-mix(in srgb, var(--lc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--lc) 38%, transparent);
  color: var(--lc);
  font: 800 12px/1 var(--font-display); letter-spacing: .04em;
}
.lg-badge.xs { width: 20px; height: 20px; font-size: 10px; border-radius: 6px; }
.lg-badge.md { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1 var(--font-body); cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-neon { background: var(--neon); color: var(--neon-ink); box-shadow: 0 10px 30px -10px rgba(182, 255, 59, .6); }
.btn-neon:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(182, 255, 59, .75); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: 600 13px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: color .15s, background-color .15s, border-color .15s;
}
.chip:hover { color: var(--text); border-color: #2E3E54; }
.chip[aria-pressed="true"] { background: var(--neon-soft); border-color: rgba(182, 255, 59, .5); color: var(--neon); }
.chip-live[aria-pressed="true"] { background: var(--live-soft); border-color: rgba(255, 77, 94, .5); color: #FF8A96; }
.chip .ico { width: 14px; height: 14px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-title {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font: 800 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
}
.sec-title::before { content: ""; width: 6px; height: 24px; border-radius: 2px; background: var(--neon); transform: skewX(-14deg); box-shadow: 0 0 14px rgba(182, 255, 59, .5); }
.sec-sub { font-size: 12px; color: var(--dim); }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--neon); font-weight: 600; font-size: 14px; }
.sec-link .ico { width: 16px; height: 16px; transition: transform .15s; }
.sec-link:hover .ico { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 14, 19, .8);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font: italic 800 27px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
}
.brand-mark { color: var(--neon); filter: drop-shadow(0 0 8px rgba(182, 255, 59, .45)); }
.brand-mark svg { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .dd-toggle {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  color: var(--muted); font: 600 14px/1 var(--font-body);
  transition: color .15s, background-color .15s;
}
.nav > a:hover, .dd-toggle:hover { color: var(--text); background: var(--raised); }
.nav > a.is-active { color: var(--text); }
.nav > a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -12px; height: 2px; border-radius: 2px;
  background: var(--neon); box-shadow: 0 0 10px rgba(182, 255, 59, .6);
}
.dd-toggle .ico { width: 14px; height: 14px; transition: transform .2s; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; padding: 6px;
  background: var(--raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown:hover .dd-toggle .ico, .dropdown.open .dd-toggle .ico { transform: rotate(180deg); }
.dropdown-menu a, .mobile-menu a:has(.lg-badge) {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px;
}
.dropdown-menu a:hover { background: rgba(255, 255, 255, .05); }
.dropdown-menu small, .mobile-menu small { display: block; font-weight: 500; font-size: 12px; color: var(--dim); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--live-soft); border: 1px solid rgba(255, 77, 94, .35); color: #FF8A96;
  font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.live-pill.is-idle { background: transparent; border-color: var(--line); color: var(--muted); }
.live-pill.is-idle .dot-live { background: var(--dim); animation: none; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); place-items: center; cursor: pointer; }
.mobile-menu { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 0 18px; box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:has(.lg-badge) { border-bottom: 0; padding: 8px 4px; }
.mm-label { margin: 16px 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(56, 120, 70, .45), transparent 65%),
    linear-gradient(180deg, #07100B 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-lights { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-lights::before, .hero-lights::after {
  content: ""; position: absolute; top: -40px; width: 70%; height: 130%;
  background: conic-gradient(from 168deg at 50% 0%,
    transparent 0deg, rgba(232, 255, 214, .10) 6deg, transparent 12deg,
    transparent 16deg, rgba(232, 255, 214, .07) 21deg, transparent 27deg);
  filter: blur(4px);
}
.hero-lights::before { left: -22%; transform: rotate(-26deg); transform-origin: top center; }
.hero-lights::after { right: -22%; transform: rotate(26deg) scaleX(-1); transform-origin: top center; }
.lamp {
  position: absolute; top: 22px; width: 110px; height: 30px;
  background: radial-gradient(circle, #fff 0 2.5px, transparent 3.5px) 0 0 / 18px 15px;
  filter: drop-shadow(0 0 4px rgba(240, 255, 225, .95)) drop-shadow(0 0 22px rgba(182, 255, 59, .35));
}
.lamp.l { left: 4%; transform: rotate(-8deg); }
.lamp.r { right: 4%; transform: rotate(8deg); }
.hero-pitch {
  position: absolute; z-index: -1; left: 50%; bottom: -60px; width: 1700px; height: 560px;
  transform: translateX(-50%) perspective(900px) rotateX(64deg); transform-origin: 50% 100%;
  background:
    url("../img/pitch.svg") center / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, #10291A 0 85px, #0D2316 85px 170px);
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 90%);
  mask-image: linear-gradient(to top, #000 15%, transparent 90%);
  opacity: .85;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(10, 14, 19, .55); border: 1px solid var(--line);
  color: #C9D3DE; font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0 18px;
  font: italic 800 clamp(52px, 7.4vw, 104px)/.86 var(--font-display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.hero h1 .neon { text-shadow: 0 0 34px rgba(182, 255, 59, .45); }
.lede { margin: 0 0 30px; max-width: 520px; color: #AEB9C6; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); }
.hero-stats b { display: block; font: 800 34px/1 var(--font-display); }
.hero-stats .live-num { color: #FF8A96; }
.hero-stats span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.feature {
  min-height: 380px; padding: 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 36, 49, .88), rgba(14, 20, 28, .94));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.eyebrow-sm { display: inline-flex; align-items: center; gap: 8px; color: var(--neon); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-sm .ico { width: 15px; height: 15px; }
.f-league { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.feature-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 28px 0 26px; }
.feature-team { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.2; }
.feature-mid { text-align: center; min-width: 110px; }
.f-score, .f-time { font: 800 52px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.f-score span { color: var(--dim); margin: 0 6px; }
.f-time { font-size: 44px; }
.feature-mid small { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.feature-mid small.is-live { color: #FF8A96; }
.probbar { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; }
.probbar i { display: block; height: 100%; }
.pb-h { background: var(--neon); }
.pb-d { background: #3A4657; }
.pb-a { background: var(--away); }
.probbar-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); }
.probbar-legend b { color: var(--text); }
.probbar-legend span:first-child b { color: var(--neon); }
.probbar-legend span:last-child b { color: var(--away); }
.feature-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.kv { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); min-width: 0; }
.kv span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.kv b { display: block; margin-top: 4px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conf-high { color: var(--neon); }
.conf-medium { color: var(--amber); }
.conf-low { color: var(--muted); }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: stretch; height: 50px; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.ticker-label {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  font: 800 15px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  border-right: 1px solid var(--line-soft);
}
.ticker-viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.ticker-track { display: flex; width: max-content; height: 100%; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.t-item {
  display: inline-flex; align-items: center; gap: 9px; height: 100%; padding: 0 22px;
  border-right: 1px solid var(--line-soft); white-space: nowrap; font-size: 13px; color: #C3CCD7; font-weight: 600;
}
.t-item b { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
.t-min { color: #FF8A96; font-weight: 800; min-width: 34px; }
.t-time { color: var(--amber); font-weight: 700; min-width: 34px; font-variant-numeric: tabular-nums; }
.t-ft { color: var(--dim); font-weight: 700; min-width: 34px; }
.t-vs { color: var(--dim); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- main grid ---------- */
.main-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 40px; padding-bottom: 24px; }
.side { order: -1; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); display: flex; flex-direction: column; overflow: hidden; }
.side-head { padding: 16px 16px 14px; border-bottom: 1px solid var(--line-soft); }
.league-switch { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.league-switch button {
  height: 44px; border-radius: 12px; border: 1px solid transparent; background: var(--raised); cursor: pointer;
  display: grid; place-items: center; transition: border-color .15s, background-color .15s;
}
.league-switch button:hover { border-color: var(--line); }
.league-switch button[aria-selected="true"] { border-color: rgba(182, 255, 59, .55); background: var(--neon-soft); }
.side-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; }
.side-title h3 { margin: 0; font: 800 24px/1 var(--font-display); text-transform: uppercase; }
.side-title span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 12px 16px 6px; padding: 4px; border-radius: 12px; background: var(--bg); }
.seg button { height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 2px 6px rgba(0, 0, 0, .3); }
.side-body { flex: 1; min-height: 0; overflow: auto; padding: 0 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th {
  position: sticky; top: 0; z-index: 1; background: var(--card);
  padding: 10px 6px 8px; text-align: right; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.tbl td { padding: 7px 6px; text-align: right; border-top: 1px solid var(--line-soft); color: var(--muted); }
.tbl .tl { text-align: left; width: 100%; max-width: 0; }
.tbl .pos { width: 30px; text-align: center; }
.tbl td.pos span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tbl tr.zone-ucl td.pos span { background: var(--neon-soft); color: var(--neon); }
.tbl tr.zone-po td.pos span { background: var(--amber-soft); color: var(--amber); }
.tbl tr.zone-rel td.pos span { background: var(--live-soft); color: #FF8A96; }
.tbl .tc { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); font-weight: 600; }
.tbl .tc > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tbl .pts { color: var(--text); font-weight: 800; }
.tbl .tf { width: 52px; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.pl b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.pl small { display: block; font-size: 11px; color: var(--dim); font-weight: 500; }
.form { display: inline-flex; gap: 3px; }
.form i { width: 7px; height: 7px; border-radius: 50%; }
.f-W { background: var(--neon); }
.f-D { background: #6B7889; }
.f-L { background: var(--live); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 16px 14px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.lg-ucl { background: var(--neon); }
.lg-po { background: var(--amber); }
.lg-rel { background: var(--live); }

/* ---------- fixtures ---------- */
.days {
  position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 1 0 72px; padding: 10px 8px; border-radius: 12px; cursor: pointer; text-align: center;
  background: var(--card); border: 1px solid var(--line-soft); color: var(--muted);
  transition: border-color .15s, background-color .15s;
}
.day:hover { border-color: var(--line); }
.day b { display: inline-flex; align-items: center; gap: 6px; font: 800 17px/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--text); }
.day small { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; }
.day[aria-selected="true"] { background: var(--neon); border-color: var(--neon); color: rgba(10, 14, 19, .7); box-shadow: 0 8px 24px -10px rgba(182, 255, 59, .6); }
.day[aria-selected="true"] b { color: var(--neon-ink); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; }
.chips { display: flex; gap: 8px; }
.league-filter { border-style: dashed; color: var(--text); }
.league-filter .ico { width: 14px; height: 14px; color: var(--muted); }
.search { flex: 1 1 200px; position: relative; }
.search::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); opacity: .6;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B97A8' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}
.search input {
  width: 100%; height: 36px; padding: 0 14px 0 36px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font: 500 13px var(--font-body);
}
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: rgba(182, 255, 59, .55); }

.group { margin-top: 14px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.group-head {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; cursor: pointer; text-align: left;
  background: linear-gradient(90deg, color-mix(in srgb, var(--lc) 11%, transparent), transparent 55%);
  border-bottom: 1px solid var(--line-soft);
}
.gh-name { font-weight: 700; font-size: 14px; }
.gh-name small { margin-left: 8px; font-weight: 500; color: var(--dim); font-size: 12px; }
.gh-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.group-head .chev { width: 16px; height: 16px; color: var(--dim); transition: transform .2s; }
.group.collapsed .group-head { border-bottom-color: transparent; }
.group.collapsed .group-head .chev { transform: rotate(-90deg); }
.group.collapsed .group-body { display: none; }

.match + .match { border-top: 1px solid var(--line-soft); }
.match-row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) 222px 16px; align-items: center; gap: 18px;
  width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.match-row:hover, .match.open .match-row { background: rgba(255, 255, 255, .025); }
.m-status { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; color: var(--muted); }
.m-status .kick { font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.m-status .live { display: inline-flex; align-items: center; gap: 6px; color: #FF8A96; font-weight: 800; font-size: 14px; }
.m-status .ft { font-weight: 700; font-size: 13px; }
.ai-tag { padding: 3px 6px; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.ai-ok { background: var(--neon-soft); color: var(--neon); }
.ai-miss { background: rgba(255, 255, 255, .05); color: var(--dim); }
.m-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 14px; }
.team.home { justify-content: flex-end; text-align: right; }
.t-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team.lose .t-name { color: var(--muted); font-weight: 500; }
.t-goals { display: none; }
.m-score { min-width: 62px; text-align: center; font: 800 24px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.m-score i { font-style: normal; color: var(--dim); margin: 0 5px; }
.m-score.is-live { color: #FF8A96; }
.m-score.vs { min-width: 0; padding: 6px 9px; border-radius: 7px; background: var(--raised); color: var(--dim); font: 700 11px/1 var(--font-body); letter-spacing: .12em; }
.m-probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prob { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 4px; border-radius: 10px; background: var(--raised); border: 1px solid transparent; }
.prob span { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prob b { font-size: 14px; font-variant-numeric: tabular-nums; }
.prob.top { background: var(--neon-soft); border-color: rgba(182, 255, 59, .45); }
.prob.top b { color: var(--neon); }
.match-row > .chev { width: 16px; height: 16px; color: var(--dim); transition: transform .2s; }
.match.open .match-row > .chev { transform: rotate(180deg); color: var(--neon); }

.match-detail { padding: 2px 16px 18px; background: rgba(255, 255, 255, .025); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d-block { padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-soft); min-width: 0; }
.d-block h4 { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.d-score { font: 800 40px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.d-score i { font-style: normal; color: var(--dim); margin: 0 6px; }
.d-sub { margin: 4px 0 12px; font-size: 12px; color: var(--muted); }
.d-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.d-meta b { color: var(--text); }
.conf { font-weight: 700; }
.verdict { margin: 10px 0 0; font-size: 12px; font-weight: 700; }
.verdict.ok { color: var(--neon); }
.verdict.miss { color: var(--muted); }
.form-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.form-row + .form-row { border-top: 1px solid var(--line-soft); }
.fr-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.fr-pos { font-size: 11px; color: var(--dim); font-weight: 700; }
.form-big { display: inline-flex; gap: 3px; }
.fb { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font: 800 10px/1 var(--font-body); font-style: normal; color: var(--neon-ink); }
.fb.f-D { color: var(--text); }
.fb.f-L { color: #fff; }
.goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.goals li { display: flex; align-items: center; gap: 8px; }
.goals .ico { width: 14px; height: 14px; color: var(--muted); }
.goals li.g-H .ico { color: var(--neon); }
.goals li.g-A .ico { color: var(--away); }
.g-min { width: 30px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.d-empty { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.d-empty .ico { width: 16px; height: 16px; }
.d-note { margin: 12px 0 0; font-size: 12px; color: var(--dim); }
.d-note a { color: var(--neon); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 14px; padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .ico { width: 32px; height: 32px; color: var(--dim); }
.empty p { margin: 0; max-width: 420px; }
.empty b { color: var(--text); }

/* ---------- news ---------- */
.news-home { padding-top: 56px; }
.news-top-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.news-side { display: flex; flex-direction: column; gap: 12px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }

.cover { background-color: #0B1A12; background-size: cover; background-position: center; position: relative; }
.cat {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; width: max-content;
  background: rgba(10, 14, 19, .72); border: 1px solid color-mix(in srgb, var(--lc) 40%, transparent);
  color: var(--lc); font: 700 10px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lc); }
.meta { display: flex; gap: 6px; font-size: 12px; color: var(--dim); }

.story-hero { position: relative; display: block; min-height: 440px; height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.story-hero .cover { position: absolute; inset: 0; transition: transform .5s ease; }
.story-hero:hover .cover { transform: scale(1.03); }
.story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 19, 0) 25%, rgba(10, 14, 19, .92) 85%); }
.story-hero-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.story-hero h3 { margin: 0; font: 800 40px/1 var(--font-display); text-transform: uppercase; letter-spacing: .005em; max-width: 620px; }
.story-hero p { margin: 0; color: #B4BFCC; max-width: 560px; }

.story-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); transition: border-color .15s, background-color .15s; flex: 1; }
.story-row:hover { border-color: var(--line); background: var(--raised); }
.story-row .cover { height: 100%; min-height: 96px; border-radius: 10px; }
.story-row h3 { margin: 8px 0 6px; font-size: 15px; font-weight: 700; line-height: 1.35; }

.ncard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line-soft); transition: transform .2s ease, border-color .2s; }
.ncard:hover { transform: translateY(-3px); border-color: var(--line); }
.ncard .cover { aspect-ratio: 16 / 9; }
.ncard .cover .cat { position: absolute; left: 14px; top: 14px; }
.ncard-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.ncard h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ncard p { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.ncard .meta { margin-top: auto; }

/* ---------- footer & tab bar ---------- */
.site-footer { margin-top: 72px; padding: 52px 0 28px; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin: 16px 0 18px; max-width: 360px; font-size: 14px; color: var(--muted); }
.demo-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px;
  border: 1px dashed rgba(255, 194, 61, .5); color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.demo-badge .ico { width: 14px; height: 14px; }
.foot-col h5 { margin: 4px 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--dim); }
.tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 20px; }
  .match-row { grid-template-columns: 62px minmax(0, 1fr) 16px; grid-template-areas: "st tm ch" "pr pr pr"; row-gap: 12px; }
  .m-status { grid-area: st; }
  .m-teams { grid-area: tm; }
  .m-probs { grid-area: pr; }
  .match-row > .chev { grid-area: ch; }
  .hero-inner { gap: 32px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 56px; }
  .main-grid { grid-template-columns: minmax(0, 1fr); }
  .side { order: 0; position: static; max-height: none; }
  .side-body { overflow: visible; }
  .news-top-grid { grid-template-columns: minmax(0, 1fr); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid .d-block:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --header-h: 58px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .brand { font-size: 24px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .live-pill { height: 32px; padding: 0 12px; }

  .hero-inner { padding-top: 64px; }
  .lamp { top: 14px; width: 76px; height: 20px; background-size: 13px 10px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .lede { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 28px; }
  .feature { padding: 18px; min-height: 0; }
  .crest.xl { --s: 60px; font-size: 18px; }
  .f-score { font-size: 44px; }
  .feature-team { font-size: 14px; }
  .feature-foot { gap: 8px; }
  .kv { padding: 10px; }
  .kv b { font-size: 13px; }

  .ticker-label { padding-left: var(--gutter); padding-right: 14px; font-size: 13px; }
  .sec-title { font-size: 26px; }
  .sec-sub { display: none; }
  .chips { width: 100%; }
  .chips .chip { flex: 1; justify-content: center; }
  .search { flex-basis: 100%; }

  .match-row { grid-template-columns: 54px minmax(0, 1fr) 16px; gap: 12px; padding: 14px; }
  .m-teams { grid-template-columns: 1fr; gap: 8px; }
  .m-teams .m-score { display: none; }
  .team, .team.home { justify-content: flex-start; text-align: left; }
  .team .crest { order: 0; }
  .team .t-name { order: 1; flex: 1; }
  .t-goals { display: block; order: 2; min-width: 18px; text-align: right; font: 800 20px/1 var(--font-display); font-variant-numeric: tabular-nums; }
  .team.lose .t-goals { color: var(--muted); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid .d-block:last-child { grid-column: auto; }

  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .story-hero { min-height: 380px; }
  .story-hero h3 { font-size: 32px; }
  .story-hero-body { padding: 20px; }
  .story-row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .story-row .cover { min-height: 84px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .tabbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(13, 18, 25, .92); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .tabbar .ico { width: 22px; height: 22px; }
  .tabbar a.is-active { color: var(--neon); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-viewport { overflow-x: auto; }
}

/* ---------- news page ---------- */
.page-head {
  position: relative; overflow: hidden; padding: 56px 0 40px;
  background:
    radial-gradient(700px 300px at 15% -20%, rgba(182, 255, 59, .14), transparent 70%),
    linear-gradient(180deg, #08110C, var(--bg));
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { margin: 18px 0 12px; font: italic 800 clamp(46px, 6.4vw, 84px)/.9 var(--font-display); text-transform: uppercase; }
.page-head .lede { margin: 0; }
.news-page { padding-top: 28px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips .chip small { font-size: 11px; color: var(--dim); font-weight: 600; }
.cat-chips .chip[aria-pressed="true"] small { color: inherit; opacity: .7; }
.list-head { margin-top: 32px; }
.news-lead .story-hero { min-height: 420px; }
.news-lead + .news-grid { margin-top: 20px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- article page ---------- */
.article-head { max-width: 860px; padding-top: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.article-head h1 { margin: 4px 0 0; font: 800 clamp(40px, 5.6vw, 68px)/.95 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.dek { margin: 0; font-size: 19px; line-height: 1.5; color: #B4BFCC; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 14px; }
.byline small { display: block; font-size: 12px; color: var(--dim); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--neon-soft); border: 1px solid rgba(182, 255, 59, .35); color: var(--neon); }
.article-cover { max-width: 1100px; margin: 36px auto 0; aspect-ratio: 21 / 9; border-radius: 20px; border: 1px solid var(--line-soft); }
.prose { max-width: 720px; margin: 44px auto 0; font-size: 17px; line-height: 1.75; color: #CDD5DF; }
.prose p { margin: 0 0 22px; }
.prose h2 { margin: 44px 0 14px; font: 800 30px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
.prose blockquote {
  margin: 36px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--neon);
  font: italic 800 30px/1.15 var(--font-display); color: var(--text); text-transform: uppercase; letter-spacing: .005em;
}
.prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--neon); }
.cta-box {
  max-width: 720px; margin: 44px auto 0; padding: 20px 22px; border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(100deg, rgba(182, 255, 59, .12), rgba(182, 255, 59, .02) 70%);
  border: 1px solid rgba(182, 255, 59, .3);
}
.cta-box b { display: block; font: 800 22px/1.1 var(--font-display); text-transform: uppercase; }
.cta-box span { font-size: 14px; color: var(--muted); }
.cta-box .btn { flex: none; height: 44px; }
.related { margin-top: 72px; }
.not-found { padding: 96px var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf-code { font: italic 800 120px/1 var(--font-display); color: var(--neon); text-shadow: 0 0 40px rgba(182, 255, 59, .4); }
.not-found h1 { margin: 0; font: 800 40px/1 var(--font-display); text-transform: uppercase; }
.not-found p { margin: 0 0 10px; color: var(--muted); }

@media (max-width: 768px) {
  .page-head { padding: 40px 0 28px; }
  .news-lead .story-hero { min-height: 360px; }
  .article-head { padding-top: 32px; }
  .dek { font-size: 17px; }
  .article-cover { aspect-ratio: 16 / 9; margin-top: 28px; border-radius: 16px; }
  .prose { margin-top: 32px; font-size: 16px; }
  .prose h2 { font-size: 26px; }
  .prose blockquote { font-size: 24px; padding-left: 18px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .related { margin-top: 56px; }
}

/* ---------- info pages: shared ---------- */
.ph {
  padding: 0 5px; border-radius: 5px; overflow-wrap: anywhere;
  background: rgba(255, 194, 61, .12); color: var(--amber); border: 1px dashed rgba(255, 194, 61, .55);
  font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.updated { margin: 14px 0 0; font-size: 13px; color: var(--dim); }
.text-link, .prose a, .faq-a a, .check a, .c-card a, .principle a {
  color: var(--neon); text-decoration: underline; text-decoration-color: rgba(182, 255, 59, .4); text-underline-offset: 3px;
}
.text-link:hover, .prose a:hover, .faq-a a:hover, .check a:hover, .c-card a:hover, .principle a:hover { text-decoration-color: var(--neon); }
.amber { color: var(--amber); }
.red { color: #FF8A96; }
.info-section { padding-top: 64px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- legal layout ---------- */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 44px; }
.toc-wrap { position: sticky; top: calc(var(--header-h) + 28px); }
.toc summary { display: none; }
.toc-title { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
#toc-list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
#toc-list a {
  margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent;
  font-size: 13px; line-height: 1.35; color: var(--muted); transition: color .15s, border-color .15s;
}
#toc-list a:hover { color: var(--text); }
#toc-list a.active { color: var(--neon); border-left-color: var(--neon); }
.legal-body.prose { max-width: 760px; margin: 0; }
.legal-body h2:first-of-type { margin-top: 8px; }
.prose h3 { margin: 26px 0 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.callout {
  margin: 0 0 36px; padding: 18px 20px; border-radius: 14px; font-size: 16px;
  background: var(--card); border: 1px solid var(--line-soft); border-left: 3px solid var(--neon);
}
.callout b { color: var(--text); }
.table-scroll { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line-soft); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.data-table th {
  padding: 12px 14px; text-align: left; background: var(--card);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.data-table td { padding: 12px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.data-table td:first-child { color: var(--text); font-weight: 600; }
.tag-no { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--muted); }

/* ---------- about ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { padding: 26px; }
.feat-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--neon-soft); border: 1px solid rgba(182, 255, 59, .3); color: var(--neon);
}
.feat-ico .ico { width: 22px; height: 22px; }
.feat h3 { margin: 20px 0 8px; font: 800 24px/1 var(--font-display); text-transform: uppercase; }
.feat p { margin: 0; color: var(--muted); }
.principles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.principles-intro p { margin: 14px 0 0; color: var(--muted); max-width: 340px; }
.principle-list { list-style: none; margin: 0; padding: 0; }
.principle { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.principle:last-child { border-bottom: 1px solid var(--line-soft); }
.p-num { font: italic 800 38px/1 var(--font-display); color: var(--neon); }
.principle h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 700; }
.principle p { margin: 0; color: var(--muted); }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px; }
.stat { padding: 22px 24px; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat b { display: block; font: 800 60px/1 var(--font-display); }
.stat span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.company-card { padding: 28px; }
.company-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 22px 0 0; }
.company-dl dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.company-dl dd { margin: 6px 0 0; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 44px; }
.contact-form { position: relative; padding: 28px; }
.form-title { margin: 0 0 22px; font: 800 26px/1 var(--font-display); text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label:not(.check) { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.counter { font-size: 12px; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
  background-color: var(--bg-2); border: 1px solid var(--line); color: var(--text); font: 500 15px var(--font-body);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B97A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(182, 255, 59, .6); box-shadow: 0 0 0 3px rgba(182, 255, 59, .12); }
.field [aria-invalid="true"] { border-color: rgba(255, 77, 94, .75) !important; }
.field-err { margin: 6px 0 0; font-size: 12px; color: #FF8A96; }
.field-err:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--neon); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid rgba(255, 77, 94, .75); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-note { margin: 0; font-size: 12px; color: var(--dim); }
.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14px; color: #D8E6C4;
  background: var(--neon-soft); border: 1px solid rgba(182, 255, 59, .4);
}
.form-status b { color: var(--neon); }
.form-status:focus { outline: none; }
.contact-aside { display: flex; flex-direction: column; gap: 12px; }
.c-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 20px; }
.c-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--raised); color: var(--neon); }
.c-card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.c-card p { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.c-card p:last-child { margin-bottom: 0; }
.c-note { padding: 6px 4px; font-size: 13px; color: var(--muted); }
.c-note p { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.c-note [data-icon] { color: var(--dim); }
.c-note .ico { width: 16px; height: 16px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 880px; padding-top: 44px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group .sec-title { font-size: 26px; margin-bottom: 14px; }
.faq-item { margin-top: 10px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; transition: border-color .15s; }
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--neon); }
.faq-item summary .ico { width: 18px; height: 18px; color: var(--dim); transition: transform .2s; }
.faq-item[open] summary .ico { transform: rotate(180deg); color: var(--neon); }
.faq-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: #C3CCD7; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a b { color: var(--text); }
.faq-wrap .cta-box { margin-top: 48px; max-width: none; }

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .toc-wrap { position: static; }
  .toc { background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px; }
  .toc summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600;
  }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary .ico { width: 16px; height: 16px; color: var(--dim); transition: transform .2s; }
  .toc[open] summary .ico { transform: rotate(180deg); }
  .toc-title { display: none; }
  #toc-list { margin: 0 16px 14px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 768px) {
  .info-section { padding-top: 48px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feat { padding: 22px; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 46px; }
  .company-card { padding: 22px; }
  .company-dl { grid-template-columns: minmax(0, 1fr); }
  .contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .callout { font-size: 15px; }
  .faq-item summary { padding: 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 16px; }
}
