/* ================================================================
   BinaLapse – Main Stylesheet
   Design System: "Architectural Intelligence" (see DESIGN.md)
   ================================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* Primary */
  --primary: #00327d;
  --primary-container: #0047ab;
  --on-primary: #ffffff;

  /* Gold accent (from logo) */
  --gold: #c5962a;
  --gold-light: #d4ab4a;
  --gold-dark: #a67c1e;

  /* Surfaces – light, layered hierarchy */
  --surface: #faf8ff;
  --surface-dim: #f0eef6;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f4f2fa;
  --surface-container: #eeedf5;
  --surface-container-high: #e8e7ef;
  --surface-container-highest: #e3e1e9;

  /* On-surface text */
  --on-surface: #191b22;
  --on-surface-variant: #44464f;

  /* Secondary */
  --secondary-container: #dde1f9;
  --on-secondary-container: #161b2c;

  /* Outline */
  --outline: #757780;
  --outline-variant: #c5c6d0;

  /* Misc */
  --surface-tint: rgba(0, 50, 125, 0.08);
  --shadow: rgba(25, 27, 34, 0.15);
  --error: #ba1a1a;

  /* Radii (industrial: never full-round) */
  --radius-sm: 0.25rem;
  /* 4px  */
  --radius-md: 0.375rem;
  /* 6px  */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-indices */
  --z-nav: 1000;
  --z-overlay: 900;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ── Typography Scale ── */
.display-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.headline-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.headline-md {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.title-lg {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.title-md {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.body-md {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.body-sm {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.label-sm {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Layout Utility ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad {
  padding: 5rem 0;
}

/* Section label (small gold tag above titles) */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--on-surface-variant);
  max-width: 640px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  box-shadow: 0 4px 20px rgba(0, 50, 125, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-container), var(--primary));
  box-shadow: 0 6px 28px rgba(0, 50, 125, 0.35);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(197, 150, 42, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 28px rgba(197, 150, 42, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--on-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 1rem 0;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(250, 248, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px var(--shadow);
  padding: 0.625rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-logo .nav-logo-dark {
  display: none;
}

.navbar.scrolled .nav-logo .nav-logo-light {
  display: none;
}

.navbar.scrolled .nav-logo .nav-logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-primary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--on-surface);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: calc(var(--z-nav) + 10);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--on-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-smooth);
}

.navbar.scrolled .nav-toggle span {
  background: var(--on-surface);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 50, 125, 0.97);
  backdrop-filter: blur(20px);
  z-index: var(--z-nav);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(0, 50, 125, 0.88) 0%,
      rgba(0, 50, 125, 0.72) 40%,
      rgba(0, 50, 125, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero .hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero .hero-subtext {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating accent shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.06;
  background: #fff;
}

.hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -50px;
  transform: rotate(25deg);
}

.hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 10%;
  transform: rotate(-15deg);
}

/* ================================================================
   SOLUTION OVERVIEW
   ================================================================ */
.overview {
  background: var(--surface);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.overview-text .overview-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.overview-text p {
  color: var(--on-surface-variant);
}

.overview-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.overview-image img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* Goal callout */
.goal-callout {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.goal-callout .goal-label {
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.goal-callout p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ================================================================
   FEATURES (How BinaLapse Supports Your Projects)
   ================================================================ */
.features {
  background: var(--surface-container-low);
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 50, 125, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(197, 150, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--on-surface);
}

.feature-card p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ================================================================
   MONITORING TOOLS
   ================================================================ */
.tools {
  background: linear-gradient(160deg, var(--primary) 0%, #001a42 100%);
  position: relative;
  overflow: hidden;
}

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

.tools-header .section-label {
  color: var(--gold-light);
}

.tools-header .section-title {
  color: #fff;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tool-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.tool-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.tool-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.tool-card:hover .tool-card-image img {
  transform: scale(1.05);
}

.tool-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 26, 66, 0.6), transparent);
}

.tool-card-body {
  padding: 1.5rem;
}

.tool-card-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tool-card-body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Decorative shapes on tools section */
.tools-deco {
  position: absolute;
  pointer-events: none;
}

.tools-deco-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(197, 150, 42, 0.08);
  top: -200px;
  right: -200px;
}

.tools-deco-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -100px;
}

/* ================================================================
   WHY BINALAPSE
   ================================================================ */
.why {
  background: var(--surface);
}

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

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-block {
  padding: 2.25rem 2rem;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
}

.why-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 50, 125, 0.06);
}

.why-block-number {
  position: absolute;
  top: -12px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
}

.why-block h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 1rem;
}

.why-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.why-block li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.why-block li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* Optional "Improved Resource Allocation" note */
.why-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.why-footer-note strong {
  color: var(--on-surface);
}

.why-footer-note span {
  color: var(--on-surface-variant);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--surface-container-low);
  position: relative;
  overflow: hidden;
}

/* Curved blue shape at top */
.contact::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 240px;
  background: var(--surface);
  border-radius: 0 0 50% 50%;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-logo {
  height: auto;
  width: auto;
  max-height: 72px;
  max-width: 200px;
  object-fit: contain;
}

.contact-info .powered-by {
  display: none;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  transition: color 0.3s;
}

.contact-detail-item:hover {
  color: var(--primary);
}

.contact-detail-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.contact-cta {
  padding: 2.5rem 2.25rem;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  text-align: center;
}

.contact-cta h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 0.75rem;
}

.contact-cta p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta .btn-gold {
  font-size: 1rem;
  padding: 0.9375rem 2.5rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

/* ================================================================
   SCROLL ANIMATIONS (fade-in on scroll)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal-stagger.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger.visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger.visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-stagger.visible>*:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-stagger.visible>*:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE: Tablet (768px+)
   ================================================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* ================================================================
   RESPONSIVE: Desktop (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }

  .section-pad {
    padding: 6.5rem 0;
  }

  .nav-toggle {
    display: none !important;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .overview-grid {
    gap: 4rem;
  }
}

/* ================================================================
   RESPONSIVE: Mobile (<768px)
   ================================================================ */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .hero-logo {
    height: 48px;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .features-header,
  .tools-header,
  .why-header {
    margin-bottom: 2.5rem;
  }

  .goal-callout {
    padding: 1.5rem;
  }

  .tool-card-body {
    padding: 1.25rem;
  }

  .why-block {
    padding: 1.75rem 1.5rem;
  }

  .contact-cta {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    gap: 1.25rem;
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}