/* ==========================================================================
   Score8 — Brand & Entity Hub
   Single stylesheet. Plain CSS, custom properties, mobile-first.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header/Nav · 5 Buttons
             6 Cards & grids · 7 Home sections · 8 Inner pages & prose
             9 Components (breadcrumbs, badges, placeholders, author)
             10 Footer · 11 Motion & utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #05070B;
  --surface: #090E18;
  --navy: #071A33;
  --navy-light: #0D2A4D;
  --red: #E31B23;
  --red-hover: #FF2D35;
  --red-text: #FF4A51;           /* red used for small text on dark: passes WCAG AA */
  --text: #FFFFFF;
  --text-secondary: #B7C0CC;
  --muted: #7F8A99;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;

  --card-bg: linear-gradient(180deg, rgba(13, 42, 77, .32) 0%, rgba(9, 14, 24, .92) 60%);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
a { color: var(--text); text-decoration-color: rgba(255, 74, 81, .6); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-hover); }
strong { color: var(--text); font-weight: 650; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-hover); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--red); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-block: 1px solid var(--border); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 700px; }
.lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); color: var(--text-secondary); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--red); border-radius: 2px; }

.grid { display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split > *, .layout-aside > * { min-width: 0; }
.split { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .split--reverse > :first-child { order: 2; }
}

/* 4. Header / navigation --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed-position mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 7, 11, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: 0; text-decoration: none;
  font-weight: 800; font-size: 1.375rem; letter-spacing: .02em; color: var(--text); line-height: 1; padding: 8px 0;
}
.logo:hover { color: var(--text); }
.logo__image { display: block; width: 96px; height: 32px; object-fit: contain; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; order: 3; }
.header-actions .header-auth { min-height: 40px; padding-inline: 10px; font-size: .875rem; }

.nav-toggle {
  margin-left: 0; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border-strong); color: var(--text);
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease), background .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text-secondary); text-decoration: none; font-weight: 550; font-size: .9375rem; border-radius: 8px;
}
.site-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.site-nav__link[aria-current="page"] { color: var(--text); }
.site-header .header-cta { display: none; }

/* No-JS fallback: nav is a simple wrapped row under the logo. */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-header__inner { flex-wrap: wrap; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .site-nav__list { display: flex; flex-wrap: wrap; }

/* JS mobile menu */
@media (max-width: 1199.98px) {
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--bg);
    padding: 16px var(--gutter) 32px;
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .js .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .js .site-nav__list { display: grid; gap: 2px; }
  .js .site-nav__link { min-height: 52px; font-size: 1.125rem; padding: 0 12px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .js .site-nav__link[aria-current="page"] { color: var(--text); box-shadow: inset 3px 0 0 var(--red); }
  .site-nav__cta { margin-top: 24px; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { order: 2; margin-left: auto; }
  .site-nav__list { display: flex; align-items: center; gap: 2px; }
  .site-nav__link[aria-current="page"] { position: relative; }
  .site-nav__link[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red); border-radius: 2px;
  }
  .site-nav .site-nav__cta { display: none; }
  .header-actions { margin-left: 12px; }
  .site-header .header-cta { display: inline-flex; order: 4; margin-left: 8px; }
  html:not(.js) .site-nav { width: auto; }
}
@media (max-width: 379.98px) {
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle__label { display: none; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s, background-color .18s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { color: #fff; box-shadow: 0 0 0 1px var(--red-hover), 0 10px 28px -10px rgba(255, 45, 53, .65); transform: translateY(-1px); }
.btn--secondary { background: rgba(9, 14, 24, .6); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { color: var(--text); border-color: rgba(255, 255, 255, .32); background: rgba(13, 42, 77, .45); transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 419.98px) { .btn-row .btn { flex: 1 1 100%; } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); text-decoration: none;
}
.text-link .icon { width: 16px; height: 16px; color: var(--red-text); transition: transform .18s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* 6. Cards ----------------------------------------------------------------- */
.icon { width: 24px; height: 24px; flex: none; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
  min-width: 0;
}
.card:hover { border-color: rgba(255, 255, 255, .18); }
.card--link:hover { transform: translateY(-3px); border-color: rgba(227, 27, 35, .45); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 12px; color: var(--text);
  background: linear-gradient(145deg, var(--navy-light), var(--navy)); border: 1px solid var(--border-strong);
}
.card__icon--red { background: linear-gradient(145deg, rgba(227, 27, 35, .9), rgba(140, 12, 18, .9)); border-color: rgba(255, 255, 255, .12); }
.card__cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); margin: 0 0 8px; }
.card__title { font-size: 1.1875rem; margin: 0 0 8px; letter-spacing: -.015em; }
.card__title a { color: var(--text); text-decoration: none; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card--link:has(.card__title a:focus-visible) { outline: 2px solid var(--red-hover); outline-offset: 3px; }
.card__text { margin: 0 0 18px; font-size: .96875rem; color: var(--text-secondary); }
.card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9375rem; color: var(--text); }
.card__cta .icon { width: 16px; height: 16px; color: var(--red-text); transition: transform .18s var(--ease); }
.card--link:hover .card__cta .icon { transform: translateX(3px); }
.card__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; color: var(--muted); margin: 0 0 12px; }
.card--feature { background: radial-gradient(120% 90% at 100% 0%, rgba(227, 27, 35, .16), transparent 55%), var(--card-bg); }
.card--compact { padding: 18px 20px; flex-direction: row; align-items: flex-start; gap: 14px; }
.card--compact .card__icon { margin: 0; width: 40px; height: 40px; flex: none; }
.card--compact .card__title { margin: 0; font-size: 1.0625rem; }
.card--compact .card__text { margin: 2px 0 0; font-size: .875rem; }

/* Ecosystem cards: stronger identity per category via a top accent */
.eco-card { overflow: hidden; }
.eco-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  opacity: .7;
}
.eco-card:nth-child(2n)::before { background: linear-gradient(90deg, var(--navy-light), #2A5B94 50%, transparent); }

/* 7. Home sections --------------------------------------------------------- */
/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(13, 42, 77, .75), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(227, 27, 35, .12), transparent 70%),
    linear-gradient(180deg, #05070B 0%, #06101F 55%, #071A33 100%);
  border-bottom: 1px solid var(--border);
}
.hero::after { /* fine grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1; display: grid; gap: 48px; grid-template-columns: 1fr;
  padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px);
  align-items: center;
}
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { margin-bottom: 20px; max-width: 12ch; }
.hero h1 .accent { color: var(--red); }
.hero .lede { max-width: 58ch; margin-bottom: 32px; }
.hero__tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li { font-size: .8125rem; color: var(--text-secondary); padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(5, 7, 11, .4); }

/* Hero visual — CSS/SVG only, decorative with a text alternative */
.hero-visual {
  position: relative; display: grid; gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "match match match match phone phone"
    "game  game  ent   ent   phone phone"
    "tech  tech  tech  tech  tech  tech";
}
.hero-visual::before { /* soft red halo behind the panel */
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: 8%; top: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 27, 35, .22), transparent); filter: blur(10px); z-index: -1;
}
.hv {
  position: relative; border: 1px solid var(--border-strong); border-radius: 14px; padding: 14px;
  background: linear-gradient(160deg, rgba(13, 42, 77, .55), rgba(7, 12, 22, .92));
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9); min-width: 0;
}
.hv__label { display: flex; align-items: center; gap: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 10px; }
.hv__label .icon { width: 16px; height: 16px; color: var(--red-text); }
.hv--match { grid-area: match; }
.hv--game { grid-area: game; }
.hv--ent { grid-area: ent; }
.hv--tech { grid-area: tech; }
.hv--phone { grid-area: phone; padding: 8px; border-radius: 26px; background: #03050A; display: flex; }
.hv-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.hv-team { display: grid; gap: 6px; justify-items: start; }
.hv-team:last-child { justify-items: end; }
.hv-crest { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); background: linear-gradient(145deg, var(--navy-light), var(--navy)); }
.hv-crest--red { background: linear-gradient(145deg, var(--red), #7C0A10); }
.hv-score { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.hv-status { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.hv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(227, 27, 35, .2); }
.bar { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.bar--w40 { width: 40%; } .bar--w55 { width: 55%; } .bar--w70 { width: 70%; } .bar--w85 { width: 85%; } .bar--w100 { width: 100%; }
.bar--red { background: rgba(227, 27, 35, .7); }
.hv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hv-tiles span { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); }
.hv-tiles span:nth-child(5) { background: linear-gradient(145deg, var(--red), #8C0C12); border-color: transparent; }
.hv-tiles span:nth-child(3), .hv-tiles span:nth-child(7) { background: rgba(13, 42, 77, .9); }
.hv-play { display: grid; place-items: center; height: 58px; border-radius: 10px; background: linear-gradient(145deg, var(--navy), #04070D); border: 1px solid var(--border); margin-bottom: 10px; }
.hv-play::before { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.hv-wave { display: flex; align-items: end; gap: 3px; height: 18px; }
.hv-wave span { flex: 1; background: rgba(255, 255, 255, .18); border-radius: 2px; }
.hv-wave span:nth-child(odd) { height: 60%; } .hv-wave span:nth-child(3n) { height: 100%; background: rgba(227, 27, 35, .75); } .hv-wave span:nth-child(4n) { height: 35%; }
.hv-tech svg { width: 100%; height: 64px; }
.hv-screen { flex: 1; border-radius: 19px; background: linear-gradient(180deg, #0A1426, #05070B); padding: 22px 10px 10px; display: grid; gap: 8px; align-content: start; position: relative; overflow: hidden; }
.hv-screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 6px; transform: translateX(-50%); border-radius: 6px; background: #000; }
.hv-screen__logo { font-size: .75rem; font-weight: 800; color: #fff; letter-spacing: .04em; }
.hv-screen__logo b { color: var(--red); }
.hv-chip-row { display: flex; gap: 4px; }
.hv-chip-row span { height: 14px; flex: 1; border-radius: 7px; background: rgba(255,255,255,.08); }
.hv-chip-row span:first-child { background: var(--red); }
.hv-row { display: grid; gap: 5px; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
@media (max-width: 599.98px) {
  .hero-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "match match" "game ent" "tech tech"; }
  .hv--phone { display: none; }
}

/* "At a glance" definition list */
.facts { display: grid; grid-template-columns: 1fr; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: rgba(9, 14, 24, .6); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.facts dd { margin: 0; color: var(--text); font-size: .9375rem; }
.answer {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); color: var(--text); line-height: 1.55;
  padding-left: 20px; border-left: 3px solid var(--red); margin-bottom: 24px;
}

/* Data placeholder panel (match centre etc.) */
.data-panel { border: 1px dashed rgba(255, 255, 255, .2); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); background: rgba(7, 26, 51, .35); }
.data-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.data-panel__title { margin: 0; font-size: 1.125rem; }
.data-rows { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.data-rows li { display: grid; grid-template-columns: 56px 1fr auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: rgba(5, 7, 11, .55); border: 1px solid var(--border); }
.data-rows .bar { height: 8px; }
.data-rows .score { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.data-panel__note { font-size: .875rem; color: var(--muted); margin: 0; }

/* Phone mockup (app section) */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: min(420px, 90%); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 42, 77, .9), transparent); z-index: 0; }
.phone {
  position: relative; z-index: 1; width: min(280px, 78vw); aspect-ratio: 9 / 18.5;
  border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #1A2233, #05070B 40%);
  border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0,0,0,.6) inset;
}
.phone__screen { height: 100%; border-radius: 31px; overflow: hidden; background: linear-gradient(180deg, #081426 0%, #05070B 60%); display: flex; flex-direction: column; position: relative; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #000; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 44px 18px 12px; }
.phone__logo { font-weight: 800; color: #fff; letter-spacing: .03em; }
.phone__logo b { color: var(--red); }
.phone__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-light); border: 1px solid var(--border-strong); }
.phone__tabs { display: flex; gap: 6px; padding: 0 14px 12px; }
.phone__tabs span { font-size: .6875rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--text-secondary); background: rgba(255,255,255,.06); }
.phone__tabs span:first-child { background: var(--red); color: #fff; }
.phone__feature { margin: 0 14px 10px; height: 96px; border-radius: 16px; background: radial-gradient(90% 90% at 100% 0%, rgba(227,27,35,.5), transparent 60%), linear-gradient(145deg, var(--navy-light), var(--navy)); border: 1px solid var(--border); padding: 12px; display: grid; align-content: end; gap: 6px; }
.phone__list { display: grid; gap: 8px; padding: 0 14px; }
.phone__item { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.phone__thumb { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(145deg, var(--navy-light), var(--navy)); }
.phone__item:nth-child(2) .phone__thumb { background: linear-gradient(145deg, #3A0A0D, #1A0507); }
.phone__lines { display: grid; gap: 6px; }
.phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 10px 16px; border-top: 1px solid var(--border); }
.phone__nav span { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.1); }
.phone__nav span:first-child { background: var(--red); }

.feature-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .card__icon { width: 40px; height: 40px; margin: 0; }
.feature-list h3 { font-size: 1.0625rem; margin: 0 0 2px; }
.feature-list p { margin: 0; font-size: .9375rem; }

/* Knowledge / Q&A */
.qa { display: grid; gap: 0; border-top: 1px solid var(--border); }
.qa__item { padding: 24px 0; border-bottom: 1px solid var(--border); display: grid; gap: 8px; }
@media (min-width: 900px) { .qa__item { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; } }
.qa__item h3 { font-size: 1.125rem; margin: 0; }
.qa__item p { margin: 0; }

/* Content-type legend */
.legend { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.legend li { display: grid; grid-template-columns: 1fr; gap: 10px; justify-items: start; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(9, 14, 24, .6); }
.legend p { margin: 0; font-size: .9375rem; }

/* 8. Inner pages ----------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(55% 80% at 90% 0%, rgba(13, 42, 77, .7), transparent 70%), linear-gradient(180deg, #05070B, #060D19);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(28px, 4vw, 40px) clamp(48px, 7vw, 80px);
}
.page-hero h1 { max-width: 20ch; margin-bottom: 18px; }
.page-hero .lede { max-width: 64ch; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 0; font-size: .875rem; color: var(--muted); }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 650; background: rgba(13, 42, 77, .35); }
.prose code { font-family: var(--mono); font-size: .9em; color: var(--text); background: rgba(255,255,255,.06); padding: .1em .35em; border-radius: 4px; }

.layout-aside { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.aside-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--card-bg); }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside-box li a { display: block; padding: 8px 0; text-decoration: none; color: var(--text-secondary); font-size: .9375rem; border-bottom: 1px solid var(--border); }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover { color: var(--text); }
@media (min-width: 1024px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

.article-header { max-width: 820px; }
.article-header h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); max-width: none; }
.news-source-note {
  margin: 0 0 1.5em;
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, .035);
  color: var(--text-secondary);
}
.news-source-note p { margin: 0; }
.news-source-note strong { color: var(--text); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9375rem; color: var(--muted); margin-top: 20px; }
.byline strong { color: var(--text); font-weight: 600; }
.byline__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 18px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .875rem; color: #fff; background: var(--navy-light); border: 1px solid var(--border-strong); }

/* 9. Components ------------------------------------------------------------ */
.breadcrumbs { margin-bottom: clamp(28px, 4vw, 44px); font-size: .875rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255,255,255,.2); }
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

.badge {
  display: inline-flex; max-width: 100%; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); background: rgba(13, 42, 77, .55); white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge--editorial { color: #9CC3FF; border-color: rgba(156, 195, 255, .3); }
.badge--info { color: #B7C0CC; }
.badge--gaming { color: #FFB4B7; border-color: rgba(255, 74, 81, .4); background: rgba(227, 27, 35, .12); }
.badge--status { color: #FFD48A; border-color: rgba(255, 212, 138, .3); background: rgba(255, 212, 138, .06); }

/* Placeholder marker: visible, easy to find in source ("data-placeholder") */
.ph {
  color: #FFD48A; background: rgba(255, 212, 138, .07); border: 1px dashed rgba(255, 212, 138, .45);
  border-radius: 6px; padding: .05em .4em; font-size: .95em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.notice {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: rgba(13, 42, 77, .35); margin: 0 0 1.5em; font-size: .9375rem;
}
.notice .icon { color: var(--text-secondary); margin-top: 2px; }
.notice p:last-child { margin-bottom: 0; }
.notice--gaming { border-color: rgba(255, 74, 81, .35); background: rgba(227, 27, 35, .07); }
.notice--gaming .icon { color: var(--red-text); }

.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg); margin-top: 48px; max-width: 72ch; }
.author-box__avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--navy-light), var(--navy)); border: 1px solid var(--border-strong); }
.author-box__title { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.author-box__name { color: var(--text); font-weight: 650; margin: 0 0 6px; }
.author-box p:last-child { margin-bottom: 0; font-size: .9375rem; }

.cta-band {
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 5vw, 48px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(227, 27, 35, .16), transparent 55%), linear-gradient(135deg, var(--navy), var(--surface));
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.cta-band p { margin: 0; }

.empty-state { text-align: left; border: 1px dashed rgba(255,255,255,.18); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); background: rgba(9, 14, 24, .5); }
.empty-state h2, .empty-state h3 { font-size: 1.25rem; }
.empty-state p:last-child { margin-bottom: 0; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), #03050A); padding-block: 64px 32px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
}
.footer-brand p { color: var(--muted); margin: 14px 0 0; }
.footer-col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-col a { display: inline-block; padding: 6px 0; color: var(--text-secondary); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-secondary); }

/* 11. Motion & utilities --------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card--link:hover, .btn:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .skip-link, .hero-visual, .phone-wrap { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, a, strong { color: #000; }
}
.h3-size { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.article-page { padding-top: clamp(28px, 4vw, 40px); }
