/* =============================================
   BTA SPORTS HELP CENTER — Prototype
   Tokens from BTA Design & Brand Guidelines (In Progress)
   Logo navy #131B31 · Logo blue #479CDB · Creative #4B72C1
   Headings/body: Geist (Racon was specified but no licensed files were available)
   Light theme only. Soft gray-blue page, white cards, navy/blue/yellow accents.
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html, body { background: var(--bg); color: var(--text); color-scheme: light; }

:root {
  --navy:          #0B0F1E;
  --logo-blue:     #479CDB;
  --brand-blue:    #4B72C1;
  --cta-blue:      #455EE0;
  --link-blue:     #2447A0;
  --cyan:          #60CCF5;
  --light-cyan:    #BCE9F3;
  --ice:           #D8EFF1;
  --radius:        16px;
  --radius-sm:     8px;
  --max-w:         1200px;
  --pad:           clamp(20px, 5vw, 80px);
  --nav-h:         78px;
  --banner-h:      0px;
  --font-body:     'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:  'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:     'Big Shoulders Display', 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-mono:     'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --bg:            #F4F6FA;
  --bg-deep:       #FFFFFF;
  --bg-deeper:     #F4F6FA;
  --surface:       #FFFFFF;
  --text:          #0B0F1E;
  --muted:         #3C455A;
  --faint:         #586278;
  --accent:        #455EE0;
  --accent-hover:  #3A50C8;
  --accent-light:  #455EE0;
  --accent-bright: #455EE0;
  --accent-soft:   #E2E7FB;
  --accent-ring:   rgba(69, 94, 224, 0.24);
  --kicker:        #455EE0;
  --kicker-bg:     #E2E7FB;
  --yellow:        #ECFF43;
  --yellow-text:   #131B31;
  --btn-bg:        #455EE0;
  --btn-fg:        #FFFFFF;
  --btn-shadow:    none;
  --link:          #3A50C8;
  --link-hover:    #2C3FA8;
  --green:         #0B7A4B;
  --red:           #C0273B;
  --glass:         #F4F6FA;
  --glass-strong: #E7E9EE;
  --glass-border:  #DDE3EB;
  --nav-bg:        rgba(255, 255, 255, 0.94);
  --mobile-bg:     #F4F6FA;
  --input-bg:      #FFFFFF;
  --code-bg:       #F4F6FA;
  --mark-bg:       #E2E7FB;
  --mark-fg:       #0B0F1E;
  --shadow:        0 10px 28px rgba(19, 27, 49, 0.06);
  --card-shadow:   0 8px 24px rgba(19, 27, 49, 0.05);
  --banner-bg:     #0B0F1E;
  --banner-text:   #FFFFFF;
  --banner-border: rgba(47, 79, 179, 0.18);
  --footer-bg:     #F4F6FA;
  --blob-1:        #4B72C1;
  --blob-2:        #60CCF5;
  --blob-3:        #479CDB;
  --aurora-veil:   rgba(244, 246, 250, 0.72);
  --chat-surface:  #FFFFFF;
  --chat-user-bg:  #E2E7FB;
  --search-surface:#FFFFFF;
  --error-bg:      rgba(192, 39, 59, 0.08);
  --error-border:  rgba(192, 39, 59, 0.35);
  --error-text:    #9B1C2E;

}


body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }

/* --- AURORA (subtle, so article text stays readable) --- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, transparent 35%, var(--aurora-veil) 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.28; }
.blob-1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%); top: -200px; left: -100px; animation: b1 22s ease-in-out infinite; opacity: 0.16; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%); top: 24%; right: -140px; animation: b2 26s ease-in-out infinite; opacity: 0.14; }
.blob-3 { width: 460px; height: 460px; background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%); bottom: -120px; left: 30%; animation: b3 20s ease-in-out infinite; opacity: 0.10; }
@keyframes b1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,60px) scale(1.08); } }
@keyframes b2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,50px) scale(0.94); } }
@keyframes b3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px,-40px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* --- PROTOTYPE BANNER --- */
.proto-banner {
  position: sticky; top: 0; z-index: 120;
  background: var(--banner-bg);
  border-bottom: 1px solid var(--banner-border);
  color: var(--banner-text);
  font-size: 12.5px; font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.4;
}
.proto-banner a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.proto-banner a:hover { color: var(--kicker); }

/* --- NAV --- */
.nav {
  position: sticky; top: var(--banner-h, 40px); z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled, .nav {
  background: var(--nav-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav, .nav-inner, .nav-logo, .footer-brand { overflow: visible; }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  min-height: var(--nav-h); height: auto;
  gap: 28px;
  padding: 12px var(--pad);
}
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; overflow: visible; }
.nav-mark {
  display: block;
  height: 52px; width: auto;
  max-width: none; max-height: 52px;
  object-fit: contain; object-position: center;
  flex-shrink: 0;
}
.nav-word {
  height: auto; width: auto;
  font-family: var(--font-display);
  font-weight: 800; font-size: 17px; letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.nav-help {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--kicker);
  border-left: 1px solid var(--glass-border);
  padding-left: 12px; margin-left: 2px; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 22px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-search-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: var(--muted);
}
.nav-search-btn:hover { color: var(--text); background: var(--glass); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 8px 12px; border-radius: 10px; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg); font-weight: 800; font-size: 13px;
  font-family: var(--font-display);
  padding: 10px 20px; border-radius: 100px;
  box-shadow: var(--btn-shadow);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-yellow:hover { transform: translateY(-1px); box-shadow: var(--btn-shadow); }

.btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg); font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
  font-family: var(--font-display);
  padding: 13px 24px; border-radius: 14px;
  box-shadow: var(--btn-shadow);
  transition: transform 0.16s, box-shadow 0.22s;
  border: none; cursor: pointer; width: auto;
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19, 27, 49, 0.14); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-menu {
  display: none; background: var(--mobile-bg); border-bottom: 1px solid var(--glass-border);
  padding: 8px var(--pad) 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 0; font-size: 16px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid var(--glass-border);
}
.mobile-menu a:hover { color: var(--text); }

/* --- HERO / SEARCH --- */
.hero { padding: 56px 0 28px; text-align: center; }
.hero .label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kicker); margin-bottom: 14px;
  display: block;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; line-height: 1.08;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 10px; }
.brand-line {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: var(--text);
  margin: 6px auto 32px; letter-spacing: -0.01em;
}

.search-wrap { position: relative; max-width: 680px; margin: 0 auto; }
.search-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring), var(--shadow);
}
.search-box svg { color: var(--accent-light); flex-shrink: 0; }
.search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 16px; font-family: inherit; padding: 12px 0;
  min-width: 0;
}
.search-box input::placeholder { color: var(--faint); }
.search-kbd {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--faint);
  border: 1px solid var(--glass-border);
  border-radius: 6px; padding: 3px 7px; margin-right: 8px;
}

.search-results {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--search-surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-height: 420px; overflow-y: auto;
  z-index: 50; text-align: left;
}
.search-results.open { display: block; }
.search-hit {
  display: block; padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.15s;
}
.search-hit:last-child { border-bottom: none; }
.search-hit:hover, .search-hit.active { background: var(--accent-soft); }
.search-hit-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kicker); margin-bottom: 3px;
}
.search-hit-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.search-hit-sum { font-size: 13px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-empty, .search-hint { padding: 20px 18px; color: var(--muted); font-size: 14px; }
mark { background: var(--mark-bg); color: var(--mark-fg); border-radius: 2px; padding: 0 2px; }

/* --- CATEGORY GRID --- */
.section { padding: 36px 0 64px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  min-height: 196px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.cat-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
}
.cat-card h3 { font-size: 17px; font-weight: 750; font-weight: 800; }
.cat-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.cat-count {
  font-size: 12px; font-weight: 600; color: var(--accent-light);
}

.article-list { display: flex; flex-direction: column; gap: 10px; }
.article-row {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.article-row:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.article-row h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.article-row p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row .arrow { color: var(--accent-light); margin-left: auto; align-self: center; flex-shrink: 0; }

/* --- PAGE HEADS --- */
.page-hero { padding: 36px 0 8px; }
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--faint); margin-bottom: 18px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--text); }
.crumb svg { opacity: 0.5; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.12; margin-bottom: 12px; }
.page-hero .lead { font-size: 17px; color: var(--muted); max-width: 680px; }

/* --- ARTICLE --- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 12px 0 80px;
  align-items: start;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 22px;
}
.chip {
  font-size: 12px; font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  padding: 4px 10px; border-radius: 100px;
}
.summary {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--kicker);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15.5px; color: var(--muted);
  line-height: 1.65;
  margin: 0 0 28px;
}
.summary strong { color: var(--kicker); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 6px; font-family: var(--font-display); }

.prose { font-size: 16.5px; line-height: 1.75; color: rgba(236,242,255,0.92); max-width: 720px; }
.prose h2 {
  font-size: 24px; font-weight: 800; color: var(--text);
  margin: 36px 0 12px; line-height: 1.25;
}
.prose h3 { font-size: 18px; font-weight: 750; font-weight: 700; color: var(--text); margin: 26px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--kicker); }
.prose strong { color: var(--text); font-weight: 650; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px 4px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0 0 8px; padding-left: 4px; }
.prose li::marker { color: var(--accent-light); }
.prose hr { border: none; border-top: 1px solid var(--glass-border); margin: 28px 0; }
.prose em.brand-end {
  display: block; font-style: normal;
  font-family: var(--font-display);
  font-weight: 700; color: var(--text); margin: 24px 0 8px;
}

.shot {
  margin: 20px 0 28px;
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
}
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: 13px; color: var(--faint); padding: 10px 14px 12px; }
.shot-fallback { display: none; padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.shot-fallback strong { display: block; color: var(--text); margin-bottom: 6px; font-family: var(--font-display); }
.shot.is-missing img, .shot.is-missing figcaption { display: none; }
.shot.is-missing .shot-fallback { display: block; }

.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--glass-border); }
.related h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.18s;
}
.related-card:hover { border-color: var(--accent); }
.related-card span { font-size: 12px; color: var(--kicker); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.related-card strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 15px; }

.sidebar {
  position: sticky; top: calc(var(--banner-h) + var(--nav-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.sidebar h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.sidebar a {
  display: block; font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 8px 0; border-bottom: 1px solid var(--glass-border);
  line-height: 1.4;
}
.sidebar a:last-of-type { border-bottom: none; }
.sidebar a:hover, .sidebar a[aria-current="page"] { color: var(--text); }
.sidebar a[aria-current="page"] { color: var(--accent-light); }
.sidebar .side-cta { margin-top: 16px; display: block; text-align: center; }

/* --- CONTACT --- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px;
  padding: 12px 0 80px; align-items: start;
}
.form-card, .info-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 28px;
}
.note {
  font-size: 13px;
  background: var(--kicker-bg);
  border: 1px solid var(--banner-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  color: var(--banner-text);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.success {
  display: none; text-align: center; padding: 28px 10px;
}
.success.open { display: block; }
.success h2 { font-size: 24px; margin: 12px 0 8px; }
.success p { color: var(--muted); }
.info-card h2 { font-size: 18px; margin-bottom: 10px; }
.info-card p, .info-card li { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.info-card a { color: var(--accent-light); }
.info-card a:hover { color: var(--kicker); }

/* --- FOOTER --- */
.footer {
  margin-top: auto;
  padding: 56px 0 28px;
  background: var(--footer-bg);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; margin-bottom: 36px; }
.footer-logo {
  display: block;
  width: 168px; height: auto;
  max-width: 100%; max-height: none;
  object-fit: contain; object-position: top left;
  margin-bottom: 14px;
  overflow: visible;
}
.footer-tag { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; max-width: 320px; }
.footer-brand-line { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.footer-col h2 { font-size: 12px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-compliance { font-size: 12px; color: var(--faint); line-height: 1.7; padding: 22px 0; border-top: 1px solid var(--glass-border); }
.footer-compliance a { color: var(--accent-light); }
.footer-compliance a:hover { color: var(--kicker); }
.footer-bottom {
  padding-top: 18px; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--faint);
}
.helpline {
  color: var(--text) !important; font-weight: 700;
  font-family: var(--font-display);
}

/* --- ASK ASSISTANT / STORE CTAS --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ask-assistant {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--text);
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 10px 16px;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}
.ask-assistant svg { width: 18px; height: 18px; color: var(--accent-light); }
.ask-assistant:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.hero-assist { margin-top: 18px; }

.app-cta {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
}
.app-cta-home { margin: 8px auto 0; max-width: 820px; text-align: left; }
.app-cta-article { margin: 36px 0 0; max-width: 720px; }
.app-cta h2 {
  font-size: 18px; font-weight: 800; margin: 0 0 6px;
}
.app-cta p { font-size: 14px; color: var(--muted); margin: 0; max-width: 420px; }
.app-cta-copy { flex: 1 1 240px; }
.app-cta-note { margin-top: 8px !important; font-size: 12.5px !important; color: var(--faint) !important; }

.store-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  background: var(--bg-deep); color: var(--text);
  border-radius: 10px; border: 1px solid var(--glass-border);
  padding: 8px 16px 8px 14px;
  min-width: 148px;
  line-height: 1.15;
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.store-btn-kicker { font-size: 10px; font-weight: 600; color: var(--faint); letter-spacing: 0.02em; }
.store-btn-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; }

.sidebar .ask-assistant { width: 100%; justify-content: center; margin-top: 16px; }
.sidebar .side-cta { margin-top: 10px; }

.contact-assist {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin-bottom: 18px;
}
.contact-assist h2 { font-size: 18px; margin-bottom: 6px; }
.contact-assist p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* --- CHAT BUBBLE / WIDGET --- */
.chat-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.chat-bubble:hover { transform: translateY(-2px) scale(1.03); }
.chat-bubble[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--accent-ring), var(--btn-shadow); }
.chat-panel {
  display: none;
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  width: min(392px, calc(100vw - 24px));
  height: min(620px, calc(100vh - 120px));
  background: var(--search-surface);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-strong);
}
.chat-kicker {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--kicker); margin: 0 0 2px;
}
.chat-header h2 { font-size: 16px; margin: 0; }
.chat-close {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.chat-close:hover { background: var(--glass); color: var(--text); }
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg { max-width: 100%; }
.chat-msg p { font-size: 14px; color: var(--muted); margin: 0 0 8px; line-height: 1.55; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg-user { align-self: flex-end; max-width: 90%; }
.chat-msg-user p {
  background: var(--chat-user-bg);
  border: 1px solid var(--accent-ring);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px 14px 4px 14px;
}
.chat-msg-bot { align-self: stretch; }
.chat-pending { color: var(--faint) !important; font-style: italic; }
.chat-suggests { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.chat-suggest {
  text-align: left;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 9px 12px;
  transition: border-color 0.15s, background 0.15s;
}
.chat-suggest:hover { border-color: var(--accent); background: var(--accent-soft); }
.chat-cite {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 13px;
  margin: 0 0 8px;
}
.chat-cite-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--kicker); margin-bottom: 6px;
}
.chat-cite p { color: var(--text); margin: 0 0 8px; }
.chat-cite-link {
  color: var(--accent-light);
  font-size: 13px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.chat-cite-link:hover { color: var(--kicker); }
.chat-followup { margin-top: 8px; }
.chat-follow-q { font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 8px !important; }
.chat-follow-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-follow-btn {
  font-size: 13px; font-weight: 700;
  border: 1px solid var(--glass-border);
  background: var(--glass-strong);
  color: var(--text);
  border-radius: 100px;
  padding: 7px 12px;
}
.chat-follow-btn:hover { border-color: var(--accent); }
.chat-follow-yes { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.chat-follow-yes:hover { box-shadow: var(--btn-shadow); }
.chat-thanks { color: var(--text) !important; font-weight: 600; margin-bottom: 8px !important; }
.chat-app-cta { margin-top: 6px; }
.chat-app-cta p { margin-bottom: 8px; }
.chat-app-note { font-size: 12px !important; color: var(--faint) !important; margin-top: 8px !important; }
.chat-ticket { margin-top: 8px; padding-bottom: 4px; }
.chat-ticket .btn-blue { width: 100%; }
.chat-ticket .field label { color: var(--muted); }
.chat-ticket textarea { min-height: 88px; }
.chat-compose[hidden] { display: none; }
.chat-compose {
  display: flex; gap: 8px; align-items: flex-end;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--glass-border);
  background: var(--search-surface);
}
.chat-compose input, .chat-compose textarea {
  flex: 1; min-width: 0;
  background: var(--input-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
  outline: none; resize: none;
}
.chat-compose input:focus, .chat-compose textarea:focus {
  border-color: var(--accent);
}
.chat-send {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  display: flex; align-items: center; justify-content: center;
}
.chat-send:hover { transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.6; cursor: wait; }

/* --- 404 --- */
.empty-page { text-align: center; padding: 80px 0 120px; }
.empty-page h1 { font-size: 42px; margin-bottom: 12px; }
.empty-page p { color: var(--muted); margin-bottom: 24px; }

main { flex: 1; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mark { height: 48px; max-height: 48px; }
  .hero { padding: 36px 0 16px; }
  .hero-lead { font-size: 16px; }
  .search-kbd { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-inner { min-height: 68px; height: auto; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  :root { --nav-h: 68px; }
  .article-row { padding: 14px 14px; }
  .prose { font-size: 16px; }
  .chat-bubble { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .chat-panel {
    right: 0; left: 0; bottom: 0;
    width: 100%;
    height: min(92vh, 720px);
    border-radius: 18px 18px 0 0;
  }
  body.chat-open { overflow: hidden; }
  .btn-yellow span.hide-sm { display: none; }
}


/* --- FORMS (support) --- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-error {
  display: none;
  font-size: 14px;
  color: var(--error-text);
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 16px;
}
.form-error.open { display: block; }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.field input[type="file"] { padding: 10px 12px; }
.field input[type="file"]::file-selector-button {
  font-family: inherit; font-weight: 600; font-size: 13px;
  background: var(--glass-strong); color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 6px 10px; margin-right: 10px; cursor: pointer;
}
.btn-blue[disabled] { opacity: 0.65; cursor: wait; transform: none; }
.success .demo-flag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--kicker);
  background: var(--banner-bg);
  border: 1px solid var(--banner-border);
  padding: 3px 8px; border-radius: 100px; margin-bottom: 10px;
}

.page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }


/* --- STORE BADGES (official black SVGs, transparent outside the badge) --- */
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.store-badge {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 0;
  padding: 8px; /* official clear space */
  background: transparent;
}
.store-badge img {
  height: 40px; width: auto; display: block;
  background: transparent;
}

/* --- CHAT MARKDOWN --- */
.chat-cite { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px; padding: 12px 14px; }
.chat-md { font-size: 14px; line-height: 1.55; color: var(--text); }
.chat-md p { margin: 0 0 10px; color: var(--text); }
.chat-md p:last-child { margin-bottom: 0; }
.chat-md h3, .chat-md h4, .chat-md .chat-md-h {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  margin: 0 0 8px; color: var(--text);
}
.chat-md ul, .chat-md ol { margin: 0 0 10px; padding-left: 1.25em; }
.chat-md ul { list-style: disc; }
.chat-md ol { list-style: decimal; }
.chat-md li { margin: 0 0 4px; }
.chat-md strong { font-weight: 700; }
.chat-cite-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--link); }
.chat-cite-link:hover { color: var(--link-hover); }

/* --- RECAPTCHA v2 CHECKBOX --- */
.recaptcha-slot {
  margin: 4px 0 14px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.recaptcha-slot iframe { display: block; }
.chat-ticket .recaptcha-slot { margin: 2px 0 12px; }
.recaptcha-note {
  font-size: 11px; color: var(--faint); line-height: 1.45; margin: 10px 0 0;
}
.recaptcha-note a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

/* --- CODE / TABLES in articles --- */
.prose code, .prose pre {
  font-family: var(--font-mono);
  background: var(--code-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
}
.prose code { padding: 1px 5px; font-size: 0.92em; }
.prose pre { padding: 14px 16px; overflow-x: auto; margin: 16px 0; }
.prose pre code { border: 0; background: transparent; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--glass-border); padding: 8px 10px; text-align: left; }
.prose th { background: var(--glass-strong); }
.prose tr:nth-child(even) td { background: var(--glass); }

/* focus already uses accent-light; tighten */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }


/* =============================================
   BRAND V2 SYSTEM (Nov 2026)
   Display: Big Shoulders Display 900 (caps, headlines only, 28px+)
   Text: Geist 400/500/600 · Data/labels: Geist Mono caps
   Ink #0B0F1E · Accent #455EE0 · Panel #F4F6FA · Line #DDE3EB/#E7E9EE
   4/8px spacing grid. Light only.
   ============================================= */
:root { --ink:#0B0F1E; --panel:#F4F6FA; --line:#DDE3EB; --line-soft:#E7E9EE; --tint:#E2E7FB; --tint-2:#EFF2FE; --pos:#0B7A4B; --neg:#C0273B; --r-card:16px; --r-ctl:8px; }
body { font-weight: 400; background: var(--bg); }
.aurora, .blob { display: none !important; }

/* display headings: caps, no tracking */
h1, h2 { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: 0; line-height: 0.95; color: var(--ink); }
h3, h4 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hero h1 { font-size: clamp(48px, 8vw, 88px); line-height: 0.92; font-weight: 900; }
.hero h1 em { color: var(--accent); }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 0.95; font-weight: 900; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 40px); font-weight: 900; }
.related h2 { font-size: 32px; font-weight: 900; }
.prose h2 { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 32px; letter-spacing: 0; line-height: 1; }
.prose h3 { font-family: var(--font-body); text-transform: none; font-weight: 600; }
.success h2, .empty-page h1 { font-size: 40px; }
.app-cta h2 { font-size: 32px; font-weight: 900; line-height: 1; }
.info-card h2, .contact-assist h2, .chat-header h2 { font-family: var(--font-body); text-transform: none; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; font-size: 18px; }
.chat-header h2 { font-size: 16px; }

/* mono caps labels */
.hero .label, .summary strong, .related-card span, .sidebar h2, .footer-col h2, .nav-help,
.chat-kicker, .cat-count, .search-hit-kicker, .badge, .kicker {
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px;
}
.hero .label { font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.sidebar h2, .footer-col h2 { color: var(--faint); font-family: var(--font-mono); line-height: 1.4; }
.nav-help { color: var(--accent); border-left-color: var(--line); }
.nav-word { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }

/* banner */
.proto-banner { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.proto-banner a { color: #C9D2F7; }
.proto-banner a:hover { color: #FFFFFF; }

/* nav */
.nav { background: #FFFFFF; border-bottom: 1px solid var(--line-soft); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links a { font-weight: 500; }

/* buttons: indigo, white text, 8px radius */
.btn-yellow, .btn-blue {
  background: var(--accent); color: #FFFFFF; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em;
  border-radius: 12px; box-shadow: none; border: 1px solid var(--accent);
}
.btn-yellow { font-size: 14px; padding: 8px 16px; }
.btn-blue { font-size: 15px; padding: 12px 24px; }
.btn-yellow:hover, .btn-blue:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: none; box-shadow: none; color: #fff; }
.skip-link { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--panel); color: var(--ink); }

/* cards: white, thin border, 16px radius, no heavy shadow */
.cat-card, .related-card, .sidebar, .info-card, .app-cta, .contact-assist, .summary, .shot-fallback, .chat-cite, .form-card, .contact-form {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: none;
}
.cat-card:hover, .related-card:hover { border-color: var(--accent); box-shadow: none; transform: none; }
.cat-icon { background: var(--tint); color: var(--accent); border-radius: 12px; border: 0; }
.cat-card h3 { font-weight: 600; }
.summary { background: var(--panel); }
.summary strong { color: var(--accent); }
.app-cta h2 { color: var(--ink); }
.prose { color: #1B2236; }
.prose a, .link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose code, code { font-family: var(--font-mono); background: var(--panel); border: 1px solid var(--line-soft); }

/* search */
.search, .search-box, .hero-search { border-radius: 12px; }
.hero-search input, .search input { font-family: var(--font-body); }
kbd, .search-kbd { font-family: var(--font-mono); border-radius: 6px; }

/* chat widget */
.chat-bubble { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(11,15,30,.18); }
.chat-bubble:hover { background: var(--accent-hover); }
.chat-panel, .chat-window { border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 16px 48px rgba(11,15,30,.16); }
.chat-header { background: var(--ink); color: #fff; }
.chat-header h2, .chat-header * { color: #fff; }
.chat-follow-yes { background: var(--accent); color: #fff; }
.chat-follow-yes:hover { background: var(--accent-hover); box-shadow: none; }
.chat-send, .chat-form button[type="submit"] { background: var(--accent); color: #fff; border-radius: 12px; }

/* forms */
input, select, textarea { font-family: var(--font-body); }
input:not([type=checkbox]):not([type=radio]), select, textarea { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-ring); outline-offset: 0; }
label { font-weight: 500; }
.error, .form-error { color: var(--neg); }

/* footer */
.footer { background: var(--panel); border-top: 1px solid var(--line-soft); }
.footer-brand-line { font-family: var(--font-body); font-weight: 600; }
.store-btn { border-radius: 10px; }

/* fixes */
.note { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.note a { color: var(--link); text-decoration: underline; }
.search-box input { border: 0; border-radius: 0; background: transparent; outline: 0; }
.search-box { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: none; }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.sidebar a.btn-yellow, .sidebar .side-cta { color: #fff; border-bottom: 1px solid var(--accent); }
.sidebar a.btn-yellow:hover { color: #fff; }
.chip { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #3347B8; border-radius: 8px; border: 1px solid #C9D2F7; }
.ask-assistant { background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.cat-card h3, .related-card strong { font-family: var(--font-body); font-weight: 600; }
.cat-card, .info-card, .app-cta { padding-top: 24px; }
.search-box input:not([type=checkbox]):not([type=radio]) { border: 0; border-radius: 0; background: transparent; outline: 0; box-shadow: none; }
.chat-follow-no, .chat-follow button:not(.chat-follow-yes) { border-radius: 12px; }

/* ===== App download CTAs ===== */
.mono-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px !important; }
.btn-app-hdr { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent); background: #fff; border: 1px solid var(--accent); border-radius: 12px; padding: 8px 16px; }
.btn-app-hdr:hover { background: var(--tint); }
.app-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.app-cta-article { background: var(--panel); border-color: var(--line); }
.home-strip-wrap { padding-top: 0; padding-bottom: 56px; }
.home-strip { background: var(--ink); color: #fff; border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.home-strip-copy { flex: 1 1 320px; max-width: 560px; }
.home-strip .mono-label { color: #93A4F8; }
.home-strip h2 { color: #fff; font-size: clamp(36px, 4.4vw, 52px); line-height: .95; margin-bottom: 12px; }
.home-strip p { color: #C9D2F7; font-size: 15px; margin: 0; }
.home-strip .store-badge img { border: 1px solid rgba(255,255,255,.35); border-radius: 8px; }
.chat-open-app { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.mobile-app-bar { display: none; }
@media (max-width: 760px) {
  .btn-app-hdr { display: none; }
  .home-strip { padding: 28px 20px; }
  .mobile-app-bar:not([hidden]) {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--ink); color: #fff; padding: 8px 12px 8px 16px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .mab-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; flex: 1; }
  .mab-btn { background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; border-radius: 12px; padding: 8px 16px; }
  .mab-close { color: #fff; font-size: 24px; line-height: 1; width: 40px; height: 40px; }
  .has-app-bar .chat-bubble { bottom: 80px; }
  .has-app-bar .footer { padding-bottom: 72px; }
}

/* ===== Live article suggestions ===== */
.suggest-box { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: -4px 0 16px; }
.suggest-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.suggest-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0; }
.suggest-close { width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1; color: var(--muted); }
.suggest-close:hover { background: var(--panel); color: var(--ink); }
.suggest-list { list-style: none; margin: 0; padding: 0; }
.suggest-list li { padding: 8px 0; border-top: 1px solid var(--line-soft); }
.suggest-list li:first-child { border-top: 0; padding-top: 0; }
.suggest-list a { display: block; color: var(--link); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.suggest-list a:hover { color: var(--link-hover); }
.suggest-snippet { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.suggest-box[hidden] { display: none; }
.ticket-ref { font-family: var(--font-mono); font-size: 13px; background: var(--tint); border-radius: 8px; padding: 8px 12px; display: inline-block; margin: 0 0 12px; }

/* SEO: category rows use h2 for a logical heading order */
.article-row h2.row-title { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
