/* ═══════════════════════════════════════════════════════════════
   CIVICON TECH STUDIO — Enterprise Design System
   Version: 2.1 Production — Fonts via HTML link tags
   Theme: Institutional Corporate · White + Deep Navy
   ═══════════════════════════════════════════════════════════════ */


/* ── VARIABLES ───────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --navy:         #0F2347;
  --navy-deep:    #0A1A35;
  --navy-mid:     #163066;
  --blue:         #1565C0;
  --blue-light:   #1976D2;
  --blue-pale:    #E3EAF8;
  --blue-subtle:  #F0F4FB;

  /* Neutral Scale */
  --white:        #FFFFFF;
  --off-white:    #F8F9FC;
  --gray-50:      #F5F6FA;
  --gray-100:     #EAECF2;
  --gray-200:     #D6DAE6;
  --gray-300:     #B0B9CE;
  --gray-400:     #8291AE;
  --gray-500:     #5A6B8A;
  --gray-600:     #3D4F6E;
  --gray-700:     #2A3A55;
  --text-primary: #0F2347;
  --text-body:    #2A3A55;
  --text-muted:   #5A6B8A;
  --text-subtle:  #8291AE;

  /* Status */
  --green:        #1B7A4A;
  --green-bg:     #EAF5EF;
  --gold:         #B87A00;
  --gold-bg:      #FDF6E3;
  --red:          #C62828;
  --red-bg:       #FDECEA;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Elevation */
  --shadow-xs:  0 1px 3px rgba(15,35,71,0.07);
  --shadow-sm:  0 2px 8px rgba(15,35,71,0.08);
  --shadow-md:  0 4px 20px rgba(15,35,71,0.10);
  --shadow-lg:  0 10px 40px rgba(15,35,71,0.12);
  --shadow-xl:  0 24px 64px rgba(15,35,71,0.14);
  --shadow-2xl: 0 40px 96px rgba(15,35,71,0.18);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --duration:   220ms;
  --transition: var(--duration) var(--ease);

  /* Layout */
  --max-width:   1200px;
  --nav-height:  76px;
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.display-2xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.display-xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.display-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.display-md {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.display-sm {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
}

.body-base {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

.body-sm {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-subtle);
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.section {
  padding: var(--space-10) 0;
}

.section-md {
  padding: var(--space-9) 0;
}

.section-sm {
  padding: var(--space-7) 0;
}

.section-header {
  margin-bottom: var(--space-8);
}

.section-header .eyebrow {
  margin-bottom: var(--space-4);
}

.section-header .display-lg,
.section-header .display-xl {
  margin-bottom: var(--space-4);
}

.section-header .lead {
  max-width: 560px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .lead {
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: grid;
  gap: var(--space-6);
}

.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.row-2-3 { grid-template-columns: 2fr 3fr; }
.row-3-2 { grid-template-columns: 3fr 2fr; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-brand-fallback {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.nav-brand-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.nav-brand-text span {
  display: block;
  font-size: 10.5px;
  color: var(--text-subtle);
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--blue-subtle);
}

.nav-link.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: white;
  background: var(--navy);
  padding: 8px 20px;
  border-radius: var(--r-sm);
  margin-left: var(--space-2);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  color: var(--navy);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--gray-50);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity var(--transition);
}

.nav-toggle .icon-close { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: var(--space-4) var(--space-8);
  gap: var(--space-1);
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-sm);
  transition: all var(--transition);
}

.mobile-link:hover {
  background: var(--blue-subtle);
  color: var(--navy);
}

.mobile-link.active {
  color: var(--navy);
  font-weight: 600;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1px;
  line-height: 1;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

.btn-blue {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn-blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
}

.btn-ghost-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-white {
  background: white;
  color: var(--navy);
  border-color: white;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--off-white);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── BADGES / TAGS ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
}

.badge-navy   { background: var(--navy); color: white; }
.badge-blue   { background: var(--blue-pale); color: var(--blue); border-color: rgba(21,101,192,0.2); }
.badge-green  { background: var(--green-bg); color: var(--green); border-color: rgba(27,122,74,0.2); }
.badge-gold   { background: var(--gold-bg); color: var(--gold); border-color: rgba(184,122,0,0.2); }
.badge-gray   { background: var(--gray-50); color: var(--gray-600); border-color: var(--gray-200); }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

.card-flat {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: var(--space-6);
}

.card-navy {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  color: white;
}

.card-blue-subtle {
  background: var(--blue-subtle);
  border: 1px solid var(--blue-pale);
  border-radius: var(--r-lg);
  padding: var(--space-6);
}

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gray-100);
}

.section-rule {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.section-rule::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── DISCLAIMER / NOTICE BLOCKS ──────────────────────────────── */
.notice-block {
  border-radius: var(--r-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.notice-block--blue {
  background: var(--blue-subtle);
  border: 1px solid var(--blue-pale);
}

.notice-block--gold {
  background: var(--gold-bg);
  border: 1px solid rgba(184,122,0,0.2);
}

.notice-block--red {
  background: var(--red-bg);
  border: 1px solid rgba(198,40,40,0.2);
}

.notice-block-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.3;
}

.notice-block-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

.notice-block-body strong {
  color: var(--text-primary);
}

/* ── COMPLIANCE BOX ──────────────────────────────────────────── */
.compliance-box {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-5);
}

.compliance-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* ── PRESS / CREDENTIAL STRIP ────────────────────────────────── */
.credential-strip {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--off-white);
  padding: var(--space-6) 0;
}

.credential-items {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.credential-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
  flex-shrink: 0;
}

.credential-sep {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.credential-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-xs);
}

.credential-item-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.credential-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.credential-item-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── FEATURE LIST ────────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-xs);
}

.feature-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--blue-subtle);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.feature-item-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

.feature-item-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── TABLE ───────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
}

.data-table thead th {
  background: var(--navy);
  color: white;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  white-space: nowrap;
}

.data-table tbody td {
  padding: var(--space-4) var(--space-5);
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: top;
  line-height: 1.6;
}

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

.data-table tbody tr:nth-child(even) td {
  background: var(--off-white);
}

.check-mark {
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}

/* ── HERO STRUCTURES ─────────────────────────────────────────── */
.page-hero {
  padding-top: var(--nav-height);
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-100);
}

.page-hero-inner {
  padding: var(--space-10) 0 var(--space-9);
}

.page-hero-inner .eyebrow {
  margin-bottom: var(--space-4);
}

.page-hero-inner .display-xl {
  margin-bottom: var(--space-5);
}

.page-hero-inner .lead {
  max-width: 580px;
  margin-bottom: var(--space-7);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: white;
  padding: var(--space-9) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-6);
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.footer-brand-fallback {
  display: none;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-5);
  max-width: 320px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-4);
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-3);
  transition: color var(--transition);
}

.footer-link:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item span:first-child {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-navy    { color: var(--navy); }
.text-blue    { color: var(--blue); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: white; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }

.bg-off-white { background: var(--off-white); }
.bg-white     { background: var(--white); }
.bg-navy      { background: var(--navy); }

.border-top    { border-top: 1px solid var(--gray-100); }
.border-bottom { border-bottom: 1px solid var(--gray-100); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --max-width: 100%; }
  .container { padding: 0 var(--space-6); }
  .row-2   { grid-template-columns: 1fr; }
  .row-3   { grid-template-columns: 1fr 1fr; }
  .row-4   { grid-template-columns: 1fr 1fr; }
  .row-2-3 { grid-template-columns: 1fr; }
  .row-3-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .container { padding: 0 var(--space-5); }
  .nav-menu  { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { padding: var(--space-4) var(--space-5); }
  .row-3 { grid-template-columns: 1fr; }
  .row-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-8) 0; }
  .section-md { padding: var(--space-7) 0; }
  .page-hero-inner { padding: var(--space-8) 0 var(--space-7); }
  .btn-lg { padding: 14px 28px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .row-4 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .credential-items { gap: var(--space-4); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE LAYOUT CLASSES — v2.1 patch
   Replaces all inline style grid declarations.
   These classes collapse to single column on mobile.
   ═══════════════════════════════════════════════════════════════ */

.grid-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 96px 0 88px;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.grid-2col-lg {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.grid-press {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.lit-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 120px;
  position: relative;
  z-index: 1;
}

.lit-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.nav-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

/* ── RESPONSIVE COLLAPSE ─────────────────────────── */
@media (max-width: 900px) {
  .grid-hero,
  .grid-2col,
  .grid-2col-lg,
  .grid-3col,
  .grid-press,
  .lit-grid,
  .lit-content-grid,
  .contact-grid,
  .info-grid,
  .problems-grid,
  .creds-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lit-grid { padding: 64px 0 80px; }
  .grid-hero { padding: 64px 0 56px; }

  /* Hide hero right card on mobile — it's decorative */
  .hero-right-card { display: none; }
  /* Hide litigation panel mockup on mobile */
  .panel-mockup { display: none; }
}

@media (max-width: 640px) {
  .grid-4col { grid-template-columns: 1fr 1fr; }
  .grid-3col { grid-template-columns: 1fr; }
  .grid-stats { grid-template-columns: 1fr 1fr; }
  .nav-card-stats { grid-template-columns: 1fr 1fr; }
  .grid-hero { padding: 48px 0 40px; }
}

/* ── NAV BRAND — fix double logo issue ───────────── */
.nav-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-brand-mark-wrap {
  display: none;
}

/* ── HERO RIGHT CARD ─────────────────────────────── */
.hero-right-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-2xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-xl);
}

.hero-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin: 0 auto var(--space-4);
  display: block;
}
