/* ===== CSS VARIABLES ===== */

/* Fallback for JavaScript loading - show content after 2 seconds if JS fails */
body.js-loading {
  opacity: 0;
  visibility: hidden;
  animation: showContentFallback 0.1s ease-in-out 2s forwards;
}

/* Ensure navigation and hero are always visible, even during page load */
body.js-loading .main-nav,
body.js-loading nav.main-nav,
body.js-loading .hero {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove all transitions and animations from navigation children for instant appearance */
/* Except for interactive elements that need smooth hover effects */
.main-nav *:not(.nav-cta-button):not(.nav-cta-button *),
nav.main-nav *:not(.nav-cta-button):not(.nav-cta-button *) {
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
  transition: none !important;
}

/* Navigation transitions for background changes */
@media (min-width: 769px) {

  .main-nav,
  nav.main-nav {
    animation: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    transition: background-color 0.3s ease,
      backdrop-filter 0.3s ease,
      box-shadow 0.3s ease !important;
  }
}

/* Mobile: No transitions */
@media (max-width: 768px) {

  .main-nav,
  nav.main-nav {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes showContentFallback {
  to {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

:root {
  --fire: #EA9259;
  --fire-glow: #FF6B35;
  --fire-bright: #FFD700;
  --fire-dark: #8B0000;
  --fire-orange: #EA9259;
  --bg: #000000;
  --fg: #fff;
  --text-bright: rgba(255, 255, 255, 1);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --glow-color: #EA9259;
  --color-primary: #EA9259;
  --color-background: #0a0a0a;
  --color-background-alt: #181818;
  --color-text: #f5f5f5;
  --color-accent: #ffffff;
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container-max: 800px;

  /* Spacing Scale (consolidated)
     Use these instead of hardcoded rem/px values for consistency.
     Scale: 12px → 16px → 24px → 32px → 48px → 64px → 128px (4xl)
  */
  --space-xs: 0.75rem;
  /* 12px - small: card padding, tight margins */
  --space-sm: 1rem;
  /* 16px - base: standard gaps */
  --space-md: 1.5rem;
  /* 24px - medium: common spacing */
  --space-lg: 2rem;
  /* 32px - large: section internals */
  --space-xl: 3rem;
  /* 48px - xlarge: between components */
  --space-2xl: 4rem;
  /* 64px - section gaps */
  --space-3xl: 6rem;
  /* 96px - large section gaps */
  --space-4xl: 8rem;
  /* 128px - extra-large: hero, major breaks */
  --space-5xl: 12rem;
  /* 192px - large section gaps */
  --section-padding: var(--space-3xl);
  /* alias for section vertical padding */
  --footer-spacing: var(--space-4xl);
  /* alias for spacing before footer - 8rem (128px) */

  /* Grid Gaps - use spacing scale directly when possible */
  --grid-gap-xs: var(--space-sm);
  /* 1rem / 16px */
  --grid-gap-sm: var(--space-md);
  /* 1.5rem / 24px */
  --grid-gap-md: var(--space-lg);
  /* 2rem / 32px */
  --grid-gap-lg: var(--space-xl);
  /* 3rem / 48px */
  --grid-gap-xl: var(--space-2xl);
  /* 4rem / 64px */
  --grid-gap-2xl: var(--space-2xl);
  /* 4rem / 64px */
  --icon-sm: 16px;
  --icon-md: 24px;
  --icon-lg: 40px;

  /* Font Size Scale (consolidated: xs→sm, md→base, xl→lg, 3xl–7xl→2xl) */
  --font-size-sm: 0.9rem;
  --font-size-base: 1.0625rem;
  --font-size-subheading: 1.25rem;
  --font-size-md: 2rem;
  --font-size-lg: 3rem;
  --font-size-2xl: 4rem;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;

  /* Letter Spacing */
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.02em;
  --letter-spacing-widest: 0.1em;
}


/* ===== HORIZONTAL SCROLL PREVENTION ===== */

/* Prevent horizontal scrolling on all devices, allow vertical scrolling */
html {
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto !important;
  padding-bottom: 0;
  margin-bottom: 0;
  height: auto;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto !important;
  position: relative;
  height: auto;
}

/* Ensure all major containers respect viewport width */
.container,
.hero-container,
.section-content,
.mobile-nav-content,
.nav-container,
.cta-container,
.context-section,
.hero-content,
.page-content,
main,
section,
article,
header {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Footer containers need overflow: visible to prevent clipping hover animations */
.footer-container,
.footer-content,
.footer-bottom,
footer {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* Allow cards to animate without being clipped */
.navigation-cards-section,
.navigation-cards-grid,
.use-cases-grid,
.who-helps-cards,
.features-section {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* Allow footer social icons to animate without being clipped */
.footer-brand,
.footer-social,
.footer-section,
.footer-links {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* Ensure footer social container has enough padding for hover animations */
.footer-social {
  padding: 0;
  margin: 0;
}

/* Allow vision page navigation tags to animate without being clipped */
.vision-nav-tags,
.vision-tags-container {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* Allow all card grids and containers to animate without being clipped */
.benefits-grid,
.explore-grid,
.link-cards,
.philosophy-items,
.core-features-grid,
.faq-section,
.faq-container,
.faq-tags-container,
.faq-category-tags,
.cta-section,
.cta-center,
.references-grid,
.insights-container,
.principle-grid,
.human-center,
.human-centered-design {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

/* Allow navigation elements to display dropdowns without clipping */
.main-nav,
.main-nav .nav-links,
.main-nav .nav-item,
.main-nav .nav-container {
  overflow: visible;
}

/* Additional mobile-specific prevention */
@media (max-width: 768px) {
  * {
    max-width: 100vw;
  }

  /* Allow specific elements to exceed if needed */
  img,
  video,
  svg {
    max-width: 100%;
    height: auto;
  }

  /* Ensure text doesn't overflow */
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  span,
  a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ===== SAFARI & iOS OPTIMIZATIONS ===== */

/* Safari-specific performance optimizations */
@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {

  .main-nav,
  .mobile-nav {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* iOS Safe Area Support - for notch and home indicator */
@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .main-nav {
    padding-top: calc(0.75rem + env(safe-area-inset-top));
  }

  .mobile-nav {
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

/* iOS Safari Viewport Fix - Fix 100vh issues */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Enhanced momentum scrolling for iOS */
body,
html {
  -webkit-overflow-scrolling: touch;
}

/* Prevent iOS Safari from zooming on input focus */
input,
textarea,
select {
  font-size: 16px !important;
}

/* Fix iOS Safari tap highlight */
* {
  -webkit-tap-highlight-color: rgba(234, 146, 89, 0.1);
  -webkit-touch-callout: none;
}

/* Allow text selection on interactive elements */
a,
button,
.cta-button,
.nav-cta-button {
  -webkit-touch-callout: default;
  -webkit-user-select: none;
  user-select: none;
}

/* But allow selection on text content */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
li {
  -webkit-user-select: text;
  user-select: text;
}

/* Optimize Safari font rendering - consolidated into main body rule */

/* Fix Safari button appearance */
button,
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Optimize Safari scrolling performance */
.hero,
.hero-container,
.hero-stars,
.page-content,
section {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

/* Fix iOS Safari rubber band scrolling - consolidated into main body rule */

/* Optimize Safari animations with GPU acceleration */
.cta-button,
.nav-cta-button,
.body-button,
.navigation-card,
.feature-card,
.mobile-nav,
.mobile-menu-toggle {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* Fix Safari flexbox bugs */
.nav-container,
.hero-container,
.cta-container,
.footer-content {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
}

/* Fix Safari position:fixed on mobile */
@media (max-width: 768px) {
  .main-nav {
    position: fixed !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* Optimize Safari image rendering */
img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.logo-icon,
.footer-icon,
.apple-icon {
  image-rendering: auto;
}

/* Fix Safari z-index stacking context */
@media (min-width: 769px) {
  .main-nav {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
  }
}

/* Prevent Safari from adding extra spacing */
button,
input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* Re-add border radius for styled elements */
.cta-button,
.nav-cta-button,
.body-button,
.mobile-menu-toggle {
  border-radius: 14px;
}

/* Fix Safari backdrop filter performance - consolidated into main .main-nav.scrolled rule */

/* Optimize Safari touch responsiveness - reduce delay */
a,
button,
.cta-button,
.nav-cta-button,
.navigation-card,
.mobile-menu-toggle {
  -webkit-tap-highlight-color: rgba(234, 146, 89, 0.1);
  cursor: pointer;
}

/* Fix Safari gradient rendering */
.cta-button,
.nav-cta-button {
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

/* Prevent iOS Safari from adjusting font size in landscape */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Fix Safari SVG rendering */
svg {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Optimize Safari scroll performance */
.footer-links,
.mobile-nav-links {
  -webkit-overflow-scrolling: touch;
}

/* Fix Safari hover states on iOS (prevent sticky hover) */
@media (hover: none) {

  .cta-button:hover,
  .nav-cta-button:hover,
  .body-button:hover,
  .navigation-card:hover,
  .nav-link:hover {
    transform: none;
    box-shadow: none;
  }

  /* Enable active states instead */
  .cta-button:active,
  .nav-cta-button:active,
  .body-button:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }
}

/* Fix iOS Safari white flash on page load - consolidated into main body rule */

/* Optimize Safari will-change property */
.hero-stars,
.star,
.space-cloud {
  will-change: opacity;
}

/* .mobile-nav will-change property consolidated into main .mobile-nav rule */

/* Fix Safari text rendering in dark mode */
@media (prefers-color-scheme: dark) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Fix Safari fullscreen issues */
@media (display-mode: fullscreen) {
  body {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
}

/* Optimize Safari blur effects */
@supports (-webkit-backdrop-filter: blur(10px)) {

  .mobile-nav,
  .main-nav.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* Fix Safari transition flicker */
* {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Prevent Safari from adding margins to media elements */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
}

/* Fix Safari outline rendering */
*:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 2px;
  -webkit-outline-offset: 2px;
}

/* Enhanced focus indicators with subtle animation for better visibility */
@media (prefers-reduced-motion: no-preference) {
  *:focus-visible {
    animation: focusPulse 0.3s ease;
  }
}

@keyframes focusPulse {

  0%,
  100% {
    outline-width: 2px;
  }

  50% {
    outline-width: 3px;
  }
}

/* Optimize Safari for 120Hz ProMotion displays */
@media (prefers-reduced-motion: no-preference) {
  * {
    -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* ===== PREFERS-REDUCED-DATA OPTIMIZATION ===== */
/* Reduce data usage for users on slow connections or limited data plans */
@media (prefers-reduced-data: reduce) {

  /* Hide decorative elements that consume bandwidth */
  .hero-stars,
  .star,
  .space-cloud {
    display: none !important;
  }

  /* Optimize image rendering for lower data usage */
  img {
    image-rendering: optimizeSpeed;
    -webkit-image-rendering: optimizeSpeed;
  }

  /* Reduce backdrop blur effects */
  .main-nav.scrolled {
    -webkit-backdrop-filter: blur(5px) saturate(120%);
    backdrop-filter: blur(5px) saturate(120%);
  }

  /* Disable non-critical animations */
  .hero-stars,
  .space-cloud,
  .navigation-card,
  .feature-card {
    animation: none !important;
    transition: none !important;
  }

  /* Stars are static - no animations */

  /* Reduce gradient complexity */
  .cta-button,
  .nav-cta-button {
    background: var(--fire) !important;
    background-image: none !important;
  }
}

/* ===== PREFERS-CONTRAST ACCESSIBILITY ===== */
/* Enhance contrast for users who need higher contrast */
@media (prefers-contrast: more) {

  /* Enhance button borders and visibility */
  .cta-button,
  .nav-cta-button,
  .body-button,
  .mobile-cta-button {
    border: 2px solid var(--fire) !important;
    box-shadow: 0 0 0 2px rgba(234, 146, 89, 0.3) !important;
    outline: 2px solid var(--fire) !important;
    outline-offset: 2px !important;
  }

  /* Make links more visible */
  a:not(.cta-button):not(.nav-cta-button):not(.body-button) {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
  }

  /* Enhance focus indicators */
  *:focus-visible {
    outline-width: 3px !important;
    outline-offset: 3px !important;
    outline-color: var(--fire) !important;
    box-shadow: 0 0 0 3px rgba(234, 146, 89, 0.3) !important;
  }

  /* Improve text contrast */
  .text-secondary {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* Enhance card borders */
  .navigation-card,
  .feature-card,
  .use-case-card,
  .who-helps-card {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  }

  /* Make navigation more visible */
  .main-nav.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  }

  /* Enhance mobile menu visibility */
  .mobile-nav {
    border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
  }

  /* Improve form input visibility */
  input,
  textarea,
  select {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
  }

  input:focus,
  textarea:focus,
  select:focus {
    border-color: var(--fire) !important;
    outline: 2px solid var(--fire) !important;
    outline-offset: 2px !important;
  }
}

/* iOS Safari Standalone Mode Optimizations */
.ios-standalone {
  padding-top: env(safe-area-inset-top);
}

.ios-standalone .main-nav {
  top: env(safe-area-inset-top);
}

/* Safari-specific scroll optimization */
@supports (-webkit-overflow-scrolling: touch) {
  html {
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
  }

  body {
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Optimize Safari border-radius rendering */
.cta-button,
.nav-cta-button,
.body-button,
.navigation-card,
.feature-card,
.mobile-menu-toggle {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* Fix Safari flexbox min-height bug */
.hero,
.hero-container {
  min-height: 0;
}

/* Safari-specific gradient optimization */
@supports (-webkit-linear-gradient(top, transparent, transparent)) {

  .cta-button,
  .nav-cta-button {
    background-image: -webkit-linear-gradient(135deg, var(--fire) 0%, var(--fire-glow) 100%);
  }
}

/* Optimize Safari CSS containment for performance */
.navigation-card,
.feature-card,
.use-case-card,
.who-helps-card {
  contain: layout style paint;
}

/* Fix Safari opacity rendering bug */
.hero-stars,
.star,
.space-cloud {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Safari-specific will-change optimization (limit to active animations) */
.is-safari .hero-stars.loaded,
.is-safari .mobile-nav.open {
  will-change: opacity, transform;
}

/* Remove will-change after animation completes */
.is-safari .hero-stars:not(.loaded),
.is-safari .mobile-nav:not(.open) {
  will-change: auto;
}

/* iOS Safari status bar spacing */
.is-ios-safari {
  padding-top: constant(safe-area-inset-top);
  /* iOS 11.0 */
  padding-top: env(safe-area-inset-top);
  /* iOS 11.2+ */
}

/* Fix Safari text selection in buttons */
.is-safari button,
.is-safari .cta-button,
.is-safari .nav-cta-button {
  -webkit-user-select: none;
  user-select: none;
}

/* Safari smooth font weight transitions */
.is-safari h1,
.is-safari h2,
.is-safari h3,
.is-safari .nav-link {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: var(--font-weight-semibold);
}

/* Fix Safari backdrop-filter on scroll */
.is-safari .main-nav.scrolled {
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

/* Optimize Safari button active states */
.is-safari button:active,
.is-safari .cta-button:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}

/* Fix Safari line-height rendering */
.is-safari p,
.is-safari li {
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
}

/* Mobile Safari Hero Section Optimizations */
@media (max-width: 768px) {

  /* Reduce star animations on mobile for better performance */
  .is-ios-safari .hero-stars,
  .is-safari .hero-stars {
    will-change: auto;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  /* Optimize hero section rendering on mobile Safari */
  .is-ios-safari .hero,
  .is-safari .hero {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    contain: layout style;
  }

  /* Reduce backdrop blur on mobile for better performance */
  .is-ios-safari .main-nav,
  .is-safari .main-nav {
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
  }

  /* Optimize mobile Safari scrolling */
  .is-ios-safari body,
  .is-safari body {
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce star opacity on mobile for better performance */
  .is-ios-safari .star,
  .is-safari .star {
    opacity: 0.6;
    will-change: auto;
  }

  /* Simplify cloud effects on mobile */
  .is-ios-safari .space-cloud,
  .is-safari .space-cloud {
    opacity: 0.4;
    will-change: auto;
  }

  /* Optimize hero text rendering on mobile Safari */
  .is-ios-safari .hero-title,
  .is-ios-safari .section-subheading,
  .is-safari .hero-title,
  .is-safari .section-subheading {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
  }

  /* Reduce motion on mobile Safari for better battery life */
  .is-ios-safari .cta-button,
  .is-ios-safari .nav-cta-button {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}


/* Extra optimizations for very small mobile devices */
@media (max-width: 480px) {

  /* Further reduce effects on small mobile screens */
  .is-ios-safari .hero-stars,
  .is-safari .hero-stars {
    opacity: 0.8;
  }

  /* Disable clouds on very small screens for performance */
  .is-ios-safari .space-cloud,
  .is-safari .space-cloud {
    display: none;
  }

  /* Optimize typography rendering */
  .is-ios-safari .hero,
  .is-safari .hero {
    text-rendering: optimizeSpeed;
  }
}

/* Landscape mode optimizations for iOS Safari */
@media (max-width: 768px) and (orientation: landscape) {
  .is-ios-safari .hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  /* Reduce hero padding in landscape */
  .is-ios-safari .hero-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Mobile hero scroll fixes */
@media (max-width: 768px) {
  .hero {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
    padding-top: 100px;
  }

  .hero-container {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  .hero-content {
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }
}

/* Reduce animations when battery is low (Safari only) */
@media (prefers-reduced-motion: reduce) {

  .is-safari .hero-stars,
  .is-safari .space-cloud {
    animation: none !important;
    transition: none !important;
  }

  /* Stars are static - no animations */
  .is-safari * {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
}

/* ===== PREFERS-REDUCED-DATA + REDUCED-MOTION COMBINATION ===== */
/* When both preferences are enabled, maximize data savings */
@media (prefers-reduced-data: reduce) and (prefers-reduced-motion: reduce) {

  /* Disable all decorative elements */
  .hero-stars,
  .star,
  .space-cloud {
    display: none !important;
  }

  /* Simplify all visual effects */
  .main-nav.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Remove all gradients */
  .cta-button,
  .nav-cta-button {
    background: var(--fire) !important;
    background-image: none !important;
  }

  /* Disable all transitions */
  * {
    transition: none !important;
    animation: none !important;
  }
}


/* ===== ANIMATIONS STYLES ===== */

/* Smooth Animation System for Interactive Elements */

/* Base transition for all interactive elements */
/* Universal smooth transitions for interactive elements */
.cta-button,
.nav-cta-button,
.body-button,
.body-button-transparent,
.secondary-button,
.focus-button,
.mobile-cta-button,
.focus-banner-cta-button,
.get-started-button,
.manifesto-button,
.navigation-card,
.feature-card,
.benefit-card,
.link-card,
.use-case-card,
.who-helps-card,
.faq-question,
.faq-link,
.vision-nav-tag,
.page-nav-link,
.feature,
.nav-link,
.mobile-nav-link,
.social-link,
.footer-heading-link,
.footer-list li a,
.contact-link,
.mobile-menu-toggle,
.mobile-nav-close,
.mobile-nav-cta-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, box-shadow, background-color;
}

/* Button hover animations - see component sections for full hover states */

/* Smooth hover animations for cards */
.navigation-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover,
.use-case-card:hover,
.who-helps-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(234, 146, 89, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Smooth hover animations for navigation */
.nav-link:hover {
  transform: translateY(-1px);
  color: var(--fire);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.3);
}

.mobile-nav-link:hover {
  transform: none !important;
  color: #fff !important;
}

/* Smooth hover animations for FAQ */
.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Smooth hover animations for social links */
.social-link:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 15px rgba(234, 146, 89, 0.2);
}

/* Smooth hover animations for footer links */
.footer-heading-link:hover,
.footer-list li a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Smooth hover animations for contact links */
.contact-link:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.3);
  text-decoration: none;
}

/* Smooth hover animations for mobile menu elements */
.mobile-menu-toggle:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-close:hover {
  transform: none !important;
  background: inherit;
}

.mobile-nav-cta-button:hover {
  transform: none !important;
  box-shadow: inherit !important;
  background: inherit;
}

/* Icon animations within buttons */
.body-button:hover .arrow-icon,
.body-button:hover .apple-icon {
  transform: scale(1.1);
}

/* Apple icon hover transform - see ENHANCED HOVER TRANSITIONS section */

/* Smooth focus states */
.cta-button:focus-visible,
.nav-cta-button:focus-visible,
.body-button:focus-visible,
.mobile-nav-cta-button:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 0 3px rgba(234, 146, 89, 0.3), 0 8px 25px rgba(234, 146, 89, 0.2);
}

.navigation-card:focus-visible,
.feature-card:focus-visible,
.use-case-card:focus-visible,
.who-helps-card:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 0 0 3px rgba(234, 146, 89, 0.3), 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced click/tap animations for better feedback */
.cta-button:active,
.nav-cta-button:active,
.body-button:active,
.mobile-nav-cta-button:active,
.mobile-menu-toggle:active,
.mobile-nav-close:active {
  transform: translateY(0) scale(0.95);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navigation-card:active,
.feature-card:active,
.use-case-card:active,
.who-helps-card:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-link:active,
.mobile-nav-link:active,
.social-link:active,
.footer-heading-link:active,
.footer-list li a:active,
.contact-link:active,
.faq-question:active {
  transform: translateY(0) scale(0.95);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple effect for buttons */
.cta-button,
.nav-cta-button,
.body-button,
.mobile-nav-cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button::after,
.nav-cta-button::after,
.body-button::after,
.mobile-nav-cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  pointer-events: none;
}

.cta-button.clicked::after,
.nav-cta-button.clicked::after,
.body-button.clicked::after,
.mobile-nav-cta-button.clicked::after {
  width: 200px;
  height: 200px;
}

/* Removed pulse and loading animations for cleaner UX */

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Smooth mobile menu animations - removed conflicting transform */

.mobile-nav.open .mobile-nav-links {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Smooth page transition animations */
.page-transition-overlay.active {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth starfield animations */
.hero-stars.loaded {
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stars .star,
.hero-stars .space-cloud {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth FAQ answer animations */
.faq-answer.active {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.faq-answer:not(.active) {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Additional animation classes for JavaScript interactions */
.clicking {
  transform: scale(0.98) !important;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.touching {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(0.99) !important;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Smooth page transitions */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

/* Scroll behavior */
html {
  scroll-behavior: auto;
}

/* Enhanced focus indicators */
.cta-button:focus-visible,
.nav-cta-button:focus-visible,
.body-button:focus-visible,
.mobile-nav-cta-button:focus-visible,
.navigation-card:focus-visible,
.feature-card:focus-visible,
.use-case-card:focus-visible,
.who-helps-card:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.social-link:focus-visible,
.footer-heading-link:focus-visible,
.footer-list li a:focus-visible,
.contact-link:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 2px;
}

/* ===== RESET STYLES ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure all elements load immediately without animation delays */
*,
*::before,
*::after {
  animation-delay: 0s !important;
  animation-duration: 0s !important;
}

/* Override any fade-in or slide-up animations */
.fade-in,
.fadeIn,
.fade-in-up,
.fadeInUp {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Headings and paragraphs load immediately - no animation delays */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.section-anchor,
.hero-title,
h2.section-title,
h2.fade-in-up,
p,
.section-content p,
.section-subheading,
.hero-subtitle,
.context-section .section-content p,
.context-section .focus-polaris-positioning-text p {
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
  transition-delay: 0s !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Ensure dropdowns are always left-aligned regardless of page text-align */
.dropdown,
.dropdown *,
.nav-item,
.nav-links,
.main-nav {
  overflow: visible !important;
}

.main-nav {
  text-align: left !important;
}

.main-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 11000 !important;
  background: hsla(0, 0%, 4%, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  margin: 0;
  opacity: 1;
  visibility: visible;
  /* Transform transition handled by earlier rule */
}

/* Force contact page email links to turn white without underline */
body.contact-page .contact-link:hover,
body.contact-page .contact-link:focus {
  color: rgba(255, 255, 255, 1);
  background-size: 0 1px;
  text-decoration: none;
  transform: none;
}

/* Force footer menu items to turn white on hover */
.footer-heading-link:hover,
.footer-list li a:hover,
.footer-list.footer-content a:hover {
  color: rgba(255, 255, 255, 1);
  transition: color 0.3s ease;
}

/* AGGRESSIVE OVERRIDE - Force logo hover effects */
.nav-logo:hover {
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-logo:hover {
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* AGGRESSIVE OVERRIDE - Force footer headings to turn white on hover */
.footer-heading:hover,
.footer-heading-link:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* AGGRESSIVE OVERRIDE - Force social link hover effects */
.social-link:hover {
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(234, 146, 89, 0.25) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.social-link:hover svg path,
.social-link:hover svg g path,
.social-link:hover svg rect {
  fill: rgba(255, 255, 255, 1) !important;
  transition: fill 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}


/* Force social icon color change on hover - opaque white */
.social-link:hover svg path,
.social-link:hover svg g path,
.social-link:hover svg rect {
  fill: rgba(255, 255, 255, 1) !important;
  transition: fill 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Footer hover effects now have smooth animations */

/* Force FAQ elements to stay in place on hover */
.faq-question:hover,
.faq-link:hover {
  transform: none !important;
}

/* Force dropdown items to not shift right */
.dropdown a:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transition: background-color 0.3s ease !important;
}

/* ===== HOVER EFFECTS ===== */
/* Force hover section removed - hover states are now properly defined in component sections without !important conflicts */

/* ===== ENHANCED HOVER TRANSITIONS ===== */

/* Enhanced transitions for all interactive elements */
*,
*::before,
*::after {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Button transitions and hover animations - see component sections for full hover states */

/* Smooth hover animations for cards with enhanced effects */
.navigation-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow, background-color;
}

.navigation-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(234, 146, 89, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.navigation-card:hover .navigation-card-icon {
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation-card:hover .navigation-card-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 16px rgba(234, 146, 89, 0.6)) drop-shadow(0 0 24px rgba(255, 107, 53, 0.4));
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card,
.use-case-card,
.who-helps-card {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow, background-color;
}

.feature-card:hover,
.use-case-card:hover,
.who-helps-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* Smooth hover animations for navigation */
.nav-link {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, color, text-shadow;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: var(--fire);
  text-shadow: 0 0 12px rgba(234, 146, 89, 0.4);
}

.mobile-nav-link {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, color;
}

.mobile-nav-link:hover {
  color: inherit;
  transform: none !important;
}

/* Smooth hover animations for FAQ */
.faq-question {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, background-color, box-shadow;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth hover animations for social links */
.social-link {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(234, 146, 89, 0.25);
}

/* Social icon color change on hover - opaque white */
.social-link:hover svg path,
.social-link:hover svg g path {
  fill: rgba(255, 255, 255, 1) !important;
  transition: fill 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Smooth hover animations for footer links */
.footer-heading-link,
.footer-list li a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, color;
}

.footer-heading-link:hover,
.footer-list li a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Smooth hover animations for contact links */
.contact-link {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, color, text-shadow;
}

.contact-link:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 12px rgba(234, 146, 89, 0.4);
  text-decoration: none;
}

/* Smooth hover animations for mobile menu elements */
.mobile-menu-toggle {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, background-color;
}

.mobile-menu-toggle:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.15);
}

.mobile-nav-close {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.mobile-nav-close:hover {
  transform: none !important;
  background: inherit;
}

.mobile-nav-cta-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.mobile-nav-cta-button:hover {
  transform: none !important;
  box-shadow: inherit !important;
  background: inherit;
}

/* Icon animations within buttons */
.body-button:hover .arrow-icon,
.body-button:hover .apple-icon {
  transform: translateX(6px);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-cta-button .apple-icon,
.mobile-nav-cta-button .apple-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform;
}

.nav-cta-button:hover .apple-icon,
.mobile-nav-cta-button:hover .apple-icon {
  transform: scale(1.15);
}

/* Smooth dropdown animations - removed */

/* Enhanced logo hover effect */
.nav-logo {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity;
}

.nav-logo:hover {
  opacity: 0.7;
}

/* Additional button types with enhanced transitions */
.secondary-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.secondary-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.focus-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.focus-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.2);
}

.get-started-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.get-started-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.3);
}

.manifesto-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.manifesto-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.focus-banner-cta-button {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.focus-banner-cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.3);
}

/* Enhanced transitions for form elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: border-color, box-shadow, background-color;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(234, 146, 89, 0.2);
}

/* Enhanced transitions for content links */
.content-section a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: color, text-shadow, transform;
}

.content-section a:hover {
  transform: translateY(-1px);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.3);
}

/* Enhanced transitions for page navigation */
.page-nav-link {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, color, background-color;
}

.page-nav-link:hover {
  transform: translateY(-2px);
  color: var(--fire);
  background: rgba(255, 255, 255, 0.05);
}

/* Enhanced transitions for vision navigation tags */
.vision-nav-tag {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, background-color, box-shadow;
}

.vision-nav-tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

/* Enhanced transitions for FAQ links */
.faq-link {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, color, text-shadow;
}

.faq-link:hover {
  color: var(--fire);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.3);
}

/* Enhanced transitions for explore cards */
.explore-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.explore-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* Enhanced transitions for benefit cards */
.benefit-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.benefit-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* Enhanced transitions for link cards */
.link-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.link-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

/* Enhanced transitions for features */
.feature {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow, background-color;
}

.feature:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 146, 89, 0.1);
  background: rgba(255, 255, 255, 0.05);
}



/* ===== BASE STYLES ===== */

/* Typography Hierarchy (desktop):
   h1: 4rem - Primary page headings
   hero-title: clamp(3.5rem, 6vw, 5.5rem) - Hero headings (larger than h1)
   h2: 2.5rem - Section headings
   h3: 1.5rem - Subsection headings
   CTA subheading: var(--font-size-subheading) - CTA box text
   .section-title: matches h2
*/

h1 {
  font-size: 4rem;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: var(--letter-spacing-normal);
  font-size-adjust: 0.5;
}

h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size-adjust: 0.5;
}

h3 {
  font-size: 1.5rem;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-sm);
  font-size-adjust: 0.5;
}

/* ===== TYPOGRAPHY UTILITIES ===== */

/* Heading Styles */
.text-h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
}

.text-h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.text-h3 {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
}

/* Body Text Styles */
.text-body-lg {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-semibold);
}

.text-body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

.text-body-md {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

.text-body-sm {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

/* Standalone Font Weight Utilities */
.font-normal {
  font-weight: var(--font-weight-normal);
}


.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.font-extrabold {
  font-weight: var(--font-weight-extrabold);
}

/* Standalone Line Height Utilities */

.leading-tight {
  line-height: var(--line-height-tight);
}


.leading-normal {
  line-height: var(--line-height-normal);
}


/* Standalone Letter Spacing Utilities */

.tracking-normal {
  letter-spacing: var(--letter-spacing-normal);
}

.tracking-wide {
  letter-spacing: var(--letter-spacing-wide);
}


.tracking-widest {
  letter-spacing: var(--letter-spacing-widest);
}



/* ===== LAYOUT STYLES ===== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.content-container,
.use-cases-content,
.contact-support-content,
.cta-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Shared typography for context section content and focus positioning text */
.context-section .section-content {
  margin: 0 auto 32px auto;
  max-width: 800px;
  text-align: center;
}

/* Unified paragraph styles for section-content */
.context-section .section-content p {
  margin-bottom: 0;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: var(--line-height-normal) !important;
}

/* Focus polaris positioning text - subheading style but left-aligned */
.context-section .focus-polaris-positioning-text p {
  margin-bottom: 0;
  font-size: 1.4rem !important;
  font-weight: var(--font-weight-medium) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: var(--line-height-normal) !important;
  text-align: left;
}

.context-section .section-content p:last-child {
  margin-bottom: 0;
  margin-bottom: 0;
}

/* Research links in manifesto section */
.context-section .section-content a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(234, 146, 89, 0.4);
  text-underline-offset: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.context-section .section-content a:hover {
  color: #FF8C5A;
  text-decoration-color: #FF8C5A;
  text-shadow: 0 0 8px rgba(255, 140, 90, 0.4);
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
  max-width: 1100px;
  overflow: visible;
  /* iOS scroll performance fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center,
      rgba(0,
        0,
        0,
        0.6) 0%,
      transparent 80%);
  transform: translate(-50%,
      -50%);
  z-index: -1;
  pointer-events: none;
}

.context-section {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg);
  border-top: 0px solid rgba(255, 255, 255, 0.07);
  border-bottom: 0px solid rgba(255, 255, 255, 0.07);
}

.context-section.alt {
  background: var(--bg);
}

.context-section .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}



.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5%;
  min-width: 280px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.hero-section,
.page-header {
  /* Desktop: 2xl spacing for top, md for bottom, lg for sides */
  padding: var(--space-2xl) var(--space-lg) var(--space-md) var(--space-lg) !important;
  padding-top: calc(var(--space-xl) + env(safe-area-inset-top)) !important;
}

@media (max-width: 768px) {
  /* Note: .page-header and .hero-section mobile padding handled in "MOBILE SPACING" below */

  /* Typography hierarchy at 768px (tablet):
     h1: 3rem - Page headings
     hero-title: clamp(3rem, 7vw, 4.5rem) - Hero headings (larger than h1)
     h2: 2rem - Section headings  
     h3: 1.5rem - Subsection headings
     Card titles: 1.25rem - Feature/benefit/link card titles
     CTA subheading: 1.1rem - CTA box text
     h4: 0.95rem - Small headings
  */
  h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
  }

  /* Hero title responsive sizing - larger than regular h1 */
  .hero-title,
  h1.hero-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
  }

  /* Ensure page header h1 is larger than section titles */
  .page-header h1 {
    font-size: 2.75rem !important;
  }

  h2 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
  }

  h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: var(--space-xs);
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  /* Override science page inline styles - match Features page section title size */
  #key-findings .section-title,
  body.science-page .section-title,
  body.research-page .section-title {
    font-size: 2rem !important;
  }

  /* Core ATTEND Principles heading - reduce size on mobile */
  .principles-heading,
  body.research-page .principles-heading {
    font-size: 1.25rem !important;
  }

  /* Card titles - consistent sizing */
  .feature h3,
  .benefit-card h3,
  .link-card h3,
  .how-it-works-card h3,
  .core-feature-item h3,
  .use-case-card h3,
  .who-helps-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
  }

  /* CTA text hierarchy */
  .how-it-works-subheading,
  .context-section .hero-banner-title,
  .cta-subheading {
    font-size: 1.4rem;
    line-height: 1.4;
  }
}

.section-title {
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  line-height: 1.1;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-size: 2.8rem;
  letter-spacing: var(--letter-spacing-normal);
}

.section-description {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.section-intro {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* Global page section subheading */
.section-subheading {
  font-size: 1.4rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto var(--space-lg) auto;
  text-align: center;
  max-width: var(--container-max);
}

/* Left-aligned variant for section subheadings */
.section-subheading-left {
  font-size: 1.4rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--space-lg) 0;
  text-align: left;
  max-width: var(--container-max);
}

/* Homepage hero subheading - narrower width */
body.home .hero-content .section-subheading {
  max-width: 600px;
}

/* Page header subheading - centered with consistent width */
.page-header .section-subheading {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta,
.cta-container {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.features-grid,
.asteroid-container {
  flex: none;
  width: 351px;
  height: 351px;
  order: -1;
  margin-left: 0;
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-sm) 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.section-anchor {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  margin-bottom: var(--space-sm);
  text-align: center;
  display: block;
}

/* Responsive anchor text sizing and spacing */
@media (max-width: 768px) {
  .section-anchor {
    font-size: 0.65rem;
    margin-bottom: var(--space-md);
    /* Increased spacing between label and title on mobile */
  }

  /* Increase gap between anchor and title on mobile */
  .section-anchor+.section-title {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .section-anchor {
    font-size: 0.6rem;
    margin-bottom: 1.25rem;
    /* Slightly reduced on very small screens */
  }

  /* Even smaller text for very small screens */
  .faq-question span,
  .faq-answer p {
    font-size: var(--font-size-sm);
  }

  /* Typography hierarchy at 480px:
     h1: 2.25rem - Page headings
     hero-title: clamp(2.5rem, 8vw, 3rem) - Hero headings (larger than h1)
     h2: 1.75rem - Section headings
     h3: 1.375rem - Subsection headings
     Card titles: 1.125rem - Feature/benefit/link card titles
     CTA subheading: 1rem - CTA box text
     h4: 0.875rem - Small headings
  */
  h1 {
    font-size: 2.25rem;
    margin-bottom: var(--space-md);
  }

  /* Hero title responsive sizing - very small screens */
  .hero-title,
  h1.hero-title {
    font-size: clamp(2.5rem, 8vw, 3rem);
  }

  .page-header h1 {
    font-size: 1.875rem !important;
  }

  /* Science and Vision pages use same size as other pages on mobile */

  body.features-page .page-header h1 {
    font-size: 2.25rem !important;
  }

  h2,
  .section-title {
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
  }

  /* Override science page inline styles - match Features page section title size on small mobile */
  #key-findings .section-title,
  body.science-page .section-title,
  body.research-page .section-title {
    font-size: 1.75rem !important;
  }

  /* Core ATTEND Principles heading - reduce size on small mobile */
  .principles-heading,
  body.research-page .principles-heading {
    font-size: 1.125rem !important;
  }

  h3 {
    font-size: 1.375rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  h4 {
    font-size: 0.875rem;
    line-height: 1.3;
    margin-bottom: var(--space-xs);
  }

  /* Card titles - consistent sizing on small mobile */
  .feature h3,
  .benefit-card h3,
  .link-card h3,
  .how-it-works-card h3,
  .core-feature-item h3,
  .use-case-card h3,
  .who-helps-card h3 {
    font-size: 1.125rem !important;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
  }

  /* CTA text hierarchy on small mobile */
  .how-it-works-subheading,
  .context-section .hero-banner-title,
  .cta-subheading {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* Even smaller category tags */
  .category-tag {
    padding: 0.375rem 0.625rem;
    font-size: 0.7rem;
  }

  /* Support page: reduce padding on mobile */
  body.support-page .category-tag {
    padding: 0.4375rem 0.625rem;
  }

  /* Tighter container spacing on very small screens */
  .faq-tags-container {
    gap: 0.375rem;
    padding: 0;
  }
}

.section-bg-black {
  background: var(--bg);
}

/* 404 Error page - ensure scrolling works */
body.error-page {
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
}

body.error-page > * {
  flex: none !important;
}

.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(250px,
        1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  grid-template-columns: 1fr;
}

.page-header>.container {
  position: relative;
  z-index: 1;
}

body.vision-page .section-content {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
  padding: 0 15px;
}

body.vision-page .section-title {
  max-width: 1000px;
  margin: 0 auto var(--space-lg) auto;
  width: 100%;
  padding: 0 15px;
}

body.vision-page #founders .container {
  position: relative;
  z-index: 1;
}

body.vision-page #founders .section-title {
  margin-bottom: var(--space-lg);
}

body.vision-page .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

/* Research page specific styling - background removed to match other pages */

body.research-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}

/* Research page uses global section-title styling */

body.research-page .section-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  padding: 0 10px;
  padding: 0 15px;
}

/* Research page images and grids use full 1200px width */
body.research-page .principle-grid,
body.research-page .research-image,
body.research-page .references-grid,
body.research-page img {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

body.vision-page .vision-tags-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  overflow: visible;
  padding: 0;
}

body.vision-page .section-anchor {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255,
      0.5);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  margin-bottom: 0.75rem;
  text-align: left;
  display: block;
  max-width: 1000px;
  margin: 0;
  padding: 0 15px;
}

body.vision-page .section-divider {
  max-width: 1000px;
  margin: var(--space-xl) auto 0 auto;
  height: 1px;
  background: rgba(255,
      255,
      255,
      0.1);
  margin: var(--space-lg) auto 0 auto;
  margin: var(--space-md) auto 0 auto;
}

body.vision-page #founders .section-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 15px;
  margin: 0;
  text-align: left;
  max-width: 1000px;
}

body.features-page .container {
  max-width: 1600px;
  margin: 0 auto;
}

/* Keep text content at 800px width on features page */
body.features-page .section-title,
body.features-page .section-description,
body.features-page .section-content,
body.features-page .page-header p,
body.features-page .cta-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.research-page #attentionaldesign .section-anchor,
body.research-page #attentionaldesign-content .section-anchor {
  text-align: center;
  margin-bottom: var(--space-sm);
}

body.research-page #attentionaldesign .section-title,
body.research-page #attentionaldesign-content .section-title {
  max-width: 800px;
  margin: 0 auto;
}

/* Attentional design section uses global section-title styling */

body.research-page #attentionaldesign .section-description {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Increase spacing between components in Attentional Design section */
body.research-page #attentionaldesign .attentional-design-image {
  margin-bottom: var(--space-xl);
}

body.research-page #attentionaldesign .section-title {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

body.research-page #attentionaldesign .principles-section {
  margin-top: var(--space-2xl);
}

/* Founders section uses global section-anchor styling */

body.vision-page .section-image-placeholder {
  width: 100%;
  max-width: 800px;
  height: 200px;
  margin: var(--space-lg) auto;
  background: linear-gradient(135deg,
      color-mix(in srgb,
        var(--fire-orange) 18%,
        transparent) 0%,
      color-mix(in srgb,
        var(--fire) 24%,
        transparent) 100%);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  height: 150px;
  margin: var(--space-md) auto;
  height: 120px;
  margin: var(--space-sm) auto;
}

body.vision-page #manifesto .section-image-placeholder {
  background: radial-gradient(120% 90% at 18% 28%,
      color-mix(in srgb,
        var(--fire-orange) 34%,
        transparent) 0%,
      transparent 62%),
    radial-gradient(110% 80% at 78% 32%,
      color-mix(in srgb,
        var(--fire) 26%,
        transparent) 0%,
      transparent 64%),
    radial-gradient(90% 90% at 50% 82%,
      color-mix(in srgb,
        var(--fire-bright) 18%,
        transparent) 0%,
      transparent 70%);
}

body.vision-page #mission .section-image-placeholder {
  background: radial-gradient(120% 90% at 12% 64%,
      color-mix(in srgb,
        var(--fire) 28%,
        transparent) 0%,
      transparent 60%),
    radial-gradient(110% 80% at 86% 38%,
      color-mix(in srgb,
        var(--fire-orange) 32%,
        transparent) 0%,
      transparent 65%),
    radial-gradient(100% 100% at 58% 18%,
      color-mix(in srgb,
        var(--fire-bright) 16%,
        transparent) 0%,
      transparent 72%);
}

body.vision-page #founders .section-image-placeholder {
  background: radial-gradient(120% 90% at 22% 26%,
      color-mix(in srgb,
        var(--fire-orange) 30%,
        transparent) 0%,
      transparent 60%),
    radial-gradient(110% 80% at 78% 72%,
      color-mix(in srgb,
        var(--fire) 26%,
        transparent) 0%,
      transparent 66%),
    radial-gradient(100% 100% at 36% 86%,
      color-mix(in srgb,
        var(--fire-bright) 18%,
        transparent) 0%,
      transparent 70%);
}

.faq-tags-container {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: 0 var(--space-md);
  justify-content: center;
}

.features-section {
  padding: var(--section-padding) 0;
  scroll-margin-top: var(--space-md);
  margin: 0;
  width: 100%;
  position: relative;
}

/* Ensure last section before footer has proper spacing - consistent 8rem (4xl) on all pages */
.features-section:last-of-type,
.context-section:last-of-type,
section:last-of-type:not(.footer) {
  padding-bottom: var(--footer-spacing) !important;
}

/* Specific anchor targeting for all anchor sections - scroll offset only */
/* Science page anchors */
#key-findings,
#attentionaldesign,
#whitepaper,
#references,
/* Features page anchors */
#how-it-works,
#core-features,
#use-cases,
#made-for-you,
/* Vision page anchors */
#manifesto,
#mission,
#founders,
/* Homepage anchors */
#what {
  scroll-margin-top: 2rem !important;
}

/* Also fix context-section anchors (used on homepage and features page) */
.context-section[id] {
  scroll-margin-top: 2rem !important;
}

/* Section titles in anchor sections - keep consistent spacing */
/* Note: margin-top is handled by .features-section h2 and .section-title rules */

/* Features section titles - consistent with other sections */
.features-section h2 {
  margin-top: var(--space-sm);
  /* consistent with .section-anchor+.section-title */
  margin-bottom: var(--space-sm);
}

/* When section has anchor label, use the anchor+title rule instead */
.features-section .section-anchor+h2 {
  margin-top: var(--space-sm);
  /* Already set by .section-anchor+.section-title */
}


.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: 0;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet: 2x2 grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* Mobile: stacked - wider cards */
@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
    max-width: 100%;
  }
}

.cta-section {
  background: transparent;
  border-top: none;
  border-bottom: none;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.research-section h2 {
  line-height: 1.1;
}

/* Consistent spacing for section titles after anchor labels or as first child */
.section-anchor+.section-title {
  margin-top: var(--space-sm);
  /* consistent spacing after anchor - matches science page */
}

.container>.section-title:first-child {
  margin-top: var(--space-sm);
  /* 2rem - consistent spacing for first title */
}

/* Features page FAQ section title - extra bottom margin for FAQ */
body.features-page .faq-section .section-title {
  margin-bottom: var(--space-md);
}

body.features-page .faq-container,
body.features-page .core-features-grid,
body.features-page .use-cases-grid,
body.features-page .who-helps-cards {
  margin-top: 0;
}

body.support-page .faq-section {
  max-width: 1200px;
}

body.support-page .faq-section .container {
  max-width: 1200px;
}

body.support-page .faq-container {
  margin-top: 0;
  max-width: 1200px;
}

body.support-page .faq-tags-container {
  max-width: 800px;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

/* Reduce padding in support page category tags */
body.support-page .category-tag {
  padding: 0.5rem 0.75rem;
}

body.features-page .faq-section {
  max-width: 1200px;
}

body.features-page .faq-section .container {
  max-width: 1200px;
}

body.features-page .faq-container {
  margin-top: 0;
  max-width: 1200px;
}

/* Features page anchor font size */
body.features-page .content-section a,
body.features-page .content-section a:link,
body.features-page .content-section a:visited {
  font-size: 0.9rem;
}

body.features-page .content-section a:hover,
body.features-page .content-section a:active,
body.features-page .content-section a:focus {
  font-size: 0.9rem;
}

/* Support page uses global section-title styling */

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-content p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.navigation-cards-section {
  padding: 10px 0 30px 0;
  background: transparent;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  overflow-x: hidden;
  overflow-y: visible;
}

.navigation-cards-section .container {
  max-width: 1400px;
  overflow-x: hidden;
  overflow-y: visible;
}

body.vision-page .navigation-cards-section {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

body.vision-page .navigation-cards-section .container {
  max-width: 1400px;
}

body.vision-page .navigation-cards-section.features-section {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.navigation-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-sm);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 2% 30px 2%;
  overflow-x: hidden;
  overflow-y: visible;
}

.faq-section {
  background: transparent;
  margin: var(--space-lg) auto;
  max-width: 1000px;
  width: 100%;
  display: block;
}

/* Features page: more space above FAQ section */
body.features-page .faq-section {
  margin-top: var(--space-lg);
}

/* Mobile adjustments for FAQ sections */
@media (max-width: 768px) {
  .faq-section {
    margin: var(--space-sm) 0;
    padding: 0;
    background: transparent;
  }

  .faq-section .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .faq-container {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
  }

  /* Reduce padding and font size for category tags on mobile */
  .category-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  /* Support page: reduce padding on very small mobile */
  body.support-page .category-tag {
    padding: 0.3125rem 0.5rem;
  }

  /* Reduce container spacing for more pills per row and prevent cut-off */
  .faq-tags-container {
    gap: 0.375rem;
    padding: 0;
    margin: 0;
  }

  /* Ensure pills container doesn't overflow */
  .faq-category-tags {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
  }

  /* Make FAQ text smaller on mobile */
  .faq-question span,
  .faq-answer p {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
  }

  .faq-question {
    padding: var(--space-md) var(--space-sm) var(--space-md) var(--space-md);
  }

  .faq-question[aria-expanded="true"]+.faq-answer {
    padding: var(--space-xs) var(--space-sm) var(--space-md) var(--space-md);
  }

  .faq-answer p {
    max-width: 100%;
    margin-bottom: var(--space-md);
  }

  /* Mobile footer spacing */
  .footer {
    margin-top: var(--space-2xl);
    /* Minimum 2xl spacing on mobile (reduces from 3xl for space efficiency) */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Mobile: last sections before footer - reduced but still generous */
  .features-section:last-of-type,
  .context-section:last-of-type,
  section:last-of-type:not(.footer) {
    padding-bottom: var(--space-2xl) !important;
  }

  /* Mobile: research page references section */
  body.research-page #references.features-section {
    padding: var(--space-xl) 0 var(--space-2xl) 0 !important;
  }
  
  body.research-page #references {
    padding-bottom: var(--space-2xl) !important;
  }

  /* Mobile footer spacing - handled by last section padding */
  .footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: var(--space-md) !important;
  }

  /* Research/science page footer: no space under footer */
  body.research-page .footer,
  body.science-page .footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Move footer 2xl lower on research-page (science-1) - mobile */
  body.research-page .footer {
    margin-top: var(--space-2xl) !important;
  }
}

.faq-container {
  box-shadow: 0 4px 20px rgba(0,
      0,
      0,
      0.3);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  border: 1px solid rgba(255,
      255,
      255,
      0.1);
  border-radius: 16px;
  background: rgba(255,
      255,
      255,
      0.02);
  overflow: hidden;
  display: block;
}

.contact-support-section {
  background: rgba(255,
      255,
      255,
      0.01);
  background: #000000;
}

.content-section {
  margin-bottom: var(--space-md);
}

.content-section h2 {
  margin-bottom: var(--space-sm);
}

.content-section h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.95);
}

.content-section p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.content-section ul {
  margin: var(--space-xs) 0 var(--space-xs) var(--space-md);
}

.content-section li {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xs);
}

.content-section a,
.content-section a:link,
.content-section a:visited {
  color: #FFF;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
}

.content-section a:hover,
.content-section a:active,
.content-section a:focus {
  color: rgba(255,
      255,
      255,
      0.8) !important;
  text-decoration: none !important;
}

.content-section .content-section a[href*="data-request"] {
  color: #FFF !important;
  text-decoration: none !important;
  font-weight: var(--font-weight-semibold);
  border-bottom: 1px solid rgba(255,
      255,
      255,
      0.3);
  padding-bottom: 1px;
}

.content-section .content-section a[href*="data-request"]:hover {
  border-bottom-color: rgba(255,
      255,
      255,
      0.8);
}

/* Sitemap page uses global section-title styling */

.data-rights-content,
.data-provide-content,
.next-steps-content,
.data-rights-content h3,
.data-provide-content h3,
.next-steps-content h3,
.data-rights-content p,
.data-provide-content p,
.next-steps-content p,
.data-rights-content ul,
.data-provide-content ul,
.next-steps-content ul,
.data-rights-content li,
.data-provide-content li,
.next-steps-content li,
.section-description {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faq-section .section-description {
  margin-bottom: var(--space-sm);
}

body.features-page .features-section {
  margin: 0;
  scroll-margin-top: var(--space-md);
  width: 100%;
  position: relative;
  background: transparent;
}

/* First section after page-header on features page - match contact page spacing */
@media (min-width: 769px) {
  body.features-page .page-header+.context-section,
  body.features-page .page-header+section {
    padding-top: var(--space-md) !important;
  }
}

/* Reduce top padding for How It Works section on features page */
body.features-page #how-it-works.context-section {
  padding-top: var(--space-xl) !important;
}

/* First section after page-header on science page - match contact page spacing */
@media (min-width: 769px) {
  body.science-page .page-header+.features-section,
  body.science-page .page-header+section {
    padding-top: var(--space-md) !important;
    margin-top: 0 !important;
  }
}
body.science-page #key-findings.features-section,
body.science-page #key-findings {
  padding-bottom: var(--section-padding) !important;
  /* Keep bottom padding at 6rem */
}

/* Ensure the padding override works by targeting the section directly */
body.science-page .features-section#key-findings {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Key Findings section - remove ALL top margins from children */
#key-findings .section-anchor {
  margin-top: 0 !important;
}

#key-findings .section-title,
#key-findings .section-anchor+.section-title,
#key-findings h2 {
  margin-top: 0 !important;
}

#key-findings .insights-container {
  margin-top: 0 !important;
}

/* Increase spacing between components in Key Findings section */
#key-findings .section-title {
  margin-bottom: var(--space-xl);
}

#key-findings .principles-grid-table {
  margin-top: var(--space-lg);
}

.features-grid .feature {
  padding: var(--space-md) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  gap: var(--space-sm);
  padding: 12px 0;
  gap: var(--space-xs);
}

.core-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
  border-radius: 24px;
  padding: var(--space-lg);
  background: rgba(255,
      255,
      255,
      0.02);
}

body.features-page .core-features-grid {
  grid-template-columns: 1fr;
  padding: var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
  justify-items: center;
}

.use-cases-grid .use-case {
  padding: 12px 0;
  gap: var(--space-xs);
}

body.research-page .features-section {
  margin: 0;
  scroll-margin-top: var(--space-md);
  width: 100%;
  position: relative;
}

/* Research page: ensure references section (last before footer) has proper bottom spacing */
body.research-page #references.features-section {
  padding: var(--section-padding) 0 var(--footer-spacing) 0 !important;
}

/* Reference category headings - apply CTA box heading style */
.reference-category h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-tight);
  text-align: left;
}

/* Increase spacing between components in References section */
body.research-page #references .section-title {
  margin-bottom: var(--space-lg);
}

body.research-page #references .section-intro {
  margin-bottom: var(--space-xl);
}

body.research-page #references .reference-category {
  margin-bottom: 0;
}

body.research-page #references .reference-category:last-of-type {
  margin-bottom: var(--space-2xl) !important;
}


body.research-page .context-section .section-content {
  margin-bottom: 16px;
}

/* Reduced spacing for FAQ sections - bring tags closer to description and FAQ closer to title */
.faq-category-tags {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.vision-tags-container {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  overflow: visible;
  padding: 0;
}

/* Focus Section Styles */
.focus-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40vh;
  padding: var(--space-md) 0;
  gap: var(--space-lg);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

/* ===== CONTENT SECTION STYLES ===== */
/* Context Sections */
/* Duplicate .context-section rule removed - using main rule above */

.context-section .section-anchor {
  margin-bottom: var(--space-sm);
  /* consistent spacing before title - matches science page */
}

.context-section .section-title {
  margin-bottom: var(--space-lg);
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Ensure section-title appears first and is properly positioned */
.context-section .container>.section-title:first-child {
  margin-top: var(--space-sm) !important;
  /* 2rem - consistent with other sections */
  position: relative;
  z-index: 2;
}

/* Section Subhead */
.section-subhead {
  font-size: var(--font-size-subheading);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-normal);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg) auto;
  font-weight: var(--font-weight-normal);
}

/* Focus Consequences Grid */
.focus-consequences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2%;
  position: relative;
}

.focus-consequence-item {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

/* Vertical dividers - right border on first column items */
.focus-consequence-item:nth-child(1),
.focus-consequence-item:nth-child(3) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Horizontal dividers - bottom border on top row items */
.focus-consequence-item:nth-child(1),
.focus-consequence-item:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.focus-consequence-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-consequence-icon svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-consequence-item:hover .focus-consequence-icon {
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-consequence-item:hover .focus-consequence-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 16px rgba(234, 146, 89, 0.6)) drop-shadow(0 0 24px rgba(255, 107, 53, 0.4));
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-consequence-item h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.focus-consequence-item p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* Focus Polaris Positioning */
.focus-polaris-positioning {
  max-width: 800px;
  margin: var(--space-2xl) auto var(--space-lg) auto;
  padding: 0 2%;
  text-align: center;
}

/* Homepage: allow intro text + CTA row to be wider */
body.home .focus-polaris-positioning,
body.home .context-section .container .focus-polaris-positioning {
  max-width: 1000px;
}

/* Apply homepage link style to focus-polaris-positioning links */
.focus-polaris-positioning a:not(.body-button) {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(234, 146, 89, 0.4);
  text-underline-offset: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-polaris-positioning a:not(.body-button):hover {
  color: #FF8C5A;
  text-decoration-color: #FF8C5A;
  text-shadow: 0 0 8px rgba(255, 140, 90, 0.4);
}

.focus-polaris-positioning-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.focus-polaris-positioning-text {
  flex: 1 1 520px;
  min-width: 0;
  text-align: left;
}

/* Paragraph styles unified with .context-section .section-content p above */

.focus-polaris-secondary-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: var(--space-sm) var(--space-md) !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
}

/* Match main-nav CTA hover behavior */
body.home .focus-polaris-secondary-cta {
  transition: background-color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: transform, background-color, border-color, box-shadow;
}

body.home .focus-polaris-secondary-cta::before {
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: left;
}

body.home .focus-polaris-secondary-cta:hover::before {
  left: 100%;
}

body.home .focus-polaris-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.3);
}

/* Prevent body-button hover from sliding Apple icon right */
body.home .focus-polaris-secondary-cta .apple-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  width: 18px !important;
  height: 18px !important;
}

body.home .focus-polaris-secondary-cta:hover .apple-icon {
  transform: scale(1.15);
}

/* Removed conflicting .focus-polaris-positioning p rule - use .focus-polaris-positioning-text p instead */

/* Responsive: 2 columns on tablet */
@media (max-width: 1024px) {
  .focus-consequences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
  .section-subhead,
  .section-subheading {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
  }

  .section-subheading-left {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
  }

  .focus-consequences-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 var(--space-sm);
  }

  /* Focus Polaris positioning - stack and center on mobile */
  .focus-polaris-positioning-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-md);
  }

  .focus-polaris-positioning-text {
    flex: none;
    text-align: center;
    width: 100%;
  }

  .context-section .focus-polaris-positioning-text p {
    text-align: center !important;
  }

  .focus-consequence-item {
    padding: var(--space-lg);
    border-right: none !important;
  }

  /* Only horizontal dividers on mobile */
  .focus-consequence-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .focus-consequence-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .focus-consequence-item h3 {
    font-size: 1.25rem;
  }

  .focus-consequence-item p {
    font-size: 1rem;
  }

  .focus-polaris-positioning {
    padding: 0 var(--space-sm);
    margin-top: 2.5rem;
  }

  .focus-polaris-positioning-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
  }

  .focus-polaris-positioning-text {
    /* In column layout, the desktop flex-basis becomes height (creates huge gap). */
    flex: 0 1 auto;
    text-align: left;
    margin-bottom: 0;
  }

  /* Unified paragraph styles in media query - match base styles exactly */
  .context-section .section-content p {
    margin-bottom: 0 !important;
    margin-top: 0;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: var(--line-height-normal) !important;
  }

  /* Focus polaris positioning text - subheading style but left-aligned */
  .context-section .focus-polaris-positioning-text p {
    margin-bottom: 0 !important;
    margin-top: 0;
    font-size: 1.2rem !important;
    font-weight: var(--font-weight-medium) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: var(--line-height-normal) !important;
    text-align: left;
  }

  /* Removed conflicting .focus-polaris-positioning p rule - use .focus-polaris-positioning-text p instead */
}

/* Principles Grid Table - Matching Science Page Layout */
.principles-grid-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  max-width: 1200px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Make grid wider on homepage intro section */
#what.context-section .principles-grid-table {
  max-width: 1400px !important;
}

/* Match Key findings grid width to homepage */
#key-findings .principles-grid-table {
  max-width: 1400px !important;
}

/* Allow overflow for context section to accommodate wider principles grid */
.context-section {
  overflow-x: visible !important;
}

/* Make container 1200px wide when it contains principles grid */
body.vision-page .context-section .container,
body.science-page .context-section .container {
  max-width: 1200px;
}

/* Constrain text content to 800px width in sections with principles grid */
.context-section .container .section-title,
.context-section .container .section-content,
.context-section .container .focus-polaris-positioning {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Make the principles grid wider than text content on homepage intro section */
#what.context-section .container .principles-grid-table {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: auto;
  transform: none;
}

/* Match Key findings grid width to homepage */
#key-findings .container .principles-grid-table {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: auto;
  transform: none;
}

/* Center the principles grid normally */
.container .principles-grid-table {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: auto;
  transform: none;
}

@media (max-width: 1280px) {
  .container .principles-grid-table {
    width: 100%;
    max-width: 1200px;
  }

  /* Keep wider grid on homepage intro section at this breakpoint */
  #what.context-section .container .principles-grid-table {
    max-width: 1200px;
  }

  /* Match Key findings grid width to homepage at this breakpoint */
  #key-findings .container .principles-grid-table {
    max-width: 1200px;
  }
}

@media (max-width: 800px) {
  .container .principles-grid-table {
    width: 100%;
    max-width: 1200px;
  }

  /* On smaller screens, grid matches container width */
  #what.context-section .container .principles-grid-table {
    max-width: 100%;
  }

  /* Match Key findings grid width to homepage on smaller screens */
  #key-findings .container .principles-grid-table {
    max-width: 100%;
  }
}

.principle-cell {
  padding: var(--space-lg);
  text-align: left;
  position: relative;
}

/* Vertical separators for 4 columns */
.principle-cell:nth-child(1)::after,
.principle-cell:nth-child(2)::after,
.principle-cell:nth-child(3)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.principle-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto;
  height: auto;
  margin: 0 0 var(--space-sm) 0;
  color: rgba(255, 255, 255, 0.85);
}

.principle-icon svg {
  width: 24px;
  height: 24px;
}

.principle-number {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
  letter-spacing: var(--letter-spacing-wide);
}

.principle-cell h3 {
  font-size: 1.75rem;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: #fff;
  margin-bottom: var(--space-sm);
  max-width: 800px;
}

.principle-cell p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0 0 var(--space-sm) 0;
  max-width: 800px;
}

.principle-cell p:last-child {
  margin-bottom: 0;
}

.principle-cell p a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-decoration-color: rgba(234, 146, 89, 0.4);
  text-underline-offset: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-cell p a:hover {
  color: #FF8C5A;
  text-decoration-color: #FF8C5A;
  text-shadow: 0 0 8px rgba(255, 140, 90, 0.4);
}

@media (max-width: 1024px) {
  .principles-grid-table {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide separators for stacked layouts */
  .principle-cell::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .principles-grid-table {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-sm);
  }

  .principle-cell {
    padding: var(--space-lg) var(--space-md);
    position: relative;
  }

  .principle-cell::after {
    display: none;
  }

  /* Add horizontal dividers between principle cells on mobile */
  .principle-cell:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
}


/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: 64px;
}

/* Legacy Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  grid-template-columns: 1fr;
  gap: var(--space-md);
  gap: var(--space-sm);
}

/* Get Section */
.get-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vw;
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.get .section-title {
  margin-bottom: 24px;
}

.features-grid,
.audience-list {
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Benefits Grid Mobile */
.benefits-grid {
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: 40px;
}


body.research-page #attentionaldesign-content .attentional-design-header {
  grid-template-columns: 1fr;
}



/* Benefits Grid Ultra-Compact */
.benefits-grid {
  gap: var(--space-md);
  margin-top: 32px;
}

/* ===== COMPONENTS STYLES ===== */

.cta-container {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  position: relative;
  z-index: 15;
  margin-top: var(--space-md);
}


/* ===== COMPONENTS STYLES ===== */
.card-description {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
}

.cta-button {
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 160px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.focus-button {
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg,
      rgba(255,
        200,
        150,
        0.15) 0%,
      rgba(255,
        180,
        120,
        0.1) 100%);
  border: 1px solid rgba(255,
      200,
      150,
      0.4);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(255,
      200,
      150,
      0.1);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.95rem;
  display: inline-block;
  transition: background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero {
  position: relative;
  width: 100%;
  min-height: min(100vh, 900px);
  min-height: min(100dvh, 900px);
  max-height: 1200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  background-color: #000;
  background: radial-gradient(ellipse at center,
      rgba(10,
        10,
        10,
        0.8) 0%,
      rgba(0,
        0,
        0,
        0.95) 60%,
      rgba(0,
        0,
        0,
        1) 100%),
    radial-gradient(ellipse at center,
      #0a0a0a 0%,
      #000 100%);
  overflow: visible;
  /* iOS scroll performance fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  /* Account for fixed navigation bar when scrolling to hero */
  scroll-margin-top: var(--space-lg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

/* CTA button hover effects are now handled in the animation system above */

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  border-radius: 16px;
}

.cta-button:not(.hero-cta-button):hover::before {
  left: 100%;
}

.cta-button::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  filter: blur(8px);
}

.cta-button:hover::after {
  opacity: 1;
}

body.home .cta-button {
  justify-content: center;
  font-weight: var(--font-weight-semibold);
}

.focus-button:hover {
  background: linear-gradient(135deg,
      rgba(255,
        200,
        150,
        0.25) 0%,
      rgba(255,
        180,
        120,
        0.2) 100%);
  border-color: rgba(255,
      200,
      150,
      0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,
      200,
      150,
      0.3),
    0 0 40px rgba(255,
      200,
      150,
      0.15);
}

.body-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,
      255,
      255,
      0.08);
  border: 1px solid rgba(255,
      255,
      255,
      0.15);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.body-button .arrow-icon,
.body-button .apple-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.body-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255,
        255,
        255,
        0.1),
      transparent);
  transition: left 0.5s ease;
}

.body-button:hover::before {
  left: 100%;
}

/* Body button hover effects are now handled in the animation system above */

.body-button-transparent {
  background: transparent;
  border: 1px solid rgba(255,
      255,
      255,
      0.2);
  color: #fff;
  border-radius: 14px;
}

.body-button-transparent:hover {
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.3);
}

.whitepaper-ctas .body-button {
  width: auto;
  justify-content: center;
  text-align: center;
  min-width: 200px;
}


.footer {
  background: hsla(0, 0%, 4%, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-secondary);
  padding: var(--space-xl) 0 var(--space-md) 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: var(--space-md);
  /* Spacing handled by last section's padding-bottom */
  position: relative;
  flex-shrink: 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 104px;
  margin-bottom: 40px;
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
  visibility: visible;
  opacity: 1;
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
}

.footer-brand .footer-description {
  margin-bottom: var(--space-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-xs);
  text-decoration: none;
  padding: 0;
  margin: 0 0 var(--space-sm) 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-logo:hover {
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-icon {
  width: var(--icon-md);
  height: var(--icon-md);
  border-radius: 0 !important;
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
  content-visibility: auto;
  contain-intrinsic-size: 32px 32px;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-top: 0;
  padding-top: 0;
  text-align: left;
}

.footer-description {
  font-size: 0.9rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  max-width: 560px;
  padding: 0;
  margin: 0 0 var(--space-sm) 0;
  text-align: left;
  display: block;
  visibility: visible;
  opacity: 1;
  animation: none !important;
  animation-delay: 0s !important;
  animation-duration: 0s !important;
}

.footer-description a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-description a:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 6px rgba(234, 146, 89, 0.3);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  min-width: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem !important;
}

.footer-list li a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  padding: 0;
  transition: color 0.2s ease-in-out;
  text-align: left;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-heading {
  font-size: 0.85rem;
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-extrabold);
  color: rgba(255,
      255,
      255,
      0.8);
  margin-bottom: 0;
  text-align: left;
}

.footer-heading-link {
  color: inherit;
  text-decoration: none;
  flex: 1;
  display: flex;
  align-items: center;
}

.footer-heading-link {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline;
}

.footer-heading-link:hover,
.footer-heading-link:focus {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.4);
  text-decoration: none;
}

/* Footer toggle styles removed - using simple layout */

/* Footer arrow styles removed - no longer needed */

/* Footer arrow styles removed */

/* Footer content collapsible styles removed */

/* Expanded footer content styles removed */

/* Expanded footer arrow styles removed */

.footer-list li a {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline;
}

.footer-list li a:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 6px rgba(234, 146, 89, 0.3);
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255,
      255,
      255,
      0.1);
  text-align: left;
  padding: 0;
  border-top: none;
}

.footer-copyright {
  color: rgba(255,
      255,
      255,
      0.5);
  font-size: 0.8rem;
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255,
      255,
      255,
      0.5);
  font-size: 0.65rem;
  text-align: left;
}

.footer .footer-copyright,
.footer-bottom .footer-copyright,
body.features-page .footer-copyright {
  color: rgba(255,
      255,
      255,
      0.5);
  font-size: 0.8rem;
  line-height: var(--line-height-normal);
  font-size: 0.7rem;
  color: rgba(255,
      255,
      255,
      0.5);
  font-size: 0.65rem;
}

a,
button,
.cta-button {
  transition: all 0.3s cubic-bezier(0.4,
      0,
      0.2,
      1);
}

.page-header-narrow {
  padding: calc(70px + 70px) var(--space-lg) 70px var(--space-lg) !important;
  padding-top: calc(70px + 70px + env(safe-area-inset-top));
  padding: calc(60px + 50px) var(--space-md) 60px var(--space-md) !important;
  padding-top: calc(60px + 50px + env(safe-area-inset-top));
  padding: calc(100px + 70px) 0 100px 0;
  text-align: center;
  background: linear-gradient(180deg,
      rgba(255,
        255,
        255,
        0.02) 0%,
      transparent 100%);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.page-header-narrow h1 {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 70%, #F0F0F0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-sm);
  letter-spacing: var(--letter-spacing-normal);
}

.page-header-narrow p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  line-height: var(--line-height-normal);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature h3,
.link-card h3 {
  font-size: var(--font-size-base);
  letter-spacing: var(--letter-spacing-wide);
  max-width: 180px;
}

.footer-social .social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 255, 255, 0.05);
}

.footer-social .social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(234, 146, 89, 0.25);
}

.footer-social .social-link svg {
  width: var(--icon-md) !important;
  height: var(--icon-md) !important;
}

/* Make LinkedIn icon smaller to match visual weight of other icons */
.footer-social .social-link[href*="linkedin"] svg {
  width: 16px !important;
  height: 16px !important;
}

/* Make Substack icon smaller by 2px */
.footer-social .social-link[href*="substack"] svg {
  width: 22px !important;
  height: 22px !important;
}

/* Enable footer heading hover effects on desktop */
@media (min-width: 1025px) {

  .footer-heading:hover,
  .footer-heading-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    background-color: transparent !important;
    opacity: inherit !important;
  }

  /* Ensure desktop footer headings remain clearly interactive */
  .footer-heading {
    cursor: pointer !important;
  }
}

/* Collapsible footer styles removed - footer is always expanded */

.main-nav.scrolled {
  /* Visual styles */
  background: hsla(0, 0%, 4%, 0.95) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);

  /* Performance optimizations */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background-color, backdrop-filter;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-item {
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-logo:hover {
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  padding: var(--space-sm);
  position: relative;
}

/* Nav link hover effects are now handled in the animation system above */

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 240px;
  width: 240px;
  height: auto;
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  display: block;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: left !important;
}

.dropdown a {
  display: block;
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
  text-align: left !important;
}

.dropdown a:first-child {
  border-radius: 16px 16px 0 0;
}

.dropdown a:last-child {
  border-radius: 0 0 16px 16px;
}

.dropdown a:only-child {
  border-radius: 16px;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dropdown a:first-child:hover {
  border-radius: 16px 16px 0 0;
}

.dropdown a:last-child:hover {
  border-radius: 0 0 16px 16px;
}

.dropdown a:only-child:hover {
  border-radius: 16px;
}

.dropdown::before {
  display: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  display: block;
}

.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  display: block;
}

.nav-item:not(:hover):not(:focus-within) .dropdown {
  opacity: 0;
  visibility: hidden;
}

.footer-bg {
  background: var(--bg);
  /* Optimize footer scrolling performance */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  contain: layout style paint;
}

.nav-link:focus-visible,
.dropdown a:focus-visible,
.nav-cta-button:focus-visible,
.mobile-menu-toggle:focus-visible,
.cta-button:focus-visible,
.focus-button:focus-visible,
.footer-list li a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.nav-link:focus,
.dropdown a:focus,
.nav-cta-button:focus,
.mobile-menu-toggle:focus,
.cta-button:focus,
.focus-button:focus,
.footer-list li a:focus {
  outline: none;
}

.dropdown-column {
  width: 100%;
  padding: 0;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

.nav-cta {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.nav-cta-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  /* Reduced from 0.25rem */
  padding: var(--space-xs) var(--space-sm);
  background: transparent;
  border: 1px solid rgba(255,
      255,
      255,
      0.15);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  transition: background-color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  will-change: transform, background-color, border-color, box-shadow;
}

.nav-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255,
        255,
        255,
        0.1),
      transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: left;
}

.nav-cta-button:hover::before {
  left: 100%;
}

.nav-cta-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.3);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  /* Prevent body scroll while allowing menu content to scroll */
  touch-action: none;
}

.mobile-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 100vh;
  height: 100vh;
  background: #121212 !important;
  color: #fff;
  z-index: 12000 !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-md);
  font-size: 1rem;
  line-height: var(--line-height-tight);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
  overflow-x: visible;
  overflow-y: auto;
  box-sizing: border-box;
  /* Ensure menu doesn't scroll with page - use overscroll-behavior */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* Force create new stacking context for Chrome */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}

/* Mobile nav content wrapper to prevent scrolling past bottom */
.mobile-nav-content {
  width: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: var(--space-lg);
  line-height: var(--line-height-tight);
  position: relative;
  z-index: 1;
}



.mobile-nav.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  transition: opacity 0.3s ease-in-out,
    visibility 0s linear;
  /* Menu content can scroll, but prevent scroll chaining to page */
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* Ensure mobile nav is properly hidden when not open */
/* Note: closing transition is on base .mobile-nav class with visibility delay */
.mobile-nav:not(.open) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
}

.mobile-nav-header {
  width: calc(100% + 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 -12px;
  margin-bottom: var(--space-md);
  padding: 0 12px;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.mobile-nav.open .mobile-nav-header {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.mobile-nav-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px;
  color: #000 !important;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Removed hover animation from mobile menu CTA */

.mobile-nav-cta-button>* {
  position: relative;
  z-index: 2;
}

.mobile-nav-cta-button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
  transform: none;
  box-shadow: none;
}

.mobile-nav-cta-button:active {
  transform: none;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: none;
}

.mobile-nav-cta-button .apple-icon {
  color: #000;
  fill: currentColor;
}

.mobile-nav-cta-button .apple-icon {
  color: #000;
  fill: currentColor;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}

.mobile-nav-logo:hover {
  opacity: inherit !important;
}

.mobile-nav .logo-icon {
  filter: none;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,
      255,
      255,
      0.802);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: var(--space-xs);
  border-radius: 10px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: inherit;
}

.mobile-nav-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  flex: 0 1 auto;
  overflow-y: visible;
  padding-right: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
  line-height: var(--line-height-tight);
}

.mobile-nav.open .mobile-nav-links {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-item {
  border-bottom: none;
  margin-bottom: var(--space-xs);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item:last-child {
  margin-bottom: 0;
}

.mobile-nav-link {
  display: block;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  padding: 0.375rem 0;
  transition: all 0.3s ease;
  text-align: left;
  line-height: var(--line-height-tight);
}

/* Mobile nav link hover effects are now handled in the animation system above */

.mobile-nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: var(--line-height-tight);
}

.mobile-nav-submenu li {
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-nav-submenu a {
  display: block;
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-normal);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  text-align: left;
  line-height: var(--line-height-tight);
}

.mobile-nav-submenu a:hover {
  color: var(--text-secondary) !important;
}

/* Mobile nav CTA moved to header - keeping styles for backward compatibility */
.mobile-nav-cta {
  display: none;
}

.mobile-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.mobile-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.mobile-cta-button:hover::before {
  left: 100%;
}

.mobile-cta-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.link-card {
  background: rgba(255,
      255,
      255,
      0.02);
  border: 1px solid rgba(255,
      255,
      255,
      0.08);
  border-radius: 14px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.link-card:hover {
  background: rgba(255,
      255,
      255,
      0.04);
  border-color: rgba(255,
      255,
      255,
      0.12);
  transform: translateY(-2px);
}

.link-card h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.link-card p {
  color: rgba(255,
      255,
      255,
      0.65);
  font-size: 0.9rem;
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-lg);
}

.link-card a {
  color: rgba(255,
      255,
      255,
      0.8);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: color 0.3s ease;
}

.link-card a:hover {
  color: #fff;
}

.page-header {
  /* Top padding now handled by .hero-section, .page-header rule above */
  /* Bottom padding handled by main .page-header rule above - consistent spacing */
  text-align: center;
  background: linear-gradient(180deg,
      rgba(255,
        255,
        255,
        0.02) 0%,
      transparent 100%);
  margin-top: 0;
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-header h1 {
    margin-bottom: var(--space-sm);
  }

  /* Remove space under Help Center title on support page mobile */
  body.support-page .page-header {
    padding-bottom: var(--space-xs) !important;
  }

  body.support-page .page-header h1 {
    margin-bottom: 0 !important;
  }

  /* Add proper spacing between heading and pills on support page mobile */
  body.support-page .faq-category-tags {
    margin-top: var(--space-xs) !important;
  }

  /* Prevent pills from being cut off on support page */
  body.support-page .faq-section .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  body.support-page .faq-tags-container {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Make "Get support at" section title smaller on mobile */
  body.support-page .features-section .section-title {
    font-size: 1.25rem;
  }

  /* Increase padding for "Get support at" section on mobile - override last-of-type rule */
  body.support-page #contact.features-section:last-of-type {
    padding: var(--space-2xl) 0 !important;
    padding-bottom: var(--space-2xl) !important;
  }
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.features-page .page-header::before {
  background: transparent;
}

/* Research page header background removed to match other pages */

body.research-page .page-header::before {
  background: transparent;
}

body.vision-page .page-header::before {
  background: transparent;
}

body.vision-page .page-header::after {
  display: none;
}

/* Reduce bottom padding and margin on vision page to bring anchors closer (desktop only; mobile uses unified page-header rules below) */
@media (min-width: 769px) {
  body.vision-page .page-header {
    padding-bottom: var(--space-xs) !important;
    margin-bottom: var(--space-md) !important;
  }

  /* Match contact page spacing - reduce padding on sections after page-header for all pages */
  body.press-page .page-header + .features-section,
  body.support-page .page-header + .features-section,
  body.data-request-page .page-header + .features-section,
  body.research-page .page-header + .features-section,
  body.research-page .page-header + section {
    padding-top: var(--space-md) !important;
  }

  /* Increase top padding in manifesto section on vision page to add space after page header */
  body.vision-page #manifesto.features-section {
    padding-top: var(--space-2xl) !important;
  }
}

/* Ensure banner images are 1400px on desktop and break out of container */
/* Allow overflow on features-section and container to accommodate wider banners */
body.vision-page .features-section {
  overflow-x: visible !important;
  padding-top: var(--space-4xl) !important;
  padding-bottom: var(--space-4xl) !important;
}

body.vision-page .features-section .container {
  overflow-x: visible !important;
}

@media (min-width: 769px) {
  /* Break banners out of container constraints - container is 1000px, banners should be 1400px */
  /* Use viewport-based positioning to center 1400px banner while respecting viewport edges */
  body.vision-page .container .manifesto-banner,
  body.vision-page .container .mission-banner,
  body.vision-page .container .founders-banner {
    max-width: min(1400px, calc(100vw - 2rem)) !important;
    width: min(1400px, calc(100vw - 2rem)) !important;
    margin-left: calc(50% - min(700px, calc(50vw - 1rem))) !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
    position: relative;
  }
}

/* On larger screens, use fixed 1400px with proper centering */
@media (min-width: 1440px) {
  body.vision-page .container .manifesto-banner,
  body.vision-page .container .mission-banner,
  body.vision-page .container .founders-banner {
    max-width: 1400px !important;
    width: 1400px !important;
    margin-left: calc(50% - 700px) !important;
    margin-right: auto !important;
  }
}

/* Ensure founders Q&A questions are left-aligned */
body.vision-page #founders .manifesto-question {
  text-align: left !important;
}

body.vision-page .card-description {
  text-align: left;
  color: rgba(255,
      255,
      255,
      0.75) !important;
  font-size: 1.025rem !important;
  line-height: var(--line-height-normal) !important;
  font-weight: 400 !important;
}

.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: var(--space-xs);
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease,
    visibility 0.2s ease;
}

.skip-nav:focus {
  top: 6px;
  outline: 2px solid #fff;
  outline-offset: 2px;
  opacity: 1;
  visibility: visible;
}

body.vision-page .main-nav {
  border-bottom: none;
}

body.vision-page .main-nav.scrolled {
  border-bottom: none;
}

body.vision-page .vision-nav-tags {
  padding: var(--space-sm) 0 var(--space-sm) 0;
  margin-bottom: var(--space-sm);
  background: rgba(0,
      0,
      0,
      0.95);
  backdrop-filter: blur(10px);
  overflow: visible;
  position: relative;
  z-index: 1;
}

body.vision-page .vision-nav-tag {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255,
      255,
      255,
      0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  text-align: center;
  padding: var(--space-xs) var(--space-md);
}

body.vision-page .vision-nav-tag:hover {
  color: rgba(255,
      255,
      255,
      0.8);
  border-color: rgba(255,
      255,
      255,
      0.2);
}

body.vision-page .vision-nav-tag.active {
  color: #fff;
  border-color: rgba(255,
      255,
      255,
      0.3);
  background: rgba(255,
      255,
      255,
      0.05);
  box-shadow: none;
}

body.vision-page .vision-nav-tag:focus {
  outline: none;
  border-color: rgba(255,
      255,
      255,
      0.5);
}

body.vision-page .vision-nav-tag:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Desktop styles for vision nav tags - ensure consistency */
@media (min-width: 769px) {
  body.vision-page .vision-nav-tag {
    font-size: 0.8125rem;
    font-weight: 500;
  }
}

/* Mobile adjustments for vision nav tags to fit horizontally */
@media (max-width: 768px) {
  body.vision-page .vision-nav-tags {
    padding-top: var(--space-xs) !important;
    padding-bottom: var(--space-xs) !important;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  body.vision-page .vision-nav-tags .container {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100%;
    overflow: visible !important;
  }

  body.vision-page .vision-tags-container {
    max-width: 100%;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    overflow: visible !important;
    margin: 0;
  }

  body.vision-page .vision-nav-tag {
    font-size: 0.85rem;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    letter-spacing: var(--letter-spacing-wide);
    border-radius: 999px;
    white-space: nowrap;
    position: relative;
  }
}

body.vision-page #founders .card-description {
  margin-bottom: var(--space-lg);
  text-align: left;
  padding: 0;
  position: relative;
  background: transparent;
  border: none;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.85);
  margin-left: 0;
  padding-left: 0;
  margin-top: 0.5rem;
}

/* Add more space after an answer before the next question - increase margin-bottom on answers before questions */
body.vision-page #founders .card-description:not(:last-child) {
  margin-bottom: var(--space-lg);
}

/* Specifically target the last answer before a question */
body.vision-page #founders .card-description + .manifesto-question {
  margin-top: var(--space-2xl) !important;
}

/* Increase margin-bottom on card-description immediately before a question */
body.vision-page #founders .section-content .card-description:not(:last-of-type) {
  margin-bottom: var(--space-lg);
}

body.vision-page #founders .card-description:last-child {
  margin-bottom: 0;
}

body.vision-page #founders .card-description strong {
  color: #fff;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  display: inline;
  background: none;
  padding: 0;
  border: none;
  margin: 0;
  position: static;
  font-size: 1rem;
  font-size: 0.95rem;
}

/* Homepage paragraph styles - exclude section content areas */
/* Homepage paragraph styles - general rule */
body.home p:not(.footer-copyright):not(.footer-description):not(.section-subheading):not(.section-subheading-left):not(.hero-subtitle) {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: var(--font-size-base) !important;
  line-height: var(--line-height-normal) !important;
  font-weight: var(--font-weight-normal) !important;
}

/* How-it-works cards use secondary text color */
body.home .how-it-works-card p {
  color: var(--text-secondary) !important;
}

/* Consolidated homepage section content styles - higher specificity overrides general p rule */
body.home .context-section .section-content p,
body.home .context-section .focus-polaris-positioning-text p {
  font-size: 1.4rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: var(--line-height-normal) !important;
  font-weight: var(--font-weight-semibold) !important;
  text-align: left;
}

body.home .footer-description {
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important;
  line-height: var(--line-height-normal) !important;
}

body.home .footer-copyright {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: var(--font-size-sm) !important;
  line-height: var(--line-height-normal) !important;
}

body.features-page .footer-description {
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important;
  line-height: var(--line-height-normal) !important;
}

body.research-page .attentional-design-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--space-xl);
}

body.vision-page a:focus,
body.vision-page button:focus {
  outline: none;
}

body.vision-page a:focus-visible,
body.vision-page button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body.support-page .page-header::before {
  background: transparent;
}

body.support-page .page-header::after {
  display: none;
}

.page-head.section-subhead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  text-align: center;
  font-weight: var(--font-weight-semibold);
}

.page-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 70%, #F0F0F0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-sm);
  letter-spacing: var(--letter-spacing-normal);
  line-height: var(--line-height-normal);
}

.page-header p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  line-height: var(--line-height-normal);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.features-page .main-nav,
body.support-page .main-nav {
  border-bottom: none !important;
}

body.support-page .main-nav.scrolled {
  border-bottom: none !important;
}

.page-header h2 {
  color: rgba(255,
      255,
      255,
      0.9);
  margin-bottom: var(--space-lg);
}

.page-nav-link:hover,
.page-nav-link.active {
  color: #fff;
}

.page-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
  border-radius: 2px 2px 0 0;
}

.page-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: #fff;
  border-radius: 2px 2px 0 0;
  transition: all 0.3s ease;
  opacity: 0;
}

.page-nav-link:hover::after {
  left: 0;
  right: 0;
  opacity: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-direction: column;
  align-items: center;
}

.cta-buttons .focus-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1rem;
  padding: var(--space-sm) var(--space-md);
}

.explore-card:hover {
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,
      0,
      0,
      0.15);
}

.navigation-card {
  background: rgba(255,
      255,
      255,
      0.03);
  border: 1px solid rgba(255,
      255,
      255,
      0.08);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4,
      0,
      0.2,
      1);
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Navigation card hover effects are now handled in the animation system above */

.navigation-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  margin: 0 0 var(--space-sm) 0;
  color: rgba(255,
      255,
      255,
      0.85);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0 0 var(--space-sm) 0;
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation-card-icon svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation-card h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.navigation-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-normal);
  margin: 0;
  font-size: 0.9rem;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

/* How It Works Section - Override container padding to match navigation cards */
#how-it-works.context-section .container {
  padding: 0;
  max-width: 1200px;
}

/* Core Features Section - Match How It Works container width */
#core-features.features-section .container {
  padding: 0;
  max-width: 1200px;
}

/* Section title alignment */
#how-it-works .section-title {
  padding: 0 2%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Core Features section title - match How It Works alignment */
#core-features .section-title {
  padding: 0 2%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Focus Section - Match Navigation Cards content width and padding */
#what.context-section .container {
  max-width: 1400px;
}

/* Match Key findings container width to homepage */
#key-findings.features-section .container {
  max-width: 1400px;
}

/* Section title alignment */
#what .section-title {
  padding: 0 2%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Section subhead alignment */
#what .section-subhead {
  padding: 0 2%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Section content alignment */
#what .section-content {
  padding: 0 2%;
  max-width: 1000px;
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

/* Keep text content constrained even when container is wider */
#what.context-section .container .section-title,
#what.context-section .container .section-content,
#what.context-section .container .focus-polaris-positioning {
  max-width: 1000px;
}

/* How It Works Cards Grid */
.how-it-works-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2%;
  justify-items: center;
}

/* First 3 cards span 2 columns each (to maintain 3-column appearance) */
.how-it-works-cards-grid>.how-it-works-card:nth-child(1) {
  grid-column: 1 / 3;
}

.how-it-works-cards-grid>.how-it-works-card:nth-child(2) {
  grid-column: 3 / 5;
}

.how-it-works-cards-grid>.how-it-works-card:nth-child(3) {
  grid-column: 5 / 7;
}

/* Center the last 2 cards in a 3-2 layout */
/* Place them in columns 2-3 and 4-5 to center them */
.how-it-works-cards-grid>.how-it-works-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.how-it-works-cards-grid>.how-it-works-card:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 2;
}

.how-it-works-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
}

.how-it-works-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-icon svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-card:hover .how-it-works-icon {
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-card:hover .how-it-works-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 16px rgba(234, 146, 89, 0.6)) drop-shadow(0 0 24px rgba(255, 107, 53, 0.4));
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-card h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.how-it-works-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* CTA Section */
/* Global CTA box style - applies to all CTA boxes across all pages */
.how-it-works-cta,
.context-section .hero-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-md) var(--space-md);
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(234, 146, 89, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: background-color, border-color, box-shadow;
}

/* Global CTA box heading style - applies to all CTA box headings */
.how-it-works-subheading,
.context-section .hero-banner-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: #FF8C5A;
  text-shadow: 0 0 8px rgba(255, 140, 90, 0.4);
  margin: 0;
  flex-shrink: 0;
  text-align: left;
  padding-left: 1rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: color, text-shadow;
}

/* Global CTA box hover state */
.how-it-works-cta:hover,
.context-section .hero-banner:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(234, 146, 89, 0.1);
}

/* Global CTA box button positioning */
.how-it-works-cta .cta-button,
.context-section .hero-banner .cta-button {
  flex-shrink: 0;
  margin-left: auto;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 1024px) {
  .how-it-works-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
  }

  /* Reset all column spans for 2-column layout */
  .how-it-works-cards-grid>.how-it-works-card:nth-child(1),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(2),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(3),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(4),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Global CTA box tablet styles */
  .how-it-works-cta,
  .context-section .hero-banner {
    max-width: 800px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-sm);
  }

  .how-it-works-cta .cta-button,
  .context-section .hero-banner .cta-button {
    align-self: auto;
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
  .how-it-works-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
    max-width: 100%;
  }

  /* Reset all column spans for 1-column layout */
  .how-it-works-cards-grid>.how-it-works-card:nth-child(1),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(2),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(3),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(4),
  .how-it-works-cards-grid>.how-it-works-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .how-it-works-card {
    padding: var(--space-lg);
  }

  .how-it-works-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
  }

  .how-it-works-card p {
    font-size: var(--font-size-base);
  }

  /* Homepage: Match features page mobile styles for card body text */
  body.home .how-it-works-card p {
    font-size: var(--font-size-base) !important;
    color: var(--text-secondary) !important;
  }

  .how-it-works-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-2xl);
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  /* Global CTA box mobile styles */
  .how-it-works-subheading,
  .context-section .hero-banner-title {
    font-size: 1.4rem !important;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    text-align: center;
    padding-left: 0;
  }

  .how-it-works-cta .cta-button,
  .context-section .hero-banner .cta-button {
    align-self: auto;
    text-align: center;
    margin-left: 0;
  }
}


body.features-page .main-nav {
  border-bottom: none !important;
}

body.features-page .main-nav.scrolled {
  border-bottom: none !important;
}

.feature-card:hover {
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.12);
}

.manifesto-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,
      255,
      255,
      0.1);
  border: 1px solid rgba(255,
      255,
      255,
      0.2);
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.manifesto-button:hover {
  background: rgba(255,
      255,
      255,
      0.15);
  border-color: rgba(255,
      255,
      255,
      0.3);
  transform: translateY(-2px);
}

.use-case-card {
  background: rgba(255,
      255,
      255,
      0.01);
  border: none;
  border-radius: 24px;
  padding: var(--space-md) !important;
  text-align: left;
  width: 100%;
  min-width: 0;
}

/* Hover effects completely disabled for non-link cards */
.use-case-card:hover,
.use-case-card:focus,
.use-case-card:active,
body .use-case-card:hover,
body .use-case-card:focus,
body .use-case-card:active,
.features-page .use-case-card:hover,
.features-page .use-case-card:focus,
.features-page .use-case-card:active,
div.use-case-card:hover,
div.use-case-card:focus,
div.use-case-card:active {
  background: rgba(255, 255, 255, 0.01) !important;
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: default !important;
}

/* Force disable all transitions and animations on hover */
.use-case-card,
.who-helps-card,
.use-case {
  transition: none !important;
  animation: none !important;
}

.use-case-card:hover,
.use-case-card:focus,
.use-case-card:active,
.who-helps-card:hover,
.who-helps-card:focus,
.who-helps-card:active,
.use-case:hover,
.use-case:focus,
.use-case:active {
  transition: none !important;
  animation: none !important;
}

/* .use-case-card:hover {
  background:rgba(255,
  255,
  255,
  0.05);
  border-color:rgba(255,
  255,
  255,
  0.12);
  transform:translateY(-6px);
  box-shadow:0 12px 35px rgba(255,
  255,
  255,
  0.15);
} */

.use-case-card h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--text-bright);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem !important;
  margin-top: 0;
}

.use-case-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
}

.who-helps-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: 0;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet: 2x2 grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .who-helps-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* Mobile: stacked */
@media (max-width: 768px) {
  .who-helps-cards {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Reduce h1 font size on mobile - keep h1 > h2 */
  h1 {
    font-size: 2.25rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  /* Science and Vision pages use same size as other pages */

  body.features-page .page-header h1 {
    font-size: 2.5rem !important;
  }

  h2,
  .section-title {
    font-size: 2rem;
    line-height: 1.1;
  }
}

.who-helps-card {
  background: rgba(255,
      255,
      255,
      0.01);
  border: none;
  border-radius: 24px;
  padding: var(--space-md) !important;
  text-align: left;
  min-height: 100%;
  width: 100%;
  min-width: 0;
}

/* Hover effects completely disabled for non-link cards */
.who-helps-card:hover,
.who-helps-card:focus,
.who-helps-card:active,
body .who-helps-card:hover,
body .who-helps-card:focus,
body .who-helps-card:active,
.features-page .who-helps-card:hover,
.features-page .who-helps-card:focus,
.features-page .who-helps-card:active {
  background: rgba(255, 255, 255, 0.01) !important;
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: default !important;
}

/* .who-helps-card:hover {
  background:rgba(255,
  255,
  255,
  0.05);
  border-color:rgba(255,
  255,
  255,
  0.12);
  transform:translateY(-6px);
  box-shadow:0 12px 35px rgba(255,
  255,
  255,
  0.15);
} */

.who-helps-card h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--text-bright);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem !important;
  margin-top: 0;
}

.who-helps-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
}

body.research-page #attentionaldesign-content .attentional-design-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Footer toggle and arrow styles removed - footer is always expanded */

/* Enable dropdowns once JavaScript is loaded */
.dropdown {
  display: block;
}


.mobile-nav-item:nth-child(1) {
  transition-delay: 0.2s;
}

.mobile-nav-item:nth-child(2) {
  transition-delay: 0.25s;
}

.mobile-nav-item:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-item:nth-child(4) {
  transition-delay: 0.35s;
}

.mobile-nav-item:nth-child(5) {
  transition-delay: 0.4s;
}

.mobile-nav.open .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

/* ===== VISION PAGE NAVIGATION TAGS ===== */
/* Vision Navigation Tags */
.vision-nav-tags {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-sm) 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.vision-nav-tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.vision-nav-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.vision-nav-tag.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: none;
}

/* Removed sticky behavior for mobile */

/* ===== ADDITIONAL COMPONENT STYLES ===== */

/* Focus Banner CTA flash effect */
.focus-banner-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.focus-banner-cta-button:hover::before {
  left: 100%;
}

.focus-banner-cta-button:hover {
  background: linear-gradient(135deg, rgba(234, 146, 89, 0.25) 0%, rgba(255, 107, 53, 0.2) 100%);
  border-color: rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3), 0 0 40px rgba(234, 146, 89, 0.15);
}

@media (max-width: 768px) {
  .focus-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
  }

  .focus-banner-content {
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .focus-banner-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .focus-banner-content p {
    font-size: 1.1rem;
    line-height: var(--line-height-normal);
  }
}

@media (max-width: 480px) {
  .focus-banner {
    padding: var(--space-lg) var(--space-md);
  }

  .focus-banner-content {
    margin-bottom: 1.25rem;
  }

  .focus-banner-content h2 {
    font-size: 2.25rem;
  }

  .focus-banner-content p {
    font-size: 1.25rem;
  }
}

/* Hero starfield */
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* iOS scroll performance fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-stars.loaded {
  opacity: 1;
}

.hero-stars .star,
.hero-stars .space-cloud {
  transition: opacity 0.5s ease-in-out;
}

/* Starfield is static - no rotation */

.star {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  /* Subtle glow for better visibility */
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.6), 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Removed twinkling animation - stars are static */

.star.small {
  width: 1.5px;
  height: 1.5px;
  box-shadow: 0 0 1.5px rgba(255, 255, 255, 0.7), 0 0 3px rgba(255, 255, 255, 0.4);
}

.star.medium {
  width: 2.5px;
  height: 2.5px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.5);
}

.star.large {
  width: 3.5px;
  height: 3.5px;
  box-shadow: 0 0 2.5px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.6);
}

.space-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 167, 94, 0.28) 0%, rgba(222, 82, 44, 0.14) 40%, rgba(197, 12, 2, 0.035) 70%);
  filter: blur(4px);
  /* Removed cloud drift animation - clouds are static */
}

.space-cloud.small {
  width: 320px;
  height: 320px;
}

.space-cloud.medium {
  width: 480px;
  height: 480px;
}

.space-cloud.large {
  width: 640px;
  height: 640px;
}

.space-cloud.purple-fire {
  width: 768px;
  height: 768px;
}

.space-cloud.navy-orange {
  width: 736px;
  height: 736px;
}

.space-cloud.gold-fire {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(234, 146, 89, 0.15) 40%, rgba(255, 107, 53, 0.05) 70%);
}

/* Removed unused keyframe animations:
   - twinkle
   - starPulse
   - rotateStars
   - cloudDrift
   Stars and clouds are now static for better performance and visual clarity */

/* Shooting star effect removed - static starfield only */

/* Hero vignette overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 75%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
  /* iOS scroll performance fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: var(--space-md);
  padding: var(--space-md);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(234, 146, 89, 0.4), transparent);
  transition: left 0.5s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-card h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
  line-height: var(--line-height-tight);
}

.benefit-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: 24px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}


.feature-card {
  padding: var(--space-md);
}

/* Footer Enhancement Styles - Mobile - Simplified */
.footer-column {
  margin-bottom: 0.5rem;
  border-bottom: none;
}

/* Footer toggle styles removed - footer is always expanded */

/* Footer content lists use same styling as regular footer lists */
.footer-list.footer-content {
  gap: 0.5rem !important;
}

.footer-list.footer-content li {
  margin: 0;
  display: flex;
  align-items: center;
}

.footer-list.footer-content a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Footer hover states */
.footer-list.footer-content a:hover,
.footer-list.footer-content a:active {
  color: rgba(255, 255, 255, 1);
}

/* Footer toggle hover styles removed - footer is always expanded */

/* Remove tap highlight on all interactive elements */
a,
button,
.cta-button,
.nav-link,
.mobile-nav-link,
.navigation-card,
.feature-card,
.use-case-card,
.who-helps-card,
.category-tag,
.faq-question {
  -webkit-tap-highlight-color: transparent !important;
}

/* ===== UTILITIES STYLES ===== */
.faq-item.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.feature h3 {
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: var(--letter-spacing-normal);
}

.feature p {
  font-size: 1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
}

.cta-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
}

.feature {
  background: #181818;
  border-radius: 14px;
  border: 1px solid rgba(255,
      255,
      255,
      0.08);
  box-shadow: 0 4px 24px rgba(0,
      0,
      0,
      0.12);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: box-shadow 0.2s;
  background: rgba(255,
      255,
      255,
      0.02);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature:hover {
  box-shadow: 0 8px 32px rgba(255,
      97,
      39,
      0.10);
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,
      0,
      0,
      0.15);
  box-shadow: 0 8px 32px rgba(255, 97, 39, 0.10);
}

body.support-page .faq-category-tags {
  margin-top: 0;
}

.faq-category-tags {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: 6rem;
  margin-bottom: 1rem !important;
}

.faq-item {
  margin-bottom: var(--space-lg);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,
      255,
      255,
      0.1);
  border-bottom: none;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s ease,
    transform 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: rgba(255,
      255,
      255,
      0.65);
  line-height: var(--line-height-normal);
  margin: 0;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255,
        255,
        255,
        0.2),
      transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover::before {
  opacity: 1;
}

.feature-value {
  color: rgba(255,
      255,
      255,
      0.9);
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-lg);
  font-weight: var(--font-weight-semibold);
}

.feature-how {
  color: rgba(255,
      255,
      255,
      0.6);
  font-size: 0.95rem;
  line-height: var(--line-height-normal);
  font-style: italic;
}

.cta-content h2 {
  margin-bottom: var(--space-lg);
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,
      255,
      255,
      0.7);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-md);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: var(--line-height-normal);
  font-size: 1rem;
}

/* FAQ question hover effects are now handled in the animation system above */

.faq-question[aria-expanded="true"] {
  background: rgba(255,
      255,
      255,
      0.05);
}

.faq-icon {
  transition: transform 0.4s cubic-bezier(0.4,
      0,
      0.2,
      1);
  color: rgba(255,
      255,
      255,
      0.6);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out,
    padding 0.3s ease-out;
  background: rgba(255,
      255,
      255,
      0.02);
  border-top: 1px solid rgba(255,
      255,
      255,
      0.05);
  padding: 0 var(--space-lg) 0 var(--space-md);
  display: block;
}

.faq-answer p {
  color: rgba(255,
      255,
      255,
      0.7);
  line-height: inherit;
  margin-bottom: var(--space-lg);
  margin-top: 0;
  max-width: 90%;
}

.faq-answer p:first-child {
  margin-top: var(--space-sm);
}

.faq-answer p:last-child {
  margin-bottom: 0.5rem;
}

.faq-question[aria-expanded="true"]+.faq-answer {
  max-height: 500px;
  padding: var(--space-xs) var(--space-md) var(--space-md) var(--space-md);
}

.faq-link {
  color: rgba(255,
      255,
      255,
      0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,
      255,
      255,
      0.3);
  transition: all 0.2s ease;
}

.faq-link:hover {
  color: #fff;
  border-bottom-color: rgba(255,
      255,
      255,
      0.6);
}

.faq-item:first-child .faq-question {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.faq-item:last-child .faq-question {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.faq-item:last-child .faq-question[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-item:last-child .faq-answer {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.faq-question span {
  flex: 1;
  margin-right: 1rem;
  text-align: left;
  font-weight: 400;
}

body.features-page {
  padding-top: 80px !important;
  background: #000000;
}

body.research-page {
  padding-top: 80px !important;
}

.core-feature-item {
  text-align: left;
  position: relative;
  padding: var(--space-lg);
}

.core-feature-item:nth-child(1)::before,
.core-feature-item:nth-child(2)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(255,
      255,
      255,
      0.1);
  display: none;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: transparent;
  border: none;
  margin: 0 auto var(--space-md) auto;
  color: rgba(255,
      255,
      255,
      0.8);
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
}

.core-feature-item h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--text-bright);
  margin-bottom: 0.75rem;
  text-align: center;
  padding: 0 var(--space-lg);
}

.core-feature-item p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
  text-align: center;
  padding: 0 var(--space-lg);
}

.core-feature-item:nth-child(1)::after,
.core-feature-item:nth-child(3)::after {
  display: none;
}

.feature-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-normal);
  margin-bottom: 20px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.feature-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-large {
  display: inline-block;
  background: #EA9259;
  color: #fff;
  padding: var(--space-sm) var(--space-xl);
  border-radius: 16px;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 32px rgba(234, 146, 89, 0.15);
}

.cta-large:hover {
  background: rgba(255, 130, 70, 1);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.4), 0 0 64px rgba(255, 130, 70, 0.25);
}

.feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.faq-category-tags {
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
}

/* ===== HERO TEXT STYLES ===== */

/* Hero Title - Base Styles */
.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-md);
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 70%, #F0F0F0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
  opacity: 1;
}



/* Hero Subtitle - Base Styles */
.hero-subtitle {
  font-size: 1.1rem;
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-sm);
  animation: none;
  opacity: 1;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Homepage hero: desktop spacing and typography */
@media (min-width: 769px) {
  body.home .hero {
    align-items: center;
    padding-top: 0;
  }
  body.home .hero .hero-title {
    margin-bottom: var(--space-md);
    color: #fff;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
  }
  body.home .section-title {
    font-size: var(--font-size-lg);
  }
}

/* ===== NAVIGATION STYLES ===== */

/* Desktop Navigation - Sticky on all devices */
nav.main-nav,
.main-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 11000 !important;
  background: hsla(0, 0%, 4%, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  margin: 0;
  opacity: 1;
  visibility: visible;
  /* Transform transition handled by earlier rule */
}

/* Header always visible - no show/hide behavior */


/* ===== OTHER STYLES ===== */
/* HTML root element - ensure black background prevents white flash */
html {
  background-color: #000;
  /* Account for fixed navigation bar when scrolling to anchors */
  scroll-padding-top: var(--space-lg);
  scroll-behavior: smooth;
}

/* Ensure anchor targets respect scroll padding */
[id] {
  scroll-margin-top: var(--space-lg);
}

/* Catch-all: Any section with an ID should have scroll offset */
section[id],
.features-section[id],
.context-section[id] {
  scroll-margin-top: 2rem !important;
}

/* Reduce top margin on section titles inside any anchor section */
section[id] .section-title,
.features-section[id] .section-title,
.context-section[id] .section-title {
  margin-top: 0;
}

/* Body styles - main styles in critical CSS, this adds layout specifics */
body {
  /* Font and text */
  font-family: var(--font-system);
  font-size: var(--font-size-base);
  font-size-adjust: 0.5;
  line-height: var(--line-height-normal);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* Background */
  background: var(--bg);
  background-color: #000;
  -webkit-background-size: cover;
  background-size: cover;

  /* Layout */
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto !important;
  padding-top: 80px;
  padding-bottom: 0;
  margin-bottom: 0;

  /* Scroll behavior */
  -webkit-overflow-scrolling: touch;

  /* Performance & transitions */
  opacity: 1;
  transition: opacity 0.2s ease-out;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* CRITICAL: Ensure body can always scroll unless mobile menu is explicitly open */
body:not(.mobile-menu-open) {
  overflow-y: auto !important;
  position: relative !important;
  height: auto !important;
}

h4 {
  font-size: var(--font-size-md);
  line-height: 1.35;
  margin-bottom: 0.625rem;
}


@keyframes starPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
    background-position: -200% 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
    background-position: 200% 0;
  }
}

body.research-page .attentional-design-image img {
  width: 75%;
}

/* Main content wrapper to push footer to bottom */
body>*:not(.footer) {
  flex: 1;
}

/* Ensure footer stays at bottom with no extra space */
body .footer {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Ensure body and html have no bottom spacing */
body.research-page,
body.science-page {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
  height: auto !important;
}

/* Ensure research/science page footer has no space below it */
body.research-page .footer,
body.science-page .footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Move footer 2xl lower on research-page (science-1) */
body.research-page .footer {
  margin-top: var(--space-2xl) !important;
}

/* Override the flex:1 for research page direct children */
body.research-page > *,
body.science-page > * {
  flex: none !important;
}

/* Main content wrapper - grows to fill available space */
.main-content {
  flex: 1;
}

.skip-link:focus {
  top: 0;
}


.text-link {
  color: rgba(255,
      255,
      255,
      0.9);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.text-link:hover {
  color: var(--fire);
  text-shadow: 0 0 8px rgba(234, 146, 89, 0.3);
}


.focus-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
  line-height: var(--line-height-normal);
}

.manifesto-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 24px;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
}

.manifesto-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 20px;
}

.belief-statement {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: rgba(255,
      255,
      255,
      0.8);
  text-align: center;
  margin-bottom: 40px;
  line-height: var(--line-height-normal);
}

.manifesto-text {
  margin-bottom: 40px;
}

.audience-item:hover {
  box-shadow: 0 6px 24px rgba(234,
      146,
      89,
      0.10);
  border-color: #EA9259;
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,
      0,
      0,
      0.15);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,
      255,
      255,
      0.05);
  transition: background-color 0.2s ease-in-out,
    transform 0.2s ease-in-out;
}

/* Social link hover effects are now handled in the animation system above */

.social-link svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
}

.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  pointer-events: none;
}

.page-transition-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}


/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }


  .lazy-loading,
  .lazy-loaded {
    transition: none !important;
  }
}



#starfield {
  display: none !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Lazy Loading States */
.lazy-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.lazy-loading {
  opacity: 0.7;
  filter: blur(2px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.lazy-loaded {
  opacity: 1;
  filter: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.lazy-error {
  opacity: 0.5;
  filter: grayscale(100%);
}


:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 2px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(255,
        97,
        39,
        0.3));
}

.logo-text {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  letter-spacing: var(--letter-spacing-normal);
}


.scroll-text {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  font-weight: var(--font-weight-semibold);
  font-size: 10px;
  text-align: center;
  display: block;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
}

.process-flow-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap-2xl);
  align-items: flex-start;
  justify-content: center;
  border: none;
  border-radius: 24px;
  padding: var(--space-md);
  background: transparent !important;
  margin-top: var(--space-sm);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.process-step-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: auto;
  margin: 0;
  padding: var(--space-xs);
  position: relative;
  background: transparent;
  justify-content: center;
  min-height: 200px;
}

.process-step-custom:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,
      255,
      255,
      0.1);
  display: none;
}

.process-step-custom .step-number {
  margin: 0 0 var(--space-xs) 0;
  padding: 0;
}

.process-step-custom .step-icon {
  margin: 0 auto var(--space-md) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
}

.process-step-custom .step-icon svg {
  width: 32px;
  height: 32px;
}

.process-step-custom .step-content {
  margin: 0;
  padding: 0;
  text-align: center;
}

.process-step-custom .step-content h4 {
  margin: 0 0 var(--space-sm) 0;
  padding: 0;
  text-align: center;
  font-size: 1.75rem;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  color: var(--text-bright);
}

.process-step-custom .step-content p {
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 300px;
}

/* Step Screenshot Styling Removed - Text Only Layout */

/* Responsive Spacing for How It Works Section - Text Only Layout */
@media (max-width: 1200px) {
  .process-flow-custom {
    gap: var(--grid-gap-xl);
    padding: var(--space-sm);
  }

  .process-step-custom {
    padding: var(--space-xs);
  }
}

@media (max-width: 1024px) {
  .process-flow-custom {
    grid-template-columns: 1fr;
    gap: var(--grid-gap-lg);
    padding: var(--space-sm);
  }

  .process-step-custom {
    padding: var(--space-xs);
    max-width: 400px;
    margin: 0 auto;
  }

  .process-step-custom:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-flow-custom {
    gap: var(--grid-gap-md);
    padding: var(--space-sm);
    margin-top: var(--space-xs);
  }

  .process-step-custom {
    padding: var(--space-xs);
    min-height: 150px;
  }

  .process-step-custom .step-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
  }

  .process-step-custom .step-content p {
    font-size: 1rem;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .process-flow-custom {
    gap: var(--grid-gap-sm);
    padding: var(--space-sm);
    margin-top: var(--space-xs);
  }

  .process-step-custom {
    padding: var(--space-xs);
    min-height: 120px;
  }

  .process-step-custom .step-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
  }

  .process-step-custom .step-content p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    max-width: 250px;
  }
}

.apple-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-cta-button .apple-icon {
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  color: #fff;
  fill: currentColor;
}

.mobile-nav-cta-button .apple-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 1001;
  font-family: var(--font-system);
}

.mobile-menu-toggle:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.mobile-menu-toggle:active {
  transform: translateY(0);
}

body.home {
  padding-top: 80px !important;
}

.error-content {
  max-width: 600px;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-2xl);
  color: rgba(255,
      255,
      255,
      0.1);
}

.error-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 6rem;
  color: #fff;
  font-size: 2rem;
}

.error-description {
  font-size: 1.2rem;
  color: rgba(255,
      255,
      255,
      0.7);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-normal);
  font-size: 1.1rem;
}

.error-actions {
  display: flex;
  gap: 6rem;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.helpful-links {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.helpful-links h2 {
  margin-bottom: var(--space-2xl);
}

body.vision-page .fade-in-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.vision-page .manifesto-quote {
  text-align: left;
}

body.vision-page .manifesto-list {
  text-align: left;
}

body.vision-page #founders {
  background: rgba(255,
      255,
      255,
      0.02);
  border: 1px solid rgba(255,
      255,
      255,
      0.08);
  border-radius: 24px;
  margin: 60px auto;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0;
  padding: var(--space-2xl) 0 !important;
  padding: var(--space-xl) 0 !important;
  padding: var(--space-lg) 0 !important;
}

body.vision-page #founders::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%,
      rgba(255,
        255,
        255,
        0.03) 0%,
      transparent 50%);
  pointer-events: none;
}

body.vision-page {
  padding-top: 80px !important;
}

body.vision-page #founders .manifesto-question {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: var(--line-height-normal);
  text-align: left;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.2rem;
}

/* Override margin-top when question follows an answer - must come after base rule */
/* This increases spacing after the last answer before a question - make it more noticeable */
body.vision-page #founders .card-description + .manifesto-question {
  margin-top: var(--space-3xl) !important;
}

body.vision-page .manifesto-intro {
  color: rgba(255,
      255,
      255,
      0.75) !important;
  font-size: 1.025rem;
  line-height: var(--line-height-normal);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  max-width: 700px;
  margin: 0 0 var(--space-lg) 0;
}

body.vision-page .manifesto-question {
  font-size: var(--font-size-2xl) !important;
  font-weight: var(--font-weight-semibold) !important;
  margin-bottom: 1.5rem !important;
  color: #fff !important;
  line-height: var(--line-height-normal);
  text-align: left;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
}

body.research-page #attentionaldesign {
  padding: var(--space-lg) 0;
  margin: 0;
  scroll-margin-top: var(--space-lg);
  width: 100%;
  position: relative;
  background: transparent;
  padding-top: var(--space-lg);
}

body.research-page .attentional-design-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.9;
  display: block;
}

body.research-page .attentional-design-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

body.research-page .attentional-design-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

body.research-page .attentional-design-content .section-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Attentional Design, Whitepaper, and References section descriptions - consistent styling */
body.research-page #attentionaldesign .section-description,
body.research-page .attentional-design-content .section-description,
body.research-page #whitepaper .section-description,
body.research-page #references .section-description,
body.research-page #references .section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Keep 1rem on mobile for all research page section descriptions */
@media (max-width: 768px) {
  body.research-page #attentionaldesign .section-description,
  body.research-page .attentional-design-content .section-description,
  body.research-page #whitepaper .section-description,
  body.research-page #references .section-description,
  body.research-page #references .section-intro {
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
  }
}

@media (max-width: 480px) {
  body.research-page #attentionaldesign .section-description,
  body.research-page .attentional-design-content .section-description,
  body.research-page #whitepaper .section-description,
  body.research-page #references .section-description,
  body.research-page #references .section-intro {
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
  }
}

body.research-page .principles-heading {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: #fff;
  text-align: center;
  margin-top: var(--space-4xl);
  margin-bottom: var(--space-md);
  letter-spacing: var(--letter-spacing-normal);
}

body.research-page .principles-section {
  max-width: 800px;
  margin: 0 auto;
}

body.research-page .whitepaper-section {
  padding-top: var(--space-2xl);
}

body.research-page .whitepaper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.research-page .whitepaper-image {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
}

body.research-page .whitepaper-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}


body.research-page .section-description,
body.research-page .section-intro,
body.research-page .whitepaper-subtext {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Whitepaper section: spacing between image and title */
body.research-page #whitepaper .whitepaper-image {
  margin-bottom: var(--space-xl);
}

body.research-page #whitepaper .section-title {
  margin-top: var(--space-lg);
}

/* Whitepaper section: spacing between body text and button */
body.research-page #whitepaper .whitepaper-ctas {
  margin-top: var(--space-xl);
}

/* Legal pages - nav sticky positioning */
.main-nav-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 11000 !important;
}

/* Legal pages - section content padding */
.legal-section-content {
  padding: var(--section-padding) 0;
}

body.vision-page #founders .founder-question:last-child {
  margin-bottom: 0;
}

body.vision-page .placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,
      255,
      255,
      0.4);
}

body.vision-page .placeholder-content svg {
  display: none;
}

body.vision-page .placeholder-content span {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.category-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--space-xs) var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex: 0 1 auto;
  text-align: center;
  min-width: fit-content;
}

.category-tag:hover {
  background: rgba(255,
      255,
      255,
      0.1);
  border-color: rgba(255,
      255,
      255,
      0.2);
  color: rgba(255,
      255,
      255,
      0.9);
}

.category-tag.active {
  background: rgba(255,
      100,
      39,
      0.2);
  border-color: rgba(255,
      100,
      39,
      0.4);
  color: #fff;
  background: rgba(255,
      255,
      255,
      0.15);
  border-color: rgba(255,
      255,
      255,
      0.3);
}

.contact-support-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  max-width: 600px;
}

.support-email:hover {
  background: linear-gradient(135deg,
      rgba(255,
        200,
        150,
        0.25) 0%,
      rgba(255,
        180,
        120,
        0.2) 100%);
  border-color: rgba(255,
      200,
      150,
      0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,
      200,
      150,
      0.3),
    0 0 40px rgba(255,
      200,
      150,
      0.15);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255,
      255,
      255,
      0.7);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-normal);
}

.use-cases-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl) auto;
}

.use-cases-content p {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.use-case {
  background: rgba(255,
      255,
      255,
      0.02);
  border: 1px solid rgba(255,
      255,
      255,
      0.08);
  border-radius: 14px;
  padding: var(--space-lg);
  text-align: center;
}

/* Hover effects completely disabled for use-case cards */
.use-case:hover,
.use-case:focus,
.use-case:active,
body .use-case:hover,
body .use-case:focus,
body .use-case:active,
.features-page .use-case:hover,
.features-page .use-case:focus,
.features-page .use-case:active {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: default !important;
}

/* .use-case:hover {
  background:rgba(255,
  255,
  255,
  0.05);
  border-color:rgba(255,
  255,
  255,
  0.15);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,
  0,
  0,
  0.15);
} */

.use-case h3 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
}

.use-case p {
  color: rgba(255,
      255,
      255,
      0.65);
  font-size: 0.9rem;
  line-height: var(--line-height-normal);
}

.human-lead {
  font-size: 1.2rem;
  color: rgba(255,
      255,
      255,
      0.7);
  margin-bottom: 6rem;
  line-height: var(--line-height-normal);
}

.manifesto-quote {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: rgba(255,
      255,
      255,
      0.8);
  text-align: center;
  margin-bottom: 40px;
  line-height: var(--line-height-normal);
}

/* Mobile styles for manifesto quote - same size as QA questions, no quote styling */
@media (max-width: 768px) {
  body.vision-page .manifesto-quote {
    font-size: 1.375rem !important;
    font-weight: var(--font-weight-semibold) !important;
    text-align: left !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-bottom: var(--space-md) !important;
  }
}

@media (max-width: 480px) {
  body.vision-page .manifesto-quote {
    font-size: 1.25rem !important;
    font-weight: var(--font-weight-semibold) !important;
    text-align: left !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.25rem !important;
  }
}

.manifesto-list {
  list-style: none;
  margin: var(--space-lg) 0;
}

.manifesto-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
}

.manifesto-list li:before {
  content: '✦';
  position: absolute;
  left: 0;
  color: rgba(255,
      255,
      255,
      0.6);
}

.mission-item {
  background: rgba(255,
      255,
      255,
      0.03);
  border: 1px solid rgba(255,
      255,
      255,
      0.1);
  border-radius: 14px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
  padding: var(--space-md);
}

.mission-item:hover {
  background: rgba(255,
      255,
      255,
      0.05);
  border-color: rgba(255,
      255,
      255,
      0.2);
  transform: translateY(-4px);
}

.mission-item h3 {
  font-size: 1.3rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.95);
}

.mission-item p {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.founder-question {
  margin-bottom: 6rem;
}

.founder-question h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.founder-question p {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.contact-support-content h2 {
  margin-bottom: var(--space-lg);
}

.contact-support-content p {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.info-box {
  background: rgba(255,
      255,
      255,
      0.05);
  border: 1px solid rgba(255,
      255,
      255,
      0.1);
  border-radius: 14px;
  padding: var(--space-md);
  margin: var(--space-lg) 0;
}

.info-box h4 {
  color: #fff;
  margin-bottom: var(--space-lg);
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
}

.info-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.5rem;
}

.sitemap-item a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  border-bottom: 1px dashed rgba(255,
      255,
      255,
      0.15);
  padding-bottom: 2px;
  word-break: break-word;
}

.sitemap-item a:hover {
  border-bottom-color: rgba(255,
      255,
      255,
      0.45);
}

.submit-btn:hover {
  background: rgba(255,
      255,
      255,
      0.15);
  border-color: rgba(255,
      255,
      255,
      0.5);
  transform: translateY(-2px);
}

.logo-preview {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-lg);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.logo-preview:hover {
  transform: scale(1.05);
}

.screenshot-preview {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255,
      255,
      255,
      0.1);
  transition: border-color 0.2s ease;
}

.screenshot-preview:hover {
  border-color: rgba(255,
      255,
      255,
      0.2);
}

.download-link {
  color: rgba(255,
      255,
      255,
      0.8);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(255,
      255,
      255,
      0.2);
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.download-link:hover {
  color: #fff;
  border-color: rgba(255,
      255,
      255,
      0.4);
  background: rgba(255,
      255,
      255,
      0.05);
}

.key-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-facts-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255,
      255,
      255,
      0.8);
  line-height: var(--line-height-normal);
}

.key-facts-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255,
      255,
      255,
      0.6);
  font-weight: bold;
}

.use-case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0 0 var(--space-sm) 0 !important;
  color: rgba(255,
      255,
      255,
      0.8);
  padding: 0;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.who-helps-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0 0 var(--space-sm) 0 !important;
  color: rgba(255,
      255,
      255,
      0.8);
  padding: 0;
  width: 56px;
  height: 56px;
}

.use-case-thumbnail {
  width: 45px;
  height: 45px;
}

.use-case-thumbnail img {
  width: 24px;
  height: 24px;
}

.use-case-content h3 {
  font-size: 1.1rem;
}

.use-case-content p {
  font-size: 0.85rem;
}

.audience-thumbnail img {
  width: 24px;
  height: 24px;
}

.audience-content h3 {
  font-size: 1.1rem;
}

.audience-content p {
  font-size: 0.85rem;
}

body.research-page .whitepaper-image img {
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}

body.research-page .attentional-design-image img {
  width: 100%;
}

body.research-page #attentionaldesign-content .attentional-design-image {
  grid-column: 1;
  justify-self: center;
  grid-column: auto;
}

body.research-page #attentionaldesign-content .attentional-design-content {
  grid-column: 2;
  text-align: left;
  grid-column: auto;
}

.focus-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
  max-width: 520px;
  flex: none;
  max-width: 100%;
  text-align: center;
}

/* Time SVG Background */
.time-svg-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.1;
  z-index: 1;
}

.time-svg-bg svg {
  width: 100%;
  height: auto;
  max-width: 150px;
}

/* Asteroid Image */
.asteroid-img {
  display: block;
  margin: 48px auto 0 auto;
  max-width: 220px;
  width: 100%;
  filter: drop-shadow(0 8px 32px #000a);
}

/* Belief Statement */
.belief-statement {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: #EA9259;
  text-align: center;
  margin-bottom: 40px;
  line-height: var(--line-height-normal);
  font-style: italic;
}

.benefit-tag {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-semibold);
}

.benefit-icon {
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0.8;
  text-align: center;
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.1));
  font-size: 1.25rem;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.benefit-outcome {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  margin-bottom: 14px;
  margin-bottom: 12px;
}

.outcome-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  opacity: 0.8;
  font-size: 0.7rem;
}

/* Human-Centered Design */
.human-centered-design {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: var(--space-2xl) 0;
  overflow: hidden;
}

.human-center {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.human-avatar {
  position: relative;
  margin-bottom: var(--space-md);
}

.avatar-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
}

.human-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-size: 1.75rem;
}

.human-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  font-size: 1rem;
}

/* Audience Orbit */
.audience-orbit {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring:nth-child(1) {
  width: 300px;
  height: 300px;
  animation-duration: 80s;
  animation-direction: reverse;
}

.orbit-ring:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-duration: 100s;
}

.orbit-ring:nth-child(3) {
  width: 500px;
  height: 500px;
  animation-duration: 120s;
  animation-direction: reverse;
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connection-path:nth-child(2) {
  animation-delay: 0.5s;
}

.connection-path:nth-child(3) {
  animation-delay: 1s;
}

.connection-path:nth-child(4) {
  animation-delay: 1.5s;
}

.connection-path:nth-child(5) {
  animation-delay: 2s;
}

.connection-path:nth-child(6) {
  animation-delay: 2.5s;
}

/* Human Philosophy */
.human-philosophy {
  margin: var(--space-2xl) 0;
}

.philosophy-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: var(--space-md);
  padding: var(--space-sm);
}

.philosophy-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.philosophy-item:hover::before {
  left: 100%;
}

.philosophy-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.philosophy-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.philosophy-item h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: #fff;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.philosophy-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-normal);
  font-size: 0.9rem;
}

/* Closing Statement */
.human-closing {
  margin: var(--space-2xl) 0 var(--space-lg) 0;
  text-align: center;
}

.closing-quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: var(--space-lg) var(--space-md);
}

.quote-text {
  font-size: 1.5rem;
  font-weight: var(--font-weight-normal);
  color: #fff;
  line-height: var(--line-height-normal);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-size: 1.1rem;
}

.quote-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  border-radius: 16px;
  z-index: 0;
}

.get-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-weight: 300;
}

/* Human-Centered Design Mobile */
.human-centered-design {
  min-height: 500px;
  margin: var(--space-lg) 0;
}

.audience-orbit {
  height: 300px;
  height: 250px;
}

/* Mobile scroll indicator */
.scroll-text {
  display: none;
}

/* Human-Centered Design Ultra-Compact */
.human-centered-design {
  min-height: 400px;
  margin: var(--space-md) 0;
}

.process-step {
  max-width: 160px;
}

.digital-clock-bg {
  width: 150px;
  opacity: 0.08;
}

/* ===== MEDIA QUERIES ===== */

/* Tablet Navigation - Maximum compact spacing */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-container {
    padding: 1rem 2%;
  }

  .nav-links {
    gap: var(--space-sm);
  }

  .nav-cta-button {
    padding: var(--space-xs) var(--space-xs);
    font-size: 0.8rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  /* Footer adjustments for tablet screens */
  .footer-content {
    gap: var(--space-2xl);
  }

  .footer-links {
    gap: var(--space-xl);
  }
}

/* Small Desktop Navigation - Reduce spacing to prevent overlap */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-container {
    padding: var(--space-sm) 3%;
  }

  .nav-links {
    gap: var(--space-md);
  }

  .nav-cta-button {
    padding: var(--space-xs) var(--space-xs);
    font-size: 0.875rem;
  }

  /* Footer adjustments for small desktop screens */
  .footer-content {
    gap: var(--space-2xl);
  }

  .footer-links {
    gap: var(--space-xl);
  }
}

/* Desktop Navigation - Show nav-links, hide mobile menu */
@media (min-width: 1025px) {
  .main-nav .nav-links {
    display: flex;
  }

  .main-nav .nav-cta {
    display: flex;
  }

  .main-nav .mobile-menu-toggle {
    display: none;
  }

  .mobile-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  /* Desktop footer styles - always expanded */
}

/* Tablet and Mobile Navigation - Hide nav-links, show mobile menu */
@media (max-width: 1200px) {
  .nav-links {
    display: none !important;
  }

  .nav-cta {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .nav-container {
    padding: var(--space-xs) var(--space-md);
  }

  .nav-logo {
    z-index: 1001;
  }

  .logo-text {
    font-size: 1rem;
  }


  h2 {
    font-size: 2rem;
  }

  /* Footer responsive adjustments */
  .footer-container {
    padding: 0 var(--space-md);
    margin: 0 var(--space-sm);
    min-width: 270px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Slightly reduce social button sizes on mobile */
  .footer-social .social-link {
    width: 34px;
    height: 34px;
  }

  .footer-social .social-link svg {
    width: 18px !important;
    height: 18px !important;
  }

  .footer-social .social-link[href*="linkedin"] svg {
    width: 15px !important;
    height: 15px !important;
  }

  .footer-social .social-link[href*="substack"] svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Ensure footer description doesn't get cut off */
  .footer-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    text-align: left;
  }

  /* Ensure all footer text is left-aligned on mobile */
  .footer-heading,
  .footer-copyright,
  .footer-logo-text,
  .footer-list li a {
    text-align: left;
  }

  /* Footer menu items - secondary color and normal weight on mobile */
  .footer-list li a,
  .footer-list.footer-content a {
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
  }

  /* Footer copyright - smaller text on mobile */
  .footer-copyright,
  .footer .footer-copyright,
  .footer-bottom .footer-copyright,
  body.home .footer-copyright,
  body.features-page .footer-copyright,
  body.home .footer .footer-copyright,
  body.features-page .footer .footer-copyright {
    font-size: 0.65rem !important;
  }

  /* Navigation cards responsive */
  .navigation-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  /* Navigation card titles - match homepage size on mobile */
  .navigation-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }

  /* Mobile header - desktop uses default sticky behavior from earlier rules */

  /* Mobile footer - simplified expanded layout */

  .footer-column .footer-content {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 0 var(--space-xs) 0 !important;
  }

  .footer-heading {
    padding: 0 !important;
    margin: var(--space-sm) 0 0 0 !important;
    font-weight: 800 !important;
    /* Ensure consistent font-weight with desktop */
  }

  /* Mobile footer styles - always expanded */

  /* Banner images full width with no border radius on mobile - ALL SECTION IMAGES */
  body.research-page .attentional-design-image,
  body.research-page .whitepaper-image,
  body.research-page .whitepaper-banner,
  body.features-page .how-it-works-banner,
  body.features-page .core-features-banner,
  body.features-page .people-help-banner,
  body.features-page .use-cases-banner,
  body.vision-page .manifesto-banner,
  body.vision-page .mission-banner,
  body.vision-page .founders-banner,
  body.press-page .about-banner,
  body.press-page .screenshot-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.research-page .attentional-design-image img,
  body.research-page .whitepaper-image img,
  body.research-page .whitepaper-banner img,
  body.features-page .how-it-works-banner img,
  body.features-page .core-features-banner img,
  body.features-page .people-help-banner img,
  body.features-page .use-cases-banner img,
  body.vision-page .manifesto-banner img,
  body.vision-page .mission-banner img,
  body.vision-page .founders-banner img,
  body.press-page .about-banner img,
  body.press-page .screenshot-image img {
    border-radius: 0 !important;
    width: 100% !important;
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Features page CTA section - add padding on mobile */
  body.features-page .cta-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: var(--space-xl);
    padding-bottom: 4rem;
  }

  /* Homepage context section (under hero) - add padding on mobile */
  body.home .context-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: var(--space-xl);
    padding-bottom: 4rem;
  }
}

/* Mobile-specific sticky navigation - 768px and below */
@media (max-width: 768px) {

  /* Mobile header - ensure sticky navigation */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background: rgba(4, 4, 4, 0.95) !important;
    z-index: 11000 !important;
  }

  /* Keep mobile nav always visible and sticky at top - no transforms or transitions */
  .main-nav {
    transform: none !important;
    transition: none !important;
  }

  /* Add padding to body to account for fixed header */
  body {
    padding-top: 70px !important;
  }

  /* Adjust scroll-margin for mobile nav height */
  html {
    scroll-padding-top: var(--space-lg);
  }

  .hero {
    scroll-margin-top: var(--space-lg);
  }
}

/* Adjust body padding for smaller mobile screens */
@media (max-width: 480px) {
  body {
    padding-top: 65px !important;
  }
}

/* Adjust body padding for very small screens */
@media (max-width: 360px) {
  body {
    padding-top: 60px !important;
  }
}

/* ===== MOBILE SPACING - Minimal margins like Data Request page ===== */

/* Mobile: Reduce container left/right margins */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
    /* Reduced from 5% to 1rem (16px) */
  }

  /* Reduce section padding on mobile */
  .context-section,
  .features-section {
    padding: var(--space-xl) 0;
    /* Reduced from 6rem to 3rem */
  }

  /* Hero section mobile spacing */
  .hero-section,
  .page-header {
    padding: var(--space-lg) 3% var(--space-sm) 3% !important;
    padding-top: calc(var(--space-lg) + env(safe-area-inset-top)) !important;
  }

  /* Reduce homepage context section spacing */
  body.home .context-section {
    padding: var(--space-lg) var(--space-sm);
  }

  /* Features page CTA - reduced margins */
  body.features-page .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Very small mobile: Even tighter margins */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-xs);
    /* Minimal margins - 12px */
  }

  /* Further reduce section padding on very small screens */
  .context-section,
  .features-section {
    padding: var(--space-lg) 0;
  }

  /* Hero section very small mobile spacing */
  .hero-section,
  .page-header {
    padding: var(--space-lg) 3% var(--space-sm) 3% !important;
    padding-top: calc(var(--space-lg) + env(safe-area-inset-top)) !important;
  }

  /* Homepage context - minimal spacing */
  body.home .context-section {
    padding: var(--space-lg) var(--space-xs);
  }
}

/* Unified mobile page-header: Features, Science, Vision, Contact, Press, Support, Data Request */
@media (max-width: 768px) {
  body.features-page .page-header,
  body.research-page .page-header,
  body.science-page .page-header,
  body.vision-page .page-header,
  body.contact-page .page-header,
  body.press-page .page-header,
  body.support-page .page-header,
  body.data-request-page .page-header {
    padding: var(--space-lg) 3% var(--space-sm) 3% !important;
    padding-top: calc(var(--space-lg) + env(safe-area-inset-top)) !important;
    margin-bottom: var(--space-md) !important;
  }
  body.features-page .page-header h1,
  body.research-page .page-header h1,
  body.science-page .page-header h1,
  body.vision-page .page-header h1,
  body.contact-page .page-header h1,
  body.press-page .page-header h1,
  body.support-page .page-header h1,
  body.data-request-page .page-header h1 {
    font-size: 2rem !important;
    margin-bottom: var(--space-xs) !important;
  }
  body.features-page .page-header .section-subheading,
  body.research-page .page-header .section-subheading,
  body.science-page .page-header .section-subheading,
  body.vision-page .page-header .section-subheading {
    font-size: 1rem !important;
    margin: 0 auto var(--space-xs) auto !important;
    padding: 0 var(--space-sm) !important;
  }
  body.contact-page .page-header .section-subheading,
  body.press-page .page-header .section-subheading,
  body.support-page .page-header .section-subheading,
  body.data-request-page .page-header .section-subheading {
    font-size: 1rem !important;
    margin: 0 auto var(--space-sm) auto !important;
    padding: 0 var(--space-sm) !important;
  }
  body.features-page .page-header + .context-section,
  body.features-page .page-header + section,
  body.research-page .page-header + .features-section,
  body.research-page .page-header + section,
  body.vision-page .page-header + .vision-nav-tags {
    padding-top: var(--space-xs) !important;
    margin-top: 0 !important;
  }
  body.contact-page .page-header + .features-section,
  body.press-page .page-header + .features-section {
    padding-top: var(--space-xs) !important;
    margin-top: 0 !important;
  }
  body.vision-page #manifesto.features-section {
    padding-top: var(--space-xl) !important;
  }
  
  /* Increase section spacing on vision page mobile */
  body.vision-page .features-section {
    padding-top: var(--space-3xl) !important;
    padding-bottom: var(--space-3xl) !important;
  }
}

@media (max-width: 480px) {
  body.features-page .page-header,
  body.research-page .page-header,
  body.science-page .page-header,
  body.vision-page .page-header,
  body.contact-page .page-header,
  body.press-page .page-header,
  body.support-page .page-header,
  body.data-request-page .page-header {
    padding: var(--space-lg) 3% var(--space-sm) 3% !important;
    padding-top: calc(var(--space-lg) + env(safe-area-inset-top)) !important;
    margin-bottom: var(--space-md) !important;
  }
  body.features-page .page-header h1,
  body.research-page .page-header h1,
  body.science-page .page-header h1,
  body.vision-page .page-header h1,
  body.contact-page .page-header h1,
  body.press-page .page-header h1,
  body.support-page .page-header h1,
  body.data-request-page .page-header h1 {
    font-size: 1.75rem !important;
    margin-bottom: var(--space-xs) !important;
  }
  body.features-page .page-header .section-subheading,
  body.research-page .page-header .section-subheading,
  body.science-page .page-header .section-subheading,
  body.vision-page .page-header .section-subheading {
    font-size: 0.95rem !important;
    margin: 0 auto var(--space-xs) auto !important;
    padding: 0 var(--space-xs) !important;
  }
  body.contact-page .page-header .section-subheading,
  body.press-page .page-header .section-subheading,
  body.support-page .page-header .section-subheading,
  body.data-request-page .page-header .section-subheading {
    font-size: 0.95rem !important;
    margin: 0 auto var(--space-sm) auto !important;
    padding: 0 var(--space-xs) !important;
  }
  body.features-page .page-header + .context-section,
  body.features-page .page-header + section,
  body.research-page .page-header + .features-section,
  body.research-page .page-header + section,
  body.vision-page .page-header + .vision-nav-tags {
    padding-top: var(--space-xs) !important;
    margin-top: 0 !important;
  }
  body.contact-page .page-header + .features-section,
  body.press-page .page-header + .features-section {
    padding-top: var(--space-xs) !important;
    margin-top: 0 !important;
  }
  body.vision-page #manifesto.features-section {
    padding-top: var(--space-xl) !important;
  }
  
  /* Increase section spacing on vision page very small mobile */
  body.vision-page .features-section {
    padding-top: var(--space-2xl) !important;
    padding-bottom: var(--space-2xl) !important;
  }

  /* Make "Get support at" section title smaller on very small mobile */
  body.support-page .features-section .section-title {
    font-size: 1.125rem !important;
  }

  /* Increase padding for "Get support at" section on very small mobile - override last-of-type rule */
  body.support-page #contact.features-section:last-of-type {
    padding: var(--space-xl) 0 !important;
    padding-bottom: var(--space-xl) !important;
  }
}

/* Navigation cards - single column on medium screens */
@media (max-width: 900px) {
  .navigation-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
  .hero-content {
    gap: var(--space-xs);
  }

  .hero-container {
    gap: var(--space-xs);
  }

  .footer-container {
    padding: 0 var(--space-md);
    margin: 0 var(--space-sm);
    min-width: 260px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-content {
    gap: var(--space-md);
  }

  /* Reduce social button sizes on mobile */
  .footer-social .social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social .social-link svg {
    width: 16px !important;
    height: 16px !important;
  }

  .footer-social .social-link[href*="linkedin"] svg {
    width: 14px !important;
    height: 14px !important;
  }

  .footer-social .social-link[href*="substack"] svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Ensure footer description doesn't get cut off */
  .footer-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    text-align: left;
  }

  /* Ensure all footer text is left-aligned on very small mobile screens */
  .footer-heading,
  .footer-copyright,
  .footer-logo-text,
  .footer-list li a {
    text-align: left;
  }

  /* Footer menu items - secondary color and normal weight on very small mobile */
  .footer-list li a,
  .footer-list.footer-content a {
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
  }

  /* Footer copyright - smaller text on very small mobile */
  .footer-copyright,
  .footer .footer-copyright,
  .footer-bottom .footer-copyright,
  body.home .footer-copyright,
  body.features-page .footer-copyright,
  body.home .footer .footer-copyright,
  body.features-page .footer .footer-copyright {
    font-size: 0.6rem !important;
  }

  /* Navigation cards single column on very small screens */
  .navigation-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Navigation card titles - increase font size on very small mobile */
  .navigation-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }

  /* Section subheading - smaller on very small mobile */
  .section-subheading,
  .section-subheading-left {
    font-size: 0.95rem !important;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  /* Typography hierarchy at ~600px:
     h1: 2.5rem - Page headings
     h2: 1.75rem - Section headings
     h3: 1.125rem - Subsection headings
  */

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  h4 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* Very small screens - prevent footer cutoff */
@media (max-width: 360px) {
  .footer-container {
    padding: 0 var(--space-md);
    margin: 0 var(--space-sm);
    min-width: 240px;
  }

  .footer-social {
    gap: var(--space-xs);
  }

  .footer-social .social-link {
    width: 30px;
    height: 30px;
  }

  .footer-social .social-link svg {
    width: 14px !important;
    height: 14px !important;
  }

  .footer-social .social-link[href*="linkedin"] svg {
    width: 12px !important;
    height: 12px !important;
  }

  .footer-social .social-link[href*="substack"] svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Disable hover effects on mobile devices */
@media (max-width: 768px) {

  /* Optimize mobile scrolling performance */
  html {
    scroll-behavior: auto;
  }

  body {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

}

/* FINAL OVERRIDE - Force disable ALL hover effects on feature cards */
.features-page .use-case-card:hover,
.features-page .who-helps-card:hover,
.features-page .use-case:hover,
.features-page .use-case-card:focus,
.features-page .who-helps-card:focus,
.features-page .use-case:focus,
.features-page .use-case-card:active,
.features-page .who-helps-card:active,
.features-page .use-case:active {
  background: rgba(255, 255, 255, 0.03) !important;
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: default !important;
  transition: none !important;
  animation: none !important;
}

.clock-number {
  font-size: 3rem;
}

.clock-number:last-child {
  font-size: 1.5rem;
}

/* FINAL MOBILE OVERRIDES - Maximum specificity */
@media (max-width: 768px) and (min-width: 481px) {
  .hero-content {
    gap: var(--space-xs);
  }

  .hero-container {
    gap: var(--space-xs);
  }

}

@media (max-width: 480px) {
}

/* Mobile styles for founders QA section */
@media (max-width: 768px) {
  body.vision-page #founders .manifesto-question {
    font-size: 1.375rem !important;
    margin-top: 2.5rem;
    margin-bottom: var(--space-md);
    padding-left: 1rem;
    border-left-width: 2px;
  }

  body.vision-page #founders .card-description {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-normal);
  }
  
  /* Add more space after an answer before the next question on mobile - make it more noticeable */
  body.vision-page #founders .card-description + .manifesto-question {
    margin-top: var(--space-2xl) !important;
  }

  body.vision-page #founders .card-description strong {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  body.vision-page #founders .manifesto-question {
    font-size: 1.25rem !important;
    margin-top: var(--space-lg);
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
    border-left-width: 1px;
  }

  body.vision-page #founders .card-description {
    font-size: var(--font-size-sm);
    margin-bottom: 1.25rem;
    line-height: var(--line-height-normal);
  }
  
  /* Add more space after an answer before the next question on very small mobile - make it more noticeable */
  body.vision-page #founders .card-description + .manifesto-question {
    margin-top: var(--space-xl) !important;
  }

  body.vision-page #founders .card-description strong {
    font-size: var(--font-size-sm);
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact page body padding and background */
body.contact-page {
  padding-top: 80px;
  background: var(--bg);
  --container-max: 1200px;
}

/* Contact page - remove all backgrounds */
body.contact-page .features-section {
  background: transparent;
}

body.contact-page .container {
  background: transparent;
}

body.contact-page .features-section>.container {
  padding: 0;
  max-width: 1200px;
}

/* Remove page header background for contact page */
body.contact-page .page-header {
  background: transparent;
}

/* Remove page header overlay for contact page */
body.contact-page .page-header::before {
  background: transparent;
  display: none;
}


body.contact-page main {
  background: var(--bg);
}

/* Contact grid styling to match research page 4-cell layout */
body.contact-page .core-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-sm);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-lg) 0;
  background: transparent;
  border-radius: 0;
}

body.contact-page .core-feature-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: var(--space-md) !important;
  text-align: left;
}

/* Remove any pseudo-element backgrounds on contact page */
body.contact-page .core-feature-item::before,
body.contact-page .core-feature-item::after {
  display: none !important;
  background: transparent !important;
}

@media (max-width: 1200px) {
  body.contact-page .core-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body.contact-page .core-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: 0;
    padding: 0 var(--space-md);
  }

  body.contact-page .features-section>.container {
    padding: 0 var(--space-md);
  }

  body.contact-page .core-feature-item {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  body.contact-page .core-feature-item {
    padding: var(--space-md);
  }
}

/* Contact page feature icons */
body.contact-page .feature-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  margin: 0 0 var(--space-sm) 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent !important;
  border: none !important;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.contact-page .feature-icon svg {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fiery hover effects for contact page icons */
body.contact-page .core-feature-item:hover .feature-icon {
  color: var(--fire);
  transform: scale(1.1);
}

body.contact-page .core-feature-item:hover .feature-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 16px rgba(234, 146, 89, 0.6)) drop-shadow(0 0 24px rgba(255, 107, 53, 0.4));
  color: #FF6B35;
}

/* Contact page typography - matching use cases cards */
body.contact-page .core-feature-item h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--text-bright);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem !important;
  margin-top: 0;
  text-align: left !important;
  padding: 0 !important;
}

body.contact-page .core-feature-item p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin: 0;
  text-align: left !important;
  padding: 0 !important;
}

/* Contact links */
body.contact-page .contact-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color 0.3s ease, background-size 0.3s ease;
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  margin-top: 0.5rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
}

body.contact-page .contact-link:hover {
  color: #fff;
  background-size: 0 1px;
  text-decoration: none;
}

body.contact-page .contact-link:focus {
  outline: none;
  color: #fff;
  background-size: 0 1px;
  text-decoration: none;
}

/* Process flow styling - full width, no background/outline */

/* Hero banner card styling */
.hero-banner {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: 600px;
  margin: var(--space-md) auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: var(--line-height-tight);
  margin-top: var(--space-sm);
}

.hero-banner-badge span {
  display: inline-flex;
  align-items: center;
  line-height: var(--line-height-tight);
}

.hero-coming-soon-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hero-banner-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  will-change: color, text-shadow, transform;
}

.hero-banner-title:hover {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 20px rgba(234, 146, 89, 0.4),
    0 0 40px rgba(234, 146, 89, 0.2),
    0 0 60px rgba(234, 146, 89, 0.1);
  transform: translateY(-2px);
}

/* Override margin-top for context-section hero-banner (already handled in global style above) */
.context-section .hero-banner {
  margin-top: 0;
}

/* CTA box heading hover state - applies globally */
.how-it-works-cta:hover .how-it-works-subheading,
.context-section .hero-banner:hover .hero-banner-title {
  color: #FF8C5A;
  text-shadow: 0 0 8px rgba(255, 140, 90, 0.4);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.context-section .hero-banner .cta-button {
  flex-shrink: 0;
  margin-left: auto;
}

/* Hero CTA button styling */
.hero-cta-button {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Override the base cta-button::before with a more visible effect for white background */
.hero-cta-button::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.4), transparent) !important;
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 16px !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hero-cta-button:hover::before {
  left: 100% !important;
}

.hero-cta-button>* {
  position: relative;
  z-index: 2;
}

.hero-cta-button .apple-icon {
  color: #000;
  fill: currentColor;
}

.hero-cta-button:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #000 !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.3);
}

/* Hero social icons styling */
.hero-social-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.hero-social-icons .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-social-icons .social-link svg {
  width: 24px !important;
  height: 24px !important;
}

/* Desktop banner width */
@media (min-width: 769px) {
  .hero-banner {
    max-width: 1000px;
  }

  /* Tablet responsive for hero-banner in CTA section */
  .context-section .hero-banner {
    max-width: 800px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-sm);
  }

  .context-section .hero-banner .cta-button {
    align-self: auto;
  }
}

/* Mobile responsive for hero banner */
@media (max-width: 768px) {
  .hero-banner {
    padding: 0;
    margin-top: var(--space-lg);
    gap: var(--space-xs);
  }

  .hero-banner-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  /* Global CTA box mobile responsive styles */
  .how-it-works-cta,
  .context-section .hero-banner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .context-section .hero-banner {
    margin-top: 0;
  }
}

/* Research Grid Style - What the Research Shows */
.research-grid-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

.research-finding {
  display: flex;
  flex-direction: column;
}

.finding-title {
  font-size: 1.15rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

.finding-text {
  font-size: 0.95rem;
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.finding-text a {
  color: rgba(234, 146, 89, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(234, 146, 89, 0.4);
  text-underline-offset: 2px;
  transition: all 0.3s ease;
}

.finding-text a:hover {
  color: rgba(234, 146, 89, 1);
  text-decoration-color: rgba(234, 146, 89, 0.7);
}

/* Mobile adjustments for research grid */
@media (max-width: 1200px) {
  .research-grid-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .research-grid-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
  }

  .finding-title {
    font-size: 1.05rem;
  }

  .finding-text {
    font-size: 0.9rem;
  }
}

/* ===== ENHANCED ANIMATIONS & TRANSITIONS ===== */

/* Scroll-triggered fade-in animations - DESKTOP ONLY */
/* Disabled on mobile for performance, especially Safari */
@media (min-width: 769px) {
  .fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }

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

/* Mobile: Show all elements immediately, no animations */
@media (max-width: 768px) {

  .fade-in-on-scroll,
  .fade-in-on-scroll.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    animation: none !important;
  }
}

/* Staggered animation delays for cards - DESKTOP ONLY */
/* Scope stagger to known grids so other elements don't get odd delays */
@media (min-width: 769px) {

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(1),
  .principles-grid-table>.fade-in-on-scroll:nth-child(1),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(1) {
    transition-delay: 0.08s;
  }

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(2),
  .principles-grid-table>.fade-in-on-scroll:nth-child(2),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(2) {
    transition-delay: 0.16s;
  }

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(3),
  .principles-grid-table>.fade-in-on-scroll:nth-child(3),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(3) {
    transition-delay: 0.24s;
  }

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(4),
  .principles-grid-table>.fade-in-on-scroll:nth-child(4),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(4) {
    transition-delay: 0.32s;
  }

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(5),
  .principles-grid-table>.fade-in-on-scroll:nth-child(5),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(5) {
    transition-delay: 0.40s;
  }

  .how-it-works-cards-grid>.fade-in-on-scroll:nth-child(6),
  .principles-grid-table>.fade-in-on-scroll:nth-child(6),
  .navigation-cards-grid>.fade-in-on-scroll:nth-child(6) {
    transition-delay: 0.48s;
  }
}

/* Scale-in animation for hero content - DESKTOP ONLY */
/* Exclude headings and paragraphs */
@media (min-width: 769px) {
  .hero-content>*:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(p):not(.hero-title):not(.section-subheading):not(.hero-subtitle) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
  }

  .cta-container {
    animation-delay: 0.3s;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile: disable hero animations for performance */
@media (max-width: 768px) {
  .hero-content>* {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
/* Disable expensive CSS properties on mobile for better Safari performance */
@media (max-width: 768px) {

  /* Remove will-change on mobile - causes compositing layer issues in Safari */
  .navigation-card,
  .feature-card,
  .use-case-card,
  .who-helps-card,
  .nav-link,
  .mobile-nav-link,
  .faq-question,
  .social-link,
  .footer-list li a,
  .contact-link,
  .mobile-menu-toggle,
  .mobile-nav-close,
  .mobile-nav-cta-button,
  .nav-logo,
  .secondary-button,
  .focus-button,
  .get-started-button,
  .manifesto-button,
  .focus-banner-cta-button,
  .explore-card,
  .benefit-card,
  .link-card,
  .feature,
  .content-section a,
  .page-nav-link,
  .vision-nav-tag,
  .faq-link,
  .cta-button,
  .nav-cta-button,
  .body-button,
  input,
  textarea,
  select {
    will-change: auto !important;
  }

  /* Simplify transitions on mobile - shorter duration, simpler easing */
  /* Exclude mobile-nav which needs its own fade transition */
  *:not(.mobile-nav):not(.mobile-nav *):not(.mobile-nav-header):not(.mobile-nav-links):not(.mobile-nav-item),
  *::before,
  *::after {
    transition-duration: 0.2s !important;
    transition-timing-function: ease-out !important;
  }

  /* Preserve mobile nav fade transition */
  .mobile-nav,
  .mobile-nav-header,
  .mobile-nav-links,
  .mobile-nav-item {
    transition-duration: 0.3s !important;
  }

  /* Disable hover transforms on touch devices */
  .navigation-card:hover,
  .feature-card:hover,
  .use-case-card:hover,
  .who-helps-card:hover,
  .explore-card:hover,
  .benefit-card:hover,
  .link-card:hover,
  .how-it-works-card:hover,
  .principle-cell:hover {
    transform: none !important;
  }
}

/* Enhanced button hover effects */
.cta-button,
.nav-cta-button,
.body-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:not(.hero-cta-button)::before,
.nav-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.cta-button:not(.hero-cta-button):hover::before,
.nav-cta-button:hover::before {
  left: 100%;
}

.cta-button:hover,
.nav-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 146, 89, 0.4),
    0 0 30px rgba(234, 146, 89, 0.2);
}

.cta-button:active,
.nav-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(234, 146, 89, 0.3);
}

/* ===== Interaction vs Static differentiation ===== */
/* Interactive elements: clear affordance (cursor/hover/press). */
.navigation-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    background-color 0.35s ease;
  position: relative;
}

.navigation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
      rgba(234, 146, 89, 0.10) 0%,
      rgba(234, 146, 89, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .navigation-card:hover::before {
    opacity: 1;
  }

  .navigation-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
      0 0 25px rgba(234, 146, 89, 0.15);
  }
}

/* Static elements: still "alive", but NOT clickable-feeling. */
.how-it-works-card,
.principle-cell {
  position: relative;
  cursor: default;
  transition: background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {

  .how-it-works-card:hover,
  .principle-cell:hover {
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }
}

/* Icon animations: strong for interactive, subtle for static */
.navigation-card-icon,
.how-it-works-icon,
.principle-icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease,
    filter 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .navigation-card:hover .navigation-card-icon {
    transform: scale(1.08) rotate(4deg);
    color: var(--fire);
  }

  .how-it-works-card:hover .how-it-works-icon,
  .principle-cell:hover .principle-icon {
    transform: none;
    color: var(--fire);
    filter: drop-shadow(0 0 10px rgba(234, 146, 89, 0.18));
  }
}

/* Enhanced section transitions */
.context-section,
.navigation-cards-section {
  opacity: 0;
  animation: fadeInSection 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes fadeInSection {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Smooth scroll behavior enhancement */
html {
  scroll-behavior: smooth;
}

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

/* Enhanced header background transition */
.main-nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

/* Nav link hover: keep color only (no underline animation) */
.nav-link {
  transition: color 0.3s ease;
}

/* Enhanced mobile menu animations - removed conflicting transform, using fade instead */

.mobile-nav-links li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.open .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-nav.open .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}

/* Smooth page load animation */
body.js-loaded {
  animation: fadeInBody 0.5s ease forwards;
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Enhanced social link animations */
.social-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(234, 146, 89, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: -1;
}

.social-link:hover::before {
  width: 40px;
  height: 40px;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.15);
  color: var(--fire);
}

/* Section titles load immediately - no animation */
.section-title {
  opacity: 1;
  transform: none;
}

/* Enhanced footer link animations */
.footer-list li a {
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-list li a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 0;
  background: var(--fire);
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

/* Footer list hover styles moved to main footer-list li a rule above */

/* Smooth dropdown animations */
.dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reduced motion support for new animations */
@media (prefers-reduced-motion: reduce) {

  .fade-in-on-scroll,
  .hero-content>*,
  .context-section,
  .navigation-cards-section,
  .section-title,
  .mobile-nav-links li {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .navigation-card:hover,
  .how-it-works-card:hover,
  .principle-cell:hover {
    transform: none !important;
  }
}

/* ===== FEATURES PAGE STYLES ===== */

/* Critical CSS to prevent FOUC - only for pages using js-loading system */
body.js-loading {
  opacity: 0;
  visibility: hidden;
}

body.js-loaded {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.1s ease-in-out;
}

a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

/* How it Works: Equal 3 columns */
.process-flow.process-flow-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.process-step.process-step-custom {
  max-width: none;
  width: 100%;
}

/* Core Features: fix mobile stacking */
#core-features .core-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--space-sm);
  box-sizing: border-box;
  justify-items: stretch;
}

/* Mobile responsive for How it Works - stack only on mobile */
@media (max-width: 480px) {
  .process-flow.process-flow-custom {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Tablet: keep 3 columns but reduce gap */
@media (max-width: 768px) and (min-width: 481px) {
  .process-flow.process-flow-custom {
    gap: var(--space-md);
  }
}

/* ADHD & Neurodivergence title - narrower line height for desktop */
@media (min-width: 769px) {
  .core-features-grid .core-feature-item:nth-child(4) h3 {
    line-height: 1.2;
  }
}

/* Set backgrounds to black for Core Features and How it Works */
body.features-page #core-features .core-feature-item,
body.features-page .process-step-custom {
  background: var(--bg);
}

/* Ensure all child elements also have black background */
body.features-page #core-features .core-feature-item *,
body.features-page .process-step-custom * {
  background: var(--bg);
}

/* Override any white backgrounds on specific elements */
body.features-page #core-features .core-feature-item .feature-icon,
body.features-page .process-step-custom .step-icon {
  background: var(--bg);
}

/* Remove any gray overlays or transparent backgrounds */
body.features-page #core-features .core-feature-item::before,
body.features-page #core-features .core-feature-item::after,
body.features-page .process-step-custom::before,
body.features-page .process-step-custom::after {
  background: transparent;
  display: none;
}

/* Override any rgba backgrounds that might create gray overlays */
body.features-page #core-features .core-feature-item,
body.features-page .process-step-custom {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
}

/* Remove all background variations and ensure pure black */
body.features-page #core-features,
body.features-page #core-features *,
body.features-page .process-flow,
body.features-page .process-flow *,
body.features-page .process-step-custom,
body.features-page .process-step-custom *,
body.features-page .core-features-grid,
body.features-page .core-features-grid * {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
  background-attachment: initial;
  background-clip: initial;
  background-origin: initial;
  background-position: initial;
  background-repeat: initial;
  background-size: initial;
}

/* Remove any box shadows that might create visual variations */
body.features-page #core-features .core-feature-item,
body.features-page .process-step-custom {
  box-shadow: none;
}

/* Override any inherited backgrounds from parent elements */
body.features-page #core-features .core-feature-item,
body.features-page .process-step-custom {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
  box-shadow: none;
  border: none;
}

/* Override any CSS from main.css that might affect these sections */
body.features-page .features-section #core-features,
body.features-page .features-section #core-features *,
body.features-page .features-section .process-step-custom,
body.features-page .features-section .process-step-custom * {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
  box-shadow: none;
}

/* Ensure no gradients or patterns are applied */
body.features-page #core-features .core-feature-item,
body.features-page .process-step-custom {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
  background-attachment: initial;
  background-clip: initial;
  background-origin: initial;
  background-position: initial;
  background-repeat: initial;
  background-size: initial;
  box-shadow: none;
  border: none;
  outline: none;
}

@media (max-width: 768px) {
  body.features-page #core-features .core-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-items: stretch;
  }

  body.features-page #core-features .core-feature-item {
    width: 100%;
    box-sizing: border-box;
    justify-self: stretch;
  }

  /* Increase container width for core features section on mobile */
  body.features-page #core-features .container {
    max-width: 95%;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
}

/* Process Flow - Text Only Layout */
.process-step-custom:not(:last-child)::after {
  display: none;
}

.process-step-custom {
  position: relative;
}

/* Adjust spacing for How it Works steps */
.process-step-custom .step-icon {
  margin-bottom: var(--space-md);
}

.process-step-custom .step-content h4 {
  margin-bottom: var(--space-sm);
  margin-top: 0;
}

.process-step-custom .step-content p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Remove all outlines from process steps */
.process-step-custom,
.process-step-custom *,
.process-step-custom:focus,
.process-step-custom:focus-visible,
.process-step-custom *:focus,
.process-step-custom *:focus-visible {
  outline: none;
  border: none;
}

/* Process Flow Responsive Breakpoints */
@media (max-width: 1024px) {
  .process-flow-custom {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .process-step-custom:not(:last-child)::after {
    display: none;
  }

  .process-step-custom {
    padding: var(--space-sm);
  }
}

/* Hide dividers on mobile */
@media (max-width: 768px) {
  .process-step-custom:not(:last-child)::after {
    display: none;
  }
}

/* Also disable hover effects on .use-case class */
.use-case:hover,
.use-case:focus,
.use-case:active {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
  cursor: default;
}

/* Reduce use-case-card and who-helps-card background opacity */
.use-case-card,
.who-helps-card {
  background: rgba(255, 255, 255, 0.01);
}

/* Banner image styling - match content width */
.how-it-works-banner,
.core-features-banner,
.people-help-banner,
.use-cases-banner {
  max-width: 1200px;
  margin: var(--space-xl) auto;
  width: 100%;
  padding: 0 15px;
}

.how-it-works-banner img,
.core-features-banner img,
.people-help-banner img,
.use-cases-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Mobile: full width EDGE-TO-EDGE */
@media (max-width: 768px) {

  .how-it-works-banner,
  .core-features-banner,
  .people-help-banner,
  .use-cases-banner {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .how-it-works-banner img,
  .core-features-banner img,
  .people-help-banner img,
  .use-cases-banner img {
    border-radius: 0;
  }

  /* Fix container overflow on mobile - override global container styles */
  body.features-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  /* Ensure core features section is properly centered - increase width on mobile */
  body.features-page #core-features .container {
    padding-left: 2.5%;
    padding-right: 2.5%;
    margin: 0 auto;
    width: 100%;
    max-width: 95%;
    box-sizing: border-box;
  }
}

/* SEO-Friendly FAQ: Hide visually but keep accessible to crawlers */
.faq-answer {
  /* Ensure content is always in DOM for search engines */
  position: relative;
}

/* Collapsed state - hide visually but keep accessible */
.faq-answer:not(.active) {
  /* Hide visually using screen reader friendly method */
  clip: rect(0, 0, 0, 0);
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  /* Remove visual styling when hidden */
  background: transparent;
  padding: 0;
  /* Delayed dissolve out animation */
  opacity: 0;
  transition: opacity 0.4s ease-out 0.1s;
}

/* Expanded state - show with delayed dissolve in */
.faq-answer.active {
  /* Reset to normal display */
  clip: auto;
  position: static;
  left: auto;
  width: auto;
  height: auto;
  overflow: visible;
  /* Restore visual styling - no top border */
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
  max-height: 500px;
  /* Delayed dissolve in animation */
  opacity: 1;
  transition: opacity 0.4s ease-out 0.1s;
}

/* Fiery red glow hover effect for all icons - same as homepage */
.step-icon,
.feature-icon,
.use-case-icon,
.who-helps-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-custom:hover .step-icon svg,
.core-feature-item:hover .feature-icon svg {
  color: #FF6B35;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-custom:hover .step-icon,
.core-feature-item:hover .feature-icon {
  color: #FF6B35;
}

/* Disable hover effects on use-case-card and who-helps-card icons */
.use-case-card:hover .use-case-icon svg,
.use-case-card:hover .use-case-icon,
.who-helps-card:hover .who-helps-icon svg,
.who-helps-card:hover .who-helps-icon {
  color: currentColor;
  transition: none;
}