/* ═══════════════════════════════════════════════════════════
   ALLOMETRY — Shared Stylesheet
   All shared styles for the Allometry marketing site.
   Individual pages only need page-specific CSS beyond this.
   ═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES — Light / Dark
   ════════════════════════════════════════════════════════════ */

:root {
  /* ═══ BRAND · Rails-green (the Pulse primitive) ═══ */
  --brand: #E8FF8B;
  --brand-dim: #C9E045;
  --brand-glow: rgba(232, 255, 139, 0.08);
  --brand-glow-strong: rgba(232, 255, 139, 0.15);

  /* Rails aliases (design.css compatibility) */
  --rails: #E8FF8B;
  --rails-dim: #C9E045;
  --rails-glow: rgba(232, 255, 139, 0.08);

  /* ═══ BACKGROUNDS · GitHub-style dark ═══ */
  --bg-0: #0D1117;
  --bg-1: #161B22;
  --bg-2: #21262D;
  --bg-3: #2D333B;
  --bg-glass: rgba(13, 17, 23, 0.92);

  /* ═══ TEXT ═══ */
  --text-0: #E6EDF3;
  --text-1: #B1BAC4;
  --text-2: #768390;
  --text-3: #484F58;

  /* ═══ BORDERS + SHADOWS ═══ */
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.18);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.28);
  --glow: none;

  --dot-color: rgba(255,255,255,0.015);

  /* ═══ RADIUS ═══ */
  --radius-sm: 3px;
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* ═══ LOOP SEMANTIC COLORS ═══ */
  --price: #F59E0B;
  --deploy: #10B981;
  --expand: #7C6FF7;
  --govern: #EF4444;
  --price-glow: rgba(245, 158, 11, 0.08);
  --deploy-glow: rgba(16, 185, 129, 0.08);
  --expand-glow: rgba(124, 111, 247, 0.08);
  --govern-glow: rgba(239, 68, 68, 0.08);

  /* Legacy module aliases (kept for back-compat with page-level CSS) */
  --mod-margin: #F59E0B;
  --mod-sku: #7C6FF7;
  --mod-quote: #06B6D4;
  --mod-compete: #EF4444;
  --mod-location: #10B981;
  --mod-deal: #A855F7;
  --mod-outbound: #EC4899;
  --mod-analytics: #E8FF8B;

  --earth-warm: #D4956B;
  --earth-sand: #C4A87C;
  --earth-clay: #B07D62;

  /* Fonts */
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
}

/* Light mode overrides */
[data-theme="light"] {
  --brand: #4A5D23;
  --brand-dim: #6E8635;
  --brand-glow: rgba(74, 93, 35, 0.06);
  --brand-glow-strong: rgba(74, 93, 35, 0.12);
  --rails: #4A5D23;
  --rails-dim: #6E8635;
  --rails-glow: rgba(74, 93, 35, 0.06);
  --bg-0: #FFFFFF;
  --bg-1: #F6F8FA;
  --bg-2: #EAEEF2;
  --bg-3: #D1D7DE;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --text-0: #1C2128;
  --text-1: #424A53;
  --text-2: #656D76;
  --text-3: #8B949E;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.12);
  --glow: none;
  --dot-color: rgba(0,0,0,0.015);
  --price: #D97706;
  --deploy: #059669;
  --expand: #4F46E5;
  --govern: #DC2626;
}


/* ════════════════════════════════════════════════════════════
   2. RESET, BASE STYLES, TYPOGRAPHY
   ════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv01', 'cv02', 'ss01';
  background: var(--bg-0);
  color: var(--text-0);
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* ════════════════════════════════════════════════════════════
   3. DOT GRID BACKGROUND
   ════════════════════════════════════════════════════════════ */

body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}


/* ════════════════════════════════════════════════════════════
   4. CONTAINER
   ════════════════════════════════════════════════════════════ */

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 64px; } }


/* ════════════════════════════════════════════════════════════
   5. HEADER / NAV
   ════════════════════════════════════════════════════════════ */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.header.scrolled {
  background: var(--bg-glass);
  border-bottom-color: var(--border-strong);
}

.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
@media (min-width: 768px)  { .header-inner { padding: 16px 40px; } }
@media (min-width: 1280px) { .header-inner { padding: 16px 64px; } }

/* Logo */
.logo {
  font-weight: 500; font-size: 20px; letter-spacing: 1px;
  color: var(--brand); text-transform: none;
}

/* Desktop nav */
.nav-desktop { display: none; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-item {
  position: relative; padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--text-2); cursor: pointer; border-radius: 4px;
  transition: color 0.1s, background 0.12s;
}
.nav-item:hover { color: var(--text-0); background: rgba(255,255,255,0.04); }
.nav-item svg {
  display: inline-block; width: 12px; height: 12px;
  margin-left: 4px; vertical-align: middle;
}

/* Dropdowns */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 520px;
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all 0.12s; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  z-index: 1001; max-height: 80vh; overflow-y: auto;
}
.nav-item:last-child .nav-dropdown,
.nav-item:nth-last-child(2) .nav-dropdown {
  left: auto; right: 0;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 4px; font-size: 14px; color: var(--text-1); transition: all 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(232, 255, 139, 0.08); color: var(--text-0);
}
.nav-dropdown .dd-icon {
  width: 32px; height: 32px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* Header CTA button */
.header-cta {
  display: none; padding: 8px 20px; font-size: 13px; font-weight: 600;
  background: var(--brand); color: #101418; border: none; border-radius: 4px;
  cursor: pointer; transition: all 0.12s; letter-spacing: 0.02em;
}
.header-cta:hover { background: var(--brand-dim); transform: translateY(-1px); }
@media (min-width: 1024px) { .header-cta { display: block; } }

/* Header utilities row (theme toggle, lang toggle) */
.header-utils {
  display: flex; align-items: center; gap: 12px;
}

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text-1);
  border-radius: 2px; transition: all 0.15s;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; top: 64px; background: var(--bg-0);
  z-index: 999; padding: 24px; display: none; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 16px; font-size: 16px; font-weight: 500;
  color: var(--text-1); border-radius: 4px; transition: background 0.12s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.04); }
.mobile-menu .mobile-cta {
  margin-top: 16px; padding: 14px; text-align: center; font-weight: 600;
  background: var(--brand); color: #101418; border-radius: 4px;
}


/* ════════════════════════════════════════════════════════════
   6. BUTTONS
   ════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-block;
  padding: 10px 24px; font-size: 14px; font-weight: 600;
  background: var(--brand); color: #101418; border: none; border-radius: 4px;
  cursor: pointer; transition: all 0.12s cubic-bezier(0.4, 1, 0.75, 0.9);
  letter-spacing: 0.02em; font-family: inherit;
}
.btn-primary:hover {
  background: var(--brand-dim); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 255, 139, 0.15);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 24px; font-size: 14px; font-weight: 500;
  background: transparent; color: var(--text-1); border: 1px solid var(--border-strong);
  border-radius: 4px; cursor: pointer; transition: all 0.12s cubic-bezier(0.4, 1, 0.75, 0.9);
  font-family: inherit;
}
.btn-secondary:hover {
  border-color: var(--brand); color: var(--brand);
  transform: translateY(-1px);
}

.btn-primary, .header-cta, .mobile-cta, a.btn-primary, a.header-cta {
  color: #101418 !important;
}
[data-theme="light"] .btn-primary,
[data-theme="light"] .header-cta,
[data-theme="light"] .mobile-cta,
[data-theme="light"] a.btn-primary,
[data-theme="light"] a.header-cta {
  color: #FFFFFF !important;
}

.hero-actions {
  display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════════════
   7. SUB-HERO (subpages)
   ════════════════════════════════════════════════════════════ */

.sub-hero {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 60px;
}
.sub-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(232, 255, 139, 0.06) 0%, transparent 70%);
}
.sub-hero-content,
.sub-hero-inner {
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.sub-hero .section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.sub-hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 500; line-height: 1.1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, var(--text-0) 0%, var(--text-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub-hero .tagline {
  margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--text-2);
  max-width: 600px; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .sub-hero .tagline { font-size: 20px; } }
.sub-hero .hero-actions {
  justify-content: center;
}


/* ════════════════════════════════════════════════════════════
   8. SECTION UTILITIES
   ════════════════════════════════════════════════════════════ */

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }

section { padding: 80px 0; }
@media (min-width: 768px) { section { padding: 100px 0; } }

.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}

section h2,
.section h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 20px;
}

section p.section-desc,
.section p.section-desc {
  font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 560px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  max-width: 800px; margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   9. FOOTER
   ════════════════════════════════════════════════════════════ */

.footer {
  position: relative; z-index: 1;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 280px;
}
.footer-tagline {
  display: inline-block; margin-top: 16px; padding: 6px 12px;
  background: rgba(232, 255, 139, 0.08); border: 1px solid rgba(232, 255, 139, 0.15);
  border-radius: 3px; font-size: 12px; font-weight: 600; color: var(--brand);
  letter-spacing: 0.5px;
}

.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-2); padding: 6px 0;
  transition: color 0.1s;
}
.footer-col a:hover { color: var(--brand); }

/* Newsletter */
.footer-newsletter { margin-top: 8px; }
.footer-newsletter p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 10px 14px; font-size: 14px; background: var(--bg-2);
  border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text-0);
  outline: none; font-family: inherit;
}
.newsletter-form input:focus { border-color: var(--brand); }
.newsletter-form button {
  padding: 10px 20px; font-size: 13px; font-weight: 600;
  background: #E6EDF3; color: #101418; border: none; border-radius: 4px;
  cursor: pointer; transition: all 0.12s; white-space: nowrap;
}
.newsletter-form button:hover { background: #FFFFFF; }
[data-theme="light"] .newsletter-form button { background: #1C2128; color: #FFFFFF; }
[data-theme="light"] .newsletter-form button:hover { background: #24292F; }
.newsletter-success {
  display: none; padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--brand); background: rgba(232, 255, 139, 0.08);
  border: 1px solid rgba(232, 255, 139, 0.15); border-radius: 4px;
}

/* Footer bottom */
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border); gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 4px; background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 14px; transition: all 0.12s;
}
.footer-socials a:hover {
  background: rgba(232, 255, 139, 0.1); color: var(--brand);
}


/* ════════════════════════════════════════════════════════════
   10. FEATURE ROWS (alternating left-right)
   ════════════════════════════════════════════════════════════ */

.features-section { padding: 100px 0; }

.feature-row {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 0 24px 80px;
}
@media (min-width: 768px)  { .feature-row { padding: 0 40px 80px; } }
@media (min-width: 1024px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; } }
@media (min-width: 1280px) { .feature-row { padding: 0 64px 80px; } }

.feature-row:last-child { padding-bottom: 0; }

.feature-row.reverse { }
@media (min-width: 1024px) {
  .feature-row.reverse { direction: rtl; }
  .feature-row.reverse > * { direction: ltr; }
}

.feature-text .feature-label {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.feature-text h3 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.feature-text p {
  font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 480px;
}

.feature-visual {
  border-radius: var(--radius-lg); background: var(--bg-1);
  border: 1px solid var(--border-strong); aspect-ratio: 4/3; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.feature-visual-inner {
  position: absolute; inset: 0; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}


/* ════════════════════════════════════════════════════════════
   11. CARDS
   ════════════════════════════════════════════════════════════ */

.card {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: rgba(232, 255, 139, 0.15); transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text-0);
}
.card p {
  font-size: 15px; line-height: 1.7; color: var(--text-2);
}

/* Card grids */
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}


/* ════════════════════════════════════════════════════════════
   12. CTA BANNER
   ════════════════════════════════════════════════════════════ */

.cta-banner { padding: 80px 0; }
@media (min-width: 768px) { .cta-banner { padding: 100px 0; } }

.cta-banner-inner {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 120%, rgba(232, 255, 139, 0.08) 0%, transparent 70%);
}
.cta-banner-inner h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 500; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.cta-banner-inner p {
  font-size: 18px; color: var(--text-2); margin-top: 12px; margin-bottom: 32px;
  position: relative; z-index: 1;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* Simple centered CTA banner variant (used on some pages) */
.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px; line-height: 1.7; color: var(--text-2);
  max-width: 480px; margin: 0 auto 28px;
}
.cta-banner.centered { text-align: center; padding: 80px 24px; }


/* ════════════════════════════════════════════════════════════
   13. SCROLL ANIMATIONS
   ════════════════════════════════════════════════════════════ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════════════════════════
   14. THEME TOGGLE BUTTON
   ════════════════════════════════════════════════════════════ */

.theme-toggle {
  width: 36px; height: 36px; border-radius: 4px;
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--text-2); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
}
.theme-toggle:hover {
  background: rgba(232, 255, 139, 0.08); color: var(--brand);
  border-color: var(--brand);
}
/* Sun icon hidden in dark, moon hidden in light */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: inline; }
[data-theme="light"] .theme-toggle .icon-sun  { display: inline; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }


/* ════════════════════════════════════════════════════════════
   15. LANGUAGE TOGGLE (EN / FR)
   ════════════════════════════════════════════════════════════ */

.lang-toggle {
  display: flex; gap: 0; border-radius: 3px; overflow: hidden;
  border: 1px solid var(--border-strong);
}
.lang-toggle button {
  padding: 4px 10px; font-size: 11px; font-weight: 600;
  background: transparent; color: var(--text-3); border: none;
  cursor: pointer; transition: all 0.12s; font-family: inherit;
}
.lang-toggle button.active {
  background: var(--brand); color: #101418;
}
[data-theme="light"] .lang-toggle button.active {
  color: #FFFFFF;
}
.lang-toggle button:hover:not(.active) {
  color: var(--text-1);
}


/* ════════════════════════════════════════════════════════════
   16. LANGUAGE VISIBILITY
   ════════════════════════════════════════════════════════════ */

[data-lang="fr"] { display: none !important; }
html[lang="fr"] [data-lang="fr"] { display: revert !important; }
html[lang="fr"] [data-lang="en"] { display: none !important; }
html[lang="fr"] [data-lang="en"] { display: none; }


/* ════════════════════════════════════════════════════════════
   17. LEGAL PAGE STYLES
   ════════════════════════════════════════════════════════════ */

.policy-content {
  max-width: 800px; margin: 0 auto; padding: 60px 24px 80px;
}
@media (min-width: 768px) { .policy-content { padding: 80px 40px 100px; } }

.policy-content h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  margin-top: 48px; margin-bottom: 16px; padding-left: 20px;
  border-left: 4px solid var(--brand);
  line-height: 1.3;
}
.policy-content h2:first-child { margin-top: 0; }

.policy-content h3 {
  font-size: 17px; font-weight: 600; margin-top: 28px; margin-bottom: 10px;
  color: var(--text-0);
}

.policy-content p {
  font-size: 16px; color: var(--text-1); line-height: 1.8; margin-bottom: 16px;
}

.policy-content a {
  color: var(--brand); font-weight: 500; transition: color 0.1s;
}
.policy-content a:hover { color: var(--brand-dim); }

.policy-content ul {
  margin: 12px 0 16px 24px; list-style: none;
}
.policy-content ul li {
  position: relative; padding-left: 20px; font-size: 16px; color: var(--text-1);
  line-height: 1.8; margin-bottom: 6px;
}
.policy-content ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}


/* ════════════════════════════════════════════════════════════
   18. CODE BLOCK STYLES
   ════════════════════════════════════════════════════════════ */

.code-block {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); overflow: hidden;
}
.code-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--bg-0); border-bottom: 1px solid var(--border);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.r { background: #ef4444; }
.code-dot.y { background: #f59e0b; }
.code-dot.g { background: #22c55e; }
.code-lang {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.code-body {
  padding: 24px; overflow-x: auto; font-size: 13px; line-height: 1.8;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
@media (min-width: 768px) { .code-body { font-size: 14px; } }

/* Syntax highlighting */
.code-body .kw        { color: #c084fc; }
.code-body .flag      { color: #60a5fa; }
.code-body .str       { color: #E8FF8B; }
.code-body .key       { color: #60a5fa; }
.code-body .val-str   { color: #E8FF8B; }
.code-body .val-num   { color: #f59e0b; }
.code-body .val-bool  { color: #f97316; }
.code-body .val-null  { color: #8892a8; }
.code-body .punct     { color: #4b5672; }
.code-body .comment   { color: #4b5672; font-style: italic; }
.code-body .header-val { color: #fbbf24; }


/* ════════════════════════════════════════════════════════════
   19. FORM STYLES
   ════════════════════════════════════════════════════════════ */

.form-row {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px;
}
@media (min-width: 768px) { .form-row.split { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-1);
  margin-bottom: 8px; letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; font-size: 15px; font-family: inherit;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  border-radius: 4px; color: var(--text-0); outline: none;
  transition: border-color 0.12s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}
.form-group textarea {
  resize: vertical; min-height: 140px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%238892a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form {
  background: var(--bg-1); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 40px;
}

.form-success {
  display: none; padding: 16px 20px; font-size: 15px; font-weight: 500;
  color: var(--brand); background: rgba(232, 255, 139, 0.08);
  border: 1px solid rgba(232, 255, 139, 0.15); border-radius: 4px;
  text-align: center; margin-top: 16px;
}


/* ════════════════════════════════════════════════════════════
   20. RESPONSIVE BREAKPOINTS (supplemental)
   ════════════════════════════════════════════════════════════ */

/* 768px — Tablet */
@media (max-width: 767px) {
  .sub-hero { padding: 100px 20px 40px; min-height: auto; }
  .cta-banner-inner { padding: 40px 24px; }
  .footer-grid { text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
  .nav-dropdown { grid-template-columns: 1fr; min-width: 260px; }
}

/* 1024px — Desktop nav breakpoint */
@media (max-width: 1023px) {
  .header-utils .theme-toggle,
  .header-utils .lang-toggle {
    /* Keep visible on tablet */
  }
}

/* 1280px — Max-width container breakpoint already handled above */
