/* ============================================================
   SayIntentions.AI — Design System & Custom Styles
   Brand palette: Navy #203864 · Sky Blue #33B1EB · Gold #E0B651
   Base theme: shadcn/ui zinc-dark (clean, minimal, no decoration)
   ============================================================ */

/* ---------- Fonts ---------- */
/* DM Sans for headings (geometric, editorial) + Inter for body */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* ---- Brand primaries ---- */
  --brand-navy:       #203864;
  --brand-blue:       #33B1EB;
  --brand-gold:       #E0B651;

  /* ---- Derived palette ---- */
  --brand-blue-dim:   #1e8ec4;
  --brand-blue-pale:  #a8d8f0;
  --brand-gold-dim:   #c49a38;
  --brand-gold-pale:  #edd38a;

  /* ---- Background scale — zinc-dark (shadcn-style) ---- */
  --color-bg-primary:    #09090b;   /* zinc-950: near-pure black */
  --color-bg-secondary:  #0f0f11;   /* barely lifted */
  --color-bg-elevated:   #18181b;   /* zinc-900: nav backdrop, elevated */
  --color-bg-card:       #1c1c1f;   /* card base */
  --color-bg-card-hover: #27272a;   /* zinc-800: card hover */

  /* ---- Borders — neutral zinc tint ---- */
  --color-border:        #27272a;   /* zinc-800 */
  --color-border-hover:  #3f3f46;   /* zinc-700 */

  /* ---- Button gradient: dark-blue → sky-blue ---- */
  --gradient-brand:      linear-gradient(135deg, #1a6fa8 0%, #33B1EB 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(26,111,168,0.10) 0%, rgba(51,177,235,0.08) 100%);

  /* ---- Text — clean zinc scale ---- */
  --color-text-primary:   #fafafa;   /* zinc-50 */
  --color-text-secondary: #a1a1aa;   /* zinc-400 */
  --color-text-muted:     #71717a;   /* zinc-500 — min 4.5:1 on dark bg */
  --color-text-accent:    #33B1EB;
  --color-text-gold:      #E0B651;

  /* ---- Shadows ---- */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 32px rgba(51,177,235,0.10);
  --shadow-gold:  0 0 24px rgba(224,182,81,0.08);

  /* Spacing / Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Sans', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition-base: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Top offset for fixed nav (was announcement bar; keep 0 for layout calcs) */
  --banner-height: 0px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Headings use display font ---------- */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-heading, .tier-headline {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

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

/* ---------- Accessibility Utilities ---------- */

/* Skip-to-main link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1.25rem;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Visually hidden but readable by screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Global keyboard focus indicator */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Remove default outline only when :focus-visible styles apply */
:focus:not(:focus-visible) {
  outline: none;
}

.text-xs    { font-size: 0.75rem;  line-height: 1rem; }
.text-sm    { font-size: 0.875rem; line-height: 1.25rem; }
.text-base  { font-size: 1rem;     line-height: 1.5rem; }
.text-lg    { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl    { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl   { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl   { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl   { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl   { font-size: 3rem;     line-height: 1.1; }
.text-6xl   { font-size: 3.75rem;  line-height: 1.05; }
.text-7xl   { font-size: 4.5rem;   line-height: 1; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-wide  { max-width: 1400px; }
.container-narrow { max-width: 800px; }

.section { padding-top: 6rem; padding-bottom: 6rem; }
.section-sm { padding-top: 3rem; padding-bottom: 3rem; }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 12px rgba(51,177,235,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(51,177,235,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
}

.btn-ghost {
  color: var(--color-text-secondary);
  padding: 0.5rem 0.75rem;
}
.btn-ghost:hover { color: var(--color-text-primary); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.0625rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-glow:hover {
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid;
}

.badge-brand {
  background: var(--color-bg-primary);
  color: var(--color-text-accent);
  border-color: rgba(51,177,235,0.4);
}
.badge-gold {
  background: var(--color-bg-primary);
  color: var(--color-text-gold);
  border-color: rgba(224,182,81,0.4);
}
.badge-emerald {
  background: var(--color-bg-primary);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}
.badge-cyan {
  background: var(--color-bg-primary);
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.4);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: all var(--transition-slow);
}

.nav.scrolled {
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
}
.nav-link:hover { color: var(--color-text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--color-text-primary); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- Nav dropdown ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 450;
}

.nav-dropdown-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  list-style: none;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* Small arrow pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Right-aligned variant — use when dropdown is near the right edge of the nav */
.nav-dropdown-menu--right {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}
.nav-dropdown-menu--right::before {
  left: auto;
  right: 1.25rem;
  transform: translateX(0) rotate(45deg);
}
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu--right {
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.05);
}

.nav-dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.nav-dropdown-item-desc {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ---------- Mobile nav group ---------- */
.mobile-nav-group {
  width: 100%;
}

.mobile-nav-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0 0.75rem;
  margin: 0 0 0.25rem;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* fixed nav (64px) offset; --banner-height is 0 */
  padding-top: calc(var(--banner-height) + 64px);
  overflow: hidden;
}

/* hero-bg and hero-grid are kept in markup for compat but rendered empty */
.hero-bg, .hero-grid { display: none; }

/* ---------- Hero video background ---------- */
/*
 * object-fit: cover fills the hero frame at any viewport ratio —
 * no black bars, no distortion. Crops edges when needed rather than
 * letterboxing. Full width is still the default on wide screens.
 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: brightness(0.75) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light base scrim — the glass card handles the text area */
  background: rgba(9,9,11,0.35);
}

/* ---------- Hero glass card ---------- */
.hero-glass {
  background: rgba(9, 9, 11, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  max-width: 780px;
  margin: 0 auto;
  /* Subtle inner glow on top edge */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 64px rgba(0,0,0,0.45);
}

/* Ensure content sits above video + overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-logo {
  height: 72px;
  width: auto;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---------- Hero trial callout ---------- */
.hero-trial {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.hero-trial-headline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.hero-trial-headline strong {
  color: var(--brand-gold);
  letter-spacing: 0.08em;
}

.hero-trial-body {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Section Labels ---------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.section-subheading {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* Incomplete last rows: flex-wrap + centered alignment (vs. grid leaving gaps on the right) */
.feature-grid--center-tracks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.feature-grid--center-tracks > .card {
  flex: 0 1 360px;
  max-width: min(380px, 100%);
  box-sizing: border-box;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-icon-brand  { background: rgba(51,177,235,0.10); }
.feature-icon-purple { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.feature-icon-cyan   { background: rgba(51,177,235,0.07); }
.feature-icon-emerald{ background: rgba(224,182,81,0.08); }

/* Feature card inner layout */
.feature-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.feature-check {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: var(--radius-full);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-beta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(224,182,81,0.1);
  border: 1px solid rgba(224,182,81,0.3);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.45rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ---------- Native audio player (cards / feature grids) ---------- */
.si-audio {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  border-radius: var(--radius-md);
  accent-color: var(--brand-blue);
  color-scheme: dark;
}

.si-audio:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Chromium / Safari — match elevated card chrome */
audio.si-audio::-webkit-media-controls-enclosure {
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

audio.si-audio::-webkit-media-controls-panel {
  background: var(--color-bg-elevated);
}

audio.si-audio::-webkit-media-controls-play-button,
audio.si-audio::-webkit-media-controls-pause-button {
  border-radius: var(--radius-sm);
}

audio.si-audio::-webkit-media-controls-timeline {
  border-radius: var(--radius-full);
  margin-inline: 0.25rem;
}

audio.si-audio::-webkit-media-controls-current-time-display,
audio.si-audio::-webkit-media-controls-time-remaining-display {
  color: var(--color-text-secondary);
  text-shadow: none;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* "More" card — slightly different treatment */
.card-more {
  border-style: dashed;
  background: transparent;
}

/* ---------- Product Tier Cards ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.tier-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.tier-card.featured {
  border-color: var(--brand-blue);
  background: var(--color-bg-card);
  box-shadow: 0 0 0 1px rgba(51,177,235,0.15), var(--shadow-lg);
}

/* Home — products: centered Premium card */
.home-products-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}
.home-products-premium .tier-checklist--two-col {
  margin-bottom: 0;
}

.tier-name {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-accent);
  margin-bottom: 0.5rem;
}

.tier-headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tier-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tier-checklist { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.tier-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}
.tier-check .check-icon { color: var(--brand-blue); flex-shrink: 0; font-size: 1rem; }
.tier-check .cross-icon { color: var(--color-text-muted); flex-shrink: 0; font-size: 1rem; }

/* ---------- Testimonial Cards ---------- */
/* Masonry-style columns so cards stack without blank gaps */
.testimonial-grid {
  columns: 3;
  column-gap: 1.25rem;
}

/* Hidden "more" grid — revealed by JS */
.testimonial-grid-more {
  display: none;
  columns: 3;
  column-gap: 1.25rem;
  margin-top: 1.25rem;
}

.testimonial-grid-more.is-visible {
  display: block;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name { font-size: 0.875rem; font-weight: 600; }
.testimonial-source { font-size: 0.75rem; color: var(--color-text-muted); }

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}
.footer-link:hover { color: var(--color-text-primary); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.8125rem; color: var(--color-text-secondary); margin: 0; }

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

/* Social icons — circle style */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-link:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

/* ---------- Touch targets ---------- */
.btn { min-height: 44px; }
.btn-sm { min-height: 36px; }
.nav-link { min-height: 44px; display: flex; align-items: center; }

/* ---------- Nav link font-weight fix ---------- */
.nav-link { font-weight: 400; }

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
  .card { transition: none; }
}

/* ---------- Noise texture overlay — disabled ---------- */
.noise-overlay { display: none; }

/* ---------- Logos Bar ---------- */
.logos-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-bar img { height: 28px; width: auto; }

/* ---------- Why grid (named class so it's responsive) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Ensure value prop items are centered */
.why-grid > div {
  text-align: center;
  padding: 1.5rem;
}

/* ---------- FSExpo 2026 ---------- */
.fsexpo-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.fsexpo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Image column — no crop, full image visible */
.fsexpo-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(192, 32, 44, 0.2);
  /* Let height be driven by the image's natural ratio */
}

.fsexpo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

/* Content column */
.fsexpo-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.fsexpo-heading-text {
  color: #C0202C;
}

.fsexpo-subheading {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.fsexpo-body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0 0 0.875rem;
}

.fsexpo-body strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.fsexpo-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Red primary button scoped to fsexpo */
.fsexpo-actions .btn-primary {
  background: #C0202C;
  border-color: #C0202C;
  box-shadow: none;
}

.fsexpo-actions .btn-primary:hover {
  background: #a01b25;
  border-color: #a01b25;
  box-shadow: 0 4px 20px rgba(192,32,44,0.4);
}

.fsexpo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #C0202C;
  text-decoration: none;
  border-bottom: 1px solid rgba(192,32,44,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.fsexpo-link:hover {
  color: #d9404c;
  border-color: #d9404c;
}

/* ---------- Live ATC Tracker ---------- */
.tracker-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.tracker-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* Pulsing red live dot — now inline in the label */
.tracker-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: live-pulse 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 0.35rem;
  position: relative;
  top: -1px;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

@media (prefers-reduced-motion: reduce) {
  .tracker-live-dot { animation: none; }
}

.tracker-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

/* ---------- Integrations ---------- */
.integrations-section {
  border-top: 1px solid var(--color-border);
}

.integrations-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.integration-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.integration-card:hover {
  border-color: rgba(51,177,235,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(51,177,235,0.15);
  transform: translateY(-3px);
}

.integration-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(51,177,235,0.08);
  border: 1px solid rgba(51,177,235,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.integration-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin: 0;
}

.integration-body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.integration-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

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

/* ---------- CTA inner ---------- */
.cta-inner {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
}
.cta-inner .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---------- Tablet (≤1100px) ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .testimonial-grid { columns: 2; }
  .testimonial-grid-more { columns: 2; }
  .pricing-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr !important; }

  /* Compare table: mobile plan switcher */
  .compare-mobile-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-bottom: 0;
  }
  .compare-switch-btn {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
  }
  .compare-switch-center {
    flex: 1;
    text-align: center;
  }
  .compare-switch-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.35rem;
  }
  .compare-switch-dots {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
  }
  .compare-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background 0.2s;
  }
  .compare-dot.active {
    background: var(--brand-blue);
  }
  /* Hide all plan columns, show only active */
  .compare-table tr > *:not(:first-child) { display: none; }
  .compare-table[data-active-plan="entourage"] tr > *:nth-child(2) { display: table-cell; }
  .compare-table[data-active-plan="premium"]   tr > *:nth-child(3) { display: table-cell; }
  .compare-table[data-active-plan="professional"] tr > *:nth-child(4) { display: table-cell; }
  .compare-table .col-feature { width: auto; }
  .compare-wrap { border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-top: none; }

  /* Nav */
  .nav-links { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .nav-hamburger { display: flex; }

  /* Sections */
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .section-sm { padding-top: 2rem; padding-bottom: 2rem; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 3rem 1rem; }
  .hero-glass { padding: 2.5rem 2rem; }
  .hero-trust { font-size: 0.75rem; }

  /* Grids → single column */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid--center-tracks > .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .tier-grid { grid-template-columns: 1fr; }
  .testimonial-grid { columns: 1; }
  .testimonial-grid-more { columns: 1; }
  .why-grid { grid-template-columns: 1fr; }

  /* FSExpo → stack vertically */
  .fsexpo-inner { grid-template-columns: 1fr; gap: 2rem; }
  .fsexpo-actions { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-social { order: -1; }

  /* CTA */
  .cta-inner { padding: 2.5rem 1.5rem; }
}

/* ---------- Small mobile (≤480px) ---------- */
@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Hero */
  .hero-glass { padding: 2rem 1.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; line-height: 1.8; }

  /* Tier cards */
  .tier-card { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
  .cta-inner .cta-actions { flex-direction: column; }
  .cta-inner .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Mobile Nav Menu ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--banner-height) + 64px);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  z-index: 99;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 1.0625rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  width: 100%;
  justify-content: flex-start;
  min-height: 48px;
}
.mobile-menu .nav-link:hover { background: rgba(255,255,255,0.05); }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.mobile-menu-actions .btn { width: 100%; justify-content: center; min-height: 48px; }

/* ---------- Pricing Page ---------- */

/* Billing toggle */
.currency-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}
.currency-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}
.currency-btn:hover { color: var(--color-text-primary); }
.currency-btn.active {
  background: var(--brand-blue);
  color: #fff;
}

/* Premium card: currency next to price */
.tier-price--premium .tier-price-amount-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.tier-price--premium .tier-price-amount-groups {
  flex: 1;
  min-width: 0;
}
.tier-price--premium .currency-toggle--inline {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0.15rem;
  padding: 1px;
  gap: 1px;
}
.tier-price--premium .currency-toggle--inline .currency-btn {
  padding: 0.12rem 0.32rem;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.15;
}
.tier-price--premium .tier-price-detail-groups .tier-price-period {
  margin-top: 0.2rem;
}

.billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}
.billing-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}
.billing-btn:hover { color: var(--color-text-primary); }
.billing-btn.active {
  background: var(--brand-blue);
  color: #fff;
}
.billing-btn.active .billing-save {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.billing-save {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-gold);
  background: rgba(224,182,81,0.12);
  border: 1px solid rgba(224,182,81,0.3);
  border-radius: var(--radius-full);
  padding: 0.1rem 0.4rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* Pricing card grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-grid > .tier-card {
  min-width: 0;
  overflow: hidden;
}

/* Price block */
.tier-price {
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.tier-price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  line-height: 1;
}
.tier-price-period {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.3rem;
}
.tier-price-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}
.tier-includes {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
}

/* Premium card: shorter lists via two columns */
.tier-checklist--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 0.5rem;
  margin-bottom: 2rem;
}
.tier-checklist--two-col .tier-check {
  align-items: flex-start;
}

@media (max-width: 480px) {
  .tier-checklist--two-col {
    grid-template-columns: 1fr;
  }
}

/* Mobile plan selector (hidden on desktop) */
.compare-plan-tabs { display: none; }
.compare-mobile-switcher { display: none; }

/* Feature comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}
.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare-table .col-feature {
  width: 40%;
  text-align: left;
  padding: 0.8rem 1.25rem;
  color: var(--color-text-secondary);
}
.compare-table .col-plan {
  text-align: center;
  padding: 0.8rem 0.75rem;
}
/* Plan columns: Entourage narrow (fine-print), Premium & Pro primary width */
.compare-table thead th:nth-child(2),
.compare-table tbody td:nth-child(2),
.compare-table tfoot td:nth-child(2) {
  width: 9%;
  min-width: 3.25rem;
  max-width: 5rem;
}
.compare-table tbody td:nth-child(2),
.compare-table tfoot td:nth-child(2) {
  padding: 0.65rem 0.35rem;
}
.compare-table thead th:nth-child(3),
.compare-table tbody td:nth-child(3),
.compare-table tfoot td:nth-child(3),
.compare-table thead th:nth-child(4),
.compare-table tbody td:nth-child(4),
.compare-table tfoot td:nth-child(4) {
  width: 18%;
}
.compare-table thead tr {
  background: var(--color-bg-elevated);
  border-bottom: 2px solid var(--color-border);
}
.compare-table thead .col-feature {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
}
.compare-table thead .col-plan {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  padding: 1.25rem 1rem;
}
.compare-table thead .col-plan.featured { color: var(--brand-blue); }
/* Entourage column: lighter emphasis than Premium / Professional */
.compare-table thead th:nth-child(2) {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  padding: 1.25rem 0.35rem;
  vertical-align: middle;
}
.compare-table .compare-cat td {
  background: rgba(255,255,255,0.02);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.55rem 1.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.compare-table tbody tr:not(.compare-cat) {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base);
}
.compare-table tbody tr:not(.compare-cat):last-child { border-bottom: none; }
.compare-table tbody tr:not(.compare-cat):hover { background: rgba(255,255,255,0.02); }
.compare-table .col-plan .chk {
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: 700;
}
/* Entourage column: muted checks (not primary plan emphasis) */
.compare-table tbody td:nth-child(2) .chk {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}
.compare-table tbody td:nth-child(2) .dsh {
  color: var(--color-text-muted);
  opacity: 0.75;
  font-weight: 400;
}
.compare-table .col-plan .dsh { color: var(--color-text-muted); }
.compare-table .col-plan .cnote {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.15rem;
}
.compare-table tfoot tr {
  border-top: 2px solid var(--color-border);
  background: var(--color-bg-elevated);
}
.compare-table tfoot .col-plan { padding: 1.25rem 1rem; }

/* ---------- On-Demand Pass (minimal landing) ---------- */
.odp-masthead {
  position: relative;
  padding: clamp(6.5rem, 13vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-primary);
}
.odp-masthead-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 100vw);
  height: min(720px, 95vw);
  background: radial-gradient(ellipse at 50% 28%, rgba(51,177,235,0.15) 0%, rgba(51,177,235,0.05) 42%, transparent 68%);
  pointer-events: none;
}
.odp-masthead-inner {
  position: relative;
  z-index: 1;
}
.odp-masthead-badge {
  margin-bottom: 1rem;
}
.odp-masthead-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: var(--color-text-primary);
}
.odp-masthead-lede {
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 38rem;
}

/* ---------- Legal / Policy Pages ---------- */
.legal-body {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
.legal-body p { margin-bottom: 1.25rem; }
.legal-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.legal-body ul,
.legal-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.legal-body li { margin-bottom: 0.5rem; }
.legal-body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--color-text-primary); }
.legal-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* ---------- Thank You Page ---------- */
.thankyou-section {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  text-align: center;
}
.thankyou-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(51,177,235,0.08);
  border: 1px solid rgba(51,177,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--brand-blue);
}
.thankyou-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
.thankyou-subheading {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.thankyou-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.thankyou-card:hover {
  border-color: rgba(51,177,235,0.3);
  box-shadow: 0 0 0 1px rgba(51,177,235,0.06), var(--shadow-lg);
}
.thankyou-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: rgba(51,177,235,0.08);
  border: 1px solid rgba(51,177,235,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.thankyou-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.375rem;
}
.thankyou-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
.thankyou-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.thankyou-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.thankyou-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}
.thankyou-link:hover { color: var(--color-text-primary); }
.thankyou-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  background: rgba(224,182,81,0.06);
  border: 1px solid rgba(224,182,81,0.25);
  border-radius: var(--radius-md);
  color: var(--brand-gold-pale);
  font-size: 0.875rem;
  line-height: 1.65;
  text-align: left;
}
.thankyou-notice strong { color: var(--brand-gold); font-weight: 600; }
.thankyou-notice p { margin: 0; }

.thankyou-link-divider {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .thankyou-section { padding: 7rem 0 5rem; }
  .thankyou-card { padding: 1.25rem; flex-direction: column; gap: 0.875rem; }
  .thankyou-actions { flex-direction: column; }
  .thankyou-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Join / Registration Page ---------- */
.join-page-header {
  padding: 7rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.join-page-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: block;
}
.join-page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}
.join-page-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.join-section {
  padding: 3.5rem 0 6rem;
}
.join-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.join-field { margin-bottom: 1rem; }

.join-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.join-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.375rem;
}
.join-label .req { color: #ef4444; }

.join-input,
.join-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none; /* custom focus style below */
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.join-input:focus-visible,
.join-select:focus-visible {
  border-color: rgba(51,177,235,0.5);
  box-shadow: 0 0 0 3px rgba(51,177,235,0.08);
}
.join-input::placeholder { color: var(--color-text-muted); }
.join-input.join-error-field,
.join-select.join-error-field {
  border-color: #ef4444 !important;
  box-shadow: none !important;
}

.join-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 4 6 8 10 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
}
.join-select option { background: #1a1a1f; }

/* Email verification box */
.join-verify-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.join-verify-box h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.375rem;
}
.join-helper-text {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Checkboxes */
.join-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.join-check-input {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border-hover);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  position: relative;
}
.join-check-input:checked {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.join-check-input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(40deg);
}
.join-check-input.join-error-field { border-color: #ef4444 !important; }
.join-check-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Error message box */
.join-error-text {
  color: #f87171;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
  padding: 0.875rem 1rem;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Links inside the form */
.join-link {
  color: var(--brand-blue);
  text-decoration: none;
}
.join-link:hover { text-decoration: underline; }

/* Disclaimer / helper below form */
.join-form-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* recaptcha */
.join-recaptcha { margin-bottom: 1.25rem; }

/* Submit — full width, loading state */
.join-submit-btn {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
}
.join-submit-btn[disabled] {
  opacity: 0.88;
  cursor: not-allowed;
}
.join-submit-btn.btn-primary[disabled]:hover {
  transform: none;
  box-shadow: 0 2px 12px rgba(51, 177, 235, 0.3);
}
.join-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.join-submit-loading[hidden] {
  display: none !important;
}
.join-submit-label[hidden] {
  display: none !important;
}

/* "already have account" below the form */
.join-signin-prompt {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .join-form-card { padding: 1.5rem; }
  .join-page-header { padding: 6rem 0 2.5rem; }
  .join-form-row { grid-template-columns: 1fr; }
}

/* ---------- Hamburger → X animation ---------- */
.nav-hamburger span {
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Font Awesome icon sizing ---------- */
.feature-icon i[class*="fa-"]     { font-size: 1.25rem; }
.integration-icon i[class*="fa-"] { font-size: 1.75rem; }
.about-vmv-icon i[class*="fa-"]   { font-size: 1.375rem; }
.footer-social-link i[class*="fa-"] { font-size: 1.125rem; }
.why-icon-wrap i[class*="fa-"]    { font-size: 1.75rem; }
.use-case-icon i[class*="fa-"],
.pro-benefit-icon i[class*="fa-"] { font-size: 1.5rem; }
.thankyou-big-icon i[class*="fa-"]{ font-size: 3.5rem; }
.thankyou-card-icon i[class*="fa-"]{ font-size: 1.5rem; }
/* Inherit btn font-size for inline button icons */
.btn i[class*="fa-"] { font-size: inherit; line-height: 1; }

/* ---------- About Page ---------- */

.about-hero {
  position: relative;
  padding-top: calc(var(--banner-height) + 64px + 5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.about-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(51,177,235,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 85%, rgba(224,182,81,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}

.about-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-secondary);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.about-quick-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-quick-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.about-quick-nav-link:hover {
  color: var(--color-text-primary);
  border-bottom-color: var(--brand-blue);
}

.about-quick-nav-divider {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  user-select: none;
}

/* About — shared section header */
.about-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.about-section-header .section-label { margin-bottom: 0.5rem; }

/* About — Story */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.about-story-chapter {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-slow);
}

.about-story-chapter:hover { border-color: var(--color-border-hover); }

.about-story-number {
  position: absolute;
  top: 0.875rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.04);
  user-select: none;
  pointer-events: none;
}

.about-story-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  padding-right: 3rem;
  color: var(--color-text-primary);
}

.about-story-body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* About — Vision / Mission / Values */
.about-vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.about-vmv-card { padding: 2rem; }

.about-vmv-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.about-vmv-icon-blue {
  background: rgba(51,177,235,0.08);
  border: 1px solid rgba(51,177,235,0.2);
  color: var(--brand-blue);
}

.about-vmv-icon-gold {
  background: rgba(224,182,81,0.08);
  border: 1px solid rgba(224,182,81,0.2);
  color: var(--brand-gold);
}

.about-vmv-icon-purple {
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  color: #c084fc;
}

.about-vmv-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-vmv-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0;
}

.about-vmv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.about-vmv-list li {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.about-vmv-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  position: absolute;
  left: 0;
  top: 0.55rem;
  flex-shrink: 0;
}

.about-vmv-list strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* About — Founder */
.about-founder-card {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 860px;
  margin: 3.5rem auto 0;
}

.about-founder-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(51,177,235,0.25);
}

.about-founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder-name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.about-founder-role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin-bottom: 1.25rem;
}

.about-founder-bio {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* About — Team */
.about-team-intro {
  max-width: 720px;
  margin: 1.5rem auto 3rem;
  text-align: center;
}

.about-team-intro p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.about-team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color var(--transition-slow), transform var(--transition-slow);
}

.about-team-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.about-team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-bg-card-hover);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.about-team-role {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* About — Additional Contributors */
.about-contrib-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.about-contrib-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
}

.about-contrib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

.about-contrib-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition-base);
}

.about-contrib-card:hover { border-color: var(--color-border-hover); }

.about-contrib-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.about-contrib-role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* About — Responsive */
@media (max-width: 1024px) {
  .about-team-grid { grid-template-columns: repeat(3, 1fr); }
  .about-contrib-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .about-vmv-grid { grid-template-columns: 1fr; }
  .about-founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .about-team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-contrib-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .about-hero {
    padding-top: calc(var(--banner-height) + 64px + 3.5rem);
    padding-bottom: 3.5rem;
  }
  .about-contrib-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BLOG — Listing + Article Pages
   ============================================================ */

/* ---------- Blog Hero ---------- */
.blog-hero {
  position: relative;
  padding-top: calc(var(--banner-height) + 64px + 5rem);
  padding-bottom: 4rem;
  text-align: center;
  background: var(--color-bg-primary);
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(51,177,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.blog-hero-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---------- Blog Category Filters ---------- */
.blog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.blog-filter-btn {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.blog-filter-btn:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
  background: rgba(255,255,255,0.03);
}

.blog-filter-btn.active {
  color: var(--color-text-accent);
  border-color: rgba(51,177,235,0.4);
  background: rgba(51,177,235,0.08);
}

/* ---------- Blog Post Card Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

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

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background-color: var(--color-bg-elevated) !important; /* solid background */
  backdrop-filter: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8); /* a little drop shadow helps separate it */
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
  color: var(--color-text-primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.blog-card-meta-divider {
  color: var(--color-border-hover);
}

/* Featured post — spans full width */
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.blog-card-featured .blog-card-image {
  aspect-ratio: auto;
  min-height: 320px;
}

.blog-card-featured .blog-card-body {
  padding: 2rem;
  justify-content: center;
}

.blog-card-featured .blog-card-title {
  font-size: 1.75rem;
}

.blog-card-featured .blog-card-excerpt {
  -webkit-line-clamp: 4;
}

/* ---------- Blog Post Article Page ---------- */

/* Reading Progress Bar */
.blog-progress {
  position: fixed;
  top: calc(var(--banner-height) + 64px);
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  z-index: 99;
  transition: width 50ms linear;
}

/* Breadcrumbs */
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.blog-breadcrumb-link {
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.blog-breadcrumb-link:hover {
  color: var(--color-text-accent);
}

.blog-breadcrumb-sep {
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

/* Article Header */
.blog-article-header {
  padding-top: calc(var(--banner-height) + 64px + 3rem);
  padding-bottom: 2rem;
}

.blog-article-category {
  margin-bottom: 1rem;
}

.blog-article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.blog-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-article-meta-item i {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.blog-article-meta-divider {
  color: var(--color-border-hover);
}

/* Featured Image */
.blog-article-hero-image {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

/* Article Layout (content + sidebar) */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}

/* Article Content */
.blog-article-content {
  max-width: 100%;
  min-width: 0;
}

.blog-article-content h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  scroll-margin-top: calc(var(--banner-height) + 64px + 2rem);
}

.blog-article-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
  scroll-margin-top: calc(var(--banner-height) + 64px + 2rem);
}

.blog-article-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.blog-article-content strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.blog-article-content a {
  color: var(--color-text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-base);
}

.blog-article-content a:hover {
  color: var(--brand-blue-pale);
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
}

.blog-article-content ol {
  list-style: decimal;
}

.blog-article-content li {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.blog-article-content li::marker {
  color: var(--brand-blue);
}

.blog-article-content blockquote {
  border-left: 3px solid var(--brand-blue);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(51,177,235,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-article-content blockquote p {
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.blog-article-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

.blog-article-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* Key Takeaway / Callout Box */
.blog-callout {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.blog-callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-callout p {
  margin-bottom: 0.5rem;
}
.blog-callout p:last-child {
  margin-bottom: 0;
}

/* Table of Contents Sidebar */
.blog-toc {
  position: sticky;
  top: calc(var(--banner-height) + 64px + 2rem);
  padding: 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.blog-toc-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.blog-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.blog-toc-link {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  padding: 0.325rem 0.625rem;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all var(--transition-base);
  line-height: 1.5;
}

.blog-toc-link:hover {
  color: var(--color-text-primary);
  background: rgba(255,255,255,0.03);
}

.blog-toc-link.active {
  color: var(--color-text-accent);
  border-left-color: var(--brand-blue);
  background: rgba(51,177,235,0.05);
}

/* Author box */
.blog-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-top: 3rem;
}

.blog-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.blog-author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.blog-author-bio {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Article Tags */
.blog-article-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.blog-article-tags-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}

.blog-tag {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.blog-tag:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}

/* ---------- Related Posts ---------- */
.blog-related {
  padding: 4rem 0;
}

.blog-related-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* ---------- Blog Responsive ---------- */
@media (max-width: 1024px) {
  .blog-article-layout {
    grid-template-columns: 1fr;
  }
  .blog-toc {
    position: static;
    margin-bottom: 2rem;
  }
  .blog-card-featured {
    grid-template-columns: 1fr;
  }
  .blog-card-featured .blog-card-image {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero {
    padding-top: calc(var(--banner-height) + 64px + 3rem);
    padding-bottom: 2.5rem;
  }
  .blog-article-header {
    padding-top: calc(var(--banner-height) + 64px + 2rem);
  }
  .blog-article-title {
    font-size: clamp(1.625rem, 5vw, 2.25rem);
  }
  .blog-article-hero-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
  }
  .blog-author-box {
    flex-direction: column;
    text-align: center;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding-top: calc(var(--banner-height) + 64px + 2rem);
    padding-bottom: 2rem;
  }
  .blog-filters {
    gap: 0.375rem;
  }
  .blog-article-content h2 {
    font-size: 1.375rem;
  }
  .blog-article-content p,
  .blog-article-content li {
    font-size: 1rem;
  }
}

/* ---------- Cookie Consent Banner ---------- */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--color-bg-card);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.45);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-banner-text {
  flex: 1;
  min-width: 0;
}
.cookie-banner-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.3rem;
}
.cookie-banner-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
  align-items: center;
}

/* ---------- Cookie Consent Buttons ---------- */

.cookie-btn {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5625rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.cookie-btn-accept:hover {
  background: #1a9fd6;
  border-color: #1a9fd6;
}
.cookie-btn-decline {
  background: transparent;
  color: var(--color-text-muted);
  border-color: rgba(255,255,255,0.15);
}
.cookie-btn-decline:hover {
  color: var(--color-text-primary);
  border-color: rgba(255,255,255,0.35);
}
.cookie-btn-manage {
  background: transparent;
  color: var(--brand-blue);
  border-color: rgba(51,177,235,0.35);
}
.cookie-btn-manage:hover {
  background: rgba(51,177,235,0.08);
  border-color: var(--brand-blue);
}

/* ---------- Cookie Preferences Modal ---------- */

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9995;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cookie-modal-overlay.cookie-modal--visible {
  opacity: 1;
}
.cookie-modal {
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s ease;
}
.cookie-modal-overlay.cookie-modal--visible .cookie-modal {
  transform: scale(1) translateY(0);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cookie-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: var(--color-text-primary);
}
.cookie-modal-body {
  padding: 0.75rem 1.5rem;
}
.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-category-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.25rem;
}
.cookie-category-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}
.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 1rem;
}
.cookie-modal-footer-actions {
  display: flex;
  gap: 0.5rem;
}
.cookie-privacy-link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.cookie-privacy-link:hover {
  color: var(--brand-blue);
}

/* ---------- Cookie Toggle Switch ---------- */

.cookie-toggle {
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.cookie-toggle-disabled {
  cursor: default;
}
.cookie-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-track {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  transition: background 0.2s;
}
.cookie-toggle-input:checked + .cookie-toggle-track {
  background: var(--brand-blue);
}
.cookie-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cookie-toggle-input:checked + .cookie-toggle-track .cookie-toggle-thumb {
  transform: translateX(18px);
}
.cookie-toggle-disabled .cookie-toggle-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ---------- Cookie Consent — Responsive ---------- */

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    min-width: 0;
  }
  .cookie-modal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cookie-modal-footer-actions {
    width: 100%;
  }
  .cookie-modal-footer-actions .cookie-btn {
    flex: 1;
  }
}
