/* ============================================================
   CDL COMPLIANCE ECOSYSTEM — AUTHORITY DESIGN SYSTEM
   Obsidian Black · Iron Gray · Estate / Industrial / Executive Gold
   Fonts: Inter (body) · Montserrat (display) · Poppins (UI)
         Manrope (CDL Manager headings — loaded per-brand)
   Version: 3.0 — Single Authority Ecosystem
   ============================================================ */

/* ──────────────────────────────────────────────
   1. DESIGN TOKENS (CSS Custom Properties)
   ────────────────────────────────────────────── */
:root {

  /* ── Obsidian / Iron system (global) ── */
  --obsidian:          #0D0D0D;
  --iron-900:          #1A1A1A;
  --iron-800:          #2A2A2A;
  --iron-700:          #3A3A3A;
  --iron-600:          #4A4A4A;
  --iron-500:          #6B7280;
  --iron-400:          #9CA3AF;
  --iron-300:          #D1D5DB;
  --iron-200:          #E5E7EB;
  --iron-100:          #F3F4F6;
  --white:             #FFFFFF;

  /* ── Brand-neutral Gold system ── */
  --gold-primary:      #C5A059;   /* Estate — Consultants */
  --gold-industrial:   #B89A4A;   /* Industrial — CDL360 */
  --gold-executive:    #D1B46A;   /* Executive — Manager */
  --gold-cta:          #D48C2A;   /* Deep amber CTA */
  --gold-muted:        #A8843B;   /* Muted bronze */
  --gold-on-dark:      rgba(197,160,89,0.12);  /* subtle bg tint */

  /* ── Status / Trust colors (universal) ── */
  --color-success:     #2E7D32;
  --color-success-bg:  #E8F5E9;
  --color-warning:     #E65100;
  --color-warning-bg:  #FFF3E0;
  --color-risk:        #B71C1C;
  --color-risk-bg:     #FFEBEE;
  --color-info:        #0277BD;
  --color-info-bg:     #E1F5FE;

  /* ── Typography scale ── */
  --font-display:      'Montserrat', sans-serif;
  --font-body:         'Inter', sans-serif;
  --font-ui:           'Poppins', sans-serif;

  --text-xs:    0.72rem;   /* 11.5px */
  --text-sm:    0.825rem;  /* 13.2px */
  --text-base:  1rem;      /* 16px   */
  --text-lg:    1.125rem;  /* 18px   */
  --text-xl:    1.25rem;   /* 20px   */
  --text-2xl:   1.5rem;    /* 24px   */
  --text-3xl:   1.875rem;  /* 30px   */
  --text-4xl:   2.25rem;   /* 36px   */

  /* ── Spacing scale (8-pt grid) ── */
  --space-1:    0.25rem;   /* 4px  */
  --space-2:    0.5rem;    /* 8px  */
  --space-3:    0.75rem;   /* 12px */
  --space-4:    1rem;      /* 16px */
  --space-5:    1.25rem;   /* 20px */
  --space-6:    1.5rem;    /* 24px */
  --space-8:    2rem;      /* 32px */
  --space-10:   2.5rem;    /* 40px */
  --space-12:   3rem;      /* 48px */
  --space-16:   4rem;      /* 64px */
  --space-20:   5rem;      /* 80px */
  --space-24:   6rem;      /* 96px */

  /* ── Border radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.14);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.20);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* ── Borders ── */
  --border-light:  1px solid var(--iron-200);
  --border-medium: 1px solid var(--iron-300);

  /* ── Z-index scale ── */
  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    500;
  --z-toast:    900;
  --z-toggle:   9999;
}


/* ──────────────────────────────────────────────
   2. FONT FACE UTILITIES
   ────────────────────────────────────────────── */

/* Poppins UI font — apply to nav, badges, labels, pills */
.font-poppins,
.nav-links a,
.section-label,
.hero-eyebrow,
.badge,
.badge-success,
.badge-warning,
.btn-cta,
.btn-outline,
.filter-tab,
.topbar {
  font-family: var(--font-ui);
}

/* Montserrat display — headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
}

/* Inter body — paragraphs, table data */
body, p, li, td, input, select, textarea {
  font-family: var(--font-body);
}


/* ──────────────────────────────────────────────
   3. AUTHORITY TYPOGRAPHY OVERRIDES
   ────────────────────────────────────────────── */

/* Headline weights — authority tone */
h1 { font-weight: 900; letter-spacing: -0.02em; }
h2 { font-weight: 800; letter-spacing: -0.01em; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }
h5 { font-weight: 600; font-family: var(--font-ui); }

/* Lead paragraph — slightly larger */
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #333333;
  font-weight: 400;
}

/* Authority pull quote */
.pull-quote {
  border-left: 4px solid var(--brand-primary, #C5A059);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: #374151;
  background: var(--iron-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Gold underline on section titles */
.section-title-gold::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--brand-primary, #C5A059);
  margin-top: 0.5rem;
  border-radius: 1px;
}


/* ──────────────────────────────────────────────
   4. SECTION LAYOUT PATTERNS
   Authority rhythm: Dark hero → Dark trust →
   Light services → Light process → Dark CTA →
   Light form → Dark footer
   ────────────────────────────────────────────── */

/* Section rhythm colors */
.section-dark   { background: var(--iron-900); color: #E5E7EB; }
.section-black  { background: var(--obsidian); color: #E5E7EB; }
.section-light  { background: #FFFFFF; }
.section-off    { background: var(--iron-100); }
.section-tinted { background: #F5F7FA; }

/* CTA band — dark primary with left gold border top */
.cta-band {
  position: relative;
  padding: var(--space-16) 0;
  background: var(--iron-900);
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary, #C5A059), transparent);
}
.cta-band h2 { color: #FFFFFF; margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.80); max-width: 560px; margin: 0 auto 2rem; }

/* Gold divider line */
.gold-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary, #C5A059), transparent);
  border: none;
  margin: var(--space-10) 0;
}

/* Iron divider */
.iron-rule {
  height: 1px;
  background: var(--iron-200);
  border: none;
  margin: var(--space-8) 0;
}


/* ──────────────────────────────────────────────
   5. GOLD ACCENT UTILITIES
   Gold used ONLY for: CTA buttons, icons,
   accent lines, numbers, hover states
   ────────────────────────────────────────────── */

/* Gold accent text — stats, metrics, authority numbers */
.text-gold        { color: var(--gold-primary) !important; }
.text-gold-muted  { color: var(--gold-muted) !important; }

/* Gold accent icon wrapper */
.icon-gold {
  color: var(--gold-primary);
}
.icon-gold-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: rgba(197,160,89,0.10);
  border: 1px solid rgba(197,160,89,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Gold CTA Button — primary action */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-primary, #C5A059);
  color: #0D0D0D;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold:hover {
  background: var(--gold-muted, #A8843B);
  color: #0D0D0D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197,160,89,0.35);
}
.btn-gold:active { transform: translateY(0); }
.btn-gold-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* Gold outline CTA — secondary */
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold-primary, #C5A059);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-primary, #C5A059);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold-outline:hover {
  background: var(--gold-primary, #C5A059);
  color: #0D0D0D;
  transform: translateY(-1px);
}


/* ──────────────────────────────────────────────
   6. AUTHORITY NUMBER / STAT STYLES
   ────────────────────────────────────────────── */

/* Big authority metric — gold numbers */
.authority-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--brand-primary, #C5A059);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Inline metric badge */
.metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--iron-100);
  border: 1px solid var(--iron-200);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-ui);
  color: var(--iron-600);
}
.metric-badge .metric-value {
  color: var(--brand-primary, #C5A059);
  font-size: var(--text-base);
}


/* ──────────────────────────────────────────────
   7. AUTHORITY CARD VARIANTS
   ────────────────────────────────────────────── */

/* Service card with gold left border on hover */
.authority-card {
  background: #FFFFFF;
  border: 1px solid var(--iron-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  position: relative;
}
.authority-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--brand-primary, #C5A059);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transition: width var(--transition-base);
}
.authority-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.authority-card:hover::before { width: 4px; }

/* Result / outcome card */
.result-card {
  background: var(--iron-100);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: 4px solid var(--color-success);
}
.result-card.result-win {
  background: var(--color-success-bg);
  border-left-color: var(--color-success);
}
.result-card.result-warning {
  background: var(--color-warning-bg);
  border-left-color: var(--color-warning);
}
.result-card.result-risk {
  background: var(--color-risk-bg);
  border-left-color: var(--color-risk);
}

/* Process step — authority numbered */
.authority-step {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--iron-200);
}
.authority-step:last-child { border-bottom: none; }
.authority-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary, #C5A059);
  color: #0D0D0D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.authority-step-content h4 {
  margin-bottom: var(--space-2);
  color: var(--iron-900);
}
.authority-step-content p {
  color: var(--iron-500);
  font-size: var(--text-base);
  margin: 0;
}


/* ──────────────────────────────────────────────
   8. TRUST / SOCIAL PROOF ELEMENTS
   ────────────────────────────────────────────── */

/* Trust bar — horizontal strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--iron-200);
  border-bottom: 1px solid var(--iron-200);
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--iron-600);
}
.trust-strip-item i { color: var(--brand-primary, #C5A059); font-size: 1rem; }

/* Testimonial quote card */
.quote-card {
  background: #FFFFFF;
  border: 1px solid var(--iron-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--brand-primary, #C5A059);
  opacity: 0.15;
  line-height: 1;
}

/* Rating stars — gold */
.rating-stars { color: var(--gold-primary); letter-spacing: 0.05em; }
.rating-stars-sm { font-size: 0.75rem; }


/* ──────────────────────────────────────────────
   9. FORM COMPONENTS (Light — conversion optimized)
   ────────────────────────────────────────────── */

/* Authority form wrapper — always white for conversion */
.authority-form {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--iron-200);
}

.form-field {
  margin-bottom: var(--space-5);
}
.form-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--iron-900);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}
.form-field label .required {
  color: var(--color-risk);
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--iron-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--iron-900);
  background: #FFFFFF;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: auto;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary, #C5A059);
  box-shadow: 0 0 0 3px rgba(197,160,89,0.12);
}
.form-field input::placeholder { color: var(--iron-400); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* Form submit — full width gold CTA */
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--brand-cta, #D48C2A);
  color: #0D0D0D;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast);
  letter-spacing: 0.03em;
}
.form-submit:hover {
  background: var(--gold-muted, #A8843B);
  transform: translateY(-1px);
}

/* Disclaimer text under form */
.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--iron-500);
  text-align: center;
  margin-top: var(--space-4);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────
   10. NAVIGATION UTILITIES
   ────────────────────────────────────────────── */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--iron-500);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--brand-primary, var(--iron-600)); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep { color: var(--iron-400); }

/* Sticky CTA (mobile) */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-modal);
  background: #FFFFFF;
  border-top: 2px solid var(--iron-200);
  padding: var(--space-4) var(--space-6);
  gap: var(--space-3);
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: flex; }
  .sticky-mobile-cta .btn-cta { flex: 1; justify-content: center; }
  .sticky-mobile-cta .btn-call {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--iron-100);
    border: 2px solid var(--iron-200);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--iron-900);
  }
}


/* ──────────────────────────────────────────────
   11. TABLE / DATA DISPLAY
   ────────────────────────────────────────────── */

.authority-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.authority-table thead th {
  background: var(--iron-900);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.authority-table thead th.gold-col {
  background: var(--gold-primary, #C5A059);
  color: #0D0D0D;
}
.authority-table tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--iron-200);
  color: #374151;
  vertical-align: top;
}
.authority-table tbody tr:nth-child(even) td { background: var(--iron-100); }
.authority-table tbody tr:hover td { background: #F0F4FF; }
.authority-table .check-yes { color: var(--color-success); font-weight: 700; }
.authority-table .check-no  { color: var(--iron-400); }


/* ──────────────────────────────────────────────
   12. BADGE / PILL / TAG SYSTEM
   ────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.pill-success  { background: var(--color-success-bg); color: var(--color-success); }
.pill-warning  { background: var(--color-warning-bg); color: var(--color-warning); }
.pill-risk     { background: var(--color-risk-bg);    color: var(--color-risk); }
.pill-gold     { background: rgba(197,160,89,0.12); color: var(--gold-primary); border: 1px solid rgba(197,160,89,0.25); }
.pill-iron     { background: var(--iron-100); color: var(--iron-600); border: 1px solid var(--iron-200); }
.pill-dark     { background: var(--iron-900); color: #FFFFFF; }

/* Urgency badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #FFEBEE;
  color: var(--color-risk);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid #FFCDD2;
}
.urgency-badge i { font-size: 0.65rem; }

/* Authority certification badge */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--iron-100);
  border: 1px solid var(--iron-200);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--iron-900);
}
.cert-badge i { color: var(--gold-primary); font-size: 1rem; }


/* ──────────────────────────────────────────────
   13. CONTENT HUB / ARTICLE STYLES
   ────────────────────────────────────────────── */

.article-body {
  max-width: 780px;
  margin: 0 auto;
}
.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--iron-200);
}
.article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body p  { margin-bottom: 1.25rem; line-height: 1.8; color: #374151; }
.article-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; color: #374151; }

/* Internal link — revenue page target */
.revenue-link {
  color: var(--brand-primary, #C5A059);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}
.revenue-link:hover { border-bottom-color: var(--brand-primary, #C5A059); }

/* Cross-brand callout box */
.ecosystem-callout {
  background: var(--iron-100);
  border: 1px solid var(--iron-200);
  border-left: 4px solid var(--brand-primary, #C5A059);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}
.ecosystem-callout h5 {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary, #C5A059);
  margin-bottom: var(--space-3);
}


/* ──────────────────────────────────────────────
   14. ANIMATION HELPERS
   ────────────────────────────────────────────── */

.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.10s; }
.animate-delay-2 { transition-delay: 0.20s; }
.animate-delay-3 { transition-delay: 0.30s; }
.animate-delay-4 { transition-delay: 0.40s; }

/* Monitoring dot pulse */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary, #C5A059);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%  { box-shadow: 0 0 0 0 rgba(197,160,89,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(197,160,89,0); }
  100%{ box-shadow: 0 0 0 0 rgba(197,160,89,0); }
}


/* ──────────────────────────────────────────────
   15. RESPONSIVE UTILITIES
   ────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hide-lg  { display: none; }
  .grid-3 > *, .grid-4 > * { /* handled per-section */ }
}

@media (max-width: 768px) {
  .hide-md  { display: none; }
  .show-md  { display: block; }
  .text-center-md { text-align: center; }
  .hero-actions { justify-content: center; }
  .authority-form { padding: var(--space-6); }
  .form-row-2 { grid-template-columns: 1fr; }
  .authority-table { font-size: var(--text-xs); }
  .authority-table thead th,
  .authority-table tbody td { padding: 0.6rem 0.75rem; }
  .trust-strip { gap: var(--space-5); }
}

@media (max-width: 480px) {
  .hide-sm  { display: none; }
  .btn-cta, .btn-gold, .btn-outline, .btn-gold-outline {
    width: 100%;
    justify-content: center;
  }
}


/* ──────────────────────────────────────────────
   16. PRINT STYLES
   ────────────────────────────────────────────── */

@media print {
  .topbar, .navbar, .mobile-menu, .scroll-top,
  #cdl-theme-toggle, #cdl-theme-dots, #cdl-demo-badge { display: none !important; }
  body { background: #FFFFFF; color: #1A1A1A; }
  a::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #6B7280; }
  .hero, .page-hero { background: var(--iron-900) !important; }
}
