/* ============================================================================
   MOSSIE MARKETING WEBSITE — "CAPE SPARROW"
   A warm, scholarly light theme inspired by the Cape Sparrow's plumage:
   chestnut brown, warm cream, and the golden light of the South African veld.
   Matching the Mossie React web app aesthetic exactly.
   ============================================================================ */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core Palette — Warm Light */
  --bg: #FAF7F2;
  --surface: #F3EDE4;
  --surface-white: #FFFFFF;
  --surface-hover: #EDE7DB;
  --border: #E0D6C8;
  --border-subtle: rgba(224, 214, 200, 0.6);

  /* Primary — Chestnut Brown (Cape Sparrow plumage) */
  --chestnut-50: #FBF5F0;
  --chestnut-100: #F5E6D8;
  --chestnut-200: #E8CCAE;
  --chestnut-300: #D4A97A;
  --chestnut-400: #C08552;
  --chestnut: #A0673C;
  --chestnut-600: #8B5530;
  --chestnut-700: #704425;
  --chestnut-800: #58351C;
  --chestnut-900: #432815;
  --chestnut-glow: rgba(160, 103, 60, 0.12);
  --chestnut-glow-strong: rgba(160, 103, 60, 0.20);

  /* Secondary — Warm Grey */
  --grey-50: #F7F5F3;
  --grey-100: #EDE9E4;
  --grey-200: #DDD7CF;
  --grey-300: #C4BBB0;
  --grey-400: #A89E92;
  --grey: #8E8378;
  --grey-600: #776D63;
  --grey-700: #615850;
  --grey-800: #4D453F;
  --grey-900: #3A342F;

  /* Tertiary — Dusty Rose */
  --rose-400: #C98A8A;
  --rose: #B57575;
  --rose-600: #A06262;
  --rose-glow: rgba(181, 117, 117, 0.10);

  /* Semantic */
  --success: #2E8B40;
  --warning: #D97706;
  --error: #DC3545;

  /* Text — Dark on Light */
  --text: #2C2521;
  --text-secondary: #6B6057;
  --text-muted: #9C9189;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Radius — Matching React app */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 100px;

  /* Shadows — Warm-tinted (matching React app exactly) */
  --shadow-sm: 0 1px 2px 0 rgba(44, 37, 33, 0.04);
  --shadow: 0 4px 6px -1px rgba(44, 37, 33, 0.06), 0 2px 4px -2px rgba(44, 37, 33, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(44, 37, 33, 0.08), 0 3px 6px -3px rgba(44, 37, 33, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(44, 37, 33, 0.10), 0 4px 10px -4px rgba(44, 37, 33, 0.06);
  --shadow-xl: 0 20px 40px -5px rgba(44, 37, 33, 0.14), 0 8px 16px -6px rgba(44, 37, 33, 0.08);
  --shadow-card: 0 8px 20px -3px rgba(44, 37, 33, 0.08), 0 4px 8px -4px rgba(44, 37, 33, 0.05);
  --shadow-card-hover: 0 12px 28px -4px rgba(44, 37, 33, 0.12), 0 6px 12px -6px rgba(44, 37, 33, 0.06);
  --glow-chestnut: 0 0 20px rgba(160, 103, 60, 0.12);
  --glow-chestnut-strong: 0 0 30px rgba(160, 103, 60, 0.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur: 200ms;
  --dur-slow: 400ms;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:focus-visible {
  outline: 2px solid rgba(160, 103, 60, 0.5);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible {
  outline: 2px solid rgba(160, 103, 60, 0.5);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection {
  background: rgba(160, 103, 60, 0.20);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   PAPER TEXTURE & AMBIENT BACKGROUND
   -------------------------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.ambient__glow--hero {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(160, 103, 60, 0.06) 0%, transparent 70%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: ambient-drift-1 25s ease-in-out infinite;
}

.ambient__glow--mid {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(142, 131, 120, 0.05) 0%, transparent 70%);
  top: 55%;
  right: -200px;
  opacity: 0.5;
  animation: ambient-drift-2 30s ease-in-out infinite;
}

.ambient__glow--bottom {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 117, 117, 0.04) 0%, transparent 70%);
  bottom: 5%;
  left: -150px;
  opacity: 0.4;
  animation: ambient-drift-3 22s ease-in-out infinite;
}

@keyframes ambient-drift-1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(20px); }
}

@keyframes ambient-drift-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(5deg); }
}

@keyframes ambient-drift-3 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(15px); }
}

/* Paper/noise grain — matching React app */
.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   CONTAINER & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--sp-xl); }
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, .heading {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-xs) var(--sp-md);
  background: var(--chestnut-glow);
  border: 1px solid rgba(160, 103, 60, 0.15);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--chestnut);
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.02em;
}

.section-tag--warm {
  background: var(--rose-glow);
  border-color: rgba(181, 117, 117, 0.15);
  color: var(--rose);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: var(--sp-md);
}

.section-title em {
  font-style: italic;
  color: var(--chestnut);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-4xl);
}

.section-header .section-sub {
  margin: 0 auto;
}

code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875em;
  padding: 2px 8px;
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
  border-radius: var(--r-sm);
  color: var(--chestnut);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-xl);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  color: #FFFFFF;
  box-shadow: var(--glow-chestnut), var(--shadow-md);
  border: 2px solid transparent;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--chestnut) 0%, var(--chestnut-600) 100%);
  transform: translateY(-2px);
  box-shadow: var(--glow-chestnut-strong), var(--shadow-lg);
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: var(--surface-white);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--chestnut);
  color: var(--chestnut);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface-white);
  color: var(--text);
  border-color: var(--chestnut-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--sm { padding: var(--sp-sm) var(--sp-md); font-size: 0.875rem; }
.btn--lg { padding: var(--sp-lg) var(--sp-2xl); font-size: 1rem; }
.btn--full { width: 100%; }

.btn__arrow { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   NAVIGATION — Frosted light glass
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.80);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  z-index: 110;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
}

.nav__center {
  display: none;
  align-items: center;
  gap: var(--sp-2xl);
}

@media (min-width: 768px) {
  .nav__center { display: flex; }
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}

.nav__link:hover { color: var(--text); }
.nav__link--login:hover { color: var(--chestnut); }

.nav__right {
  display: none;
  align-items: center;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .nav__right { display: flex; }
}

/* Mobile hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  z-index: 110;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu — light frosted overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease), visibility var(--dur-slow) var(--ease);
}

.nav__mobile[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3xl);
  padding: var(--sp-xl);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease);
}

.nav__mobile-link:hover { color: var(--chestnut); }
.nav__mobile-link--muted { font-family: var(--font-body); font-size: 1rem; color: var(--text-secondary); }

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  width: 100%;
  max-width: 280px;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--sp-3xl)) 0 var(--sp-3xl);
}

.hero__grid {
  display: grid;
  gap: var(--sp-3xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--sp-4xl);
  }
}

.hero__content { max-width: 540px; }

@media (min-width: 1024px) {
  .hero__content { max-width: none; }
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xl);
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 139, 64, 0.2); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

/* Title */
.hero__title {
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  line-height: 1.08;
  margin-bottom: var(--sp-xl);
  color: var(--text);
}

.hero__title-em {
  display: block;
  color: var(--chestnut);
  font-style: italic;
}

/* Subtitle */
.hero__sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2xl);
  max-width: 480px;
}

.hero__sub em {
  color: var(--chestnut);
  font-style: italic;
  font-weight: 600;
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.hero__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

.hero__sparrow-note {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.hero__sparrow-icon {
  flex-shrink: 0;
  opacity: 0.4;
}

/* Hero Device Mockup — Light workspace */
.hero__visual { position: relative; }

.hero__device {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.hero__device-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero__device-dots {
  display: flex;
  gap: 6px;
}

.hero__device-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__device-dots span:nth-child(1) { background: #ff5f57; }
.hero__device-dots span:nth-child(2) { background: #febc2e; }
.hero__device-dots span:nth-child(3) { background: #28c840; }

.hero__device-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  padding: 2px 12px;
  border-radius: var(--r-sm);
  flex: 1;
  max-width: 200px;
}

.hero__device-body {
  display: flex;
  min-height: 320px;
  overflow: hidden;
}

.hero__device-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.hero__device-sidebar {
  width: 150px;
  padding: var(--sp-md);
  border-right: 1px solid var(--border);
  background: var(--surface);
  display: none;
}

@media (min-width: 640px) {
  .hero__device-sidebar { display: block; }
}

.hero__device-nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  margin-bottom: 4px;
}

.hero__device-nav-item--active {
  background: rgba(160, 103, 60, 0.10);
  color: var(--chestnut);
}

.hero__device-main {
  flex: 1;
  padding: var(--sp-lg);
  position: relative;
  background: var(--surface-white);
}

.hero__device-doc-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}

.hero__device-doc-section { margin-bottom: var(--sp-md); }

.hero__device-doc-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--chestnut);
  margin-bottom: var(--sp-xs);
}

.hero__device-doc-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__device-doc-text--typing::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--chestnut);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__device-voice {
  position: absolute;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: var(--sp-xs) var(--sp-md);
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--chestnut);
}

.hero__glow-ring {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(160, 103, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   STATS STRIP
   -------------------------------------------------------------------------- */
.stats {
  padding: var(--sp-3xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-white);
}

.stats__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xl);
}

@media (min-width: 640px) {
  .stats__grid {
    flex-direction: row;
    justify-content: center;
    gap: var(--sp-3xl);
  }
}

.stats__item { text-align: center; }

.stats__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--chestnut);
  display: block;
}

.stats__unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: block;
}

.stats__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

.stats__divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  display: none;
}

@media (min-width: 640px) {
  .stats__divider {
    display: block;
    width: 1px;
    height: 48px;
  }
}

/* --------------------------------------------------------------------------
   PAIN POINTS
   -------------------------------------------------------------------------- */
.pain {
  padding: var(--sp-5xl) 0;
}

.pain__grid {
  display: grid;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .pain__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
  }
}

.pain__card {
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.pain__card:hover {
  transform: translateY(-4px);
  border-color: var(--rose-400);
  box-shadow: var(--shadow-card-hover), 0 0 20px var(--rose-glow);
}

.pain__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose-400) 0%, var(--rose-600) 100%);
  border-radius: 14px;
  color: #FFFFFF;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 4px 12px -2px rgba(181, 117, 117, 0.25);
}

.pain__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.pain__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   THE MOSSIE STORY
   -------------------------------------------------------------------------- */
.story {
  padding: var(--sp-5xl) 0;
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle warm glow behind the section */
.story::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 117, 117, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.story__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Twee mossies coin */
.story__coin {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--sp-2xl);
  color: var(--chestnut);
  animation: coin-glow 4s ease-in-out infinite;
}

@keyframes coin-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(160, 103, 60, 0.10)); }
  50% { filter: drop-shadow(0 0 20px rgba(160, 103, 60, 0.20)); }
}

.story__coin-svg { width: 100%; height: 100%; }

.story__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--sp-2xl);
  color: var(--text);
}

.story__body {
  text-align: left;
}

.story__body p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.story__body em {
  color: var(--chestnut);
  font-style: italic;
}

.story__emphasis {
  font-size: 1.125rem !important;
  color: var(--text) !important;
  border-left: 3px solid var(--chestnut);
  padding-left: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.story__emphasis strong {
  color: var(--chestnut);
}

/* --------------------------------------------------------------------------
   VOICE LEARNING — HERO FEATURE
   -------------------------------------------------------------------------- */
.voice-feature {
  display: grid;
  gap: var(--sp-3xl);
  padding: var(--sp-3xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-3xl);
  box-shadow: var(--shadow-card);
}

@media (min-width: 1024px) {
  .voice-feature {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

.voice-feature__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  border-radius: 16px;
  color: #FFFFFF;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 4px 12px -2px rgba(160, 103, 60, 0.3);
}

.voice-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.voice-feature__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.voice-feature__text strong { color: var(--chestnut); }

.voice-feature__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-xs) var(--sp-md);
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--chestnut);
}

.voice-feature__demo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

@media (min-width: 640px) {
  .voice-feature__demo {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-xl);
  }
}

.voice-feature__before,
.voice-feature__after {
  flex: 1;
  padding: var(--sp-lg);
  border-radius: var(--r-md);
}

.voice-feature__before {
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
}

.voice-feature__after {
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
}

.voice-feature__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
}

.voice-feature__after .voice-feature__label { color: var(--chestnut); }

.voice-feature__before p,
.voice-feature__after p {
  font-size: 0.9375rem;
  line-height: 1.6;
  font-style: italic;
}

.voice-feature__before p { color: var(--text-muted); }
.voice-feature__after p { color: var(--text); }

.voice-feature__arrow {
  color: var(--chestnut);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   FEATURE CARDS GRID
   -------------------------------------------------------------------------- */
.features {
  padding: var(--sp-3xl) 0 var(--sp-5xl);
}

.features__grid {
  display: grid;
  gap: var(--sp-lg);
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.fcard {
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.fcard:hover {
  transform: translateY(-4px);
  border-color: var(--chestnut-200);
  box-shadow: var(--shadow-card-hover);
}

.fcard__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.fcard__icon--amber {
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  color: #FFFFFF;
}

.fcard__icon--sage {
  background: linear-gradient(135deg, var(--grey) 0%, var(--grey-600) 100%);
  color: #FFFFFF;
}

.fcard__icon--rose {
  background: linear-gradient(135deg, var(--rose-400) 0%, var(--rose-600) 100%);
  color: #FFFFFF;
}

.fcard__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.fcard__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   VISUAL CONTENT LIBRARY
   -------------------------------------------------------------------------- */
.visuals {
  padding: var(--sp-5xl) 0;
  border-top: 1px solid var(--border);
}

.visuals__grid {
  display: grid;
  gap: var(--sp-2xl);
  margin-top: var(--sp-3xl);
}

@media (min-width: 768px) {
  .visuals__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}

.visuals__panel {
  display: flex;
  flex-direction: column;
}

.visuals__frame {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: box-shadow var(--dur-slow) var(--ease);
}

.visuals__panel:hover .visuals__frame {
  box-shadow: var(--shadow-xl), var(--glow-chestnut);
}

.visuals__frame-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.visuals__frame-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.visuals__frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.visuals__frame-tabs {
  display: flex;
  gap: var(--sp-xs);
  overflow: hidden;
}

.visuals__frame-tab {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.visuals__frame-tab--active {
  color: var(--chestnut);
  background: var(--chestnut-50);
  font-weight: 600;
}

.visuals__screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.visuals__panel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}

.visuals__panel-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PLATFORM SHOWCASE
   -------------------------------------------------------------------------- */
.platforms {
  padding: var(--sp-5xl) 0;
  background: var(--surface-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platforms__showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-xl);
  padding: var(--sp-3xl) 0 var(--sp-xl);
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .platforms__showcase { flex-wrap: nowrap; gap: var(--sp-2xl); }
}

.platforms__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}

.platforms__device-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}

.platforms__device:hover .platforms__device-frame {
  border-color: var(--chestnut-200);
  box-shadow: var(--glow-chestnut), var(--shadow-lg);
}

.platforms__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* Laptop */
.platforms__device--laptop .platforms__device-frame {
  width: 240px;
  height: 160px;
  border-radius: var(--r-md);
}

@media (min-width: 768px) {
  .platforms__device--laptop .platforms__device-frame {
    width: 280px;
    height: 180px;
  }
}

.platforms__device-screen { height: 100%; display: flex; flex-direction: column; }

.platforms__screen-bar {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.platforms__screen-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.platforms__screen-bar span:nth-child(1) { background: #ff5f57; }
.platforms__screen-bar span:nth-child(2) { background: #febc2e; }
.platforms__screen-bar span:nth-child(3) { background: #28c840; }

.platforms__screen-content {
  flex: 1;
  display: flex;
  padding: 8px;
  gap: 6px;
  background: var(--surface-white);
}

.platforms__screen-content--real {
  padding: 0;
  overflow: hidden;
}

.platforms__screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.platforms__screen-sidebar {
  width: 50px;
  background: var(--surface);
  border-radius: 4px;
}

.platforms__screen-sidebar--narrow { width: 35px; }

.platforms__screen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.platforms__screen-line {
  height: 6px;
  background: var(--grey-100);
  border-radius: 3px;
}

.platforms__screen-line--title {
  height: 10px;
  width: 70%;
  background: var(--chestnut-100);
}

.platforms__screen-line--short { width: 50%; }
.platforms__screen-line--tiny { width: 40%; height: 4px; }

.platforms__screen-btn {
  width: 100%;
  height: 16px;
  margin-top: auto;
  background: var(--chestnut-100);
  border-radius: 4px;
}

/* Tablet */
.platforms__device--tablet .platforms__device-frame {
  width: 150px;
  height: 200px;
  border-radius: var(--r-md);
}

@media (min-width: 768px) {
  .platforms__device--tablet .platforms__device-frame {
    width: 170px;
    height: 220px;
  }
}

.platforms__screen-content--tablet {
  flex-direction: row;
  padding: 10px;
  gap: 6px;
}

/* Phone */
.platforms__device--phone .platforms__device-frame {
  width: 90px;
  height: 170px;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .platforms__device--phone .platforms__device-frame {
    width: 100px;
    height: 190px;
  }
}

.platforms__screen-content--phone {
  flex-direction: column;
  padding: 12px 8px;
  gap: 8px;
}

/* Watch */
.platforms__device--watch .platforms__device-frame {
  width: 70px;
  height: 85px;
  border-radius: 18px;
}

@media (min-width: 768px) {
  .platforms__device--watch .platforms__device-frame {
    width: 80px;
    height: 95px;
  }
}

.platforms__screen-content--watch {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  gap: 8px;
}

.platforms__screen-mic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
}

/* Voice assistant */
.platforms__device--voice .platforms__device-frame {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .platforms__device--voice .platforms__device-frame {
    width: 80px;
    height: 80px;
  }
}

.platforms__voice-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--chestnut-200);
  background: var(--chestnut-50);
  animation: voice-pulse 2.5s ease-in-out infinite;
}

@keyframes voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(160, 103, 60, 0.12); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

/* --------------------------------------------------------------------------
   GOOGLE INTEGRATION
   -------------------------------------------------------------------------- */
.integration {
  padding: var(--sp-5xl) 0;
}

.integration__grid {
  display: grid;
  gap: var(--sp-4xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .integration__grid { grid-template-columns: 1fr 1.2fr; }
}

.integration__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}

.integration__checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  color: var(--text-secondary);
}

.integration__checklist svg {
  flex-shrink: 0;
  color: var(--chestnut);
  margin-top: 2px;
}

/* Demo visual */
.integration__demo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  align-items: center;
}

@media (min-width: 640px) {
  .integration__demo {
    flex-direction: row;
    gap: var(--sp-xl);
  }
}

.integration__card {
  flex: 1;
  width: 100%;
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
}

.integration__card--input {
  background: var(--surface);
  border: 1px solid var(--border);
}

.integration__card--output {
  background: var(--surface-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.integration__card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border);
}

.integration__placeholders {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.integration__ph {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--chestnut-50);
  border: 1px dashed var(--chestnut-200);
  border-radius: var(--r-sm);
  font-family: 'SF Mono', monospace;
  font-size: 0.75rem;
  color: var(--chestnut);
}

.integration__arrow {
  color: var(--chestnut);
  flex-shrink: 0;
}

.integration__preview-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: var(--sp-md);
}

.integration__preview-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-xs);
}

/* --------------------------------------------------------------------------
   KNOWLEDGE GRAPH — Connected Context
   -------------------------------------------------------------------------- */
.knowledge-graph {
  padding: var(--sp-5xl) 0;
  background: var(--surface-white);
  border-top: 1px solid var(--border);
}

.knowledge-graph__grid {
  display: grid;
  gap: var(--sp-4xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .knowledge-graph__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.knowledge-graph__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-lg);
}

.knowledge-graph__connections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-2xl);
}

.knowledge-graph__node {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-200);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--chestnut);
}

.knowledge-graph__node svg {
  flex-shrink: 0;
  color: var(--chestnut);
}

.knowledge-graph__edge {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--chestnut-200), var(--chestnut-300));
  border-radius: 1px;
}

@media (max-width: 639px) {
  .knowledge-graph__edge {
    width: 12px;
  }
}

.knowledge-graph__subtext {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--sp-lg);
}

.knowledge-graph__frame {
  background: var(--surface-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.knowledge-graph__frame-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.knowledge-graph__frame-dots {
  display: flex;
  gap: 6px;
}

.knowledge-graph__frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.knowledge-graph__frame-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.knowledge-graph__screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS
   -------------------------------------------------------------------------- */
.how {
  padding: var(--sp-5xl) 0;
  background: var(--surface-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how__steps {
  display: grid;
  gap: var(--sp-3xl);
  align-items: start;
}

@media (min-width: 768px) {
  .how__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--sp-xl);
    align-items: start;
  }
}

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

.how__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: var(--sp-xl);
  box-shadow: 0 4px 12px -2px rgba(160, 103, 60, 0.25);
}

.how__step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.how__step-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how__step-screenshot {
  margin-top: var(--sp-lg);
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.how__step-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.how__connector {
  color: var(--chestnut-300);
  opacity: 0.6;
  display: none;
}

@media (min-width: 768px) {
  .how__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--sp-3xl);
  }
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials {
  padding: var(--sp-5xl) 0;
}

.testimonials__grid {
  display: grid;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.tcard {
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.tcard:hover {
  transform: translateY(-4px);
  border-color: var(--chestnut-200);
  box-shadow: var(--shadow-card-hover);
}

.tcard__stars {
  display: flex;
  gap: 2px;
  color: var(--chestnut);
  margin-bottom: var(--sp-lg);
}

.tcard__stars svg { display: inline-block; }

.tcard__quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
  font-style: normal;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.tcard__avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  flex-shrink: 0;
}

.tcard__name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

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

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing {
  padding: var(--sp-5xl) 0;
  background: var(--surface-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing__grid {
  display: grid;
  gap: var(--sp-xl);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pcard {
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pcard--featured {
  background: linear-gradient(135deg, var(--chestnut-50) 0%, rgba(251, 245, 240, 0.5) 100%);
  border-color: var(--chestnut);
  transform: scale(1.02);
  box-shadow: var(--shadow-card), var(--glow-chestnut);
}

.pcard--featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-card-hover), var(--glow-chestnut-strong);
}

.pcard__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--sp-xs) var(--sp-lg);
  background: linear-gradient(135deg, var(--chestnut-400) 0%, var(--chestnut) 100%);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}

.pcard__header {
  text-align: center;
  padding-bottom: var(--sp-xl);
  margin-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border);
}

.pcard__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
  color: var(--text);
}

.pcard__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sp-xs);
}

.pcard__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
}

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

.pcard__annual {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: var(--sp-xs);
}

.pcard__annual span {
  color: var(--chestnut);
  font-weight: 600;
}

.pcard__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--sp-sm);
}

.pcard__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.pcard__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pcard__list li svg {
  flex-shrink: 0;
  color: var(--chestnut);
  margin-top: 2px;
}

.pcard__list li strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   WAITLIST FORM
   -------------------------------------------------------------------------- */
.waitlist-form {
  display: flex;
  align-items: stretch;
  gap: var(--sp-sm);
  max-width: 520px;
}

@media (max-width: 639px) {
  .waitlist-form {
    flex-direction: column;
    max-width: 100%;
  }
}

.waitlist-form__input {
  flex: 1;
  min-width: 0;
  padding: var(--sp-md) var(--sp-lg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.waitlist-form__input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.waitlist-form__input:focus {
  border-color: var(--chestnut);
  box-shadow: 0 0 0 3px rgba(160, 103, 60, 0.10);
}

.waitlist-form__btn {
  flex-shrink: 0;
  padding: var(--sp-md) var(--sp-xl);
}

@media (max-width: 639px) {
  .waitlist-form__btn {
    width: 100%;
    justify-content: center;
  }
}

.waitlist-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.waitlist-form__message {
  margin-top: var(--sp-sm);
  font-size: 0.875rem;
  min-height: 1.4em;
}

.waitlist-form__message--success {
  color: var(--success);
}

.waitlist-form__message--error {
  color: var(--error);
}

.hero__waitlist {
  margin-bottom: var(--sp-lg);
}

.cta__waitlist {
  margin-bottom: var(--sp-md);
}

.cta__waitlist .waitlist-form {
  margin: 0 auto;
  justify-content: center;
}

@media (max-width: 639px) {
  .cta__waitlist .waitlist-form {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: var(--sp-5xl) 0;
  background: linear-gradient(135deg, var(--chestnut-50) 0%, var(--grey-50) 100%);
  position: relative;
}

.cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.cta__sparrow {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  color: var(--chestnut);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.cta__text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2xl);
}

.cta__note {
  display: block;
  margin-top: var(--sp-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: var(--sp-4xl) 0 var(--sp-2xl);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--sp-4xl);
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 280px;
  margin-bottom: var(--sp-md);
}

.footer__sparrow {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: var(--sp-xs) 0;
  transition: color var(--dur-fast) var(--ease);
}

.footer__link:hover { color: var(--chestnut); }

.footer__bottom {
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

/* --------------------------------------------------------------------------
   ANIMATIONS — Entry on load
   -------------------------------------------------------------------------- */
.anim-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: enter 0.7s var(--ease) forwards;
}

.anim-enter[data-delay="0"] { animation-delay: 0s; }
.anim-enter[data-delay="1"] { animation-delay: 0.1s; }
.anim-enter[data-delay="2"] { animation-delay: 0.2s; }
.anim-enter[data-delay="3"] { animation-delay: 0.3s; }
.anim-enter[data-delay="4"] { animation-delay: 0.4s; }
.anim-enter[data-delay="5"] { animation-delay: 0.5s; }

@keyframes enter {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered */
.anim-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.anim-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.anim-scroll:nth-child(1) { transition-delay: 0s; }
.anim-scroll:nth-child(2) { transition-delay: 0.1s; }
.anim-scroll:nth-child(3) { transition-delay: 0.15s; }
.anim-scroll:nth-child(4) { transition-delay: 0.2s; }
.anim-scroll:nth-child(5) { transition-delay: 0.25s; }
.anim-scroll:nth-child(6) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-enter,
  .anim-scroll {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   LEGAL & CONTENT PAGES
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--sp-4xl)) var(--sp-lg) var(--sp-4xl);
}

.legal-content__header {
  margin-bottom: var(--sp-3xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--border);
}

.legal-content__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.legal-content__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: var(--sp-3xl);
  margin-bottom: var(--sp-lg);
  color: var(--text);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
  color: var(--text);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--sp-lg);
  padding-left: var(--sp-xl);
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
}

.legal-content a {
  color: var(--chestnut);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: var(--chestnut-600); }

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

.legal-content__contact {
  margin-top: var(--sp-3xl);
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.legal-content__contact h2 { margin-top: 0; }

/* Support Page */
.support-cards {
  display: grid;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

@media (min-width: 640px) {
  .support-cards { grid-template-columns: repeat(2, 1fr); }
}

.support-card {
  padding: var(--sp-2xl);
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.support-card:hover {
  border-color: var(--chestnut-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.support-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chestnut-50);
  border: 1px solid var(--chestnut-100);
  border-radius: 14px;
  color: var(--chestnut);
  margin-bottom: var(--sp-lg);
}

.support-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
  color: var(--text);
}

.support-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
}

.support-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--chestnut);
}

.support-card__link:hover { color: var(--chestnut-600); }

.support-card__link svg {
  transition: transform var(--dur-fast) var(--ease);
}

.support-card__link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   CUSTOM SCROLLBAR — Warm-tinted (matching React app)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(224, 214, 200, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #D4CEC4;
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-300);
}

/* --------------------------------------------------------------------------
   PRINT
   -------------------------------------------------------------------------- */
@media print {
  .nav, .ambient, .hero__glow-ring { display: none; }
  .hero, section { padding: 2rem 0; }
}
