/* ============================================================
   IndigoWave Tech — Global Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600&family=DM+Mono:wght@300;400;500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   @property registrations — enables smooth theme transitions
   by telling the browser these custom properties are <color>s.
   ============================================================ */
@property --bg              { syntax: '<color>'; inherits: true; initial-value: #03050f; }
@property --bg-dark         { syntax: '<color>'; inherits: true; initial-value: #03050f; }
@property --bg-card         { syntax: '<color>'; inherits: true; initial-value: #070B1A; }
@property --bg-card2        { syntax: '<color>'; inherits: true; initial-value: #0B0E2A; }
@property --white           { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --white-80        { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.8); }
@property --white-60        { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.6); }
@property --white-30        { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.6); }
@property --white-10        { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.08); }
@property --indigo-surface  { syntax: '<color>'; inherits: true; initial-value: rgba(0,27,148,0.08); }
@property --indigo-border   { syntax: '<color>'; inherits: true; initial-value: rgba(0,27,148,0.18); }
@property --border          { syntax: '<color>'; inherits: true; initial-value: rgba(0,27,148,0.12); }
@property --nav-bg          { syntax: '<color>'; inherits: true; initial-value: rgba(7,11,26,0.75); }
@property --nav-bg-scrolled { syntax: '<color>'; inherits: true; initial-value: rgba(7,11,26,0.88); }
@property --grid-line       { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,0.035); }

/* ============================================================
   CSS Custom Properties — Brand Palette & Typography
   ============================================================ */
:root {
  /* Brand Colors */
  --indigo:        #001B94;
  --indigo-mid:    #0028CC;
  --indigo-light:  #1A3FBF;
  --orange:        #F29324;
  --aws-orange:    #FF9900;
  --gcp-blue:      #4285F4;
  --azure-blue:    #0078D4;
  --grey:          #828181;
  --bg:            #03050f;
  --bg-dark:       #03050f;   /* alias kept for compatibility */
  --bg-card:       #070B1A;
  --bg-card2:      #0B0E2A;   /* indigo-tinted card surface */
  --white:         #ffffff;
  --white-80:      rgba(255,255,255,0.8);
  --white-60:      rgba(255,255,255,0.6);
  --white-30:      rgba(255,255,255,0.6);   /* raised from 0.3 → 0.6 so muted text meets 4.5:1 */
  --white-10:      rgba(255,255,255,0.08);
  --indigo-surface: rgba(0,27,148,0.08);   /* subtle indigo wash */
  --indigo-border:  rgba(0,27,148,0.18);   /* indigo-tinted borders */
  --indigo-card:    rgba(0,27,148,0.12);   /* indigo card fill */
  --border:         rgba(0,27,148,0.12);   /* indigo-tinted border */

  /* Nav backgrounds */
  --nav-bg:          rgba(7, 11, 26, 0.75);
  --nav-bg-scrolled: rgba(7, 11, 26, 0.88);
  --grid-line:       rgba(255, 255, 255, 0.035);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;  /* alias */
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --font-label:   'DM Mono', 'Courier New', monospace; /* alias */
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-keyword: 'Playfair Display', Georgia, serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --radius:    4px;
}

/* ============================================================
   Light Theme — variable overrides
   Note: --white becomes dark text in light mode; --bg becomes
   light background. Names are semantic (role-based), not literal.
   ============================================================ */
[data-theme="light"] {
  --bg:            #F7F7FA;
  --bg-dark:       #F7F7FA;
  --bg-card:       #FFFFFF;
  --bg-card2:      #EEF0F8;
  --white:         #111827;
  --white-80:      rgba(17, 24, 39, 0.8);
  --white-60:      rgba(17, 24, 39, 0.68);  /* clears 4.5:1 even on the darker bg-card2 (#EEF0F8) surface */
  --white-30:      rgba(17, 24, 39, 0.68);  /* raised from 0.3 so muted text meets 4.5:1 on light card surfaces */
  --white-10:      rgba(17, 24, 39, 0.08);
  --indigo-surface: rgba(0, 27, 148, 0.05);
  --indigo-border:  rgba(0, 27, 148, 0.12);
  --border:         rgba(0, 27, 148, 0.10);
  --nav-bg:         rgba(247, 247, 250, 0.80);
  --nav-bg-scrolled: rgba(247, 247, 250, 0.92);
  --grid-line:      rgba(0, 27, 148, 0.04);
  --grey:           #6B6B6B;   /* darkened for ≥4.5:1 on light surfaces */
}

/* ── Light-theme overrides for shared components ────────────── */
[data-theme="light"] .nav-cta { color: #fff !important; }
[data-theme="light"] ::selection { background: var(--indigo); color: #fff; }
[data-theme="light"] .nav-overlay { background: rgba(0, 0, 0, 0.3); }
[data-theme="light"] .nav-dropdown-menu {
  box-shadow: 0 8px 32px rgba(0, 27, 148, 0.10);
  background: #fff;
}
[data-theme="light"] .nav-drawer {
  background: #fff;
  border-left-color: rgba(0, 27, 148, 0.10);
}

/* Globe & hero glow adjustments for light backgrounds */
[data-theme="light"] #globe-container,
[data-theme="light"] #globe-container.loaded { opacity: 0.55; }
[data-theme="light"] .hero-glow {
  background: radial-gradient(ellipse at center, rgba(0,27,148,0.12) 0%, rgba(0,27,148,0.04) 45%, transparent 70%) !important;
}

/* Logo: same appearance in both themes */

/* Footer & drawer social icons — light mode hover only
   (base color: var(--white-30) already swaps via @property) */
[data-theme="light"] .footer-social a:hover,
[data-theme="light"] .drawer-social a:hover {
  color: var(--indigo);
}

/* Footer input for light mode */
[data-theme="light"] .footer-subscribe-input {
  background: var(--bg-card);
  border-color: rgba(0, 27, 148, 0.12);
  color: var(--white);
}
[data-theme="light"] .footer-subscribe-input::placeholder {
  color: var(--white-60);
}

/* Nexus dashboard-mockup status colors: the bright green/red are tuned for the
   dark theme; on the light theme's lighter cards they need deeper shades to keep
   ≥4.5:1. (These class selectors live in page-level <style>; the [data-theme]
   prefix gives this enough specificity to win.) */
[data-theme="light"] .metric-change { color: #136a30; }
[data-theme="light"] .metric-change.red { color: #c5221c; }
[data-theme="light"] .ai-insight-green .ai-text strong { color: #136a30; }

/* Theme transition — smooth variable interpolation on root,
   plus resolved-property transitions on all descendants */
html.theme-transitioning {
  transition: --bg 0.35s ease, --bg-dark 0.35s ease,
              --bg-card 0.35s ease, --bg-card2 0.35s ease,
              --white 0.35s ease, --white-80 0.35s ease,
              --white-60 0.35s ease, --white-30 0.35s ease,
              --white-10 0.35s ease,
              --indigo-surface 0.35s ease, --indigo-border 0.35s ease,
              --border 0.35s ease,
              --nav-bg 0.35s ease, --nav-bg-scrolled 0.35s ease,
              --grid-line 0.35s ease !important;
}
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease, fill 0.35s ease, stroke 0.35s ease, filter 0.35s ease !important;
}

/* ============================================================
   Theme Switch — iOS-style glass pill toggle
   ============================================================ */
.theme-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  flex-shrink: 0;
}
.theme-switch-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 48px;
  height: 26px;
  padding: 0 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.theme-switch:hover .theme-switch-track {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}
.theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="light"] .theme-switch-thumb {
  transform: translateX(22px);
  background: linear-gradient(135deg, #fff, #e8e8ec);
}
[data-theme="light"] .theme-switch-track {
  background: rgba(0, 27, 148, 0.10);
  border-color: rgba(0, 27, 148, 0.15);
}
[data-theme="light"] .theme-switch:hover .theme-switch-track {
  background: rgba(0, 27, 148, 0.16);
  border-color: rgba(0, 27, 148, 0.22);
}
.theme-switch-icon {
  width: 12px;
  height: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.theme-switch-icon.icon-sun {
  color: var(--orange);
  opacity: 0.9;
}
.theme-switch-icon.icon-moon {
  color: var(--indigo-light);
  opacity: 0.8;
}
/* Sun: pulsing orange glow when light mode is active */
[data-theme="light"] .theme-switch-icon.icon-sun {
  opacity: 1;
  color: var(--orange);
  filter: drop-shadow(0 0 4px rgba(242, 147, 36, 0.8)) drop-shadow(0 0 8px rgba(242, 147, 36, 0.4));
  animation: sunPulse 2s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(242, 147, 36, 0.8)) drop-shadow(0 0 8px rgba(242, 147, 36, 0.4)); }
  50%      { filter: drop-shadow(0 0 6px rgba(242, 147, 36, 1)) drop-shadow(0 0 12px rgba(242, 147, 36, 0.6)); }
}
/* Moon: pulsing glow when dark mode is active */
:root .theme-switch-icon.icon-moon,
:not([data-theme="light"]) .theme-switch-icon.icon-moon {
  animation: moonPulse 2.5s ease-in-out infinite;
}
@keyframes moonPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(26, 63, 191, 0.6)); }
  50%      { filter: drop-shadow(0 0 6px rgba(26, 63, 191, 0.9)) drop-shadow(0 0 10px rgba(26, 63, 191, 0.4)); }
}
[data-theme="light"] .theme-switch-icon.icon-moon {
  opacity: 0.9;
  color: var(--indigo);
  filter: none;
  animation: none;
}

/* Desktop: centered between nav-links and nav-cta */
.nav-theme-toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 clamp(8px, 1.5vw, 20px);
}

/* Mobile actions — toggle + hamburger side by side */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 4px;
}
.mobile-theme-toggle {
  display: flex;
  align-items: center;
}
.mobile-theme-toggle .theme-switch-track {
  width: 44px;
  height: 24px;
}
.mobile-theme-toggle .theme-switch-thumb {
  width: 18px;
  height: 18px;
}
[data-theme="light"] .mobile-theme-toggle .theme-switch-thumb {
  transform: translateX(20px);
}
.mobile-theme-toggle .theme-switch-icon {
  width: 11px;
  height: 11px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* 72px nav + 24px breathing room */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 2px; }

/* Selection */
::selection { background: var(--indigo); color: var(--white); }

/* ============================================================
   Accessibility — focus visibility, skip link, screen-reader
   utilities, and reduced-motion. (WCAG 2.4.1, 2.4.7, 2.3.3)
   ============================================================ */

/* Visible keyboard focus for every interactive element. The base
   `outline: none` above only suppresses the default ring; this
   restores a clear, brand-colored ring for keyboard users only. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}
[data-theme="light"] a:focus-visible,
[data-theme="light"] button:focus-visible,
[data-theme="light"] input:focus-visible,
[data-theme="light"] textarea:focus-visible,
[data-theme="light"] select:focus-visible,
[data-theme="light"] summary:focus-visible,
[data-theme="light"] [role="button"]:focus-visible,
[data-theme="light"] [tabindex]:focus-visible {
  outline-color: var(--indigo-mid);
}

/* Skip-to-content link — first focusable element, hidden until focused. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  background: var(--orange);
  color: #0A0600;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #0A0600;
  outline-offset: 2px;
}

/* Visually-hidden text that remains available to screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Respect users who ask for reduced motion: neutralize animations
   and transitions (including page-level inline ones) and make any
   scroll-reveal content visible immediately. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Typography Utilities
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--indigo);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}
[data-theme="light"] .section-h2 {
  color: var(--indigo-mid);
}

/* Global heading color for light theme — headings should be indigo, never black */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3 {
  color: var(--indigo-mid);
}

/* Keyword emphasis — brand italic accent for key phrases */
.keyword {
  font-family: var(--font-keyword);
  font-style: italic;
  color: var(--orange);
  font-weight: 600;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

section {
  padding: clamp(51px, 8vh, 96px) clamp(20px, 5vw, 48px);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #0A0600;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  padding: clamp(11px, 2vh, 14px) clamp(20px, 3vw, 28px);
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(242, 147, 36, 0.25);
  touch-action: manipulation;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(242, 147, 36, 0.4);
  background: #FFa030;
}
.btn-primary:active {
  transform: translateY(0);
  background: #E07D10;
  box-shadow: 0 2px 12px rgba(242, 147, 36, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 400;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  padding: clamp(11px, 2vh, 14px) clamp(20px, 3vw, 28px);
  border-radius: 8px;
  border: 1px solid var(--white-30);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  touch-action: manipulation;
}
.btn-ghost:hover {
  border-color: var(--white-60);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(0);
  border-color: var(--white-60);
  background: var(--white-10);
}

/* ============================================================
   Tag Pill
   ============================================================ */
.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  background: var(--white-10);
  border: 1px solid var(--border);
  color: var(--white-60);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ============================================================
   Reveal Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible  { opacity: 1; transform: translateY(0); }
.reveal-delay-1  { transition-delay: 0.1s; }
.reveal-delay-2  { transition-delay: 0.2s; }
.reveal-delay-3  { transition-delay: 0.3s; }
.reveal-delay-4  { transition-delay: 0.4s; }

/* ============================================================
   Navigation
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Remove background bleed on dark nav */
.nav-logo-img, .footer-logo-img {
  mix-blend-mode: normal;
}
/* Logo swaps by theme: dark default uses the white wordmark (set in nav.js src);
   light theme swaps the rendered image back to the original color wordmark. */
[data-theme="light"] .nav-logo-img,
[data-theme="light"] .nav-drawer-logo-img,
[data-theme="light"] .footer-logo-img {
  content: url('../images/logo-print-hd-transparent.png');
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(16px, 2.5vw, 36px);
  font-size: 0.875rem;
  font-weight: 400;
}
.nav-links a { color: var(--white-60); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.soon { color: var(--white-30); cursor: default; }
.nav-links a.soon::after {
  content: 'SOON';
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-left: 4px;
  vertical-align: super;
}

/* Legacy footer-links SOON pattern (kept for backward compat) */

.drawer-soon { color: var(--white-30) !important; cursor: default; }
.drawer-soon::after {
  content: 'SOON';
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-left: 4px;
  vertical-align: super;
}

/* Nexus heartbeat pulse glow */
@keyframes nexusHeartbeat {
  0%   { text-shadow: 0 0 4px rgba(242,147,36,0.3), 0 0 10px rgba(242,147,36,0.15); }
  14%  { text-shadow: 0 0 6px rgba(255,200,120,0.7), 0 0 16px rgba(242,147,36,0.5), 0 0 32px rgba(242,147,36,0.2); }
  28%  { text-shadow: 0 0 4px rgba(242,147,36,0.35), 0 0 12px rgba(242,147,36,0.2); }
  42%  { text-shadow: 0 0 8px rgba(255,200,120,0.8), 0 0 20px rgba(242,147,36,0.55), 0 0 38px rgba(242,147,36,0.25); }
  60%  { text-shadow: 0 0 4px rgba(242,147,36,0.3), 0 0 10px rgba(242,147,36,0.15); }
  100% { text-shadow: 0 0 4px rgba(242,147,36,0.3), 0 0 10px rgba(242,147,36,0.15); }
}
@keyframes nexusHeartbeatLight {
  0%   { text-shadow: 0 0 4px rgba(0,27,148,0.2), 0 0 8px rgba(0,27,148,0.1); }
  14%  { text-shadow: 0 0 6px rgba(0,27,148,0.5), 0 0 14px rgba(0,27,148,0.3), 0 0 28px rgba(0,27,148,0.12); }
  28%  { text-shadow: 0 0 4px rgba(0,27,148,0.25), 0 0 10px rgba(0,27,148,0.12); }
  42%  { text-shadow: 0 0 8px rgba(0,27,148,0.6), 0 0 18px rgba(0,27,148,0.35), 0 0 32px rgba(0,27,148,0.15); }
  60%  { text-shadow: 0 0 4px rgba(0,27,148,0.2), 0 0 8px rgba(0,27,148,0.1); }
  100% { text-shadow: 0 0 4px rgba(0,27,148,0.2), 0 0 8px rgba(0,27,148,0.1); }
}
.nexus-pulse {
  color: var(--white) !important;
  animation: nexusHeartbeat 2s ease-in-out infinite;
}
[data-theme="light"] .nexus-pulse {
  color: var(--indigo-mid) !important;
  animation: nexusHeartbeatLight 2s ease-in-out infinite;
}

.nav-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo);
  color: var(--white) !important;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  touch-action: manipulation;
}
.nav-cta:hover { background: var(--indigo-mid); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  touch-action: manipulation;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
[data-theme="light"] .nav-hamburger span {
  background: var(--indigo);
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(280px, 85vw);
  background: var(--bg-card);
  z-index: 200;
  flex-direction: column;
  padding: 28px 36px 40px;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a { font-size: 1.125rem; color: var(--white-60); touch-action: manipulation; transition: color 0.3s, padding-left 0.3s, border-color 0.3s; }
.nav-drawer a:hover { color: var(--white); }
.nav-drawer a.active { color: var(--white); border-left: 2px solid var(--indigo-mid); padding-left: 12px; }
.nav-drawer-logo-link { display: block; margin-bottom: 4px; }
.nav-drawer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.drawer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.drawer-social a {
  color: var(--white-30);
  transition: color 0.3s;
  display: flex;
  font-size: 1rem;
}
.drawer-social a:hover { color: var(--white); }

/* ── Desktop Services Dropdown ────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 110;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.8125rem;
  color: var(--white-60);
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover {
  color: var(--white);
  background: var(--white-10);
}
.nav-dropdown-heading {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-60);
  padding: 4px 20px 6px;
}
.nav-dropdown-group {
  display: flex;
  flex-direction: column;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ── Mobile Drawer Dropdown ──────────────────────────────────── */
.drawer-dropdown {
  display: flex;
  flex-direction: column;
}
.drawer-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.drawer-chevron {
  transition: transform 0.25s;
}
.drawer-dropdown-trigger.open .drawer-chevron {
  transform: rotate(180deg);
}
.drawer-submenu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.drawer-submenu.open {
  max-height: 600px;
}
.drawer-submenu-heading {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-60);
  padding: 12px 0 4px 16px;
}
.drawer-sub-link {
  font-size: 0.95rem !important;
  padding-left: 16px;
  color: var(--white-60);
}
.drawer-submenu-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 16px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

/* Subscribe bar */
.footer-subscribe {
  border-bottom: 1px solid var(--border);
  padding: clamp(32px, 5vh, 48px) clamp(20px, 5vw, 48px);
}
.footer-subscribe-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-subscribe-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.footer-subscribe-sub {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--white-60);
  line-height: 1.5;
}
.footer-subscribe-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.footer-subscribe-input {
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 0.875rem;
  width: 240px;
  transition: border-color 0.2s;
}
.footer-subscribe-input::placeholder { color: var(--white-60); }
.footer-subscribe-input:focus { border-color: var(--indigo); }
.footer-subscribe-btn { white-space: nowrap; }

/* Main footer body */
.footer-main {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
  padding: clamp(40px, 6vh, 60px) clamp(20px, 5vw, 48px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-mission {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: var(--white-60);
  line-height: 1.6;
  max-width: 300px;
}
.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  font-size: clamp(0.78rem, 1.7vw, 0.85rem);
  color: var(--white-60);
  line-height: 1.6;
}
.footer-nap-name { color: var(--white-80); font-weight: 500; }
.footer-nap-phone { color: var(--white-60); transition: color 0.2s; }
.footer-nap-phone:hover { color: var(--orange); }
.footer-nap-hours {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white-30);
  margin-top: 2px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  color: var(--white-30);
  transition: color 0.3s;
  display: flex;
}
.footer-social a svg {
  transition: fill 0.3s, color 0.3s, stroke 0.3s;
}
.footer-social a:hover { color: var(--white); }

/* 4-column link grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-30);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-col a.footer-soon { color: var(--white-30); cursor: default; }
.footer-col a.footer-soon:hover { color: var(--white-30); }
.footer-col a.footer-soon::after {
  content: 'SOON';
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-left: 4px;
  vertical-align: super;
}

/* Bottom bar */
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: clamp(0.75rem, 1.8vw, 0.8125rem); color: var(--white-60); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: clamp(0.75rem, 1.8vw, 0.8125rem);
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   Clarity Toast — glass message box
   ============================================================ */
.clarity-toast {
  position: fixed;
  z-index: 101;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--white-60);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.clarity-toast::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.clarity-toast::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.clarity-toast.visible {
  opacity: 1;
  transform: translateY(0);
}
[data-theme="light"] .clarity-toast {
  background: rgba(0, 27, 148, 0.08);
  border-color: rgba(0, 27, 148, 0.12);
  box-shadow: 0 4px 20px rgba(0, 27, 148, 0.08);
}
[data-theme="light"] .clarity-toast::before {
  border-bottom-color: rgba(0, 27, 148, 0.12);
}
[data-theme="light"] .clarity-toast::after {
  border-bottom-color: rgba(0, 27, 148, 0.08);
}

@media (max-width: 768px) {
  .clarity-toast {
    white-space: normal;
    max-width: calc(100vw - 24px);
    text-align: center;
  }
}

/* ============================================================
   Founder View — Plain-language service descriptions
   ============================================================ */
.founder-view {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white-80);
  margin-top: 0.75rem;
}
[data-theme="light"] .founder-view {
  color: var(--grey);
}

/* ============================================================
   Technical Details — Collapsible <details> for tech specs
   ============================================================ */
.technical-details {
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}
.technical-details summary {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-30);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
  transition: color 0.2s;
}
.technical-details summary::-webkit-details-marker { display: none; }
.technical-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-left: auto;
  transition: transform 0.2s;
}
.technical-details[open] summary::after {
  content: "−";
}
.technical-details summary:hover { color: var(--white-60); }
.technical-details .tech-content {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--white-30);
  padding: 0.75rem 0;
}
.technical-details .tech-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.technical-details .tech-content li::before {
  content: "→ ";
  color: var(--indigo-light);
}
[data-theme="light"] .technical-details {
  border-top-color: rgba(0, 27, 148, 0.1);
}
[data-theme="light"] .technical-details summary {
  color: var(--grey);
}
[data-theme="light"] .technical-details summary:hover {
  color: var(--grey-dark, #4A4949);
}
[data-theme="light"] .technical-details .tech-content {
  color: var(--grey);
}

/* ============================================================
   Pricing Grid + Cards
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 27, 148, 0.12);
}
.pricing-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 4px 24px rgba(242, 147, 36, 0.12);
  position: relative;
}
.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 14px;
  border-radius: 20px;
}
.pricing-tier-name {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-60);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--orange);
}
.pricing-price .price-suffix {
  font-size: 0.8rem;
  color: var(--white-30);
}
.pricing-audience {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-60);
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-features li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-80);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-features li::before {
  content: "✓";
  color: var(--indigo-light);
  font-weight: 600;
  flex-shrink: 0;
}
.pricing-nexus-addon {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--white-30);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
  margin-bottom: 1rem;
}
.pricing-card .btn-primary,
.pricing-card .btn-ghost {
  width: 100%;
  text-align: center;
  margin-top: auto;
}
.pricing-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-30);
  margin-top: 2rem;
}
[data-theme="light"] .pricing-card {
  box-shadow: 0 2px 12px rgba(0, 27, 148, 0.06);
}
[data-theme="light"] .pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0, 27, 148, 0.1);
}
[data-theme="light"] .pricing-card.featured {
  box-shadow: 0 4px 24px rgba(242, 147, 36, 0.1);
}
[data-theme="light"] .pricing-tier-name {
  color: var(--indigo-mid);
}
[data-theme="light"] .pricing-price .price-suffix {
  color: var(--grey);
}
[data-theme="light"] .pricing-audience {
  color: var(--grey);
}
[data-theme="light"] .pricing-features li {
  color: #374151;
}
[data-theme="light"] .pricing-nexus-addon {
  color: var(--grey);
}
[data-theme="light"] .pricing-note {
  color: var(--grey);
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  padding: 1.25rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--white-30);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--orange);
}
.faq-item summary:hover { color: var(--orange); }
.faq-answer {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--white-60);
  padding: 0 0 1.25rem;
}
[data-theme="light"] .faq-item {
  border-bottom-color: rgba(0, 27, 148, 0.1);
}
[data-theme="light"] .faq-item summary {
  color: var(--indigo-mid);
}
[data-theme="light"] .faq-answer {
  color: var(--grey);
}

/* ============================================================
   Trust Strip
   ============================================================ */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.trust-signal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-80);
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-signal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 27, 148, 0.1);
}
.trust-signal-icon {
  width: 20px;
  height: 20px;
  color: var(--indigo-light);
  flex-shrink: 0;
}
[data-theme="light"] .trust-signal {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 27, 148, 0.06);
}
[data-theme="light"] .trust-signal:hover {
  box-shadow: 0 4px 16px rgba(0, 27, 148, 0.08);
}

@media (max-width: 640px) {
  .trust-strip { gap: 1rem; }
  .trust-signal { font-size: 0.78rem; padding: 0.6rem 1rem; }
}

/* ============================================================
   Clarity Assessment Cards
   ============================================================ */
.clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.clarity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
}
.clarity-card-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.clarity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.clarity-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.clarity-card-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white-60);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.clarity-card-list li::before {
  content: "→";
  color: var(--indigo-light);
  flex-shrink: 0;
}
.clarity-guarantee {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white-60);
  margin-top: 2rem;
  font-style: italic;
}
[data-theme="light"] .clarity-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 27, 148, 0.06);
}
[data-theme="light"] .clarity-card h3 {
  color: var(--indigo-mid);
}
[data-theme="light"] .clarity-card-list li {
  color: var(--grey);
}
[data-theme="light"] .clarity-guarantee {
  color: var(--grey);
}

@media (max-width: 768px) {
  .clarity-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive — Shared Breakpoints
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding-inline: var(--space-md);
  }

  nav {
    padding: 0 clamp(16px, 4vw, 24px);
  }

  .nav-links,
  .nav-cta,
  .nav-theme-toggle { display: none; }
  .nav-mobile-actions { display: flex; }
  .nav-hamburger  { display: flex; }
  .nav-drawer     { display: flex; }
  .nav-overlay    { display: block; }
  .nav-dropdown-menu { display: none; }
}

@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 24px; justify-items: center; }
  .footer-col { align-items: center; text-align: center; }
}

@media (max-width: 768px) {
  .footer-subscribe-inner { flex-direction: column; align-items: flex-start; }
  .footer-subscribe-form { width: 100%; }
  .footer-subscribe-input { flex: 1; width: auto; min-width: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
  .footer-col-title { font-size: 0.6rem; margin-bottom: 2px; }
  .footer-col a { font-size: 0.75rem; }
  .footer-col { gap: 7px; }
}
