/* ═══════════════════════════════════════════
   B.Grimm Premium Design System v2.0
   Inspired by Operational Report + Workshop Agenda
   ═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --orange: #FF6727;
  --orange-dark: #C43400;
  --orange-light: #FF9956;
  --orange-soft: #FFF0EA;
  --bg: #FCFEFF;
  --surface: #FFFFFF;
  --surface-soft: #F7F8FA;
  --text: #202124;
  --text-soft: #63666F;
  --muted: #989AA5;
  --border: rgba(152, 154, 165, 0.22);
  --border-light: rgba(99, 102, 111, 0.08);
  --shadow-sm: 0 4px 20px rgba(152, 154, 165, 0.08);
  --shadow: 0 18px 50px rgba(30, 32, 38, 0.08);
  --shadow-lg: 0 22px 60px rgba(255, 103, 39, 0.12);
  --shadow-glow: 0 18px 42px rgba(255, 103, 39, 0.14);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --transition: 0.22s ease;
  --transition-slow: 0.35s ease;
}

/* ── Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  background: 
    radial-gradient(circle at top left, rgba(255, 103, 39, 0.06), transparent 36rem),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
}

/* ── Typography ── */
h1 { font-family: 'Source Serif Pro', 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-family: 'Source Serif Pro', 'Times New Roman', serif; font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
h3 { font-family: 'Source Serif Pro', 'Times New Roman', serif; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
p, li, td, th, label, input, textarea, select, button { font-size: 0.9rem; }
small, .text-sm { font-size: 0.8rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.3rem; }
.text-orange { color: var(--orange); }
.text-muted { color: var(--muted); }
.bg-orange-soft { background: var(--orange-soft); }

/* ── Eyebrow / Chip ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--orange-soft); color: var(--orange);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 103, 39, 0.12);
}

/* ── Brand Nav — Premium Corporate ── */
.brand-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}
.brand-nav-inner {
  max-width: 72rem; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 58px; gap: 2px;
}
.brand-nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.brand-nav-logo { height: 34px; margin-right: 24px; flex-shrink: 0; opacity: 0.95; display: block; transition: opacity var(--transition); }
.brand-nav-logo:hover { opacity: 1; }
.brand-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-pill);
  color: var(--text-soft); letter-spacing: -0.01em;
  transition: all var(--transition); white-space: nowrap;
  position: relative;
}
.brand-nav a.nav-link .material-icons { font-size: 1.1rem; }
.brand-nav a.nav-link:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); transform: translateY(-1px); }
.brand-nav a.nav-link.active {
  color: var(--orange); background: var(--orange-soft);
  font-weight: 600; box-shadow: 0 4px 14px rgba(255, 103, 39, 0.12);
}
/* nav-link active underline removed per user request */

/* ── Hero Section ── */
.hero-section {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 56px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 234, 0.86)),
    radial-gradient(circle at 86% 10%, rgba(255, 103, 39, 0.18), transparent 22rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 103, 39, 0.12);
  margin-bottom: 32px;
}
.hero-section::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 350px; height: 350px; border-radius: 50%;
  border: 48px solid rgba(255, 103, 39, 0.06);
  pointer-events: none;
}
.hero-section h1 {
  margin-bottom: 12px; position: relative; z-index: 1;
}
.hero-section p {
  max-width: 720px; font-size: 1.1rem; color: var(--text-soft);
  position: relative; z-index: 1; line-height: 1.65;
}
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 28px; position: relative; z-index: 1;
}
.hero-chip {
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: default;
}
.hero-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 103, 39, 0.26);
  box-shadow: 0 16px 36px rgba(255, 103, 39, 0.10);
}
.hero-chip .chip-value {
  font-family: 'Source Serif Pro', 'Times New Roman', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--orange);
  line-height: 1.1;
}
.hero-chip .chip-label {
  font-size: 0.8rem; color: var(--muted); margin-top: 4px;
}

/* ── Premium Cards ── */
.card-premium {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.card-premium:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 103, 39, 0.28);
  box-shadow: 0 18px 44px rgba(255, 103, 39, 0.11);
}

/* Metric Card — with orange left accent */
.card-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.card-metric:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(152, 154, 165, 0.12); }
.card-metric .metric-title {
  font-size: 0.82rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.card-metric .metric-value {
  font-size: 1.8rem; font-weight: 700; color: var(--text); line-height: 1.2;
}
.card-metric .metric-unit {
  font-size: 0.9rem; color: var(--muted); font-weight: 400; margin-left: 4px;
}

/* Chart Card */
.card-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card-chart:hover {
  border-color: rgba(255, 103, 39, 0.16);
  box-shadow: var(--shadow-glow);
}
.card-chart .chart-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.card-chart .chart-title {
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  font-family: 'Source Serif Pro', 'Times New Roman', serif;
}

/* ── Insight Box ── */
.insight-box {
  display: flex;
  flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 14px 18px; margin-top: 14px;
  min-height: 56px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 103, 39, 0.14);
  border-radius: var(--radius);
  transition: all var(--transition);
  opacity: 0.55;
}
.insight-box.active { opacity: 1; border-color: rgba(255,103,39,0.22); background: var(--orange-soft); }
.insight-box:hover { border-color: rgba(255, 103, 39, 0.28); box-shadow: 0 8px 24px rgba(255, 103, 39, 0.08); }

/* ── Premium Buttons ── */
.btn-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-pill); border: none;
  background: var(--orange); color: #fff;
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  box-shadow: 0 8px 20px rgba(255, 103, 39, 0.22);
  transition: all var(--transition);
}
.btn-brand:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 103, 39, 0.32); }
.btn-brand:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-brand-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: 0.85rem; cursor: pointer;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  transition: all var(--transition);
}
.btn-brand-outline:hover { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 103, 39, 0.10); }

.btn-hd-download {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--orange);
  border: 1px solid var(--orange); padding: 8px 16px;
  font-size: 0.8rem; font-weight: 600; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
}
.btn-hd-download:hover { background: var(--orange); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 103, 39, 0.22); }
.btn-hd-download svg { fill: currentColor; width: 16px; height: 16px; transition: transform var(--transition); }
.btn-hd-download:hover svg { transform: translateY(-1px); }

/* ── Filter Panel ── */
.filter-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-soft); }
.filter-control {
  padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 0.88rem; outline: none;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 103, 39, 0.08); }

/* ── Premium Data Table ── */
.table-premium {
  width: 100%; border-collapse: collapse; text-align: left; font-size: 0.88rem;
}
.table-premium th {
  background: rgba(152, 154, 165, 0.04);
  color: var(--text); padding: 14px 18px; font-weight: 600;
  border-bottom: 2px solid var(--border); font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.table-premium td {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.table-premium tr:hover { background: rgba(255, 103, 39, 0.03); }

/* Badges / Pills */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-orange { background: rgba(255, 103, 39, 0.09); color: var(--orange); }
.badge-grey { background: rgba(99, 102, 111, 0.07); color: var(--text-soft); }
.badge-dark { background: rgba(32, 33, 36, 0.06); color: var(--text); }
.badge-green { background: rgba(45, 125, 70, 0.08); color: #2D7D46; }
.badge-amber { background: rgba(232, 120, 10, 0.08); color: #E8780A; }
.badge-red   { background: rgba(196, 52, 0, 0.08); color: #C43400; }

/* Status indicators */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.dot-ok  { background: #2D7D46; }
.dot-wait { background: #E8780A; }
.dot-err  { background: #C43400; }

/* ── Empty / Loading States ── */
.empty-state {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.empty-state .material-icons { font-size: 4rem; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-family: 'Source Serif Pro', 'Times New Roman', serif; font-size: 1.2rem; margin-bottom: 8px; color: var(--text-soft); }
.empty-state p { font-size: 0.8rem; }

.loading-overlay { display: none; text-align: center; padding: 48px 0; }
.loading-overlay.active { display: block; }
.loading-overlay .lds-ring { display: inline-block; width: 40px; height: 40px; position: relative; }
.loading-overlay .lds-ring div {
  box-sizing: border-box; display: block; position: absolute;
  width: 32px; height: 32px; margin: 4px;
  border: 3px solid var(--orange); border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--orange) transparent transparent transparent;
}
.loading-overlay .lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.loading-overlay .lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.loading-overlay .lds-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes lds-ring { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
.loading-overlay p { margin-top: 14px; color: var(--text-soft); font-size: 0.8rem; }

/* ── Section Headers ── */
.section-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.section-header .material-icons { color: var(--orange); font-size: 1.5rem; }
.section-header h2, .section-header h3 { color: var(--orange); }

/* ── Key Badge Pill ── */
.key-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--orange-soft); color: var(--orange-dark);
  font-size: 0.78rem; font-weight: 600; font-family: monospace;
  border: 1px solid rgba(255, 103, 39, 0.14);
}

/* ── Stat Cards (Dashboard) ── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(152, 154, 165, 0.10); }
.stat-card .stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--orange); font-family: monospace; }
.stat-card .stat-icon { font-size: 1.4rem; color: var(--orange); }

/* ── Utility ── */
.container-brand { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 60px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Premium Code Blocks — macOS Glass ── */
.code-block {
  background: rgba(38, 40, 46, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #e4e7ec;
  border-radius: 14px;
  padding: 0;
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow: visible;
  word-break: break-word;
  white-space: pre-wrap;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
/* macOS title bar */
.code-block::before {
  content: '';
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* Traffic lights */
.code-block::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 14px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow:
    16px 0 0 #febc2e,
    32px 0 0 #28c840;
  z-index: 2;
}
/* Code content — padding applies whether pre IS .code-block or child */
.code-block > pre,
pre.code-block {
  margin: 0;
  padding: 50px;
  border-radius: 0;
  box-shadow: none;
}
pre.code-block::before,
pre.code-block::after { white-space: normal; }
.code-block .lang-tag {
  position: absolute; top: 7px; right: 14px;
  font-size: 0.65rem; color: rgba(255, 255, 255, 0.18);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-family: 'Inter', 'Noto Sans Thai', sans-serif;
  z-index: 2;
}
.code-inline {
  background: rgba(255, 103, 39, 0.08);
  color: var(--orange-dark);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.84em;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-weight: 500;
}
.log-box {
  background: rgba(38, 40, 46, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--orange-light);
  border-radius: 18px;
  padding: 14px 18px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.8rem;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.55;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ── Responsive: Tablet (≤768px) ── */
@media (max-width: 768px) {
  /* ── Nav: logo on top, links wrap below ── */
  .brand-nav-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }
  .brand-nav-logo {
    height: 40px;
    margin-right: 0;
  }
  .brand-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-left: 0;
    width: 100%;
  }
  .brand-nav a.nav-link {
    font-size: 0.76rem;
    padding: 6px 10px;
  }
  .brand-nav a.nav-link .material-icons { font-size: 0.95rem; }

  /* ── Hero ── */
  .hero-section {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .hero-section::after { display: none; }
  .hero-section h1 { font-size: 1.5rem; }
  .hero-section p { font-size: 0.9rem; }
  .hero-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .hero-chip { padding: 14px 16px; }
  .hero-chip .chip-value { font-size: 1.3rem; }

  /* ── Container ── */
  .container-brand { width: calc(100% - 24px); padding: 24px 0 40px; }

  /* ── Headings ── */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  /* ── Force all grids to max 2 cols ── */
  .grid,
  [style*="display:grid"],
  [style*="display: grid"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  /* Exception: single-col grids stay single */
  .grid-cols-1:not(.md\\:grid-cols-2):not(.md\\:grid-cols-3):not(.md\\:grid-cols-4) {
    grid-template-columns: 1fr !important;
  }

  /* ── Cards ── */
  .card-premium, .card-metric, .card-chart, .stat-card {
    padding: 18px;
    border-radius: 16px;
  }
  .card-metric .metric-value { font-size: 1.4rem; }
  .card-chart .chart-header { flex-wrap: wrap; gap: 8px; }

  /* ── Tables: scrollable ── */
  .table-premium {
    font-size: 0.78rem;
  }
  .table-premium th, .table-premium td {
    padding: 10px 12px;
  }

  /* ── Filter Panel ── */
  .filter-panel {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  /* ── Code blocks ── */
  .code-block > pre, pre.code-block { padding: 44px 18px 18px 18px; }
  .code-block { font-size: 0.72rem; }

  /* ── Demo UAT insight cards: stacked layout ── */
  .flex.items-start.gap-4.flex-wrap { flex-direction: column; }
  .w-72.shrink-0 { width: 100% !important; }

  /* ── Footer ── */
  .text-center.py-8 { padding: 24px 0 !important; font-size: 0.7rem; }

  /* ── Buttons ── */
  .btn-brand, .btn-brand-outline { padding: 10px 20px; font-size: 0.8rem; }
}

/* ── Responsive: Phone (≤480px) ── */
@media (max-width: 480px) {
  /* ── Nav: even more compact ── */
  .brand-nav-logo { height: 34px; }
  .brand-nav a.nav-link {
    font-size: 0.7rem;
    padding: 5px 8px;
    gap: 3px;
  }
  .brand-nav a.nav-link .material-icons { font-size: 0.85rem; }

  /* ── Hero ── */
  .hero-section {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .hero-section h1 { font-size: 1.3rem; }
  .hero-section p { font-size: 0.82rem; }

  /* ── Force grids: 3-4 cols → 1 col, but 2 cols → stay 2 ── */
  .grid:not(.grid-cols-2),
  [style*="display:grid"],
  [style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  /* Preserve 2-col grids */
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ── Cards ── */
  .card-premium, .card-metric, .card-chart, .stat-card {
    padding: 14px;
    border-radius: 14px;
  }
  .card-metric .metric-value { font-size: 1.2rem; }
  .card-chart .chart-title { font-size: 0.95rem; }

  /* ── Filter Panel ── */
  .filter-panel {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  /* ── Hero grid ── */
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }
  .hero-chip { padding: 12px 14px; }
  .hero-chip .chip-value { font-size: 1.1rem; }

  /* ── Headings ── */
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }

  /* ── Buttons full width ── */
  .btn-brand, .btn-brand-outline {
    width: 100%;
    justify-content: center;
  }

  /* ── Table: ultra compact ── */
  .table-premium { font-size: 0.7rem; }
  .table-premium th, .table-premium td { padding: 8px 10px; }

  /* ── Container ── */
  .container-brand { padding: 16px 0 32px; }

  /* ── Footer ── */
  .text-center.py-8 { padding: 20px 0 !important; font-size: 0.65rem; }

  /* ── Section headers ── */
  .section-header { gap: 6px; }
  .section-header .material-icons { font-size: 1.2rem; }
}
