/* ============================================================
   ShipPack — Custom Application Styles
   Built on Foundation 6 (XY Grid)
   ============================================================ */

:root {
  --sp-bg:         #0d1117;
  --sp-surface:    #161b22;
  --sp-surface-2:  #1f2937;
  --sp-border:     #30363d;
  --sp-primary:    #2563eb;
  --sp-primary-h:  #1d4ed8;
  --sp-accent:     #7c3aed;
  --sp-text:       #e6edf3;
  --sp-text-muted: #8b949e;
  --sp-success:    #16a34a;
  --sp-warning:    #d97706;
  --sp-danger:     #dc2626;
  --sp-info:       #0ea5e9;
  --sidebar-w:     240px;
  --topbar-h:      56px;
  --radius:        8px;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

a { color: var(--sp-primary); text-decoration: none; }
a:hover { color: var(--sp-primary-h); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--sp-text); font-weight: 600; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

.text-muted { color: var(--sp-text-muted); }
.text-success { color: var(--sp-success); }
.text-warning { color: var(--sp-warning); }
.text-danger  { color: var(--sp-danger); }
.text-info    { color: var(--sp-info); }

/* ── Sidebar ─────────────────────────────────────────────── */
.sp-sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--sp-surface);
  border-right: 1px solid var(--sp-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform 0.25s ease;
}

.sp-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--sp-border);
  text-decoration: none;
}

.sp-sidebar-brand .brand-logo {
  width: 34px; height: 34px;
  background: var(--sp-primary);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.sp-sidebar-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sp-text);
  letter-spacing: 0.02em;
}

.sp-sidebar-brand .brand-version {
  font-size: 0.65rem;
  color: var(--sp-text-muted);
}

.sp-nav { padding: 12px 0; flex: 1; }

.sp-nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-text-muted);
  padding: 10px 20px 4px;
}

.sp-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--sp-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 0;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.sp-nav-item:hover {
  background: var(--sp-surface-2);
  color: var(--sp-text);
  text-decoration: none;
}

.sp-nav-item.active {
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border-left-color: var(--sp-primary);
  font-weight: 600;
}

.sp-nav-item .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sp-nav-item .nav-badge {
  margin-left: auto;
  background: var(--sp-primary);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.sp-sidebar-footer {
  border-top: 1px solid var(--sp-border);
  padding: 14px 20px;
}

.sp-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sp-accent);
  display: grid; place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.sp-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sp-text);
}

.sp-user-role {
  font-size: 0.68rem;
  color: var(--sp-text-muted);
  text-transform: capitalize;
}

/* ── Main content wrapper ────────────────────────────────── */
.sp-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ─────────────────────────────────────────────── */
.sp-topbar {
  height: var(--topbar-h);
  background: var(--sp-surface);
  border-bottom: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.sp-topbar .page-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sp-text);
  margin: 0;
}

.sp-topbar .sp-spacer { flex: 1; }

.sp-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sp-text);
  font-size: 1.4rem;
  padding: 4px;
  line-height: 1;
}

/* ── Content area ────────────────────────────────────────── */
.sp-content {
  padding: 28px 24px;
  flex: 1;
}

/* ── Cards ───────────────────────────────────────────────── */
.sp-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sp-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sp-text);
  margin: 0;
}

.sp-card-body { padding: 20px; }

/* ── Stat Cards ──────────────────────────────────────────── */
.stat-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-icon.blue   { background: rgba(37,99,235,0.15); }
.stat-icon.green  { background: rgba(22,163,74,0.15); }
.stat-icon.purple { background: rgba(124,58,237,0.15); }
.stat-icon.amber  { background: rgba(217,119,6,0.15); }
.stat-icon.red    { background: rgba(220,38,38,0.15); }
.stat-icon.teal   { background: rgba(14,165,233,0.15); }

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sp-text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sp-text);
  line-height: 1;
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--sp-text-muted);
  margin-top: 4px;
}

/* ── Tables ──────────────────────────────────────────────── */
.sp-table-wrap {
  overflow-x: auto;
}

.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.sp-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--sp-surface-2);
  color: var(--sp-text-muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--sp-border);
  white-space: nowrap;
}

.sp-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sp-border);
  color: var(--sp-text);
  vertical-align: middle;
}

.sp-table tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}

.sp-table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Badges ──────────────────────────────────────────────── */
.sp-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-badge-success  { background: rgba(22,163,74,0.15);  color: #4ade80; }
.sp-badge-danger   { background: rgba(220,38,38,0.15);  color: #f87171; }
.sp-badge-warning  { background: rgba(217,119,6,0.15);  color: #fbbf24; }
.sp-badge-info     { background: rgba(14,165,233,0.15); color: #38bdf8; }
.sp-badge-default  { background: rgba(139,148,158,0.15); color: #8b949e; }
.sp-badge-purple   { background: rgba(124,58,237,0.15); color: #a78bfa; }
.sp-badge-primary  { background: rgba(37,99,235,0.15);  color: #60a5fa; }

/* ── Buttons ─────────────────────────────────────────────── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.12s, transform 0.08s;
  white-space: nowrap;
}

.sp-btn:hover { opacity: 0.88; text-decoration: none; }
.sp-btn:active { transform: scale(0.98); }

.sp-btn-primary  { background: var(--sp-primary);  color: #fff; }
.sp-btn-success  { background: var(--sp-success);  color: #fff; }
.sp-btn-danger   { background: var(--sp-danger);   color: #fff; }
.sp-btn-warning  { background: var(--sp-warning);  color: #fff; }
.sp-btn-ghost {
  background: transparent;
  color: var(--sp-text-muted);
  border: 1px solid var(--sp-border);
}
.sp-btn-ghost:hover { color: var(--sp-text); border-color: var(--sp-text-muted); }

.sp-btn-sm { padding: 4px 10px; font-size: 0.74rem; }
.sp-btn-xs { padding: 2px 7px;  font-size: 0.68rem; }

/* ── Forms ───────────────────────────────────────────────── */
.sp-form-group { margin-bottom: 18px; }

.sp-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sp-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sp-input,
.sp-select,
.sp-textarea {
  width: 100%;
  background: var(--sp-bg);
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  color: var(--sp-text);
  padding: 9px 12px;
  font-size: 0.84rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.sp-input:focus,
.sp-select:focus,
.sp-textarea:focus {
  outline: none;
  border-color: var(--sp-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.sp-input::placeholder { color: var(--sp-text-muted); opacity: 0.6; }

.sp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b949e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.sp-select option { background: var(--sp-surface); }

.sp-textarea { resize: vertical; min-height: 80px; }

.sp-input-error { border-color: var(--sp-danger) !important; }
.sp-error-msg { color: var(--sp-danger); font-size: 0.75rem; margin-top: 4px; }

/* Checkbox/Radio */
.sp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--sp-text);
}
.sp-check input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--sp-primary); }

/* ── Alerts ──────────────────────────────────────────────── */
.sp-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.84rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.sp-alert-success { background: rgba(22,163,74,0.12);  border: 1px solid rgba(22,163,74,0.3);  color: #4ade80; }
.sp-alert-danger  { background: rgba(220,38,38,0.12);  border: 1px solid rgba(220,38,38,0.3);  color: #f87171; }
.sp-alert-warning { background: rgba(217,119,6,0.12);  border: 1px solid rgba(217,119,6,0.3);  color: #fbbf24; }
.sp-alert-info    { background: rgba(14,165,233,0.12); border: 1px solid rgba(14,165,233,0.3); color: #38bdf8; }

/* ── Page header ─────────────────────────────────────────── */
.sp-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.sp-page-header h1 {
  font-size: 1.3rem;
  margin: 0;
}

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--sp-text-muted);
  margin-top: 2px;
}

.sp-breadcrumb a { color: var(--sp-text-muted); }
.sp-breadcrumb a:hover { color: var(--sp-text); }
.sp-breadcrumb .sep { opacity: 0.4; }

/* ── Pagination ──────────────────────────────────────────── */
.sp-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.sp-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sp-text-muted);
  text-decoration: none;
  border: 1px solid var(--sp-border);
  transition: all 0.12s;
}

.sp-page-link:hover { color: var(--sp-text); border-color: var(--sp-text-muted); text-decoration: none; }
.sp-page-link.active { background: var(--sp-primary); color: #fff; border-color: var(--sp-primary); }

/* ── Search / filter bar ─────────────────────────────────── */
.sp-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sp-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.sp-search-wrap .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sp-text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.sp-search-wrap input {
  padding-left: 32px;
}

/* ── Empty state ─────────────────────────────────────────── */
.sp-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--sp-text-muted);
}

.sp-empty .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.sp-empty h3 { color: var(--sp-text-muted); font-size: 1rem; }
.sp-empty p  { font-size: 0.82rem; }

/* ── Dividers ────────────────────────────────────────────── */
hr.sp-divider {
  border: none;
  border-top: 1px solid var(--sp-border);
  margin: 20px 0;
}

/* ── Modal overlay (simple) ──────────────────────────────── */
.sp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.sp-modal-overlay.open { display: flex; }

.sp-modal {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  width: min(480px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
}

.sp-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-modal-body    { padding: 20px; }
.sp-modal-footer  { padding: 14px 20px; border-top: 1px solid var(--sp-border); display: flex; justify-content: flex-end; gap: 8px; }

/* ── Overlay (sidebar mobile) ────────────────────────────── */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing-body {
  background: var(--sp-bg);
}

.sp-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  z-index: 200;
  gap: 16px;
}

.sp-navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--sp-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.sp-navbar .nav-brand .logo-box {
  width: 32px; height: 32px;
  background: var(--sp-primary);
  border-radius: 7px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.sp-navbar .nav-spacer { flex: 1; }

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 60px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.15) 0%, transparent 70%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(37,99,235,0.08);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #60a5fa, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--sp-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--sp-text-muted);
  margin-top: 20px;
}

.hero-badge span { color: var(--sp-success); }

/* Hero visual */
.hero-card-stack {
  position: relative;
}

.hero-mockup {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.hero-mockup-bar {
  background: var(--sp-surface-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--sp-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green  { background: #22c55e; }

.hero-mockup-body { padding: 16px; }

/* Features section */
.features-section {
  padding: 80px 32px;
  background: var(--sp-surface);
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--sp-text-muted);
  max-width: 500px;
  line-height: 1.7;
}

.feature-card {
  background: var(--sp-bg);
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  transition: border-color 0.2s, transform 0.15s;
}

.feature-card:hover {
  border-color: rgba(37,99,235,0.5);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,0.12);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--sp-text-muted);
  line-height: 1.6;
}

/* Stats strip */
.stats-strip {
  padding: 60px 32px;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-l { color: var(--sp-text-muted); font-size: 0.85rem; }

/* CTA section */
.cta-section {
  padding: 80px 32px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(37,99,235,0.12) 0%, transparent 70%);
  text-align: center;
}

/* Footer */
.sp-landing-footer {
  padding: 28px 32px;
  border-top: 1px solid var(--sp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--sp-text-muted);
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-body {
  background: var(--sp-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-image: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,99,235,0.1), transparent);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.login-logo .logo-box {
  width: 40px; height: 40px;
  background: var(--sp-primary);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.login-logo h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
}

.login-subtitle {
  color: var(--sp-text-muted);
  font-size: 0.84rem;
  margin-bottom: 24px;
}

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */
@media screen and (max-width: 767px) {
  .sp-sidebar {
    transform: translateX(-100%);
  }

  .sp-sidebar.open {
    transform: translateX(0);
  }

  .sp-overlay.open { display: block; }

  .sp-main {
    margin-left: 0;
  }

  .sp-hamburger { display: flex; }

  .sp-content {
    padding: 18px 14px;
  }

  .hero-section {
    padding-top: 80px;
    text-align: center;
  }

  .hero-desc { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-badge { justify-content: center; }

  .sp-landing-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .stat-card { flex-direction: column; gap: 10px; }
  .sp-page-header { flex-direction: column; align-items: flex-start; }
}

/* ── Utility ─────────────────────────────────────────────── */
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.mt-0   { margin-top: 0; }
.mb-0   { margin-bottom: 0; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.82em; }
.w-100 { width: 100%; }
