/* ============================================================
   FAMASA — Facilitators, Assessors & Moderators of South Africa
   Design language: clean white, blue accent
   (styled after the Regular Binary storefront, in blue)
   ============================================================ */

:root {
  --page:       #FFFFFF;
  --surface:    #F8FAFB;
  --surface-2:  #F1F5F9;
  --ink:        #0F1B2D;
  --ink2:       #64748B;
  --ink3:       #94A3B8;
  --border:     #E2E8F0;
  --accent:     #1D5FC2;
  --accent-dark:#164A99;
  --accent-soft:#EFF5FE;
  --gold:       #F5A623;
  --green:      #22C55E;
  --green-dark: #15803D;
  --red:        #EF4444;
  --red-dark:   #B91C1C;
  --navy-900:   #0F1B2D;
  --white:      #FFFFFF;
  --radius:     14px;
  --radius-sm:  10px;
  --radius-xs:  4px;
  --shadow-sm:  0 1px 3px rgba(15,27,45,.04), 0 1px 2px rgba(15,27,45,.03);
  --shadow:     0 2px 8px rgba(15,27,45,.08), 0 1px 3px rgba(15,27,45,.06);
  --shadow-lift:0 10px 24px rgba(15,27,45,.12), 0 3px 8px rgba(15,27,45,.08);
  --font-display: "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --maxw: 1152px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.15; color: var(--ink);
  letter-spacing: -0.01em; text-transform: capitalize;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }

/* Justified body copy; centered blocks override below */
p { text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.center p, p.center { text-align: center; text-align-last: center; hyphens: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section.tint { background: var(--surface); }
.section.dark { background: var(--surface); }
.section.dark h2, .section.dark h3 { color: var(--ink); }
.section.dark p { color: var(--ink2); }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-head p { color: var(--ink2); margin-top: 10px; font-size: .95rem; }

/* ---------- Buttons (RB style: small caps, tight radius) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--radius-xs); border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white) !important; box-shadow: 0 8px 20px rgba(29,95,194,.25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: var(--white) !important; }
.btn-dark:hover { background: #1E2C42; }
.btn-outline { background: var(--white); color: var(--accent) !important; border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-light { background: var(--white); color: var(--accent) !important; border-color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { background: transparent; color: var(--ink) !important; }
.btn-ghost-light:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Nav (white, sticky, centered links) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 6px 18px rgba(15,27,45,.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-name {
  font-family: "Heebo", var(--font-body); font-weight: 800; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--accent);
}
.brand-name span { color: inherit; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  position: relative; padding: 10px 12px; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border-radius: var(--radius-xs);
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; border-radius: 50%; width: 42px; height: 42px; }
.nav-toggle:hover { background: var(--surface-2); }

/* ---------- Hero (white, centered, blobs + dotted grid) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--white);
  box-shadow: inset 0 -16px 24px -16px rgba(15,27,45,.14);
}
.hero-blob { position: absolute; border-radius: 9999px; filter: blur(70px); pointer-events: none; }
@keyframes blobFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-25px) scale(1.08); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-25px,20px) scale(1.05); } }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,27,45,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 760px; margin: 0 auto;
  padding: 48px 24px 56px; text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid rgba(29,95,194,.35); box-shadow: var(--shadow-sm);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { color: var(--ink); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead {
  color: var(--ink2); font-size: .98rem; margin: 0 auto 26px; max-width: 540px;
  text-align: center; text-align-last: center; hyphens: none;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 10px 22px; margin-top: 30px; flex-wrap: wrap;
  justify-content: center; align-items: baseline; font-size: 12px; color: var(--ink2);
}
.hero-stat b { font-family: var(--font-display); font-size: .95rem; color: var(--ink); margin-right: 5px; }
.hero-stat span { font-size: .74rem; }
.hero-stats .sep { opacity: .4; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in > * { animation: heroIn .7s ease-out both; }
.hero-in > *:nth-child(1) { animation-delay: .05s; }
.hero-in > *:nth-child(2) { animation-delay: .15s; }
.hero-in > *:nth-child(3) { animation-delay: .25s; }
.hero-in > *:nth-child(4) { animation-delay: .35s; }
.hero-in > *:nth-child(5) { animation-delay: .45s; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .55s ease-out, transform .55s ease-out; }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-in > * { animation: none !important; }
  .hero-blob { animation: none !important; }
}

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--white); font-size: 1.15rem; margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink2); font-size: .88rem; }

/* ---------- Steps (circle icons, centered) ---------- */
.steps { text-align: center; }
.step { border: 0; background: transparent; box-shadow: none; padding: 0 14px; }
.step:hover { transform: none; box-shadow: none; }
.step .step-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 1.45rem;
}
.step-num {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent); margin-bottom: 8px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink2); font-size: .88rem; text-align: center; text-align-last: center; hyphens: none; }

/* ---------- Avatars ---------- */
.avatar {
  border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-body); font-weight: 700; color: var(--white);
  width: 48px; height: 48px; font-size: .95rem; background: var(--accent);
}
.avatar.lg { width: 68px; height: 68px; font-size: 1.3rem; }
.avatar.sm { width: 36px; height: 36px; font-size: .78rem; }

.person-card { display: flex; flex-direction: column; }
.person-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.person-top h3 { font-size: .98rem; margin: 0; }
.person-top .role { font-size: .76rem; color: var(--ink2); text-transform: uppercase; letter-spacing: .08em; }
.person-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.person-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- Chips ---------- */
.chip {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--surface-2); color: var(--ink2);
  text-transform: capitalize; letter-spacing: .02em;
}
.chip.navy, .chip.blue { background: var(--accent-soft); color: var(--accent); }
.chip.gold { background: #FDF3DF; color: #9A6A0D; }
.chip.green { background: #F0FDF4; color: var(--green-dark); }
.chip.red { background: #FEF2F2; color: var(--red-dark); }
.chip.grey { background: var(--surface-2); color: var(--ink2); }

.badge-verified { color: var(--green-dark); font-size: .8rem; font-weight: 600; }

/* ---------- Stars & ratings ---------- */
.stars { color: var(--accent); font-size: .9rem; letter-spacing: 1.5px; white-space: nowrap; }
.stars .dim { color: var(--border); }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink2); }
.rating-line b { color: var(--ink); }

.credits-pill {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
  font-size: .8rem; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(29,95,194,.25);
  padding: 5px 13px; border-radius: 999px;
}
.credits-pill::before { content: "◆"; font-size: .68rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
table.data th {
  text-align: left; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink2); padding: 13px 18px;
  background: var(--surface); border-bottom: 1px solid var(--border); font-weight: 600;
}
table.data td { padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--surface); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink); text-transform: capitalize; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 14px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); outline: none; transition: border .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink3); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,95,194,.15);
}
.field .hint { font-size: .74rem; color: var(--ink2); }

.tabs { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: var(--radius-xs); width: fit-content; margin-bottom: 28px; }
.tab {
  border: 0; background: transparent; padding: 9px 20px; border-radius: var(--radius-xs);
  font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink2); cursor: pointer; transition: all .15s; font-family: var(--font-body);
}
.tab.active { background: var(--accent); color: var(--white); }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.filter-bar select, .filter-bar input {
  font-family: var(--font-body); font-size: 13px; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); outline: none; background: var(--white);
}
.filter-bar input { flex: 1; min-width: 180px; }
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,95,194,.15); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--white); padding: 44px 0 26px; }
.page-hero h1 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-hero p { color: var(--ink2); margin-top: 8px; max-width: 640px; font-size: .92rem; }

/* ---------- Job cards ---------- */
.job-card { display: flex; flex-direction: column; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.job-head h3 { font-size: .98rem; }
.job-company { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .84rem; color: var(--ink); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.job-desc { font-size: .86rem; color: var(--ink2); margin-bottom: 14px; }
.job-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--ink2); }
.job-fee { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }

/* ---------- Dashboard ---------- */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.dash-side { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; box-shadow: var(--shadow-sm); }
.dash-side .avatar { margin-bottom: 12px; }
.dash-side hr { border: 0; border-top: 1px solid var(--border); margin: 15px 0; }
.stat-row { display: flex; justify-content: space-between; font-size: .84rem; padding: 6px 0; color: var(--ink2); }
.stat-row b { color: var(--ink); }

.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }

.metric-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.metric {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
}
.metric b { display: block; font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); }
.metric span { font-size: .76rem; color: var(--ink2); }
.metric.blue { background: var(--accent); border-color: var(--accent); }
.metric.blue b { color: var(--white); }
.metric.blue span { color: rgba(255,255,255,.75); }

/* ---------- Notices ---------- */
.notice { border-radius: var(--radius-sm); padding: 12px 16px; font-size: .86rem; margin-bottom: 18px; border: 1px solid; }
.notice.info { background: #F0F9FF; border-color: #BAE6FD; color: #075985; }
.notice.warn { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.notice.danger { background: #FEF2F2; border-color: #FECACA; color: var(--red-dark); }
.notice.success { background: #F0FDF4; border-color: #BBF7D0; color: var(--green-dark); }

/* ---------- Trust bar ---------- */
.trust-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.trust-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--white); border-radius: 6px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); padding: 18px 20px; cursor: pointer; margin-bottom: 12px;
}
.faq-item summary { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; list-style: none; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "▾"; color: var(--accent); transition: transform .2s; margin-left: 14px; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { font-size: .86rem; color: var(--ink2); margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--ink); padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--ink); max-width: 560px; }
.cta-band p { color: var(--ink2); margin-top: 8px; font-size: .92rem; }

/* ---------- Footer (slim, dark slate) ---------- */
footer { background: #2D3748; color: #FFFFFF; padding: 0; margin-top: 72px; }
.footer-grid { display: none; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; font-size: 12px;
  display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; text-align: center;
}
footer a { color: #A7F3D0; }
.skivo-link { color: #6EE7B7; font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white); padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: .86rem; box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 100; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,27,45,.55); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  max-width: 520px; width: 100%; box-shadow: var(--shadow-lift); max-height: 88vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 6px; }
.modal .sub { color: var(--ink2); font-size: .84rem; margin-bottom: 18px; }
.star-input { display: flex; gap: 6px; font-size: 2rem; cursor: pointer; color: var(--border); margin: 8px 0 18px; }
.star-input span.on { color: var(--accent); }

/* ---------- Misc ---------- */
.muted { color: var(--ink2); }
.small { font-size: .84rem; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--ink2); }
.empty-state .big { font-size: 2.4rem; margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .metric-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { position: static; }
}
.nav-mobile { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile:not([hidden]) {
    display: flex; flex-direction: column; padding: 12px 24px 18px; gap: 2px;
    border-top: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow);
  }
  .nav-mobile a {
    padding: 11px 4px; font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .09em; color: var(--ink); border-bottom: 1px solid var(--surface-2);
  }
  .nav-mobile a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .nav-cta .btn-ghost-light { display: none; }
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 24px; }
  .section { padding: 48px 0; }
}
