/* ==========================================================================
   FitVantage — Shared Stylesheet
   AI Wellness Operating System for the GCC
   Used across every page. Dark theme always.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Custom Properties
   --------------------------------------------------------------------------- */
:root {
  /* Color */
  --bg:           #09100d;   /* near-black, slightly green-tinted */
  --bg-elev:      #111a15;   /* elevated surface (cards, nav) */
  --bg-card:      #0f1912;   /* card background */
  --ink:          #eef2ee;   /* primary text */
  --ink-muted:    #7a8c7d;   /* secondary/muted text */
  --green:        #96CD7C;   /* brand green — primary accent */
  --green-dim:    #1e3322;   /* dark green for borders, subtle fills */
  --green-glow:   rgba(150, 205, 124, 0.12); /* glow/ambient use */
  --line:         rgba(255, 255, 255, 0.07); /* subtle borders */
  --line-green:   rgba(150, 205, 124, 0.15); /* green-tinted borders */

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Type scale (fluid) */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.7vw, 1.8rem);
  --step-3:  clamp(1.7rem, 1.45rem + 1.25vw, 2.45rem);
  --step-4:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-5:  clamp(2.4rem, 1.85rem + 2.75vw, 4rem);

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

  /* Layout */
  --container:    1180px;
  --container-narrow: 820px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;
  --nav-h:        72px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur:       0.35s;

  /* Shadow */
  --shadow-soft:  0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-green: 0 18px 50px rgba(150, 205, 124, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(150, 205, 124, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.003em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font: inherit;
}

::selection {
  background: var(--green);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. Typography
   --------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { color: var(--ink-muted); }

strong { color: var(--ink); font-weight: 600; }

.text-green { color: var(--green); }
.text-ink { color: var(--ink); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mono eyebrow — every section starts with one */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-md);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-green);
}

.eyebrow--center::before { display: none; }

/* ---------------------------------------------------------------------------
   4. Layout Utilities
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-3xl);
  position: relative;
}

.section--tight {
  padding-block: var(--space-2xl);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: var(--step-1);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}

.eyebrow-row {
  display: flex;
  justify-content: center;
}

/* Soft radial glow helper (decorative) */
.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  background: var(--green-glow);
}

/* ---------------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
  box-shadow: 0 0 0 rgba(150, 205, 124, 0);
}

.btn--primary:hover {
  background: #a8d892;
  box-shadow: 0 10px 34px rgba(150, 205, 124, 0.28);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-green);
}

.btn--ghost:hover {
  border-color: var(--green);
  background: rgba(150, 205, 124, 0.06);
  transform: translateY(-2px);
}

.btn--block { width: 100%; }

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------------
   6. Navigation
   --------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(17, 26, 21, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.brand:hover .brand__mark { filter: drop-shadow(0 0 8px var(--green-glow)); }

/* Full horizontal logo lockup (mark + wordmark as one image) */
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.brand:hover .brand__logo { filter: drop-shadow(0 0 10px var(--green-glow)); }

.footer__brand .brand__logo { height: 40px; }

@media (max-width: 760px) {
  .brand__logo { height: 30px; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-muted);
  transition: color var(--dur) var(--ease);
  position: relative;
}

.nav__link:hover { color: var(--ink); }

.nav__link.is-active {
  color: var(--green);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__cta {
  padding: 0.7em 1.3em;
  font-size: 0.92rem;
}

/* Single right-aligned business affordance (smaller, secondary to consumer CTA) */
.nav__business {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__business:hover { color: var(--green); }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.nav__toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease);
}

.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(9, 16, 13, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  visibility: hidden;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.drawer__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 8vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  transition: color var(--dur) var(--ease);
}

.drawer__link:hover,
.drawer__link.is-active { color: var(--green); }

.drawer__business {
  color: var(--ink-muted);
  font-size: clamp(1.2rem, 5vw, 1.6rem);
}

.drawer__cta {
  margin-top: var(--space-lg);
  align-self: flex-start;
}

/* ---------------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero__glow {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 90vw);
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(150, 205, 124, 0.18), transparent 65%);
  filter: blur(50px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero__sub {
  font-size: var(--step-1);
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero__ctas--center { margin-top: var(--space-lg); margin-bottom: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.5em 1em;
  border: 1px solid var(--line-green);
  border-radius: var(--radius-pill);
  background: rgba(150, 205, 124, 0.04);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---------------------------------------------------------------------------
   8. Cards & Grids
   --------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Two-paths cards (operators: OS vs Marketplace Listing) */
.path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.path-card h3 { margin-bottom: 0; }
.path-card .feature__list { margin: 0.2rem 0 1.4rem; }
.path-card .btn { margin-top: auto; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-dim);
  border: 1px solid var(--line-green);
  color: var(--green);
  margin-bottom: var(--space-md);
}

.card__icon svg { width: 24px; height: 24px; }

.card h3 { font-size: var(--step-1); margin-bottom: 0.6em; }
.card h4 { margin-bottom: 0.5em; }

.card p { font-size: var(--step-0); }

/* Problem cards */
.problem-card .card__label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5em;
  display: block;
}

/* Audience routing cards — large, navigational */
.route-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.route-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--dur) var(--ease);
  pointer-events: none;
}

.route-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-green);
  box-shadow: var(--shadow-green);
}

.route-card:hover::after {
  box-shadow: inset 0 0 0 1px var(--line-green);
}

.route-card__bullets {
  margin: var(--space-md) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  flex-grow: 1;
}

.route-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  color: var(--ink-muted);
  font-size: var(--step-0);
}

.route-card__bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 0.6em;
  flex-shrink: 0;
}

.route-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--green);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: auto;
}

.route-card__link .arrow {
  transition: transform var(--dur) var(--ease);
}

.route-card:hover .route-card__link .arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------------
   9. Platform Ecosystem Diagram
   --------------------------------------------------------------------------- */
.ecosystem {
  position: relative;
  max-width: 920px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl) var(--space-md);
}

.ecosystem__surfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
}

.eco-node {
  background: var(--bg-card);
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.eco-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.eco-node__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--green-dim);
  color: var(--green);
}

.eco-node__icon svg { width: 22px; height: 22px; }

.eco-node h4 { font-size: 1.02rem; margin-bottom: 0.3em; }
.eco-node span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ecosystem__connector {
  height: 56px;
  position: relative;
  z-index: 1;
}

.ecosystem__connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.eco-line {
  stroke: var(--line-green);
  stroke-width: 1.5;
  fill: none;
}

.eco-dot {
  fill: var(--green);
}

.eco-core {
  background: linear-gradient(180deg, rgba(150, 205, 124, 0.08), rgba(15, 25, 18, 0.6));
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(150, 205, 124, 0.08) inset;
}

.eco-core h4 {
  font-size: var(--step-1);
  color: var(--green);
  margin-bottom: 0.2em;
}

.eco-core p { font-size: 0.92rem; }

.eco-base {
  margin-top: var(--space-sm);
  border: 1px dashed var(--line-green);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(150, 205, 124, 0.02);
}

.eco-base strong { color: var(--green); font-weight: 500; }

.ecosystem__desc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.ecosystem__desc h4 { font-size: 1.05rem; margin-bottom: 0.4em; }
.ecosystem__desc p { font-size: 0.95rem; }

/* ---------------------------------------------------------------------------
   10. Built for the Gulf — feature grid
   --------------------------------------------------------------------------- */
.gulf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.gulf-item {
  border-top: 1px solid var(--line);
  padding-top: var(--space-md);
}

.gulf-item__icon {
  color: var(--green);
  margin-bottom: 0.7em;
}

.gulf-item__icon svg { width: 26px; height: 26px; }

.gulf-item h4 { font-size: 1.05rem; margin-bottom: 0.35em; }
.gulf-item p { font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   11. Vision Statement
   --------------------------------------------------------------------------- */
.vision {
  position: relative;
  overflow: hidden;
}

.vision__glow {
  bottom: -40%;
  left: 10%;
  width: 480px;
  height: 480px;
}

.vision__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.vision__quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.vision__quote em { color: var(--green); font-style: italic; }

/* ---------------------------------------------------------------------------
   12. Early Access
   --------------------------------------------------------------------------- */
.early {
  position: relative;
}

.early__inner {
  background: var(--bg-elev);
  border: 1px solid var(--line-green);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.early__glow {
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
}

.early__content { position: relative; z-index: 1; }

.early__routes {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-lg) 0;
}

.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.3em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.route-pill:hover {
  border-color: var(--green);
  background: rgba(150, 205, 124, 0.06);
  transform: translateY(-2px);
}

.route-pill svg { width: 18px; height: 18px; color: var(--green); }

/* Waitlist form */
.waitlist {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist__row {
  display: flex;
  gap: var(--space-xs);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.4em;
  transition: border-color var(--dur) var(--ease);
}

.waitlist__row:focus-within {
  border-color: var(--green);
}

.waitlist__input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 0.7em 1em;
  outline: none;
  min-width: 0;
}

.waitlist__input::placeholder { color: var(--ink-muted); }

.waitlist__hint {
  font-size: var(--step--1);
  color: var(--ink-muted);
  margin-top: var(--space-sm);
}

.waitlist__success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  color: var(--green);
  font-weight: 500;
  padding: var(--space-sm);
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  background: rgba(150, 205, 124, 0.06);
  max-width: 480px;
  margin: 0 auto;
}

.waitlist__success.is-visible { display: flex; }

.waitlist.is-submitted .waitlist__row,
.waitlist.is-submitted .waitlist__hint { display: none; }

/* ---------------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-green);
  padding-block: var(--space-2xl) var(--space-lg);
  margin-top: var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

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

.footer__tagline {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-sm);
}

.footer__brand p { font-size: 0.92rem; max-width: 280px; }

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.footer__col a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  transition: color var(--dur) var(--ease);
}

.footer__col a:hover { color: var(--green); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.footer__social a:hover {
  color: var(--green);
  border-color: var(--line-green);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------------
   14. Scroll-reveal
   --------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger helper */
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   15. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links,
  .nav__business,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .grid--3,
  .grid--2,
  .ecosystem__surfaces,
  .ecosystem__desc {
    grid-template-columns: 1fr;
  }

  .ecosystem__connector { display: none; }
  .ecosystem { padding-inline: 0; }

  .section { padding-block: var(--space-2xl); }

  .hero {
    padding-top: calc(var(--nav-h) + var(--space-2xl));
  }

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

  .footer__bottom { justify-content: center; text-align: center; }

  .btn { width: 100%; }
  .hero__ctas .btn { width: auto; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .waitlist__row { flex-direction: column; border-radius: var(--radius); }
  .waitlist__input { text-align: center; }
}

/* ===========================================================================
   16. INNER PAGES — shared components (app / operators / coaches / about /
   marketplace / contact)
   =========================================================================== */

/* --- Inner-page hero (left-aligned, smaller than home hero) --------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

.page-hero__glow {
  top: -20%;
  left: -5%;
  width: min(680px, 80vw);
  height: 480px;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero h1 {
  font-size: var(--step-4);
  margin-bottom: var(--space-md);
}

.page-hero__sub {
  font-size: var(--step-1);
  max-width: 580px;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.page-hero .hero__ctas { justify-content: flex-start; margin-bottom: 0; }

/* --- Stat row ------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.stat {
  border-left: 1px solid var(--line-green);
  padding-left: var(--space-md);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.6em;
}

/* --- Feature split rows --------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature + .feature { margin-top: var(--space-3xl); }

.feature--reverse .feature__media { order: -1; }

.feature__body h3 {
  font-size: var(--step-2);
  margin-bottom: var(--space-sm);
}

.feature__body > p {
  font-size: var(--step-1);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  color: var(--ink-muted);
}

.feature__list li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* --- Abstract UI mockup (no stock photography) ---------------------------- */
.mockup {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
  border: 1px solid var(--line-green);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-green);
  overflow: hidden;
}

.mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 80% -10%, rgba(150, 205, 124, 0.1), transparent 60%);
  pointer-events: none;
}

.mockup__chrome {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.mockup__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.mockup__chrome span:first-child { background: var(--green-dim); }

.mockup__panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mock-row--between { justify-content: space-between; }

.mock-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green-dim);
  border: 1px solid var(--line-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.mock-icon svg { width: 18px; height: 18px; }

.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }

.mock-line {
  height: 9px;
  border-radius: 5px;
  background: var(--line);
}

.mock-line.w-40 { width: 40%; }
.mock-line.w-55 { width: 55%; }
.mock-line.w-70 { width: 70%; }
.mock-line.w-85 { width: 85%; }
.mock-line--green { background: var(--green-dim); }
.mock-line--accent { background: var(--green); opacity: 0.75; }

.mock-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.35em 0.7em;
  border-radius: var(--radius-pill);
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--line-green);
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.mock-bars span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: var(--green-dim);
}

.mock-bars span:nth-child(odd) { background: rgba(150, 205, 124, 0.5); }
.mock-bars span.tall { background: var(--green); }

.mock-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  color: var(--green);
  letter-spacing: -0.03em;
}

.mock-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid var(--green-dim);
  border-top-color: var(--green);
  border-right-color: var(--green);
  flex-shrink: 0;
}

.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--line-green);
  flex-shrink: 0;
}

/* --- Small feature card grid (icon + title + copy) ------------------------ */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.mini-card h4 { font-size: 1.1rem; margin-bottom: 0.4em; }
.mini-card p { font-size: 0.95rem; }

/* --- About: timeline / values -------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.value__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.value h4 { font-size: 1.15rem; margin-bottom: 0.4em; }
.value p { font-size: 0.95rem; }

/* --- Coming soon (marketplace) ------------------------------------------- */
.coming-soon {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.coming-soon .badge { margin-bottom: var(--space-lg); }

.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  text-align: left;
}

/* --- Contact: audience segments + form ----------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.segment {
  display: inline-flex;
  gap: 0.4em;
  padding: 0.4em;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.seg__btn {
  padding: 0.6em 1.1em;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.seg__btn[aria-selected="true"] {
  background: var(--green);
  color: var(--bg);
}

.contact-info h3 { font-size: var(--step-2); margin-bottom: var(--space-sm); }
.contact-info > p { margin-bottom: var(--space-lg); }

.contact-channels { display: flex; flex-direction: column; gap: var(--space-md); }

.channel {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green-dim);
  border: 1px solid var(--line-green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel__icon svg { width: 20px; height: 20px; }

.channel__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.channel__value { color: var(--ink); font-weight: 500; }

/* Form */
.form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form__grid { display: grid; gap: var(--space-md); }
.form__grid--2 { grid-template-columns: 1fr 1fr; }

.field { display: flex; flex-direction: column; gap: 0.5em; }
.field--full { grid-column: 1 / -1; }
/* Audience-conditional fields: [hidden] must beat .field's display:flex,
   otherwise non-selected audiences' fields stay visible. */
.field[hidden] { display: none; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 0.85em 1em;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  width: 100%;
  font-family: var(--font-body);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--green); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #d98b6b; }

.field select { appearance: none; cursor: pointer; }

.form .btn { margin-top: var(--space-xs); }

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.form__success.is-visible { display: block; }

.form.is-submitted .form__grid,
.form.is-submitted > .btn { display: none; }

.form__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid var(--line-green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__success h3 { font-size: var(--step-1); margin-bottom: 0.4em; }

/* --- CTA strip (reused across inner pages) -------------------------------- */
.cta-strip {
  text-align: center;
  background: var(--bg-elev);
  border: 1px solid var(--line-green);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.cta-strip__glow {
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 420px;
}

.cta-strip__inner { position: relative; z-index: 1; }

.cta-strip h2 { font-size: var(--step-3); margin-bottom: var(--space-sm); }
.cta-strip p { font-size: var(--step-1); max-width: 540px; margin: 0 auto var(--space-lg); }

/* --- Inner-page responsive ------------------------------------------------ */
@media (max-width: 900px) {
  .feature,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .feature--reverse .feature__media { order: 0; }
  .feature + .feature { margin-top: var(--space-2xl); }
  .form__grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-hero .hero__ctas { flex-wrap: wrap; }
  .page-hero .hero__ctas .btn { width: auto; }
  .stat { border-left: 0; border-top: 1px solid var(--line-green); padding-left: 0; padding-top: var(--space-sm); }
}

/* --- Operator no-show / revenue calculator -------------------------------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  background: var(--bg-elev);
  border: 1px solid var(--line-green);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.calc__field { margin-bottom: var(--space-md); }
.calc__field:last-child { margin-bottom: 0; }

.calc__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.6em;
}

.calc__value {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.95rem;
}

.calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--green-dim);
  outline-offset: 4px;
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: 3px solid var(--bg-elev);
  box-shadow: 0 0 0 1px var(--green);
}
.calc__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: 3px solid var(--bg-elev);
  box-shadow: 0 0 0 1px var(--green);
}

.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
  background: var(--bg-card);
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.calc__result-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.calc__result-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
}
.calc__result-num .calc__currency { font-size: 0.45em; color: var(--ink-muted); margin-right: 0.15em; vertical-align: 0.35em; }

.calc__result-sub { font-size: 0.9rem; color: var(--ink-muted); max-width: 30ch; margin: 0.2em auto 0; }

.calc__note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: var(--space-md);
  grid-column: 1 / -1;
}

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