/* =================================================================
   LenZA Website 2.0 — Global Styles
   Enterprise-grade design system · LenZA brand identity
   Version 2.0
================================================================= */

/* ---------- Reset ---------- */

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

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Root Variables ---------- */

:root {
  --teal:        #009688;
  --teal-dark:   #00695C;
  --teal-deeper: #004D40;
  --teal-light:  #E0F2F1;
  --teal-mid:    #4DB6AC;

  --amber:       #E07B39;
  --amber-light: #FFF3E8;
  --red:         #E24B4A;

  --ink:         #141412;
  --ink-mid:     #3D3D3A;
  --ink-muted:   #7A7870;
  --ink-faint:   #B0AEA6;

  --bg:          #F5F4F0;
  --white:       #FFFFFF;
  --border:      #E2E0D8;

  --font-display: 'Fraunces', serif;
  --font-body:    'DM Sans', sans-serif;

  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 12px rgba(20, 20, 18, 0.06);
  --shadow-md: 0 8px 32px rgba(20, 20, 18, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 20, 18, 0.14);

  --max-width: 1200px;
}

/* ---------- Base Typography ---------- */

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 48px; letter-spacing: -1px; }
h2 { font-size: 34px; letter-spacing: -0.5px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { color: var(--ink-mid); }
a { color: var(--teal); text-decoration: none; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section-dark {
  background: var(--teal-dark);
  color: var(--white);
}

.section-tint {
  background: var(--teal-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.btn-full { width: 100%; }

.section-dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.section-dark .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* ---------- Navigation ---------- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--space-lg);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}

/* Hamburger hidden on desktop */
.nav-toggle { display: none; }

/* Spacer hidden on desktop */
.nav-spacer { display: none; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal-dark);
}

.nav-logo img { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text { color: inherit; }
.logo-text span { color: var(--teal-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.nav-links .btn-primary { color: var(--white); }
.nav-links .btn-primary:hover { color: var(--white); }

.nav-cta { padding: 10px 20px !important; }

/* ---------- Hero ---------- */

.hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-sub {
  font-size: 18px;
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-byline {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-byline a {
  color: var(--teal-dark);
  font-weight: 500;
}

.hero-phone {
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Problem Section ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.problem-text {
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.8;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--teal-mid);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 260px;
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.step-card {
  text-align: left;
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.step-card h4 {
  margin-top: 12px;
}

.step-card p {
  margin-top: 8px;
  font-size: 14px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--teal);
  opacity: 0.6;
}

/* ---------- Features ---------- */

.feature-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.feature-block-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-content {
  flex: 1;
}

.feature-content h3 { margin-top: 12px; }
.feature-content p { margin-top: 8px; max-width: 560px; font-size: 15px; }

.feature-phone {
  flex-shrink: 0;
  width: 200px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: var(--radius-md);
}

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.feature-block-compact {
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-block-compact h3 { margin-top: 12px; font-size: 20px; }
.feature-block-compact p { margin-top: 8px; font-size: 14px; }

/* Import section — warm highlight */
.feature-block-import {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFF3E0 100%);
  border: 1px solid #FFE0B2;
  box-shadow: 0 4px 20px rgba(224, 123, 57, 0.08);
}

.feature-icon-import {
  background: #FFF3E0;
}

/* Stat source attribution */
.stat-source {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  font-style: italic;
}

/* Roadmap — prominent section */
.roadmap-section {
  margin-top: 40px;
}

.roadmap-card-prominent {
  background: var(--white);
  border: 2px solid var(--teal-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 4px 24px rgba(0, 150, 136, 0.08);
}

.roadmap-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.roadmap-icon { font-size: 20px; }

.roadmap-label {
  font-size: 11px;
  color: var(--teal-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.roadmap-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roadmap-item h4 {
  font-size: 16px;
  color: var(--teal-dark);
}

.roadmap-item p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Clinical Phones ---------- */

.section-sub-dark {
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.clinical-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 680px;
}

.phone-frame-dark {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ---------- Feature Trio ---------- */

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-trio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.feature-trio-card h4 { margin-top: 12px; }
.feature-trio-card p { margin-top: 8px; font-size: 14px; }

/* Old roadmap card kept for backward compat */
.roadmap-card {
  margin-top: 32px;
  background: var(--white);
  border: 2px solid var(--teal-mid);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.roadmap-label {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.roadmap-card > p:last-child {
  margin-top: 6px;
  font-size: 14px;
}

/* ---------- Validation ---------- */

.validation-quote {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  max-width: 720px;
  line-height: 1.3;
  margin-top: 16px;
  font-style: italic;
  font-weight: 300;
}

.validation-source {
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
  font-size: 15px;
}

.validation-note {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  margin-top: 8px;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.validation-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.validation-card h4 { color: var(--white); }
.validation-card p { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 8px; }

/* ---------- CTA / Form ---------- */

.cta-header {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cta-header p { margin-top: 12px; }

.demo-form {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 6px;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
}

.demo-form select { background: var(--white); }
.demo-form textarea { resize: vertical; }

.form-status {
  font-size: 13px;
  color: var(--ink-muted);
  display: none;
}

.cta-alt {
  text-align: center;
  margin-top: 24px;
}

.cta-alt p { font-size: 13px; color: var(--ink-muted); }
.cta-alt .btn { margin-top: 8px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--teal-deeper);
  color: rgba(255,255,255,0.85);
  padding: var(--space-xl) 0 var(--space-md);
  text-align: center;
  font-size: 12px;
}

.footer-ip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-ip span:last-child {
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  font-size: 10px;
}

.footer-copyright {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.footer-legal {
  color: rgba(255,255,255,0.42);
  font-size: 11px;
  max-width: 420px;
  margin: 6px auto 0;
  line-height: 1.7;
}

.footer-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 2px;
  margin-top: 10px;
}

.footer-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 4px;
}

.footer-links span { white-space: nowrap; font-size: 10px; color: rgba(255,255,255,0.6); }
.footer-divider { color: rgba(255,255,255,0.3); font-size: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 10px; }
.footer-links a:hover { color: var(--white); }

/* ---------- Team (About page) ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.team-card-founder {
  background: var(--teal-dark);
  border: none;
}

.team-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.team-name-light { color: var(--white); margin-top: 12px; }
.team-role-light { font-size: 13px; color: var(--teal-mid); font-weight: 500; margin-top: 4px; }
.team-bio-light { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.8); }

.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.team-photo-founder {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.team-role {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 500;
  margin-top: 4px;
}

.team-role a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.team-bio { margin-top: 12px; font-size: 14px; }

/* ---------- Traction (About page) ---------- */

.traction-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 32px;
}

.map-img { width: 100%; max-width: 360px; }

.map-caption { font-size: 14px; color: var(--ink-muted); }

.traction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card-body { margin-top: 8px; font-size: 14px; }

.traction-footnote {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Market (About page) ---------- */

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.market-summary {
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin-top: 32px;
}

/* ---------- Audience (About page) ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* ---------- CTA Buttons (About page) ---------- */

.cta-buttons {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About page responsive — handled in main @media block below */

/* ---------- Phone Frame ---------- */

.phone-frame {
  position: relative;
  border-radius: 32px;
  border: 8px solid #1a1a1a;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 520px;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 18px;
  background: #1a1a1a;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  height: 100%;
}

.phone-frame-hero { max-height: 540px; }

.phone-frame-sm {
  border-width: 5px;
  border-radius: 22px;
  max-height: 440px;
}

.phone-frame-sm::before {
  height: 12px;
  width: 34%;
  border-radius: 0 0 8px 8px;
}

.phone-frame-sm img {
  border-radius: 16px;
  object-fit: cover;
  object-position: top;
  height: 100%;
}

.phone-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(26, 26, 26, 0.85));
  z-index: 1;
  pointer-events: none;
}

.phone-frame-sm::after { height: 40px; }

/* ---------- Mobile Nav Toggle ---------- */

.nav-toggle {
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
  display: block;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .feature-pair { grid-template-columns: 1fr; }
  .feature-trio { grid-template-columns: 1fr; }
  .clinical-phones { max-width: 100%; }
  .roadmap-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  /* ── Global overflow kill ── */
  html { overflow-x: hidden; }
  body { overflow-x: hidden; width: 100%; min-width: 0; }
  .container { padding: 0 16px; overflow: hidden; }
  .section { padding: 48px 0; overflow: hidden; }
  img { max-width: 100%; height: auto; }

  h1 { font-size: 28px; letter-spacing: -0.5px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* ── Mobile Navbar — teal, hamburger LEFT, logo CENTER ── */
  .navbar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 10px 12px;
    background: var(--teal-dark);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 300;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .nav-toggle span { background: var(--white); width: 20px; }

  .nav-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    color: var(--white);
    font-size: 20px;
    gap: 6px;
  }

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

  .nav-spacer {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
  }

  /* ── Floating animated mobile menu ── */

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    grid-column: unset;
    grid-row: unset;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    padding: 28px 22px;
    margin: 0;
    background: rgba(9, 41, 38, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0;
    z-index: 200;
  }

  .nav-links.open {
    display: flex;
    animation: navOverlayIn 0.25s ease forwards;
  }

  /* Floating card that holds the actual links, centered over the blurred backdrop */
  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
  }

  .nav-links li {
    list-style: none;
    opacity: 0;
    transform: translateY(14px);
    animation: navItemIn 0.35s ease forwards;
  }

  .nav-links li:nth-child(1) { animation-delay: 0.05s; }
  .nav-links li:nth-child(2) { animation-delay: 0.10s; }
  .nav-links li:nth-child(3) { animation-delay: 0.15s; }
  .nav-links li:nth-child(4) { animation-delay: 0.20s; }
  .nav-links li:nth-child(5) { animation-delay: 0.25s; }
  .nav-links li:nth-child(6) { animation-delay: 0.30s; }

  .nav-links a {
    position: relative;
    color: var(--white) !important;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    display: block;
    padding: 16px 4px;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: transform 0.2s, color 0.2s;
  }

  .nav-links a:active {
    transform: scale(0.96);
    color: var(--teal-mid) !important;
  }

  .nav-links li:not(:last-child) a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,0.15);
  }

  .nav-links .btn-primary {
    background: var(--teal) !important;
    color: var(--white) !important;
    text-align: center;
    margin-top: 20px;
    padding: 16px !important;
    font-size: 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  }

  .nav-links .btn-primary::after { display: none; }

  @keyframes navOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Hero ── */
  .hero { padding: 32px 0; }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    text-align: center;
  }

  .hero-sub {
    font-size: 15px;
    max-width: 100%;
    margin: 12px auto 0;
  }

  .hero-phone {
    max-width: 180px;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .hero-byline { text-align: center; margin-top: 16px; }

  /* ── Problem ── */
  .problem-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .problem-text { font-size: 14px; max-width: 100%; }

  .problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
  }

  .stat-block { align-items: center; }
  .stat-number { font-size: 32px; }
  .stat-label { font-size: 11px; text-align: center; max-width: 100%; }

  /* ── Steps ── */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .step-card { padding: 16px; }
  .step-card p { font-size: 13px; }
  .step-number { font-size: 22px; }

  /* ── Features ── */
  .feature-block {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .feature-content p { max-width: 100%; font-size: 13px; }
  .feature-phone { width: 140px; margin: 0 auto; }
  .feature-pair { grid-template-columns: 1fr; gap: 12px; }
  .feature-block-compact { padding: 16px; }
  .feature-block-compact h3 { font-size: 18px; }
  .feature-block-compact p { font-size: 13px; }

  /* ── Clinical phones ── */
  .clinical-phones {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 100%;
  }

  .section-sub-dark { font-size: 13px; max-width: 100%; }

  /* ── Feature trio ── */
  .feature-trio { grid-template-columns: 1fr; gap: 12px; }
  .feature-trio-card { padding: 16px; }
  .feature-trio-card p { font-size: 13px; }

  /* ── Roadmap ── */
  .roadmap-items { grid-template-columns: 1fr; gap: 12px; }
  .roadmap-card-prominent { padding: 16px; }
  .roadmap-header { margin-bottom: 16px; padding-bottom: 12px; }
  .roadmap-item h4 { font-size: 15px; }
  .roadmap-item p { font-size: 12px; }

  /* ── Phone frames ── */
  .phone-frame { max-height: 340px; }
  .phone-frame-hero { max-height: 360px; }
  .phone-frame-sm {
    max-height: 280px;
    border-width: 4px;
    border-radius: 16px;
  }
  .phone-frame-sm::before { height: 8px; width: 30%; border-radius: 0 0 6px 6px; }
  .phone-frame-sm img { border-radius: 12px; }

  /* ── Validation ── */
  .validation-quote { font-size: 20px; max-width: 100%; }
  .validation-source { font-size: 13px; }
  .validation-grid { grid-template-columns: 1fr; gap: 12px; }
  .validation-card { padding: 16px; }
  .validation-card p { font-size: 13px; }

  /* ── Form — full width, no cutoff ── */
  .cta-header { text-align: center; }
  .cta-header h2 { font-size: 24px; }
  .cta-header p { font-size: 14px; }

  .demo-form {
    max-width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 16px;
    gap: 12px;
  }

  .demo-form label { font-size: 13px; }

  .demo-form input,
  .demo-form select,
  .demo-form textarea {
    font-size: 16px;
    padding: 12px;
    width: 100%;
    min-width: 0;
  }

  .demo-form textarea { min-height: 80px; }

  .btn-full {
    padding: 14px;
    font-size: 15px;
    width: 100%;
  }

  .cta-alt { margin-top: 20px; }
  .cta-alt p { font-size: 13px; }
  .cta-alt .btn { width: 100%; max-width: 260px; }

  /* ── About page ── */
  .traction-map {
    grid-template-columns: 1fr !important;
    gap: 20px;
    text-align: center;
  }

  .map-img {
    margin: 0 auto;
    max-width: 240px;
    display: block;
  }

  .map-caption { font-size: 13px; text-align: center; }

  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .team-card { padding: 16px; }
  .team-card-founder { padding: 16px; }
  .team-bio, .team-bio-light { font-size: 13px; }

  .traction-grid { grid-template-columns: 1fr; gap: 12px; }
  .traction-grid .card { padding: 16px; }
  .card-body { font-size: 13px; }
  .traction-footnote { font-size: 12px; }

  .market-grid { grid-template-columns: 1fr; gap: 12px; }
  .market-summary { font-size: 14px; max-width: 100%; }

  .audience-grid { grid-template-columns: 1fr; gap: 12px; }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-buttons .btn { width: 100%; max-width: 260px; text-align: center; }

  /* ── Footer ── */
  .footer { padding: 32px 0 16px; }
  .footer-links { flex-direction: column; align-items: center; gap: 4px; }
  .footer-divider { display: none; }
  .footer-badge { font-size: 9px; padding: 4px 10px; }
}

@media (max-width: 480px) {
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .container { padding: 0 12px; }

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

  .clinical-phones {
    grid-template-columns: 1fr;
    max-width: 160px;
    margin: 24px auto 0;
  }

  .hero-phone { max-width: 160px; }

  .problem-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-actions .btn { max-width: 100%; }
  .cta-buttons .btn { max-width: 100%; }
  .cta-alt .btn { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   HIV Prevention nav link (Engagement + WhatsApp MVP)
   Opens lenza_selfreg_landing.html directly in a new tab — no modal.
   ══════════════════════════════════════════════════════════════ */
.nav-prevention-link{
  display:inline-flex; align-items:center; gap:6px;
  color: var(--teal, #0E5B54) !important; font-weight:600;
}
.nav-new-badge{
  background:#C7752B; color:#fff; font-size:10px; font-weight:800;
  padding:2px 7px; border-radius:99px; letter-spacing:.03em;
  animation: navBadgeBlink 1.4s ease-in-out infinite;
}
@keyframes navBadgeBlink{
  0%, 100% { opacity:1; }
  50% { opacity:.35; }
}
@media (max-width: 480px){
  .nav-prevention-link{ font-size:15px; }
  .nav-new-badge{ font-size:9px; padding:2px 6px; }
}