/* Jam Studio — theme layer and components, built on /styles.css (the Venture token system).
   Every colour, size, space, radius and shadow is a custom property. The two themes below extend the token
   set with the dark navy / charcoal surfaces the customer asked for (the system ships light surfaces only). */

:root {
  /* Theme extension tokens (dark = default, corporate navy & charcoal) */
  --charcoal-950: #0D1526;
  --charcoal-900: #141E33;
  --charcoal-800: #1B2740;
  --charcoal-700: #26345A;
  --status-pass: #1E7B4F;
  --status-rework: #9A5B00;
  --status-pending: var(--blue-600);
  --status-neutral: var(--slate-700);
  --status-violet: var(--violet-600);

  --bg: var(--charcoal-950);
  --bg-alt: var(--charcoal-900);
  --surface: var(--charcoal-900);
  --surface-2: var(--charcoal-800);
  --surface-3: var(--charcoal-700);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #F2F5FA;
  --text-2: #D5DCE8;
  --muted: #A9B4C7;
  --link: var(--blue-300);
  --link-hover: var(--blue-100);
  --accent: var(--violet-400);
  --btn-primary-bg: var(--blue-600);
  --btn-primary-hover: var(--blue-500);
  --btn-primary-text: var(--white);
  --btn-ghost-text: var(--text);
  --nav-bg: rgba(13, 21, 38, 0.92);
  --hero-overlay: linear-gradient(100deg, rgba(4, 38, 74, 0.94) 0%, rgba(13, 21, 38, 0.86) 55%, rgba(13, 21, 38, 0.72) 100%);
  --skeleton: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.45);
  --focus: 0 0 0 3px rgba(111, 163, 227, 0.55);
  --brand-cohort: var(--blue-600);
  --brand-cohort-accent: var(--violet-400);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: var(--white);
  --bg-alt: var(--surface-section-light);
  --surface: var(--white);
  --surface-2: var(--slate-100);
  --surface-3: var(--slate-200);
  --border: var(--slate-200);
  --border-strong: var(--slate-400);
  --text: var(--slate-900);
  --text-2: var(--slate-700);
  --muted: var(--slate-700);
  --link: var(--blue-700);
  --link-hover: var(--blue-900);
  --accent: var(--violet-600);
  --btn-primary-bg: var(--blue-700);
  --btn-primary-hover: var(--blue-800);
  --btn-ghost-text: var(--slate-900);
  --nav-bg: rgba(255, 255, 255, 0.94);
  --skeleton: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
  --shadow: var(--shadow-card);
  --shadow-hover: var(--shadow-card-hover);
  --focus: var(--focus-ring);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--text-body-md); line-height: var(--line-height-normal);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: var(--line-height-tight); letter-spacing: var(--letter-spacing-tight); margin: 0 0 var(--space-3); }
h1 { font-size: clamp(2.25rem, 5vw, var(--text-display-1)); font-weight: var(--font-weight-extrabold); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-display-2)); font-weight: var(--font-weight-bold); }
h3 { font-size: clamp(1.25rem, 2vw, var(--text-display-3)); font-weight: var(--font-weight-semibold); line-height: var(--line-height-snug); }
h4 { font-size: var(--text-body-lg); font-weight: var(--font-weight-semibold); line-height: var(--line-height-snug); }
p { margin: 0 0 var(--space-4); color: var(--text-2); }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.muted { color: var(--muted); }
.small { font-size: var(--text-body-sm); }
.caption { font-size: var(--text-caption); color: var(--muted); }
.eyebrow { font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.12em; font-weight: var(--font-weight-semibold); color: var(--accent); margin-bottom: var(--space-2); }
.money { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: var(--font-weight-semibold); }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -4px; }
.icon.lg { width: 28px; height: 28px; }

/* Layout */
.container { width: 100%; max-width: var(--content-max-width); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-16) 0; }
.section-head { margin-bottom: var(--space-8); max-width: 720px; }
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.between { justify-content: space-between; }
.right { margin-left: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav .container { display: flex; align-items: center; gap: var(--space-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text); font-family: var(--font-display); font-weight: var(--font-weight-bold); font-size: var(--text-body-lg); text-decoration: none; }
.brand img, .brand svg { height: 34px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: var(--space-1); margin-left: auto; align-items: center; }
.nav-links a, .nav-links button.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--text-2); font-size: var(--text-body-sm); font-weight: var(--font-weight-medium); }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--space-3); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links button.link { min-height: 48px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-size: var(--text-body-sm); font-weight: var(--font-weight-semibold); cursor: pointer; text-decoration: none; transition: transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard); white-space: nowrap; }
.btn:hover { text-decoration: none; transform: var(--hover-lift); }
.btn:active { transform: var(--press-scale); }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); box-shadow: var(--shadow-button); }
.btn-primary:hover { background: var(--btn-primary-hover); color: var(--btn-primary-text); box-shadow: var(--shadow-button-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-3); color: var(--text); }
.btn-ghost { background: transparent; color: var(--btn-ghost-text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--status-rework); color: var(--white); }
.btn-sm { min-height: 36px; padding: 0 var(--space-3); font-size: var(--text-caption); }
.btn-icon { width: 44px; padding: 0; }
button.link { background: none; border: 0; cursor: pointer; font: inherit; color: var(--link); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.card.hover:hover { box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card h3 { margin-bottom: var(--space-1); }
.card .card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.price-card { display: grid; grid-template-rows: auto 1fr auto; }
.price { font-family: var(--font-display); font-size: var(--text-display-3); font-weight: var(--font-weight-bold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price .per { font-size: var(--text-caption); color: var(--muted); font-weight: var(--font-weight-regular); font-family: var(--font-body); }

/* Badges and status */
.badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--text-caption); font-weight: var(--font-weight-semibold); color: var(--white); background: var(--status-neutral); white-space: nowrap; line-height: 1.5; }
.badge-pass, .badge-passed, .badge-published, .badge-live, .badge-accepted, .badge-approved, .badge-ready, .badge-issued { background: var(--status-pass); }
.badge-rework, .badge-declined, .badge-blocked { background: var(--status-rework); }
.badge-submitted, .badge-quoted, .badge-pending, .badge-planned { background: var(--status-pending); }
.badge-draft, .badge-enquiry, .badge-specified, .badge-closed, .badge-archived { background: var(--status-neutral); }
.badge-learn { background: var(--status-pending); } .badge-build { background: var(--status-violet); } .badge-lock-in { background: var(--status-pass); }
.badge-outline { background: transparent; color: var(--text-2); border: 1px solid var(--border-strong); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--status-neutral); }
.dot-pass { background: var(--status-pass); } .dot-rework { background: var(--status-rework); } .dot-pending { background: var(--status-pending); }

/* Forms */
.form { display: grid; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.field label, .field .label { font-size: var(--text-body-sm); font-weight: var(--font-weight-medium); color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--text-body-sm); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: var(--focus); border-color: var(--link); outline: none; }
.field .error { color: var(--white); background: var(--status-rework); border-radius: var(--radius-sm); padding: 2px 8px; font-size: var(--text-caption); display: none; align-self: flex-start; }
.field.invalid .error { display: inline-block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--status-rework); }
.field .hint { font-size: var(--text-caption); color: var(--muted); }
.check { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; color: var(--text-2); font-size: var(--text-body-sm); }
.check input { width: 22px; height: 22px; accent-color: var(--btn-primary-bg); }
.form-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.summary { border: 1px solid var(--status-rework); background: var(--surface-2); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); color: var(--text); }
.summary ul { margin: var(--space-2) 0 0; padding-left: var(--space-5); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm); min-width: 560px; }
thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--text-2); text-align: left; padding: var(--space-3) var(--space-4); font-weight: var(--font-weight-semibold); border-bottom: 1px solid var(--border); white-space: nowrap; cursor: pointer; user-select: none; }
thead th.num { text-align: right; }
tbody td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
.table-tools { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); }
.table-tools input { min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--text-body-sm); flex: 1 1 200px; }
.pager { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); justify-content: flex-end; font-size: var(--text-caption); color: var(--muted); }

/* States */
.skeleton { height: 18px; border-radius: var(--radius-sm); background: var(--skeleton); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; margin: var(--space-2) 0; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty, .error-state { text-align: center; padding: var(--space-10) var(--space-5); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-2); display: grid; gap: var(--space-3); justify-items: center; }

/* Toast */
.toast-host { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%); display: grid; gap: var(--space-2); z-index: 100; width: min(92vw, 440px); }
.toast { background: var(--surface-3); color: var(--text); border: 1px solid var(--border-strong); border-left: 5px solid var(--status-pending); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); box-shadow: var(--shadow-hover); font-size: var(--text-body-sm); }
.toast-success { border-left-color: var(--status-pass); } .toast-error { border-left-color: var(--status-rework); }

/* Dialog */
dialog.dlg { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); padding: var(--space-6); width: min(92vw, 560px); box-shadow: var(--shadow-hover); }
dialog.dlg::backdrop { background: rgba(4, 12, 24, 0.7); }
dialog.dlg h3 { margin-bottom: var(--space-3); }

/* Hero (public) */
.hero { position: relative; color: var(--white); background: var(--hero-overlay), url('/assets/hero-generated.webp') center / cover no-repeat; }
.hero .container { padding-top: var(--space-20); padding-bottom: var(--space-20); display: grid; gap: var(--space-6); max-width: 900px; margin: 0 auto; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 6vw, var(--text-display-1)); max-width: 15ch; }
.hero p { color: var(--text-on-dark); font-size: var(--text-body-lg); max-width: 60ch; }
.hero .eyebrow { color: var(--blue-100); }
.hero .row .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.hero .row .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-4); }
.stat { padding: var(--space-4); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-md); background: rgba(13, 21, 38, 0.82); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--text-display-3); color: var(--white); }
.stat span { color: var(--white); font-size: var(--text-caption); }
.hero p { color: var(--white); }
.section-alt { background: var(--bg-alt); }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); align-items: start; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-primary-bg); color: var(--white); font-weight: var(--font-weight-bold); font-family: var(--font-display); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: var(--space-12) 0 var(--space-8); color: var(--text-2); font-size: var(--text-body-sm); }
.footer .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer h4 { font-size: var(--text-body-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.trust { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; color: var(--muted); font-size: var(--text-caption); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--border); }

/* Journey map / playbook */
.journey { display: grid; gap: var(--space-2); }
.journey a { display: grid; grid-template-columns: 40px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); background: var(--surface); min-height: 56px; }
.journey a:hover { text-decoration: none; border-color: var(--border-strong); background: var(--surface-2); }
.journey a.here { border-color: var(--brand-cohort-accent); box-shadow: inset 4px 0 0 var(--brand-cohort-accent); }
.journey .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-cohort); color: var(--white); font-weight: var(--font-weight-bold); font-size: var(--text-body-sm); }
.block { border-left: 4px solid var(--brand-cohort); padding: var(--space-3) var(--space-5); background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.block h4 { color: var(--text); }
.prompt { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); }
.prompt pre { white-space: pre-wrap; word-break: break-word; font-size: var(--text-caption); color: var(--text-2); margin: var(--space-3) 0 0; max-height: 260px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cohort-bar { background: var(--brand-cohort); color: var(--white); padding: var(--space-3) 0; }
.cohort-bar .container { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); }

/* Admin shell */
.admin { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: 0; height: 100vh; overflow: auto; }
.sidebar nav { display: grid; gap: var(--space-1); }
.sidebar nav a { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--text-2); font-size: var(--text-body-sm); font-weight: var(--font-weight-medium); }
.sidebar nav a:hover, .sidebar nav a.active { background: var(--surface-2); color: var(--text); text-decoration: none; }
.sidebar nav a.active { box-shadow: inset 3px 0 0 var(--accent); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-6); border-bottom: 1px solid var(--border); background: var(--nav-bg); position: sticky; top: 0; z-index: 20; min-height: 64px; }
.content { padding: var(--space-6); display: grid; gap: var(--space-6); align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-4); }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.kpi b { display: block; font-family: var(--font-display); font-size: var(--text-display-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi span { color: var(--muted); font-size: var(--text-caption); }
.chart { width: 100%; height: auto; }
.chart .bar { fill: var(--btn-primary-bg); }
.chart .bar-alt { fill: var(--accent); }
.chart text { fill: var(--text-2); font-size: 11px; font-family: var(--font-body); }
.chart line { stroke: var(--border); }
.split { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.list { display: grid; gap: var(--space-2); }
.list-item { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); text-align: left; color: var(--text); width: 100%; cursor: pointer; font: inherit; min-height: 56px; }
.list-item:hover, .list-item.active { background: var(--surface-2); border-color: var(--border-strong); }
.gate-grid { display: grid; gap: 4px; grid-auto-flow: column; grid-auto-columns: 22px; }
.gate-cell { width: 22px; height: 22px; border-radius: 4px; background: var(--surface-3); }
.gate-cell.pass { background: var(--status-pass); } .gate-cell.pending { background: var(--status-pending); } .gate-cell.rework { background: var(--status-rework); } .gate-cell.blocked { outline: 2px solid var(--status-rework); outline-offset: -2px; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-1); border-bottom: 1px solid var(--border); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: var(--space-3) var(--space-4); min-height: 44px; color: var(--text-2); font: inherit; font-size: var(--text-body-sm); font-weight: var(--font-weight-medium); cursor: pointer; }
.tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-2); font-size: var(--text-body-sm); }
.notice-warn { border-color: var(--status-rework); }
.notice-ok { border-color: var(--status-pass); }
.signin { max-width: 440px; margin: var(--space-16) auto; }

@media (max-width: 960px) {
  .admin { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar nav { display: flex; flex-wrap: wrap; }
  .split { grid-template-columns: 1fr; }
  .content { padding: var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .hero .container { padding-top: var(--space-12); padding-bottom: var(--space-12); }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .btn { width: 100%; }
  .row .btn, .card-foot .btn, .table-tools .btn, .topbar .btn { width: auto; }
}
