/*
 * main.css — Consolidated core stylesheet
 * Combines: tokens + base + components + nav + animations + responsive + modernize
 * Source files kept for reference; this is the production bundle.
 */

/* ================================================================
   tokens.css — Design system variables
   ================================================================ */
:root {
  /* Mountain Air palette — aligned with app design system */
  --navy: #254B5A;
  --blue: #254B5A;
  --blue-light: rgba(153, 186, 215, 0.18); /* mist-tinted surface — replaces ad-hoc #E8F0F4 */
  --white: #FFFFFF;
  --stone: #D4E1E7;
  --charcoal: #082434;
  --mid: #3E6575;           /* body text mid-tone, slightly lighter than primary */
  --muted: #7F9A83;         /* corrected: was #5A7A5E — now matches DESIGN.md support accent */
  --border: rgba(8, 36, 52, 0.12);
  --success: #6E8F7A;
  --amber: #C59B52;
  --danger: #C06A5B;

  /* Extended palette */
  --primary: #254B5A;
  --secondary: #778C58;
  --support: #7F9A83;       /* corrected: was #5A7A5E */
  --mist: #99BAD7;
  --info: #7C9DB8;
  --bg: #D4E1E7;
  --surface: #FFFFFF;
  --surface-alt: #D4E1E7;
  --text-primary: #082434;
  --text-secondary: #254B5A;
  --border-subtle: rgba(8, 36, 52, 0.12);
  --border-strong: rgba(8, 36, 52, 0.20);

  /* Dark surface text (footer, navy sections) */
  --text-on-dark: rgba(255, 255, 255, 0.7);
  --text-on-dark-hover: #FFFFFF;
  --surface-on-dark: rgba(255, 255, 255, 0.15);
  --surface-on-dark-hover: rgba(255, 255, 255, 0.25);

  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Type scale (web) */
  --fs-display-2xl: 56px;
  --lh-display-2xl: 60px;
  --fs-display-xl: 48px;
  --lh-display-xl: 52px;
  --fs-display-lg: 40px;
  --lh-display-lg: 44px;
  --fs-heading-xl: 32px;
  --lh-heading-xl: 36px;
  --fs-heading-lg: 28px;
  --lh-heading-lg: 32px;
  --fs-heading-md: 24px;
  --lh-heading-md: 28px;
  --fs-heading-sm: 20px;
  --lh-heading-sm: 24px;
  --fs-body-lg: 18px;
  --lh-body-lg: 28px;
  --fs-body: 17px;
  --lh-body: 27px;
  --fs-body-sm: 15px;
  --lh-body-sm: 24px;
  --fs-label: 14px;
  --lh-label: 20px;
  --fs-meta: 13px;
  --lh-meta: 18px;
  --fs-micro: 12px;
  --lh-micro: 16px;

  /* Border radius — WEB values per DESIGN.md Web Adaptations */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Mobile app radius (kept for reference — Tamagui tokens use these) */
  --radius-mobile-xs: 10px;
  --radius-mobile-sm: 14px;
  --radius-mobile-md: 18px;
  --radius-mobile-lg: 24px;

  /* Animation durations (from DESIGN.md) */
  --duration-micro: 100ms;
  --duration-short: 180ms;
  --duration-medium: 280ms;
  --duration-long: 380ms;

  /* Easing curves */
  --ease-enter: cubic-bezier(0.16, 1, 0.32, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-move: cubic-bezier(0.45, 0, 0.55, 1);

  /* Transitions (legacy compat) */
  --transition-duration: 200ms;
  --transition-easing: ease;

  /* Spacing */
  --space-gutter: 24px;

  /* Shadows */
  --shadow-sm: 0 6px 18px rgba(84, 102, 118, 0.08);
  --shadow-md: 0 12px 30px rgba(84, 102, 118, 0.10);
  --shadow-lg: 0 18px 48px rgba(84, 102, 118, 0.12);
}
/* Skip Link — hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 24px;
  line-height: 1.2;
}

h1 {
  font-size: var(--fs-display-2xl);
}

h2 {
  font-size: var(--fs-display-lg);
}

h3 {
  font-size: var(--fs-heading-lg);
}

h4 {
  font-size: var(--fs-heading-sm);
}

p {
  margin-top: 0;
  margin-bottom: 24px;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.bg-stone {
  background-color: var(--stone);
}

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

.text-white {
  color: var(--white);
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Layout utilities */
.content-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.content-mid { max-width: 800px; margin-left: auto; margin-right: auto; }
.content-wide { max-width: 860px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.flex-col { display: flex; flex-direction: column; align-items: flex-start; }

/* Section padding variants */
.section-sm { padding-top: 48px; padding-bottom: 48px; }
.section-md { padding-top: 80px; padding-bottom: 80px; }

/* Text link */
.link-underline { color: var(--blue); text-decoration: underline; }

/* Color utilities */
.text-blue { color: var(--blue); }
.text-muted { color: var(--muted); }
.text-charcoal { color: var(--charcoal); }

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: var(--white);
}

.text-white p,
.text-white li,
.text-white a {
  color: var(--text-on-dark);
}

.text-white a:hover {
  color: var(--text-on-dark-hover);
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: var(--fs-display-lg);
  }

  h2 {
    font-size: var(--fs-heading-xl);
  }

  h3 {
    font-size: var(--fs-heading-md);
  }
}

@media (max-width: 479px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  h1 {
    font-size: var(--fs-heading-xl);
  }

  h2 {
    font-size: var(--fs-heading-lg);
  }

  h3 {
    font-size: var(--fs-heading-sm);
  }
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body-sm);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  cursor: pointer;
  transition: all var(--transition-duration) var(--transition-easing);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(37, 75, 90, 0.3), 0 4px 12px rgba(37, 75, 90, 0.15);
}

.btn-primary:hover {
  background-color: #1A3A47;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(37, 75, 90, 0.35), 0 8px 20px rgba(37, 75, 90, 0.2);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-secondary:hover {
  background-color: var(--blue-light);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost {
  background-color: transparent;
  color: var(--blue);
  padding: 14px 16px;
}

.btn-ghost:hover {
  color: var(--navy);
  background-color: var(--blue-light);
}

.btn-primary-inverted {
  background-color: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--white);
}

.btn-primary-inverted:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-body-sm);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  color: var(--text-on-dark);
  font-size: var(--fs-body-sm);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-on-dark-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-bottom-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-on-dark);
  font-size: var(--fs-label);
}

.footer-legal a {
  color: var(--text-on-dark);
}

.footer-legal a:hover {
  color: var(--text-on-dark-hover);
}

.footer-safety-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: var(--fs-label);
  font-weight: 500;
}

.footer-safety-text svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--surface-on-dark);
  color: var(--white);
  transition: background-color 0.2s ease;
}

.social-icon:hover {
  background-color: var(--surface-on-dark-hover);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.app-badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.app-badge:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.app-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
}

.app-badge-small {
  font-size: 10px;
  line-height: 1;
  color: var(--text-on-dark);
}

.app-badge-large {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 64px;
  background-color: var(--white);
  background-image: radial-gradient(circle at 50% 40%, rgba(21, 101, 192, 0.04) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(13, 27, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 75, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 520px;
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--fs-body);
}

.hero-trust {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  color: var(--muted);
  margin-bottom: 0;
}

.hero-mockup-wrapper {
  perspective: 1000px;
}

.phone-mockup {
  width: 195px;
  height: 380px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-xl);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background-color: var(--navy);
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  z-index: 2;
}

.phone-screen {
  background-color: var(--stone);
  border-radius: var(--radius-lg);
  flex: 1;
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  position: relative;
}

.phone-badge {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: center;
  margin-bottom: 4px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
}

.phone-message {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--charcoal);
  line-height: 1.4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  text-align: left;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 64px;
  align-items: start;
}

.split-heading h2 {
  margin-bottom: 0;
  position: sticky;
  top: 120px;
}

/* Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--navy);
  background-color: var(--white);
  white-space: nowrap;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.015);
}

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

.comparison-table .highlight-col {
  background-color: var(--blue-light);
  font-weight: 500;
  color: var(--navy);
}

.comparison-table th.highlight-col {
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}

.cell-content {
  display: flex;
  align-items: center;
}

.icon-check, .icon-x {
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.icon-check {
  color: var(--success);
}

.icon-x {
  color: var(--muted);
}

.table-footnote {
  font-size: var(--fs-meta);
  color: var(--muted);
  margin-bottom: 0;
}

.table-scroll-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 32px;
  margin-bottom: 8px;
}

/* Feature Cards Grid */
.section-heading-left {
  max-width: 640px;
  margin-bottom: 64px;
}

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

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background-color: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  stroke-width: 2;
}

.feature-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-heading-sm);
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}

.feature-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.feature-link:hover {
  text-decoration: underline;
}

/* Pricing Section */
.pricing-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.pricing-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}

.pricing-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-card {
  background-color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--blue);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid var(--blue);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Fraunces', serif;
  font-size: var(--fs-display-2xl);
  color: var(--white);
  line-height: 1;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--success); /* Success green */
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-footer p {
  margin-bottom: 16px;
}

.pricing-footer-link {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.pricing-footer-link:hover {
  border-color: var(--white);
}

/* Case Studies Section */
.case-studies-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--support);
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.quote-card {
  position: relative;
  padding-top: 24px;
}

.quote-mark {
  position: absolute;
  top: -40px;
  left: -16px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.quote-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-heading-sm);
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 16px;
}

.quote-author {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  color: var(--mid);
  margin: 0;
}

.case-studies-footer {
  text-align: center;
}

.case-studies-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body-sm);
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.case-studies-link:hover {
  border-color: var(--blue);
}

/* Final CTA Section */
.final-cta-section {
  background: linear-gradient(to bottom, var(--blue-light), var(--white));
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.1;
}

.final-cta-content p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--mid);
  margin-bottom: 40px;
  line-height: 1.6;
}

.app-store-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-store-btn:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.app-store-btn svg {
  color: var(--charcoal);
}

.final-cta-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Coming Soon Badge (shared across pages) */
.coming-soon-btn {
  position: relative;
  cursor: default;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.coming-soon-btn svg {
  color: var(--white);
  fill: currentColor;
}

/* Hero / pricing buttons keep full opacity */
.btn.coming-soon-btn {
  opacity: 1;
  display: inline-flex;
  justify-content: center;
}

.coming-soon-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  background: var(--white);
  color: var(--navy);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(8, 36, 52, 0.15);
  z-index: 1;
  line-height: 1;
}

.coming-soon-btn-label {
  font-size: 10px;
  line-height: 1;
}

.coming-soon-btn-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* Subprocessor purpose label (privacy page) */
.subprocessor-purpose-label {
  font-weight: 400;
  color: var(--mid);
  font-size: 12px;
}

/* Legal cross-links section */
.legal-cross-links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-cross-links-title {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.legal-cross-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact note (subdued small text in contact boxes) */
.contact-note {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* Disabled badge (footer app store buttons) */
.disabled-badge {
  pointer-events: none;
  opacity: 0.75;
}

.disabled-badge .coming-soon-badge {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* CTA wrapper (coming-soon button + caption) */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* App-store button text layout */
.app-store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-store-btn-label {
  font-size: 10px;
  line-height: 1;
}

.app-store-btn-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* Blockquote (case studies, about) */
.blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin: 0 0 16px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-heading-sm);
  color: var(--charcoal);
  line-height: 1.4;
}

/* Icon Box (feature lists) */
.icon-box {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Section Eyebrow (uppercase label) */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-label);
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* Body list item with icon */
.body-list-item {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.body-list-item svg,
.body-list-item .icon {
  margin-right: 12px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Filter chip (case studies) */
.filter-chip {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-meta);
  color: var(--blue);
  background-color: var(--blue-light);
  border: 1px solid var(--mist);
  border-radius: var(--radius-xl);
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* CTA link (inline text link with arrow) */
.cta-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  color: var(--blue);
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Subtitle / lead text */
.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body-lg);
  color: var(--charcoal);
  line-height: 1.6;
}

/* Meta text */
.text-meta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-meta);
  color: var(--mid);
}

/* Responsive */
@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .quote-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 64px;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-heading h2 {
    position: static;
  }
}

@media (max-width: 767px) {
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-price {
    font-size: 44px;
  }

  .quote-text {
    font-size: 20px;
  }

  .quote-mark {
    font-size: 80px;
    top: -24px;
    left: -8px;
  }

  .comparison-table {
    min-width: 540px;
  }

  .split-layout {
    gap: 24px;
  }
}

@media (max-width: 479px) {
  .quote-mark {
    font-size: 60px;
    top: -16px;
    left: 0;
  }

  .quote-text {
    font-size: 18px;
  }

  .comparison-table {
    min-width: 420px;
  }

  .pricing-name {
    font-size: 14px;
  }

  .pricing-price {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .table-scroll-hint {
    display: block;
  }

  .phone-mockup {
    width: 180px;
    height: 350px;
  }

  .tone-demo-phone {
    width: 200px;
    height: 400px;
  }

  .tone-dimensions-grid {
    width: 200px;
  }
}

@media (max-width: 479px) {
  .phone-mockup {
    width: 160px;
    height: 320px;
  }

  .tone-demo-phone {
    width: 180px;
    height: 360px;
  }

  .tone-dimensions-grid {
    width: 180px;
  }
}

/* ================================================
   Tone Analysis Demo — Hero Phone Mockup
   ================================================ */

.tone-demo-phone {
  width: 220px;
  height: 440px;
}

.tone-screen {
  position: relative;
  padding: 0;
}

.tone-state {
  position: absolute;
  inset: 0;
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.tone-state.is-active {
  opacity: 1;
  pointer-events: auto;
}

.tone-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.tone-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 7px;
  border-radius: var(--radius-md);
}

.tone-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tone-badge-green            { background: rgba(46, 125, 50, 0.12);  color: var(--success); }
.tone-badge-green .tone-badge-dot  { background: var(--success); }
.tone-badge-amber            { background: rgba(180, 83, 9, 0.12);   color: var(--amber);   }
.tone-badge-amber .tone-badge-dot  { background: var(--amber);   }
.tone-badge-red              { background: rgba(153, 27, 27, 0.12);  color: var(--danger);  }
.tone-badge-red .tone-badge-dot    { background: var(--danger);  }
.tone-badge-blocked          { background: rgba(153, 27, 27, 0.15);  color: var(--danger); font-weight: 800; }

.tone-score-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--mid);
  white-space: nowrap;
}

.tone-num-amber   { color: var(--amber);  }
.tone-num-red     { color: var(--danger); }
.tone-num-blocked { color: var(--danger); }

.tone-bar-track {
  height: 3px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 2px;
  overflow: hidden;
}

.tone-bar-fill {
  height: 100%;
  border-radius: 2px;
}

.tone-bar-green   { background: var(--success); }
.tone-bar-amber   { background: var(--amber);   }
.tone-bar-red     { background: var(--danger);  }
.tone-bar-blocked { background: var(--danger);  }

.tone-notice {
  border-radius: 5px;
  padding: 5px 8px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

.tone-notice-amber   { background: rgba(180, 83, 9, 0.1);   color: var(--amber);  }
.tone-notice-red     { background: rgba(153, 27, 27, 0.1);  color: var(--danger); }
.tone-notice-blocked { background: rgba(153, 27, 27, 0.12); color: var(--danger); text-align: center; font-weight: 700; }

.tone-actions {
  display: flex;
  gap: 5px;
  margin-top: auto;
}

.tone-btn {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  border-radius: 5px;
  padding: 6px 8px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}

.tone-btn-green       { background: var(--success);  color: var(--white); }
.tone-btn-ghost       { background: transparent; color: var(--mid);    border: 1px solid var(--border); }
.tone-btn-amber       { background: var(--amber);    color: var(--white); }
.tone-btn-red         { background: var(--danger);   color: var(--white); }
.tone-btn-red-ghost   { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.tone-btn-ghost-danger { background: transparent; color: var(--mid); border: 1px solid var(--border); }

.tone-message-blocked {
  position: relative;
  overflow: hidden;
}

.tone-blocked-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(153, 27, 27, 0.05) 0px,
    rgba(153, 27, 27, 0.05) 2px,
    transparent 2px,
    transparent 10px
  );
  border-radius: var(--radius-md);
  pointer-events: none;
}

.tone-state-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.tone-indicator {
  height: 7px;
  width: 7px;
  border-radius: 4px;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.tone-indicator.is-active {
  width: 20px;
}

.tone-ind-green.is-active   { background: var(--success); }
.tone-ind-amber.is-active   { background: var(--amber);   }
.tone-ind-red.is-active     { background: var(--danger);  }
.tone-ind-blocked.is-active { background: var(--danger); }

.tone-caption {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  transition: opacity 0.3s ease;
}

.tone-dimensions-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 8px;
}

.tone-dimensions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 220px;
}

.tone-dim-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.tone-dim-weight {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.tone-dim-label {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--mid);
  white-space: nowrap;
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 32px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    order: 1;
  }

  .hero-right {
    order: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 24px;
    padding-bottom: 48px;
    min-height: auto;
  }

  .hero-title {
    font-size: var(--fs-display-lg);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions .btn-large {
    width: 100%;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .hero-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: var(--fs-heading-xl);
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .hero-eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  .final-cta-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 479px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .app-store-buttons {
    flex-direction: column;
  }
  .app-store-btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .footer-bottom-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }

  .app-badges {
    flex-direction: column;
  }

  .final-cta-content h2 {
    font-size: 30px;
  }

  .final-cta-content p {
    font-size: 16px;
  }
}
/* ============================================================
   PARENTING PATH — UNIVERSAL NAV STYLESHEET
   Load this AFTER components.css to override legacy nav rules.
   ============================================================ */

/* ===========================
   STICKY HEADER WRAPPER
   =========================== */

.pp-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

/* ===========================
   ANNOUNCEMENT BANNER
   =========================== */

.pp-banner {
  position: relative;
  background-color: var(--blue);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}

.pp-banner[hidden],
.pp-banner.is-hidden {
  display: none !important;
}

.pp-banner-text {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.pp-banner-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}

.pp-banner-text a:hover {
  opacity: 0.85;
  color: #ffffff;
}

.pp-banner-dismiss {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}

.pp-banner-dismiss:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.pp-banner-dismiss:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .pp-banner {
    height: auto;
    min-height: 40px;
    padding: 8px 44px 8px 16px;
  }

  .pp-banner-text {
    text-align: left;
  }
}

/* ===========================
   SITE NAV — RESET & BASE
   =========================== */

.pp-header .site-nav {
  position: static;
  top: auto;
  height: 72px;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.pp-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

/* ===========================
   LOGO
   =========================== */

.pp-header .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.pp-header .nav-logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--radius-xs);
}

.pp-header .nav-logo svg {
  width: 22px;
  height: 26px;
  fill: var(--navy);
  flex-shrink: 0;
}

.pp-header .nav-logo-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ===========================
   DESKTOP NAV LINKS
   =========================== */

.pp-header .nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

/* NAV ITEM wrapper */
.pp-header .nav-item {
  position: relative;
}

/* NAV LINK — both <a> and <button> variants */
.pp-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.pp-header .nav-link:hover {
  color: var(--blue);
  background-color: var(--blue-light);
}

.pp-header .nav-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Active state — current section */
.pp-header .nav-item.nav-active > .nav-link {
  color: var(--blue);
  position: relative;
}

.pp-header .nav-item.nav-active > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--blue);
  border-radius: 1px;
}

/* ===========================
   CHEVRON
   =========================== */

.pp-header .nav-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--mid);
  stroke: currentColor;
}

.pp-header .nav-item.is-open > .nav-link .nav-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

/* ===========================
   DROPDOWN PANEL — BASE
   =========================== */

.pp-header .nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  transform: translateY(-6px);
  z-index: 200;
  min-width: 240px;
}

.pp-header .nav-dropdown.is-right-align {
  left: auto;
  right: 0;
}

/* Two-column dropdown (Features) */
.pp-header .nav-dropdown.is-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  min-width: 560px;
  transform: translateY(-6px);
}

/* Open state — driven by JS .is-open class */
.pp-header .nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Column heading */
.pp-header .nav-dropdown-col-head {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  white-space: nowrap;
}

/* Dropdown footer link (see all features) */
.pp-header .nav-dropdown-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}

.pp-header .nav-dropdown-footer a {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.12s ease, background 0.12s ease;
}

.pp-header .nav-dropdown-footer a:hover {
  background: var(--blue-light);
  color: var(--navy);
}

.pp-header .nav-dropdown-footer a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ===========================
   DROPDOWN ITEM
   =========================== */

.pp-header .nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.12s ease;
  margin-bottom: 1px;
}

.pp-header .nav-dropdown-item:last-of-type {
  margin-bottom: 0;
}

.pp-header .nav-dropdown-item:hover {
  background-color: var(--blue-light);
}

.pp-header .nav-dropdown-item:hover .nav-dropdown-item-title {
  color: var(--blue);
}

.pp-header .nav-dropdown-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-radius: var(--radius-sm);
}

.pp-header .nav-dropdown-item-title {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  transition: color 0.12s ease;
}

.pp-header .nav-dropdown-item-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--mid);
  line-height: 1.4;
  margin-top: 2px;
}

/* ===========================
   RIGHT CTA
   =========================== */

.pp-header .nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pp-header .nav-cta-wrapper {
  position: relative;
}

/* Pre-launch coming soon */
.pp-header .nav-cta {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: default;
  opacity: 0.85;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

/* Post-launch active state */
.pp-header .nav-cta.is-active {
  background-color: var(--blue);
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.15s ease;
}

.pp-header .nav-cta.is-active:hover {
  background-color: #1A3A47;
}

.pp-header .nav-cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Coming soon tooltip */
.pp-header .nav-cta-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--charcoal);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.pp-header .nav-cta-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--charcoal);
}

.pp-header .nav-cta-tooltip a {
  color: #ffffff;
  text-decoration: underline;
  pointer-events: auto;
}

.pp-header .nav-cta-wrapper:hover .nav-cta-tooltip {
  opacity: 1;
}

/* ===========================
   MOBILE HAMBURGER
   =========================== */

.pp-header .nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.pp-header .nav-hamburger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.pp-header .nav-hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  pointer-events: none;
}

/* ===========================
   MOBILE BACKDROP
   =========================== */

.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 36, 52, 0.3);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===========================
   MOBILE SLIDE-IN PANEL
   =========================== */

.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--white);
  z-index: 151;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.32, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}

.nav-mobile-panel.is-open {
  transform: translateX(0);
}

.nav-mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

/* Mobile panel logo — constrain image within panel */
.nav-mobile-panel-header .nav-logo img {
  width: 180px;
  height: auto;
}

.nav-mobile-panel-header .nav-logo-text {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav-mobile-panel-header .nav-logo svg {
  width: 20px;
  height: 24px;
  fill: var(--navy);
}

.nav-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.nav-mobile-close:hover {
  background: var(--stone);
}

.nav-mobile-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.nav-mobile-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===========================
   MOBILE ACCORDION
   =========================== */

.nav-mobile-group {
  border-bottom: 1px solid var(--border);
}

.nav-mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
  min-height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  text-decoration: none;
  transition: background 0.12s ease;
  -webkit-appearance: none;
  appearance: none;
}

.nav-mobile-trigger:hover {
  background: var(--stone);
}

.nav-mobile-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.nav-mobile-trigger .nav-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--mid);
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.nav-mobile-group.is-open > .nav-mobile-trigger .nav-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.nav-mobile-submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
}

.nav-mobile-group.is-open > .nav-mobile-submenu {
  max-height: 800px;
}

.nav-mobile-sub-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px 10px 28px;
  text-decoration: none;
  min-height: 48px;
  transition: background 0.12s ease;
  border-left: 3px solid transparent;
}

.nav-mobile-sub-item:hover {
  background: var(--blue-light);
  border-left-color: var(--blue);
}

.nav-mobile-sub-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.nav-mobile-sub-item-title {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}

.nav-mobile-sub-item:hover .nav-mobile-sub-item-title {
  color: var(--blue);
}

.nav-mobile-sub-item-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--mid);
  line-height: 1.4;
  margin-top: 2px;
}

/* ===========================
   MOBILE PANEL FOOTER
   =========================== */

.nav-mobile-panel-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  background-color: var(--navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: default;
  opacity: 0.85;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.nav-mobile-cta.is-active {
  background-color: var(--blue);
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.15s ease;
}

.nav-mobile-cta.is-active:hover {
  background-color: #1A3A47;
}

.nav-mobile-cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Prevent body scroll when mobile panel is open */
body.nav-panel-open {
  overflow: hidden;
}

/* ===========================
   RESPONSIVE — SHOW/HIDE
   =========================== */

@media (max-width: 992px) {
  .pp-header .nav-links,
  .pp-header .nav-actions {
    display: none;
  }

  .pp-header .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 767px) {
  .pp-header .site-nav {
    height: 60px;
  }

  .pp-header .nav-container {
    padding: 0 16px;
  }

  .pp-header .nav-logo-text {
    font-size: var(--fs-body-sm);
  }

  .pp-header .nav-logo img {
    width: 180px;
    height: auto;
  }
}

@media (max-width: 479px) {
  .pp-header .site-nav {
    height: 56px;
  }

  .pp-header .nav-logo img {
    width: 150px;
    height: auto;
  }

  .pp-header .nav-hamburger {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .nav-mobile-panel-header {
    height: 56px;
    padding: 0 16px;
  }

  .nav-mobile-panel-footer {
    padding: 16px;
  }
}
/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Scroll Reveal Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.32, 1), 
              transform 500ms cubic-bezier(0.16, 1, 0.32, 1);
  /* Stagger delay based on CSS variable set in inline style */
  transition-delay: calc(var(--stagger, 0) * 100ms);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG line draw — set stroke-dasharray/offset on element, animate to 0 */
@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* Bar fill from 0 to var(--bar-width) */
@keyframes bar-fill {
  from { width: 0; }
  to { width: var(--bar-width, 100%); }
}

/* Subtle pulse for badges/dots */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Slide in from left */
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Fade + scale in */
@keyframes fade-scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Count ring fill (SVG circle) */
@keyframes ring-fill {
  to { stroke-dashoffset: 0; }
}

/* Deliberate fade (DV safety page) — slower, less travel.
   Uses animation with forwards fill so content becomes visible even without JS. */
.fade-in-slow {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-in-slow-fallback 800ms ease-out forwards;
  animation-delay: calc(0.3s + var(--stagger, 0) * 120ms);
}

.fade-in-slow.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes fade-in-slow-fallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered animation container — starts paused, plays on .is-animating */
.animate-on-scroll {
  animation-play-state: paused;
}

.animate-on-scroll.is-animating {
  animation-play-state: running;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .floating {
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ==========================================================================
   Parenting Path - Responsive Overrides
   File: /css/responsive.css
   
   Breakpoints (unified):
   - Desktop: 1200px+ (Base styles in base.css / components.css)
   - Tablet: 992px - 1199px
   - Mobile: 768px - 991px
   - Mobile Small: 320px - 479px
   ========================================================================== */

/* ==========================================================================
   TABLET (768px - 1199px)
   ========================================================================== */
@media screen and (max-width: 1199px) {
  /* Section Padding */
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* Feature Cards Grid: 4-column -> 2-column */
  .features-grid,
  .feature-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ==========================================================================
   MOBILE LARGE & GENERAL MOBILE (Max-width: 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* Section Padding — !important to override inline styles */
  .section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Typography — !important needed to override inline styles on some pages */
  .hero h1,
  .hero-title {
    font-size: var(--fs-heading-xl) !important;
    line-height: 1.15 !important;
  }

  h1 {
    font-size: var(--fs-heading-xl) !important;
  }

  h2 {
    font-size: var(--fs-heading-lg) !important;
  }

  h3 {
    font-size: var(--fs-heading-md) !important;
  }

  /* Body text stays at 17px minimum for readability */
  p, li, .body-text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
  }

  /* Touch Targets (Accessibility) */
  .btn, button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure standalone links have a minimum tap area of 44x44px */
  .nav-link, .footer-links-group a, .text-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0; /* Add padding to increase tap area without changing visual height */
  }

  /* Navigation */
  .nav-links {
    display: none; /* Hide center links */
  }

  /* Hero Section */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* Feature Cards Grid: 2-column -> 1-column */
  .features-grid,
  .feature-cards-container {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px; /* Reduced from 32px */
  }

  /* Pricing Cards */
  .pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .pricing-card {
    width: 100%;
  }

  /* Comparison Table */
  .compare-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-bottom: 16px;
    margin-top: 32px;
  }

  /* Visible scroll hint */
  .compare-table-wrapper::before {
    content: "← Swipe to compare →";
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--fs-label);
    color: var(--mid);
    margin-bottom: 16px;
    font-style: italic;
  }

  .compare-table {
    min-width: 600px; /* Force horizontal scroll */
  }

  /* Sticky first column */
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    background-color: var(--white);
    z-index: 2;
    box-shadow: 4px 0 8px rgba(0,0,0,0.05); /* Visual separation */
  }
}

/* ==========================================================================
   MOBILE SMALL (320px - 479px)
   ========================================================================== */
@media screen and (max-width: 479px) {
  /* Hero Section — !important to override inline styles */
  .hero h1,
  .hero-title {
    font-size: var(--fs-heading-lg) !important;
  }

  h1 {
    font-size: var(--fs-heading-lg) !important;
  }

  h2 {
    font-size: var(--fs-heading-md) !important;
  }

  h3 {
    font-size: var(--fs-heading-sm) !important;
  }

  /* Phone Mockup - scale down instead of hiding */
  .hero-mockup,
  .phone-mockup {
    transform: scale(0.85);
    transform-origin: center top;
  }

  /* Reduce section padding further — !important for inline styles */
  .section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Feature cards */
  .feature-card {
    padding: 16px;
  }

  /* Comparison table - tighter for smallest screens */
  .compare-table {
    min-width: 440px;
  }

  /* Back to top - smaller on mobile */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
  }

  /* Tighter gaps on smallest screens */
  .hero-container {
    gap: 32px;
  }
}

/* ==========================================================================
   CSS-ONLY BACK TO TOP BUTTON
   ========================================================================== */
/* 
   Uses modern CSS animation-timeline to appear after 400px of scrolling.
   Fallback: Always visible but subtle for browsers without support.
*/
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  z-index: 99;
  transition: transform 0.2s ease, background-color 0.2s ease;
  
  /* Fallback state */
  opacity: 0.8;
}

.back-to-top:hover {
  background-color: var(--blue);
  transform: translateY(-4px);
  opacity: 1;
}

/* White arrow up icon using CSS borders */
.back-to-top::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(45deg) translate(2px, 2px);
}

/* Modern CSS Scroll-driven Animation (Supported in Chrome/Edge 115+) */
@supports (animation-timeline: scroll()) {
  .back-to-top {
    opacity: 0;
    pointer-events: none;
    animation: reveal-btt linear forwards;
    animation-timeline: scroll(root block);
    /* Start appearing at 400px, fully visible at 450px */
    animation-range: 400px 450px; 
  }

  @keyframes reveal-btt {
    to {
      opacity: 1;
      pointer-events: auto;
    }
  }
}
/*
 * modernize.css — ParentingPath Landing Page Visual Improvements
 * Applied on top of tokens.css + components.css
 * References: Linear, Vercel, Stripe, Noonlight for premium SaaS patterns
 * Stays strictly within the Mountain Air design system from DESIGN.md
 */

/* ============================================================
   1. NAVIGATION — Glassmorphism + refined styling
   ============================================================ */

.pp-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8, 36, 52, 0.08);
  box-shadow: 0 1px 0 rgba(8, 36, 52, 0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta {
  border-radius: var(--radius-sm) !important;
  font-size: var(--fs-label) !important;
  letter-spacing: 0.01em;
}

/* ============================================================
   2. HERO — Mountain Air ambient warmth
   ============================================================ */

.hero-section {
  background-color: var(--white) !important;
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(153, 186, 215, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(119, 140, 88, 0.05) 0%, transparent 60%) !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(8, 36, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 36, 52, 0.04) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
}

/* Hero heading: tighter tracking for premium feel */
.hero-title {
  letter-spacing: -0.02em;
  line-height: 1.1 !important;
}

.hero-title h1,
h1.hero-title {
  letter-spacing: -0.02em;
}

/* Hero eyebrow refinement */
.hero-eyebrow {
  color: var(--support) !important; /* #7F9A83 — corrected support accent */
  letter-spacing: 0.1em;
  font-weight: 600 !important;
}

/* Hero subtitle — use charcoal at lower opacity for warmth */
.hero-subtitle {
  color: var(--mid) !important;
  font-size: var(--fs-body-lg) !important;
  line-height: 1.65 !important;
}

/* Trust line below CTAs */
.hero-trust {
  color: var(--muted) !important;
  font-size: var(--fs-meta);
}


/* ============================================================
   3. PHONE MOCKUP — ambient glow + refined border
   ============================================================ */

.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 48px;
  background: radial-gradient(ellipse at center, rgba(153, 186, 215, 0.28) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  border: 1.5px solid rgba(8, 36, 52, 0.20) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    var(--shadow-md),
    0 32px 64px rgba(37, 75, 90, 0.12) !important;
}

/* ============================================================
   4. SECTION HEADINGS — letter-spacing for premium feel
   ============================================================ */

h1, h2 {
  letter-spacing: -0.02em;
}

h3 {
  letter-spacing: -0.01em;
}

.section-heading-left {
  margin-bottom: 48px !important;
}

/* Eyebrow above feature section heading */
.features-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--support);
  margin-bottom: 12px;
}

/* ============================================================
   5. STATS STRIP — tighter, bolder, more purposeful
   ============================================================ */

.stats-strip-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(to bottom, rgba(212, 225, 231, 0.3), rgba(255, 255, 255, 0));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.counter-stat {
  padding: 24px 32px;
  border-right: 1px solid var(--border-subtle);
  text-align: center;
}

.counter-stat:last-child {
  border-right: none;
}

.counter {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-display-2xl);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.counter-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--muted);
  font-weight: 400;
}


/* ============================================================
   6. FEATURE CARDS — gradient border on hover, better shadow
   ============================================================ */

.feature-card {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-enter),
              box-shadow 200ms var(--ease-enter),
              border-color 200ms var(--ease-enter) !important;
}

.feature-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--border-strong) !important;
}

.feature-icon {
  border-radius: var(--radius-sm) !important;
  background: linear-gradient(135deg, rgba(153, 186, 215, 0.2) 0%, rgba(212, 225, 231, 0.4) 100%) !important;
}

.feature-title {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: var(--charcoal) !important;
}

.feature-body {
  color: var(--mid) !important;
  line-height: 1.65 !important;
}

.feature-link {
  font-size: var(--fs-label) !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 150ms ease;
}

.feature-link:hover {
  gap: 8px;
  text-decoration: none !important;
}

/* ============================================================
   7. COMPARISON TABLE — refined highlight column
   ============================================================ */

.comparison-table .highlight-col {
  background-color: rgba(37, 75, 90, 0.06) !important;
  color: var(--navy) !important;
}

.comparison-table th.highlight-col {
  background-color: var(--navy) !important;
  color: var(--white) !important;
}

/* ============================================================
   8. PRICING SECTION — card polish
   ============================================================ */

.pricing-card {
  border-radius: var(--radius-lg) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(4px);
  transition: transform 200ms var(--ease-enter), box-shadow 200ms var(--ease-enter);
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 1.5px solid rgba(153, 186, 215, 0.5) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.popular-badge {
  background-color: var(--support) !important;
  border-color: var(--support) !important;
  color: var(--white) !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
}

.pricing-name {
  letter-spacing: 0.08em !important;
  font-size: var(--fs-label) !important;
}

.pricing-price {
  letter-spacing: -0.03em !important;
}


/* ============================================================
   9. QUOTE CAROUSEL — premium testimonial treatment
   ============================================================ */

.quote-carousel {
  max-width: 760px;
  margin: 0 auto 40px !important;
  position: relative;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  font-size: 96px !important;
  color: var(--primary) !important;
  opacity: 0.12 !important;
  top: -24px !important;
  left: 16px !important;
}

.quote-text {
  font-size: var(--fs-heading-sm) !important;
  line-height: 1.6 !important;
  color: var(--charcoal) !important;
  letter-spacing: -0.01em;
}

.quote-author {
  color: var(--muted) !important;
  font-size: var(--fs-body-sm) !important;
  font-style: normal !important;
  font-weight: 500;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-subtle);
  border: none;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--primary);
  width: 24px;
}

/* ============================================================
   10. FINAL CTA SECTION — Mountain Air gradient
   ============================================================ */

.final-cta-section {
  background: linear-gradient(
    to bottom,
    rgba(212, 225, 231, 0.45) 0%,
    rgba(255, 255, 255, 1) 100%
  ) !important;
}

.final-cta-content h2 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.app-store-btn {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border-strong) !important;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease !important;
}

.app-store-btn:hover {
  border-color: var(--primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ============================================================
   11. SECTION SPACING — tighten overpadded sections
   ============================================================ */

/* Stats and case studies use .section-md to reduce whitespace */
.section-tighter {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Hero to first section transition */
.first-section-after-hero {
  padding-top: 80px;
}

/* ============================================================
   12. BUTTONS — refined sizing and feel
   ============================================================ */

.btn {
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: all 180ms var(--ease-enter) !important;
}

.btn-primary {
  box-shadow: 0 1px 3px rgba(37, 75, 90, 0.3), 0 4px 12px rgba(37, 75, 90, 0.15) !important;
}

.btn-primary:hover {
  box-shadow: 0 2px 6px rgba(37, 75, 90, 0.35), 0 8px 20px rgba(37, 75, 90, 0.2) !important;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(37, 75, 90, 0.25) !important;
}

/* ============================================================
   13. COMPARISON TABLE — problem section bg
   ============================================================ */

.bg-stone {
  background-color: var(--stone) !important; /* D4E1E7 from DESIGN.md */
}

/* ============================================================
   14. FOOTER — subtle top separator
   ============================================================ */

.site-footer {
  background: linear-gradient(to bottom, #1E3D49, var(--navy)) !important;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 20px !important;
}

/* ============================================================
   15. RESPONSIVE — preserve improvements at tablet/mobile
   ============================================================ */

@media (max-width: 992px) {
  .quote-card {
    padding: 32px 36px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }

  .counter {
    font-size: var(--fs-display-lg) !important;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .counter-stat {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .counter-stat:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }

  .counter-stat:nth-child(3),
  .counter-stat:nth-child(4) {
    border-bottom: none;
  }

  .quote-card {
    padding: 28px 24px;
    border-radius: var(--radius-md);
  }

  h1, h2 {
    letter-spacing: -0.015em;
  }
}

/* ============================================================
   16. STATS STRIP — icons, eyebrow, sub-labels
   ============================================================ */

/* Tighten spacing so the stats strip doesn't drown in whitespace */
.stats-strip-section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* ============================================================
   19. ABOUT PAGE — timeline component
   ============================================================ */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connecting line */
.timeline-line {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
  z-index: 0;
}

.timeline-line-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), rgba(37,75,90,0.15));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 24px 0;
  position: relative;
  z-index: 1;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

.timeline-content {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.65;
  padding-top: 0;
}

.timeline-content strong {
  color: var(--navy);
  font-weight: 600;
}

.stats-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--support);
  text-align: center;
  margin-bottom: 40px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--stone);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.8;
}

.counter-label em {
  display: block;
  font-style: normal;
  font-size: var(--fs-micro);
  color: rgba(37,75,90,0.45);
  letter-spacing: 0.02em;
  margin-top: 4px;
  line-height: 1.4;
}

.counter-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* ============================================================
   17. COMING SOON BUTTONS — dark pricing card fix
   ============================================================ */

/* The root problem: coming-soon-btn forces background: var(--charcoal) (#082434)
   on a navy (#254B5A) card = nearly invisible. Override for all pricing-card contexts. */

.pricing-card .btn.coming-soon-btn,
.pricing-card .coming-soon-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  opacity: 1 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

/* Hover — disabled buttons still benefit from a visible state change */
.pricing-card .btn.coming-soon-btn:hover,
.pricing-card .coming-soon-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: rgba(255, 255, 255, 1) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* SVG clock icon inside button inherits white */
.pricing-card .btn.coming-soon-btn svg,
.pricing-card .coming-soon-btn svg {
  color: rgba(255, 255, 255, 0.7) !important;
  stroke: rgba(255, 255, 255, 0.7) !important;
}

/* Popular (Standard) card — slightly brighter border to stand out */
.pricing-card.popular .btn.coming-soon-btn {
  border-color: rgba(153, 186, 215, 0.5) !important;
  background: rgba(255, 255, 255, 0.14) !important;
}


/* ============================================================
   18. QUOTE CAROUSEL — fix overflow clip + redesign card
   ============================================================ */

/* Root cause: .carousel { overflow: hidden } clips the absolutely-positioned
   quote-mark at top:-40px and can hide card shadow. Fix: use overflow: visible
   on this specific carousel, and contain the quote-mark INSIDE the card. */

.quote-carousel {
  overflow: visible !important;
  max-width: 800px;
  margin: 0 auto 16px !important;
}

/* Slide is absolute by default — active slide gets position:relative.
   This creates a height collapse on inactive slides. The wrapper needs
   a min-height to prevent layout jump. */
.quote-carousel .carousel-slide {
  border-radius: var(--radius-lg);
}

.quote-carousel .carousel-slide.is-active {
  position: relative;
}

/* Redesign the card so quote-mark flows INSIDE the padding — no negative top */
.quote-card {
  background: var(--white) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  padding: 40px 48px 40px !important;
  box-shadow: var(--shadow-sm) !important;
  position: relative;
  overflow: visible !important;
}

/* Move quote-mark inside the card flow — no longer absolutely positioned */
.quote-card .quote-mark {
  position: absolute !important;
  top: -18px !important;
  left: 40px !important;
  font-size: 72px !important;
  line-height: 1 !important;
  color: var(--primary) !important;
  opacity: 0.18 !important;
  pointer-events: none;
  font-family: var(--font-display);
  user-select: none;
}

.quote-card .quote-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: var(--fs-heading-sm) !important;
  line-height: 1.65 !important;
  color: var(--charcoal) !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.01em;
}

.quote-card .quote-author {
  position: relative;
  z-index: 1;
  font-family: var(--font-body) !important;
  font-size: var(--fs-body-sm) !important;
  color: var(--muted) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.quote-card .quote-author::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--muted);
  flex-shrink: 0;
}

/* Carousel dots — moved outside card, clearly visible */
.quote-carousel .carousel-dots {
  margin-top: 28px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

.quote-carousel .carousel-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 99px !important;
  background: rgba(37, 75, 90, 0.18) !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: background 200ms ease, width 200ms ease !important;
}

.quote-carousel .carousel-dot.is-active {
  width: 28px !important;
  background: var(--primary) !important;
}

/* Section header spacing */
.case-studies-header {
  margin-bottom: 40px !important;
}

.case-studies-header h2 {
  margin-bottom: 0 !important;
}

/* Read all link */
.case-studies-footer {
  text-align: center;
  margin-top: 32px;
}

.case-studies-link {
  font-weight: 600 !important;
  font-size: var(--fs-body-sm) !important;
  color: var(--primary) !important;
}

@media (max-width: 767px) {
  .quote-card {
    padding: 32px 28px 32px !important;
  }
  .quote-card .quote-text {
    font-size: var(--fs-body-lg) !important;
  }
  .quote-carousel {
    max-width: 100% !important;
  }
}
