/* AgeBack Marketing — design system */
:root {
  --ink: #0a1219;
  --ink-2: #132029;
  --ink-3: #1a2d3a;
  --foam: #f4f7f8;
  --foam-2: #e8eef1;
  --mist: #9aafbb;
  --slate: #5c7584;
  --emerald: #0d9f6e;
  --emerald-bright: #14b882;
  --emerald-deep: #067a54;
  --teal: #185778;
  --teal-soft: #2a7a9e;
  --gold: #c9a45c;
  --gold-soft: #e8d5a8;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(10, 18, 25, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(8, 20, 30, 0.35);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --max: 1180px;
  --nav-h: 76px;
  --pad: clamp(1rem, 4vw, 1.25rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  overflow-x: clip;
  min-width: 0;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  /* Avoid iOS rubber-band revealing blank edge */
  background-attachment: scroll;
}

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

/* Touch-friendly defaults */
a,
button,
.btn,
.nav-toggle,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(13, 159, 110, 0.18);
  touch-action: manipulation;
}

button,
.btn {
  min-height: 44px;
}

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

.sr-only:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  white-space: normal;
  background: var(--emerald);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  min-width: 0;
}

/* —— Typography —— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--slate);
  max-width: 38rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(13, 159, 110, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 14px 36px rgba(13, 159, 110, 0.38);
  }

  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .btn-outline:hover {
    border-color: var(--emerald);
    color: var(--emerald-deep);
  }

  .brand:hover img {
    transform: scale(1.06) rotate(-4deg);
    filter: drop-shadow(0 0 10px rgba(20, 184, 130, 0.45));
  }

  .brand:hover .brand-text {
    color: #e8fff5;
  }

  .nav-links a:hover {
    color: #fff;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  .nav-cta .btn-primary:hover::before {
    transform: translateX(120%);
  }

  .nav-toggle:hover {
    color: var(--emerald-bright);
    transform: scale(1.05);
  }

  .bento-card:hover {
    border-color: rgba(13, 159, 110, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(10, 18, 25, 0.08);
  }

  .pillar:hover {
    background: rgba(13, 159, 110, 0.1);
    border-color: rgba(13, 159, 110, 0.35);
  }

  .footer a:hover {
    color: #fff;
  }
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

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

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.4s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s ease;
  will-change: transform;
  /* Always readable over light sections when menu open */
  background: transparent;
}

.nav.scrolled,
.nav.open {
  background: rgba(10, 18, 25, 0.88);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  border-bottom-color: var(--line);
}

.nav.scrolled {
  height: calc(64px + var(--safe-top));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

/* Hide on scroll down, show on scroll up */
.nav.nav-hidden {
  transform: translateY(-110%);
}

.nav.nav-hidden.nav-open,
.nav.open {
  transform: none;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: navIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.brand img {
  height: 36px;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.brand-text {
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-weight: 700;
  transition: color 0.25s ease;
}

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

.nav-links li {
  opacity: 0;
  animation: navIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.12s; }
.nav-links li:nth-child(2) { animation-delay: 0.18s; }
.nav-links li:nth-child(3) { animation-delay: 0.24s; }
.nav-links li:nth-child(4) { animation-delay: 0.3s; }
.nav-links li:nth-child(5) { animation-delay: 0.36s; }
.nav-links li:nth-child(6) { animation-delay: 0.42s; }

/* Mobile-only CTA cluster inside drawer (hidden on desktop) */
.nav-mobile-extra {
  display: none !important;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--emerald-bright), var(--emerald));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: navIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.nav-cta .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.nav-cta .btn-primary {
  position: relative;
  overflow: hidden;
}

.nav-cta .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--emerald-bright);
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .brand,
  .brand img,
  .nav-links li,
  .nav-links a,
  .nav-links a::after,
  .nav-cta,
  .nav-cta .btn,
  .nav-toggle {
    animation: none !important;
    transition: none !important;
  }

  .brand,
  .nav-links li,
  .nav-cta {
    opacity: 1;
    transform: none;
  }

  .nav.nav-hidden {
    transform: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  /* Extra top space pushes headline lower while staying below the nav */
  padding: calc(var(--nav-h) + var(--safe-top) + clamp(4.5rem, 12vh, 8.5rem)) 0 max(5rem, calc(3.5rem + var(--safe-bottom)));
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.88;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Left-weighted scrim so headline stays readable over the emerald ring */
  background:
    linear-gradient(105deg, rgba(8, 14, 20, 0.94) 0%, rgba(8, 14, 20, 0.72) 38%, rgba(8, 14, 20, 0.28) 62%, rgba(8, 14, 20, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 18, 25, 0.35) 0%, transparent 35%, rgba(10, 18, 25, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  max-width: 42rem;
}

.hero h1 {
  font-size: clamp(2.05rem, 7.5vw, 4.5rem);
  font-weight: 600;
  /* Avoid mid-word breaks on mobile; prefer clean wraps */
  overflow-wrap: balance;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff 30%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 10.5rem);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta div strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hero-meta div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* —— Sections —— */
section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  max-width: 40rem;
  min-width: 0;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  text-wrap: balance;
}

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

.section-head.center .lead {
  text-align: center;
}

/* —— Trust strip —— */
.trust {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.75rem 0;
  border-block: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
}

/* —— About split —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 25, 0.72);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.split-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.split-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* —— Bento features —— */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.bento-card.wide {
  grid-column: span 7;
}

.bento-card.tall {
  grid-column: span 5;
  background:
    linear-gradient(160deg, rgba(13, 159, 110, 0.08), transparent 50%),
    #fff;
}

.bento-card.span-4 {
  grid-column: span 4;
}

.bento-card.span-6 {
  grid-column: span 6;
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(13, 159, 110, 0.1);
  color: var(--emerald-deep);
}

.bento-card h3 {
  font-size: 1.25rem;
}

.bento-card p {
  color: var(--slate);
  font-size: 0.98rem;
}

/* —— Pillars —— */
.pillars {
  background: var(--ink);
  color: #fff;
}

.pillars .section-head .lead {
  color: rgba(255, 255, 255, 0.7);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.pillar {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}

.pillar-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald-bright);
  margin-bottom: 0.45rem;
}

.pillar h4 {
  font-size: 0.98rem;
  font-weight: 600;
}

/* —— How it works —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-dark);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(13, 159, 110, 0.2);
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.step p {
  color: var(--slate);
}

/* —— Membership —— */
.membership {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(13, 159, 110, 0.12), transparent 50%),
    var(--foam-2);
}

.price-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price-card.featured {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.75);
}

.price-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
}

.price-card.featured .price-tag {
  color: var(--gold-soft);
}

.price-amount {
  font-family: var(--display);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  word-break: break-word;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.65;
  letter-spacing: 0;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--slate);
}

.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

.price-card.featured li::before {
  background: var(--gold);
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  padding: 5.5rem 0;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
}

.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  opacity: 0.45;
}

.cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 25, 0.95) 20%, rgba(10, 18, 25, 0.7) 100%);
}

@media (max-width: 960px) {
  .cta-band-bg::after {
    background: linear-gradient(180deg, rgba(10, 18, 25, 0.88) 0%, rgba(10, 18, 25, 0.94) 100%);
  }
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0.75rem 0 1rem;
}

.cta-inner .lead {
  color: rgba(255, 255, 255, 0.72);
}

.cta-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.85rem;
}

.cta-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  outline: none;
  /* ≥16px prevents iOS Safari auto-zoom on focus */
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.cta-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.cta-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aafbb' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.25rem;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: var(--emerald-bright);
}

.cta-form select option {
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(13, 159, 110, 0.15);
  border: 1px solid rgba(13, 159, 110, 0.35);
  color: #b7f0d7;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* —— Footer —— */
.footer {
  background: #060c11;
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 max(2rem, calc(1.25rem + var(--safe-bottom)));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
}

.footer-brand .brand {
  color: #fff;
  opacity: 1;
  animation: none;
}

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* —— Audience cards —— */
.audience {
  background: #fff;
  border-block: 1px solid var(--line-dark);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.audience-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--foam);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.audience-card figure {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.audience-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .audience-card:hover figure img {
    transform: scale(1.04);
  }
}

.audience-card .body {
  padding: 1.5rem 1.4rem 1.6rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.audience-card h3 {
  font-size: 1.2rem;
}

.audience-card p {
  color: var(--slate);
  font-size: 0.95rem;
}

.audience-card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.audience-card li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.audience-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

/* —— Year timeline —— */
.year {
  background: var(--foam-2);
}

.year-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.year-track::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  opacity: 0.35;
  pointer-events: none;
}

.year-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.4rem;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.year-item .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 6px rgba(13, 159, 110, 0.15);
  margin-bottom: 0.5rem;
}

.year-item .when {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}

.year-item h3 {
  font-size: 1.1rem;
}

.year-item p {
  color: var(--slate);
  font-size: 0.92rem;
}

/* —— Score band —— */
.score-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.score-band-bg {
  position: absolute;
  inset: 0;
}

.score-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  object-position: center;
}

.score-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 14, 20, 0.94) 0%, rgba(8, 14, 20, 0.55) 55%, rgba(8, 14, 20, 0.8) 100%);
}

.score-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.score-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.score-stat {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.score-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.score-stat span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Protocol strip —— */
.protocol {
  background: #fff;
}

.protocol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.protocol-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--foam);
  min-width: 0;
}

.protocol-card figure {
  margin: 0;
  min-height: 220px;
}

.protocol-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.protocol-card .body {
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.protocol-card h3 {
  font-size: 1.25rem;
}

.protocol-card p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* —— FAQ —— */
.faq {
  background: var(--foam-2);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  font-family: var(--display);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--emerald);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* —— Quote —— */
.quote-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.quote-band blockquote {
  max-width: 40rem;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* —— Tablet & mobile —— */
@media (max-width: 1100px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    grid-column: 1 / -1;
    transform: none;
  }

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

@media (max-width: 960px) {
  .audience-grid,
  .year-track,
  .score-inner,
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .year-track::before {
    display: none;
  }

  .protocol-card {
    grid-template-columns: 1fr;
  }

  .protocol-card figure {
    min-height: 200px;
    aspect-ratio: 16/10;
  }

  .score-stats {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Visual first on mobile about/diagnostics for scanability */
  .split .split-visual {
    order: -1;
  }

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

  .price-card.featured {
    order: -1;
    grid-column: auto;
  }

  .bento-card.wide,
  .bento-card.tall,
  .bento-card.span-4,
  .bento-card.span-6 {
    grid-column: span 12;
  }

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

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

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

  .nav-links {
    display: none;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  /* Full-bleed mobile drawer under the bar */
  .nav.open .nav-links {
    display: flex;
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(8, 14, 20, 0.97);
    padding: 0.5rem var(--pad) max(1.5rem, var(--safe-bottom));
    border-bottom: 1px solid var(--line);
    animation: navMenuIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav.scrolled.open .nav-links {
    top: calc(64px + var(--safe-top));
  }

  .nav.open .nav-links li {
    opacity: 1;
    animation: none;
  }

  .nav.open .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .nav.open .nav-links a::after {
    display: none;
  }

  /* Extra mobile-only portal link inside drawer */
  .nav.open .nav-links::after {
    content: none;
  }

  .nav-mobile-extra {
    display: none !important;
    list-style: none;
  }

  .nav.open .nav-mobile-extra {
    display: grid !important;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .nav.open .nav-mobile-extra .btn {
    width: 100%;
    white-space: normal;
  }

  @keyframes navMenuIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-cta .btn-primary {
    padding: 0.55rem 0.95rem;
    font-size: 0.875rem;
    min-height: 40px;
  }

  .hero-bg img {
    object-position: 80% center;
  }

  .split-card {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.95rem 1rem;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head.center .lead {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .about-actions,
  .section-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .about-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

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

  .score-stats {
    grid-template-columns: 1fr;
  }
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .pillar-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(100svh, 40rem);
    padding-top: calc(var(--nav-h) + var(--safe-top) + 3rem);
    padding-bottom: max(2.75rem, calc(1.5rem + var(--safe-bottom)));
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .price-card,
  .step,
  .bento-card,
  .cta-form {
    padding: 1.35rem 1.2rem;
  }

  .price-card.featured {
    box-shadow: 0 16px 40px rgba(8, 20, 30, 0.25);
  }

  .cta-band {
    padding: 3.5rem 0 max(3.5rem, calc(2rem + var(--safe-bottom)));
  }

  .cta-inner .btn-ghost {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  /* Hide primary CTA in bar on very small screens — available in drawer */
  .nav-cta .btn-primary.nav-cta-desktop {
    display: none;
  }
}

/* Landscape phones: don't force full viewport hero */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--safe-top) + 1.5rem);
    padding-bottom: 2rem;
  }

  .nav.nav-hidden {
    transform: none;
  }
}

/* Large touch targets for coarse pointers */
@media (pointer: coarse) {
  .nav-links a {
    padding: 0.5rem 0;
  }

  .pill {
    padding: 0.55rem 1rem;
  }
}
