/* ==========================================================================
   ninecasino-official-be.com – "Electric" theme (Tesla-inspired)
   Palette: pure white surfaces, graphite text, electric blue accent
   Fonts:   Montserrat (display), Inter (text & UI)
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces */
  --c-bg: #ffffff;
  --c-bg-2: #f4f4f4;
  --c-panel: #f4f4f4;
  --c-panel-2: #eeeeee;
  --c-dark: #171a20;
  --c-dark-2: #22252c;

  /* Text */
  --c-text: #171a20;
  --c-text-soft: #393c41;
  --c-text-dim: #5c5e62;
  --c-line: #d0d1d2;
  --c-line-soft: #eeeeee;

  /* Accents */
  --c-blue: #3e6ae1;
  --c-blue-hover: #3457b1;
  --c-blue-soft: rgba(62, 106, 225, 0.08);
  --c-red: #e31937;

  --ff-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);

  --radius: 4px;
  --radius-lg: 12px;
  --header-h: 64px;
  --container: 1200px;
  --ease: cubic-bezier(0.5, 0, 0, 0.75);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--c-bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--ff-text);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text-soft);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.2; margin: 0 0 var(--space-4); color: var(--c-text); letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.4em; }
a { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-line); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
a:hover { color: var(--c-blue); text-decoration-color: currentColor; }
strong { font-weight: 600; color: var(--c-text); }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
::selection { background: var(--c-blue); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.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; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 400; padding: 0.6rem 1rem; background: var(--c-blue); color: #fff; font-weight: 500; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: #fff; }

.text-gold, .text-yellow, .text-blue { color: var(--c-blue); }
.text-red { color: var(--c-red); }
.muted { color: var(--c-text-dim); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.125rem; color: var(--c-text-dim); max-width: 62ch; }
.eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-dim); margin-bottom: var(--space-2); }

/* --------------------------------------------------------------------------
   Buttons – flat, 4px radius, Tesla-style
   -------------------------------------------------------------------------- */
.btn {
  --b-bg: var(--c-blue);
  --b-bg-h: var(--c-blue-hover);
  --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 40px; padding: 0.5rem 1.5rem;
  font-family: var(--ff-text); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.01em;
  text-decoration: none; color: var(--b-fg); background: var(--b-bg);
  border: 3px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color 0.33s var(--ease), color 0.33s var(--ease), border-color 0.33s var(--ease);
  white-space: nowrap;
}
.btn:hover { color: var(--b-fg); background: var(--b-bg-h); }
.btn--primary, .btn--gold { --b-bg: var(--c-blue); --b-bg-h: var(--c-blue-hover); --b-fg: #fff; }
.btn--outline, .btn--ghost { --b-bg: var(--c-panel); --b-bg-h: var(--c-panel-2); --b-fg: var(--c-text-soft); }
.btn--dark { --b-bg: var(--c-dark); --b-bg-h: #000; --b-fg: #fff; }
.btn--glass { --b-bg: rgba(255, 255, 255, 0.9); --b-bg-h: #ffffff; --b-fg: var(--c-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--lg { min-height: 48px; min-width: min(264px, 100%); padding: 0.7rem 2rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }

/* --------------------------------------------------------------------------
   Header – white, minimal, rounded hover pills
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-line-soft); }
.header-inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--c-text); flex: none; }
.logo:hover { color: var(--c-text); }
.logo__mark { width: 30px; height: 30px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.32em; text-transform: uppercase; }
.logo__text small { display: block; margin-top: 5px; font-family: var(--ff-text); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.3em; color: var(--c-text-dim); text-transform: uppercase; }

.main-nav { display: none; margin-inline: auto; }
.main-nav ul { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 0.35rem 0.85rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500; color: var(--c-text); text-decoration: none;
  transition: background-color 0.33s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--c-text); background: rgba(0, 0, 0, 0.05); }

.header-actions { display: none; gap: var(--space-2); margin-left: auto; }
.header-actions .btn { min-height: 34px; padding: 0.25rem 1rem; font-size: 0.8125rem; border-width: 2px; }

.burger {
  margin-left: auto; height: 34px; padding: 0 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0, 0, 0, 0.05); border: 0; border-radius: var(--radius); cursor: pointer; color: var(--c-text);
  font: 500 0.875rem/1 var(--ff-text);
}
.burger::after { content: "Menu"; }
.burger:hover { background: rgba(0, 0, 0, 0.09); }
.burger__lines { display: none; }

@media (min-width: 720px) {
  .header-actions { display: flex; }
  .burger { margin-left: 0; }
}
@media (min-width: 1180px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 0; }
  .burger { display: none; }
}

/* Mobile slide-in menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 100vw);
  display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-4) var(--space-5) var(--space-5);
  background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.mobile-menu__close { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; color: var(--c-text); border: 0; border-radius: var(--radius); cursor: pointer; }
.mobile-menu__close:hover { background: rgba(0, 0, 0, 0.05); }
.mobile-menu__close .icon { width: 20px; height: 20px; }
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav a {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.75rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 500; color: var(--c-text); text-decoration: none; transition: background-color 0.33s var(--ease);
}
.mobile-menu__nav a .icon { color: var(--c-text-dim); }
.mobile-menu__nav a:hover, .mobile-menu__nav a[aria-current="page"] { background: rgba(0, 0, 0, 0.05); color: var(--c-text); }
.mobile-menu__cta { display: grid; gap: var(--space-3); }
.mobile-menu__note { display: flex; align-items: center; gap: 0.6rem; margin: auto 0 0; font-size: 0.85rem; color: var(--c-text-dim); }

/* --------------------------------------------------------------------------
   Hero – full-bleed "studio" scene, centred copy, buttons at the bottom
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; min-height: min(calc(100svh - var(--header-h)), 820px);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2rem, 1rem + 3vw, 3.5rem);
  color: #fff; text-align: center;
  background:
    radial-gradient(ellipse 70% 38% at 50% 100%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 0%, #3a3f49, transparent 70%),
    linear-gradient(180deg, #1d2027 0%, #121418 60%, #0b0c0f 100%);
}
.hero::before {
  /* polished floor line, like a showroom horizon */
  content: ""; position: absolute; left: 0; right: 0; bottom: 32%; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
.hero::after {
  /* oversized geometric "9" mark, very faint */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(520px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("../img/logo-mark-white.svg") center / contain no-repeat; opacity: 0.05;
}
.hero__grid { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-7); width: 100%; }
.hero__grid > * { min-width: 0; }
.hero__badge { margin: 0 0 var(--space-3); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.hero__title { max-width: 22ch; margin: 0 auto var(--space-4); color: #fff; }
.hero__lead { max-width: 64ch; margin: 0 auto; font-size: 1.0625rem; color: rgba(255, 255, 255, 0.78); }
.hero .btn-row { justify-content: center; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; margin: var(--space-5) 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.hero__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__terms { margin: var(--space-4) auto 0; max-width: 70ch; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 719px) {
  .btn { white-space: normal; text-align: center; }
  .hero .btn-row .btn { width: 100%; }
}

/* Key figures – Tesla spec row */
.stats { background: var(--c-bg); border-bottom: 1px solid var(--c-line-soft); }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: var(--space-6) 0; gap: var(--space-5) 0; }
@media (min-width: 720px) { .stats__list { grid-template-columns: repeat(4, 1fr); } }
.stats__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stats__value { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); line-height: 1.1; color: var(--c-text); }
.stats__label { margin-top: 0.35rem; font-size: 0.85rem; color: var(--c-text-dim); }

/* --------------------------------------------------------------------------
   Article layout: table of contents + body
   -------------------------------------------------------------------------- */
.article-layout { display: grid; gap: var(--space-7); padding-block: var(--section-y); }
.article-layout > * { min-width: 0; }
@media (min-width: 1080px) { .article-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: var(--space-8); } }

.toc, .legal-toc { padding: var(--space-5); background: var(--c-panel); border-radius: var(--radius-lg); }
@media (min-width: 1080px) {
  .toc { position: sticky; top: calc(var(--header-h) + 1.25rem); max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
}
.toc h2, .legal-toc h2 { margin-bottom: var(--space-3); font-family: var(--ff-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-dim); }
.toc ol, .legal-toc ol { list-style: none; margin: 0; padding: 0; }
.toc a, .legal-toc a { display: block; padding: 0.4rem 0.6rem; margin-inline: -0.6rem; border-radius: var(--radius); line-height: 1.4; font-size: 0.875rem; color: var(--c-text-soft); text-decoration: none; transition: background-color 0.33s var(--ease); }
.toc a:hover, .legal-toc a:hover { color: var(--c-text); background: rgba(0, 0, 0, 0.05); }

/* Author – top of the content, right-aligned */
.author { display: flex; justify-content: flex-end; margin: 0 0 var(--space-6); }
.author__card { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border: 1px solid var(--c-line-soft); border-radius: 999px; background: #fff; }
.author__meta { display: flex; flex-direction: column; text-align: right; line-height: 1.35; }
.author__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-dim); }
.author__name { font-family: var(--ff-display); font-weight: 600; font-size: 0.98rem; color: var(--c-text); }
.author__date { font-size: 0.75rem; color: var(--c-text-dim); }
.author__avatar { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; font-family: var(--ff-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; color: #fff; background: var(--c-dark); }

/* Long-form prose */
.prose { max-width: 820px; min-width: 0; }
.prose > h1 { margin-bottom: var(--space-5); }
.prose h2 { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--c-line-soft); }
.prose .author + h2, .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--c-text-soft); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.45rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.25em; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-text); }
.prose ol { list-style: none; padding-left: 0; counter-reset: step; }
.prose ol li { position: relative; padding-left: 2.6em; margin-bottom: 0.6rem; counter-increment: step; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em; width: 1.75em; height: 1.75em; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600; color: #fff; background: var(--c-dark); border-radius: 50%;
}

/* Tables */
.table-wrap { margin: var(--space-5) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line-soft); border-radius: var(--radius-lg); scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
th, td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line-soft); }
tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-dim); background: var(--c-panel); white-space: nowrap; }
tbody tr { transition: background-color 0.2s ease; }
tbody tr:hover { background: #fafafa; }
tbody td:first-child { font-weight: 500; color: var(--c-text); }
.table--grid tbody td:first-child { font-weight: 400; }

/* In-text call to action */
.cta { display: flex; justify-content: center; margin: var(--space-6) 0; padding: var(--space-6) var(--space-5); background: var(--c-panel); border-radius: var(--radius-lg); }
.cta .btn { white-space: normal; text-align: center; }

/* Notes */
.note { padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--c-panel); color: var(--c-text-soft); }
.callout { display: flex; gap: var(--space-3); align-items: flex-start; margin: var(--space-4) 0; padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--c-blue-soft); }
.callout .icon { margin-top: 0.3em; color: var(--c-blue); }
.callout p { margin: 0; }

/* FAQ */
.faq { display: grid; margin-top: var(--space-5); border-top: 1px solid var(--c-line-soft); }
.faq details { border-bottom: 1px solid var(--c-line-soft); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; list-style: none; font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; color: var(--c-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.5px solid var(--c-text); border-bottom: 1.5px solid var(--c-text); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 var(--space-4); color: var(--c-text-soft); }

/* --------------------------------------------------------------------------
   Age badge
   -------------------------------------------------------------------------- */
.age-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; font-weight: 600; font-size: 0.85rem; color: var(--c-text); border: 1.5px solid var(--c-text); }
.age-badge--sm { width: 30px; height: 30px; font-size: 0.66rem; border-width: 1px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { margin-top: var(--section-y); padding-top: var(--space-8); background: var(--c-panel); color: var(--c-text-dim); font-size: 0.9rem; }
.site-footer a { color: var(--c-text-soft); }
.site-footer a:hover { color: var(--c-text); }
.site-footer h2 { margin-bottom: var(--space-4); font-family: var(--ff-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text); }
.footer-top { display: grid; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid var(--c-line); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: var(--space-4); max-width: 42ch; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { text-decoration: none; }

.rg { padding-block: var(--space-7); border-bottom: 1px solid var(--c-line); }
.rg__head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); align-items: center; margin-bottom: var(--space-5); }
.rg__head h2 { margin: 0; }
.rg__head p { grid-column: 1 / -1; margin: 0; max-width: 80ch; }
.rg__grid { display: grid; gap: var(--space-3); list-style: none; margin: 0 0 var(--space-5); padding: 0; }
@media (min-width: 600px) { .rg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rg__grid { grid-template-columns: repeat(3, 1fr); } }
.rg-link { display: flex; align-items: center; gap: var(--space-3); height: 100%; padding: var(--space-3); text-decoration: none; border-radius: var(--radius-lg); background: #fff; transition: box-shadow 0.3s var(--ease); }
.rg-link:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07); }
.rg-link__logo { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; font-weight: 600; font-size: 0.72rem; color: #fff; background: var(--c-dark); }
.rg-link__logo--dark { background: var(--c-dark); }
.rg-link__logo--red { background: var(--c-red); }
.rg-link__logo--teal { background: #1f8a78; }
.rg-link__logo--purple { background: #6b55c9; }
.rg-link__logo--blue { background: var(--c-blue); }
.rg-link__txt { display: flex; flex-direction: column; line-height: 1.35; color: var(--c-text-dim); }
.rg-link__txt strong { color: var(--c-text); }
.rg-link__txt span { font-size: 0.82rem; }
.rg__hotline { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin: 0; }
.rg__hotline a { font-family: var(--ff-display); font-weight: 600; font-size: 1.25rem; color: var(--c-text); text-decoration: none; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.disclaimer { margin: 0; padding-bottom: var(--space-7); font-size: 0.8rem; color: var(--c-text-dim); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.page-hero { padding-block: var(--space-7) var(--space-6); background: var(--c-panel); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 var(--space-4); padding: 0; font-size: 0.82rem; color: var(--c-text-dim); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--c-line); }
.updated { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--c-text-dim); }
.legal-layout { display: grid; gap: var(--space-7); padding-block: var(--section-y); }
@media (min-width: 1080px) {
  .legal-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: var(--space-8); }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 1.25rem); max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; }
}
.legal { max-width: 78ch; min-width: 0; }
.legal section + section { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--c-line-soft); }
.legal h2 { font-size: 1.35rem; }
.legal h3 { font-size: 1.05rem; margin-top: var(--space-5); }
.legal address { font-style: normal; padding: var(--space-4) var(--space-5); margin-bottom: var(--space-4); border-radius: var(--radius-lg); background: var(--c-panel); }
.legal table { font-size: 0.9rem; }
.placeholder { background: var(--c-blue-soft); padding: 0 0.25rem; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* 404 */
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: var(--section-y); text-align: center; }
.error-page__code { font-family: var(--ff-display); font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 300; line-height: 1; margin-bottom: var(--space-4); color: var(--c-text); letter-spacing: 0.04em; }
.error-page .lead { margin: var(--space-4) auto var(--space-6); }
.error-page .btn-row { justify-content: center; }
