/* ==========================================================================
   HK SLOT AKADEMI - DESIGN SYSTEM
   Editorial Tech Atlas — Dark navy + warm copper, serif display + sans body
   ========================================================================== */

/* --- CSS Reset & Base --- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

a { color: inherit; text-decoration: none; }

/* --- Design Tokens --- */
:root {
  /* Color Palette — Editorial Dark */
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1f2730;
  --surface-3: #2a333f;
  --border: #2d3340;
  --border-strong: #3d4554;

  /* Copper accent — different from TotoVIP gold */
  --copper: #c4845c;
  --copper-bright: #e8a878;
  --copper-dim: #8a6647;
  --copper-glow: rgba(196, 132, 92, 0.15);

  /* Text */
  --text: #e6edf3;
  --text-dim: #b1bac4;
  --text-mute: #8b96a4;
  --text-faint: #6e7884;

  /* Semantic */
  --note-bg: #1a1f2e;
  --note-border: #3b4f7a;
  --note-text: #aac3ff;

  --warn-bg: #2a1a14;
  --warn-border: #6b3f2a;
  --warn-text: #f0a878;

  --key-bg: #1f1a14;
  --key-border: #4d3d2a;
  --key-text: #e8c890;

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing scale (8px base) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  /* Layout */
  --max-w: 1240px;
  --content-w: 760px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t: 0.25s ease;
}

/* --- Body Base --- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 132, 92, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(60, 80, 120, 0.06), transparent 60%);
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  position: relative;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
  color: var(--copper-bright);
}

h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-1);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p { margin-bottom: var(--sp-2); }
p + p { margin-top: 0; }

strong { color: var(--copper-bright); font-weight: 600; }
em { color: var(--text-dim); }

a.link, .prose a {
  color: var(--copper-bright);
  border-bottom: 1px solid rgba(232, 168, 120, 0.3);
  transition: color var(--t-fast), border-color var(--t-fast);
}
a.link:hover, .prose a:hover {
  color: #fff;
  border-bottom-color: var(--copper-bright);
}

code, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--copper-bright);
}

ul, ol { margin: var(--sp-2) 0 var(--sp-3); padding-left: 1.4rem; }
li { margin-bottom: var(--sp-1); }
ul li::marker { color: var(--copper); }
ol li::marker { color: var(--copper); font-weight: 600; }

blockquote {
  margin: var(--sp-3) 0;
  padding: var(--sp-2) var(--sp-3);
  border-left: 3px solid var(--copper);
  background: var(--surface);
  font-style: italic;
  color: var(--text-dim);
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-3); }
.container-narrow { max-width: var(--content-w); margin: 0 auto; padding: 0 var(--sp-3); }

/* --- HEADER NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.brand-logo-footer {
  height: 52px;
  max-width: 260px;
}

.brand .brand-mark {
  color: var(--copper-bright);
  font-style: italic;
}
.brand .brand-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
  font-weight: 500;
}
.nav-menu a:hover { color: var(--copper-bright); background: var(--copper-glow); }

.nav-cta {
  background: var(--copper);
  color: #1a0f06 !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: var(--radius);
  transition: transform var(--t-fast), background var(--t-fast);
}
.nav-cta:hover {
  background: var(--copper-bright) !important;
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

/* --- HERO --- */
.hero {
  padding: var(--sp-7) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-6);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: var(--sp-3);
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--copper);
}

.hero h1 {
  margin-bottom: var(--sp-3);
}
.hero h1 em {
  font-style: italic;
  color: var(--copper-bright);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: var(--sp-4);
  max-width: 56ch;
}

.hero-meta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}
.hero-meta strong { color: var(--text); font-weight: 500; }

.hero-cta-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--copper);
  color: #1a0f06;
}
.btn-primary:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-bright);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 17, 23, 0.6) 100%);
  pointer-events: none;
}

/* --- SECTION DIVIDERS — editorial style --- */
.section {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.section-num::before {
  content: '§';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4em;
  color: var(--copper-bright);
}

/* --- PROSE (article body) --- */
.prose {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
.prose > p,
.prose > ul,
.prose > ol,
.prose > blockquote { font-size: 1.05rem; }
.prose figure { margin: var(--sp-4) 0; }
.prose figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.prose figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: var(--sp-1);
  text-align: center;
  letter-spacing: 0.02em;
}

/* --- CALLOUT BOXES --- */
.callout {
  margin: var(--sp-3) 0;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius);
  border-left: 3px solid;
  font-size: 0.97rem;
}
.callout-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.callout-note {
  background: var(--note-bg);
  border-color: var(--note-border);
}
.callout-note .callout-title { color: var(--note-text); }

.callout-warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}
.callout-warn .callout-title { color: var(--warn-text); }

.callout-key {
  background: var(--key-bg);
  border-color: var(--key-border);
}
.callout-key .callout-title { color: var(--key-text); }

/* --- TABLE OF CONTENTS (Sticky) --- */
.toc {
  position: sticky;
  top: 80px;
  align-self: start;
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: var(--sp-2);
}
.toc ol { list-style: none; padding-left: 0; margin: 0; counter-reset: toc; }
.toc li {
  margin-bottom: 0.5rem;
  counter-increment: toc;
  position: relative;
  padding-left: 2rem;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}
.toc a {
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.toc a:hover { color: var(--copper-bright); }

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-6);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-3);
}

/* --- COMPARISON TABLE --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-3) 0;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--surface-2);
  color: var(--copper-bright);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 500; color: var(--text); }

/* --- CARD GRID (Modul cards, glossary cards, etc.) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-3) 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: var(--sp-1);
}
.card h3 {
  margin: 0 0 var(--sp-1);
  font-size: 1.15rem;
  color: var(--text);
}
.card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: var(--sp-2);
  flex: 1;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

/* --- BADGE / TAG --- */
.tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  background: var(--copper-glow);
  color: var(--copper-bright);
  border: 1px solid rgba(196, 132, 92, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --- FAQ ACCORDION --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  padding: var(--sp-2) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--copper-bright); }
.faq-q::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--copper);
  transition: transform var(--t);
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 var(--sp-3);
  color: var(--text-dim);
  font-size: 0.97rem;
}

/* --- CTA BOX (end-of-page) --- */
.cta-box {
  margin: var(--sp-5) auto;
  max-width: var(--content-w);
  padding: var(--sp-4);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(196, 132, 92, 0.08) 100%);
  border: 1px solid var(--copper);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-box h3 {
  color: var(--copper-bright);
  margin-bottom: var(--sp-2);
  font-size: 1.6rem;
}
.cta-box p {
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 auto var(--sp-3);
}

/* --- FOOTER --- */
.site-footer {
  margin-top: var(--sp-7);
  border-top: 1px solid var(--border);
  background: #080b10;
  padding: var(--sp-5) 0 var(--sp-3);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-4);
}
.footer-col h4 {
  color: var(--copper);
  font-size: 0.8rem;
  margin-bottom: var(--sp-2);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  color: var(--text-mute);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--copper-bright); }
.footer-about p {
  color: var(--text-mute);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: var(--sp-2);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: var(--sp-4) auto 0;
  padding: var(--sp-3) var(--sp-3) 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-warn {
  display: inline-block;
  padding: 0.3em 0.9em;
  background: rgba(140, 60, 40, 0.15);
  border: 1px solid rgba(140, 60, 40, 0.4);
  border-radius: 100px;
  color: #d49276;
  font-size: 0.78rem;
}

/* --- BREADCRUMB --- */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-3) 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
}
.breadcrumb a { color: var(--text-dim); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--copper-bright); }
.breadcrumb span { color: var(--copper); margin: 0 0.5em; }

/* --- UTILITIES --- */
.text-center { text-align: center; }
.text-mute { color: var(--text-mute); }
.font-mono { font-family: var(--font-mono); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-4 { margin-top: var(--sp-4); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero-visual { aspect-ratio: 16/10; max-width: 540px; margin: 0 auto; }
  .article-layout { grid-template-columns: 1fr; gap: var(--sp-4); }
  .toc { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* === PAGE HEADER (Inner Pages) === */
.page-header {
  padding: var(--sp-6) 0 var(--sp-4);
  border-bottom: 1px solid var(--border);
  position: relative;
  background: linear-gradient(180deg, rgba(196, 132, 92, 0.04) 0%, transparent 100%);
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: var(--sp-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.page-eyebrow::before {
  content: '§';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3em;
  color: var(--copper-bright);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: var(--sp-3);
  max-width: 22ch;
}

.page-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: var(--sp-3);
}

.page-meta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}
.page-meta strong { color: var(--text); }

/* === PAGE CONTENT === */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3);
}
.page-content.narrow {
  max-width: var(--content-w);
}
.page-content > h2:first-child { margin-top: 0; }

/* === GLOSSARY A-Z LIST === */
.az-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-2);
  margin: var(--sp-3) 0;
}
.az-item {
  padding: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t), transform var(--t);
}
.az-item:hover { border-color: var(--copper); transform: translateY(-2px); }
.az-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.3em;
  color: var(--copper-bright);
}
.az-item p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* === REDIRECT PAGE === */
.redirect-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--sp-4);
}
.redirect-block .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: var(--sp-3);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: var(--sp-5) 0 var(--sp-4); }
  .section { padding: var(--sp-4) 0; }
  .brand-logo { height: 36px; }
  .brand-logo-footer { height: 44px; }
  .nav-menu { display: none; gap: 0; flex-direction: column; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-2) var(--sp-3);
  }
  .nav-menu.open li { width: 100%; }
  .nav-menu.open a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .data-table { font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 0.6rem 0.7rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1.02rem; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.9rem; }
  .container, .container-narrow { padding: 0 var(--sp-2); }
}
