/* ==========================================================================
   Dispatchly — Enterprise Press Release Syndication & Verification Engine
   Design System v2.0 (Editorial Precision / Dark B2B Infrastructure)
   ========================================================================== */

:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Surfaces */
  --color-bg: #060913;
  --color-bg-alt: #0a0f1e;
  --color-surface: #0f1629;
  --color-surface-elevated: #151e36;
  --color-surface-hover: #1b2644;

  /* Borders */
  --color-border: rgba(148, 163, 184, 0.14);
  --color-border-strong: rgba(148, 163, 184, 0.26);
  --color-border-accent: rgba(56, 189, 248, 0.35);

  /* Brand & Accents */
  --color-primary: #2563eb;
  --color-primary-hover: #3b82f6;
  --color-accent: #38bdf8;
  --color-indigo: #6366f1;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;

  /* Typography */
  --color-text-main: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 40px -8px rgba(37, 99, 235, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(37, 99, 235, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(56, 189, 248, 0.08), transparent);
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: #7dd3fc;
}

code, pre, .mono {
  font-family: var(--font-mono);
}

code {
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Status Bar & Sticky Header
   ========================================================================== */

.topbar {
  background: rgba(10, 15, 30, 0.9);
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 10px var(--color-emerald);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

header {
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(6, 9, 19, 0.82);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: #ffffff !important;
}

.logo-badge {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

nav a:not(.btn) {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

nav a:not(.btn):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

nav a.active:not(.btn) {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
  font-weight: 600;
}

nav .nav-cta-li {
  margin-left: 10px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
}

.btn-secondary {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-main) !important;
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-surface-elevated);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.badge-live {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-neutral {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* ==========================================================================
   Hero Section & Architecture Preview
   ========================================================================== */

.hero {
  padding: 76px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.14);
  color: #7dd3fc;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero h1 .text-gradient {
  background: linear-gradient(95deg, #60a5fa 0%, #38bdf8 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-trust-pills svg {
  color: var(--color-emerald);
  flex-shrink: 0;
}

/* Console / Pipeline Terminal Card */
.console-card {
  background: linear-gradient(180deg, rgba(21, 30, 54, 0.95) 0%, rgba(11, 17, 32, 0.98) 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(6, 9, 19, 0.75);
  border-bottom: 1px solid var(--color-border);
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.console-dots span:nth-child(1) { background: #ef4444; }
.console-dots span:nth-child(2) { background: #f59e0b; }
.console-dots span:nth-child(3) { background: #10b981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-muted);
}

.console-body {
  padding: 20px;
}

.pipeline-stage {
  background: rgba(6, 9, 19, 0.65);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pipeline-stage:last-child {
  margin-bottom: 0;
}

.stage-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-num {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stage-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.stage-sub {
  font-size: 11.5px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

.console-footer {
  padding: 12px 18px;
  background: rgba(16, 185, 129, 0.07);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #34d399;
}

/* ==========================================================================
   Metrics / Spec Bar
   ========================================================================== */

.metrics-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 15, 30, 0.7);
  padding: 28px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  padding-left: 18px;
  border-left: 2px solid rgba(56, 189, 248, 0.35);
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */

.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(10, 15, 30, 0.55);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #ffffff;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(15, 22, 41, 0.9) 0%, rgba(10, 15, 30, 0.9) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.card-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Workflow Steps (4-Stage)
   ========================================================================== */

.workflow-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.workflow-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

.workflow-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.workflow-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Data Tables (Portals & Wave Report Preview)
   ========================================================================== */

.table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: rgba(6, 9, 19, 0.8);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-border-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.portal-name {
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Page Hero & Inner Page Content Layout
   ========================================================================== */

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(15, 22, 41, 0.6) 0%, rgba(6, 9, 19, 0) 100%);
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #ffffff;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.page-content {
  padding: 64px 0 96px;
  max-width: 920px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.page-content .lead {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  line-height: 1.65;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 44px 0 16px;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #f1f5f9;
}

.page-content p, .page-content li {
  color: var(--color-text-secondary);
  font-size: 15.5px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.callout-box {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 28px 0;
}

.callout-box h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 14.5px;
  color: var(--color-text-secondary);
}

/* Two-Column Legal & Contact Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-nav h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-nav li {
  margin-bottom: 8px;
}

.legal-nav a {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  display: block;
  padding: 4px 0;
}

.legal-nav a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.form-control {
  width: 100%;
  background-color: rgba(6, 9, 19, 0.75);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 14.5px;
  color: #ffffff;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(15, 22, 41, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 580px;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  border-top: 1px solid var(--color-border);
  background-color: #04060d;
  padding: 72px 0 36px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-dim);
}

.postal-address {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-meta {
    display: none;
  }
  .hero {
    padding: 48px 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .page-hero h1,
  .page-content h1 {
    font-size: 30px;
  }
  .nav-wrap {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .metrics-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 36px 24px;
  }
}
