/* ESENCO product landings — BioEQ & Retinapp
   Brand cues from esenco.com.co: #86c725, #07ab0a, neutrals #615b5b */

:root {
  --esenco-green: #86c725;
  --esenco-green-deep: #6ba31c;
  --esenco-green-ink: #4d7a12;
  --esenco-lime-soft: #eef6d8;

  --ink: #152428;
  --ink-soft: #2a3b40;
  --muted: #5a6b6f;
  --line: #d5e0e2;
  --paper: #f6f8f7;
  --paper-muted: #e9efec;
  --white: #ffffff;

  /* BioEQ default clinical-tech plane */
  --accent: #0c5c63;
  --accent-soft: #14808a;
  --hero-from: #0a3d44;
  --hero-mid: #0f555e;
  --hero-to: #163a42;
  --hero-glow: rgba(134, 199, 37, 0.18);
  --band: #0c5c63;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --radius: 4px;
  --header-h: 4.25rem;
  --space: clamp(1.25rem, 3vw, 2rem);
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.product-retinapp {
  --accent: #1f6b3a;
  --accent-soft: #2d8a4e;
  --hero-from: #123528;
  --hero-mid: #1a4d36;
  --hero-to: #1e3a32;
  --hero-glow: rgba(255, 102, 0, 0.22);
  --band: #1a4d36;
  --retinapp-orange: #ff6600;
  --retinapp-orange-deep: #e55c00;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--esenco-lime-soft), transparent 55%),
    linear-gradient(180deg, #fbfcfb 0%, var(--paper) 40%, #f3f6f4 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img.broken {
  opacity: 0.35;
  outline: 1px dashed var(--line);
  outline-offset: 4px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--esenco-green-ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 248, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(21, 36, 40, 0.06);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo__mark {
  width: 0.7rem;
  height: 1.55rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--esenco-green), var(--accent));
}

.logo__app {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.45rem;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(21, 36, 40, 0.08);
}

.logo__app--bioeq {
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo__esenco {
  display: none;
  height: 1.35rem;
  width: auto;
  margin-left: 0.35rem;
  opacity: 0.9;
}

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

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.nav__toggle-icon {
  width: 1rem;
  height: 0.7rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.nav__toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 879px) {
  .nav__list {
    display: none;
    position: absolute;
    left: var(--space);
    right: var(--space);
    top: calc(var(--header-h) + 0.35rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 16px 40px rgba(21, 36, 40, 0.1);
  }

  .nav__list.is-open {
    display: grid;
    gap: 0.25rem;
  }

  .nav__list a {
    display: block;
    padding: 0.7rem 0.85rem;
    text-decoration: none;
    color: var(--ink-soft);
    border-radius: var(--radius);
  }

  .nav__list a:hover {
    background: var(--paper-muted);
  }
}

@media (min-width: 880px) {
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.1rem;
  }

  .nav__list a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
  }

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

.nav__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem !important;
  border-radius: var(--radius);
  background: var(--esenco-green);
  color: var(--ink) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--esenco-green-deep);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(107, 163, 28, 0.28);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, var(--hero-from) 0%, var(--hero-mid) 48%, var(--hero-to) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 20%, transparent 75%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 14s var(--ease) infinite alternate;
}

.hero__orb--a {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle at 35% 35%, var(--hero-glow), transparent 65%);
}

.hero__orb--b {
  width: min(34vw, 20rem);
  height: min(34vw, 20rem);
  left: 8%;
  bottom: 12%;
  background: radial-gradient(circle at 50% 50%, rgba(20, 128, 138, 0.35), transparent 70%);
  animation-delay: -4s;
}

.product-retinapp .hero__orb--b {
  background: radial-gradient(circle at 50% 50%, rgba(134, 199, 37, 0.28), transparent 70%);
}

.hero__waveform {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  width: 100%;
  height: 22%;
  opacity: 0.55;
}

.hero__wave {
  stroke-width: 2;
  stroke-linecap: round;
}

.hero__wave--back {
  stroke: rgba(134, 199, 37, 0.35);
  animation: wave 8s linear infinite;
}

.hero__wave--front {
  stroke: rgba(255, 255, 255, 0.55);
  animation: wave 6s linear infinite reverse;
}

.hero__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.05) 48%,
    transparent 62%
  );
  animation: scan 9s var(--ease) infinite;
  pointer-events: none;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 3%, 0) scale(1.05);
  }
}

@keyframes wave {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-6%);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateX(-20%);
    opacity: 0.2;
  }
  50% {
    transform: translateX(15%);
    opacity: 0.55;
  }
}

.hero__content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3.5rem, 10vh, 6.5rem) var(--space) clamp(3rem, 8vh, 5rem);
}

.hero__brand-row {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
  margin: 0 0 1rem;
}

.hero__logo {
  width: clamp(4.5rem, 12vw, 7rem);
  height: clamp(4.5rem, 12vw, 7rem);
  border-radius: clamp(0.75rem, 1.5vw, 1.15rem);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero__brand-row--bioeq {
  margin-bottom: 1.15rem;
}

.hero__logo--bioeq {
  width: auto;
  height: clamp(7.5rem, 22vw, 11.5rem);
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
}

.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;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.hero__brand--sm {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--esenco-green);
  margin: 0;
}

.product-retinapp .hero__brand--sm {
  color: var(--retinapp-orange);
}

.product-retinapp .hero__highlight {
  color: #ffb366;
}

.product-retinapp .hero__orb--a {
  background: radial-gradient(circle at 35% 35%, rgba(255, 102, 0, 0.28), transparent 65%);
}

.close-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.close-brand__logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.close-brand__logo--bioeq {
  width: auto;
  height: 5.5rem;
  border-radius: 0;
  object-fit: contain;
}

.hero__title {
  margin: 0 0 1rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 0 0.85rem;
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero__lead--compact {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero__note {
  margin: 0 0 0.85rem;
  max-width: 38rem;
  color: rgba(238, 246, 216, 0.92);
  font-weight: 500;
}

.hero__highlight {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--esenco-green);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero__actions--center {
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--primary {
  background: var(--esenco-green);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(134, 199, 37, 0.28);
}

.btn--primary:hover {
  background: #94d42f;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(134, 199, 37, 0.36);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-soft);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.section--close .btn--primary,
.section--band .btn--primary {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

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

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

.section__inner--split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .section__inner--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.section__header {
  max-width: 40rem;
}

.section__header--center {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__header--light {
  color: rgba(255, 255, 255, 0.92);
}

.section__header--light h2,
.section__header--light .eyebrow {
  color: var(--white);
}

.section__header h2,
.section--close h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  /* color: var(--ink); */
}

.section__header p,
.section--close > .section__inner > p,
.section__inner--close > p {
  margin: 0;
  /* color: var(--muted); */
  font-size: 1.05rem;
}

.section__kicker {
  margin: 0 0 0.75rem !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem !important;
  letter-spacing: -0.015em;
  color: var(--ink-soft) !important;
}

.section__header--light .section__kicker {
  color: rgba(238, 246, 216, 0.95) !important;
}

.section__inner--narrow {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--space);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: var(--esenco-green);
}

.section--muted {
  background: linear-gradient(180deg, rgba(233, 239, 236, 0.65), rgba(246, 248, 247, 0.2));
}

.section--intro {
  border-top: 1px solid var(--line);
}

/* Pillars — not cards: open rhythm with index + rule */
.pillars {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.pillars__item {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .pillars__item:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid var(--line);
  }

  .pillars__item:nth-child(even) {
    padding-left: 2rem;
  }
}

.pillars__index {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--esenco-green-ink);
}

.pillars__item h3,
.subblocks h3,
.band-points h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pillars__item p,
.subblocks p,
.band-points p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 1px;
  background: var(--esenco-green);
}

.feature-list--spaced {
  margin-top: 2rem;
  max-width: 40rem;
}

/* Sub-blocks (Retinapp) */
.subblocks {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem 2.5rem;
}

@media (min-width: 720px) {
  .subblocks {
    grid-template-columns: 1fr 1fr;
  }
}

.subblocks__item {
  padding-top: 1rem;
  border-top: 2px solid var(--esenco-green);
}

/* Flow list */
.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  max-width: 46rem;
  margin-inline: auto;
}

.flow-list li {
  counter-increment: flow;
  position: relative;
  padding: 1.15rem 0 1.15rem 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.flow-list strong {
  color: var(--ink);
}

/* Band */
.section--band {
  background:
    linear-gradient(135deg, var(--band) 0%, var(--hero-mid) 55%, var(--hero-to) 100%);
  color: rgba(255, 255, 255, 0.9);
}

.band-points {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .band-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .band-points--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 800px) and (max-width: 999px) {
  .band-points--four {
    grid-template-columns: 1fr 1fr;
  }
}

.band-points h3 {
  color: var(--white);
}

.band-points p {
  color: rgba(255, 255, 255, 0.78);
}

.band-points li {
  padding-top: 1rem;
  border-top: 1px solid rgba(134, 199, 37, 0.55);
}

/* Compliance chips row — open, not pill clutter */
.compliance {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

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

.compliance li {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.compliance strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.compliance p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Close */
.section--close {
  text-align: center;
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
}

.section__inner--close {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 var(--space);
}

.section__inner--close h2 {
  color: var(--ink);
}

.section__inner--close p {
  margin: 0 0 1.75rem;
}

.section__inner--close .btn {
  margin-top: 0.25rem;
}

/* Decisions bullets */
.decision-list {
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  display: grid;
  gap: 0.85rem;
}

.decision-list li {
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
  font-weight: 500;
}

.decision-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #eef2f0;
  padding: 1.75rem 0;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.pillars__item[data-reveal]:nth-child(2),
.flow-list li[data-reveal]:nth-child(2),
.band-points li[data-reveal]:nth-child(2),
.subblocks__item[data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.pillars__item[data-reveal]:nth-child(3),
.flow-list li[data-reveal]:nth-child(3),
.band-points li[data-reveal]:nth-child(3),
.subblocks__item[data-reveal]:nth-child(3) {
  transition-delay: 0.14s;
}

.pillars__item[data-reveal]:nth-child(4),
.flow-list li[data-reveal]:nth-child(4),
.subblocks__item[data-reveal]:nth-child(4) {
  transition-delay: 0.2s;
}

.flow-list li[data-reveal]:nth-child(5) {
  transition-delay: 0.26s;
}

.tagline {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.close-alt {
  margin: 1.25rem 0 0 !important;
  font-size: 0.95rem;
  color: var(--muted);
}

.close-alt a {
  color: var(--ink-soft);
}

/* Benefits — open grid, not cards */
.benefits {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

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

.benefits__item {
  padding: 1.35rem 1.25rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .benefits__item:nth-child(odd) {
    padding-right: 1.75rem;
    border-right: 1px solid var(--line);
  }

  .benefits__item:nth-child(even) {
    padding-left: 1.75rem;
  }
}

@media (min-width: 980px) {
  .benefits__item {
    padding: 1.35rem 1.5rem 1.35rem 0;
    border-right: 1px solid var(--line);
  }

  .benefits__item:nth-child(even) {
    padding-left: 1.5rem;
  }

  .benefits__item:nth-child(3n) {
    border-right: none;
  }

  .benefits__item:nth-child(3n + 1) {
    padding-left: 0;
  }

  .benefits__item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

.benefits__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.benefits__item p {
  margin: 0;
  color: var(--muted);
}

.benefits__item[data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}

.benefits__item[data-reveal]:nth-child(3) {
  transition-delay: 0.1s;
}

.benefits__item[data-reveal]:nth-child(4) {
  transition-delay: 0.14s;
}

.benefits__item[data-reveal]:nth-child(5) {
  transition-delay: 0.18s;
}

.benefits__item[data-reveal]:nth-child(6) {
  transition-delay: 0.22s;
}

.benefits__item[data-reveal]:nth-child(7) {
  transition-delay: 0.26s;
}
