/* ============================================================
   EXO · Exponential Optimization
   Visual language inspired by Neuros (artureanec/neuros):
   off-white surface + dark inset blocks (25px corners),
   Sora display + Manrope body, slash-labels, pill buttons,
   gradient text on key words. Adapted to EXO lime-green brand.
============================================================ */

:root {
  /* Surfaces */
  --bg-page: #F5F5F5;
  --bg-elevated: #FFFFFF;
  --bg-card-soft: #ECECEC;
  --bg-card-soft-2: #E4E4E4;
  --bg-dark: #111111;
  --bg-dark-2: #1A1A1A;

  /* Text */
  --text-heading: #111111;
  --text-body: #333333;
  --text-muted: #6B6B6B;
  --text-faint: #9B9B9B;
  --text-on-dark: #F5F5F5;
  --text-on-dark-muted: #B8B8B8;

  /* Brand — EXO lime green family */
  --brand: #8BDB47;
  --brand-bright: #A3E635;
  --brand-deep: #2D6E1A;
  --brand-soft: rgba(139, 219, 71, 0.12);
  --brand-line: rgba(139, 219, 71, 0.30);
  --brand-glow: rgba(139, 219, 71, 0.45);

  /* Signature gradient on headlines (deep green → lime) */
  --grad: linear-gradient(262deg, #2D6E1A 0%, #8BDB47 100%);
  --grad-rev: linear-gradient(262deg, #8BDB47 0%, #2D6E1A 100%);

  /* Type */
  --font-display: 'Sora', Arial, Helvetica, sans-serif;
  --font-body: 'Manrope', Arial, Helvetica, sans-serif;

  /* Radii */
  --r-pill: 9999px;
  --r-card: 25px;
  --r-card-sm: 20px;
  --r-card-lg: 30px;

  /* Layout */
  --container: 1320px;
  --gutter: 60px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-med: 360ms;
  --t-slow: 700ms;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: var(--text-heading); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 900px)  { .container { padding: 0 28px; } }
@media (max-width: 540px)  { .container { padding: 0 20px; } }

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-heading);
  margin: 0;
}

p { margin: 0; color: var(--text-body); }

/* Editorial kicker label — UPPERCASE tracked + lime dot */
.micro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-heading);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.micro-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  flex-shrink: 0;
}
.micro-label--light { color: var(--text-on-dark); }

/* Headline gradient text — multi-stop for visible movement (Neuros DNA) */
.grad-text {
  background: linear-gradient(95deg, #143209 0%, #2D6E1A 30%, #58B027 65%, #8BDB47 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
}
/* On dark surfaces — push the dark stop up so the gradient stays visible */
.section--inset .grad-text,
.dark-block .grad-text,
.footer .grad-text,
.bento-card--dark .grad-text,
.newsletter-row .grad-text {
  background: linear-gradient(95deg, #4FAA20 0%, #6FC52F 35%, #A3E635 70%, #C9F576 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section heading */
.section__title {
  font-size: clamp(2.2rem, 6vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text-heading);
  max-width: 16ch;
}
.section__title--light { color: var(--text-on-dark); max-width: 18ch; }

.section__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: 28px;
}
.section__sub--light { color: var(--text-on-dark-muted); }

.section-head { margin-bottom: 80px; }
.section-head--center { text-align: center; }
.section-head--center .section__title,
.section-head--center .section__sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS — pill, sentence-case, leading chevron
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-transform: none;
}
.btn .chevron {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transition: transform var(--t-med) var(--ease);
}
.btn:hover .chevron { transform: translateX(3px); }

/* Solid black pill (primary) */
.btn--solid {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}
.btn--solid:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

/* Outline pill — red border in Neuros, green here */
.btn--outline {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--brand);
  position: relative;
}
.btn--outline:hover {
  background: var(--brand);
  color: var(--text-heading);
  border-color: var(--brand);
}

/* Outline light — for use on dark backgrounds */
.btn--outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--lg { padding: 18px 32px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; padding: 18px 32px; font-size: 15px; }

/* ============================================================
   HEADER
============================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 112px;
  background: var(--bg-elevated);
  z-index: 100;
  transition: box-shadow var(--t-med) var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
}
@media (max-width: 900px) { .header__inner { padding: 0 28px; } }

.header__brand { display: flex; align-items: center; }
.header__logo {
  height: 80px;
  width: auto;
}
@media (max-width: 768px) { .header__logo { height: 64px; } }

.header__nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}
@media (min-width: 1100px) { .header__nav { display: flex; } }

.header__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease);
}
.header__link:hover {
  background: var(--bg-card-soft);
}
.header__link--active {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.header__link--active:hover { background: var(--bg-dark-2); }

.header__nav + .btn--outline { margin-left: 0; }
.header .btn--outline { display: none; }
@media (min-width: 1100px) { .header .btn--outline { display: inline-flex; } }

.header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--text-heading);
  border-radius: 50%;
  padding: 14px 12px;
  margin-left: auto;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
}
.header__toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text-heading);
  transition: all var(--t-med) var(--ease);
}
.header__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1100px) { .header__toggle { display: none; } }

.header__mobile {
  display: none;
  position: absolute;
  top: 112px;
  left: 0; right: 0;
  background: var(--bg-elevated);
  flex-direction: column;
  padding: 16px 28px 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.header__mobile.is-open { display: flex; }
.header__mobile a:not(.btn) {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-heading);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: var(--font-display);
}
.header__mobile .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* ============================================================
   HERO — magazine-cover composition
============================================================ */

.hero {
  padding: calc(112px + 80px) 0 60px;
}
@media (max-width: 768px) { .hero { padding: calc(112px + 40px) 0 40px; } }

.hero__band { margin-bottom: 24px; }

.hero__head { padding-top: 4px; margin-bottom: 36px; }

.hero__row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: end;
}
@media (max-width: 1100px) {
  .hero__row { grid-template-columns: 1fr; gap: 32px; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 8.5vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text-heading);
  margin: 0;
  max-width: 14ch;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 12px;
}
.hero__lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}
.hero__aside .btn { align-self: flex-start; }

/* Billboard — editorial cover with layered mesh, waves and grain */
.hero__billboard {
  position: relative;
  margin-top: 60px;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(139,219,71,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(45,110,26,0.55) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(15,30,5,0.7) 0%, transparent 60%),
    linear-gradient(135deg, #0a1502 0%, #1a3a0a 50%, #0d1f04 100%);
  aspect-ratio: 16/9;
  isolation: isolate;
}
@media (max-width: 768px) { .hero__billboard { aspect-ratio: 5/6; margin-top: 40px; } }

.billboard__bg { position: absolute; inset: 0; pointer-events: none; }

/* Layer 1: orbital diagonal lines */
.billboard__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(110deg, transparent 0%, transparent 48%, rgba(139,219,71,0.18) 49%, rgba(139,219,71,0.18) 50%, transparent 51%, transparent 100%),
    linear-gradient(110deg, transparent 0%, transparent 38%, rgba(139,219,71,0.10) 39%, rgba(139,219,71,0.10) 40%, transparent 41%, transparent 100%),
    linear-gradient(110deg, transparent 0%, transparent 58%, rgba(139,219,71,0.10) 59%, rgba(139,219,71,0.10) 60%, transparent 61%, transparent 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  animation: drift 18s linear infinite alternate;
}
@keyframes drift {
  to { background-position: 30% 50%; }
}

/* Layer 2: pulsing radial glow */
.billboard__glow {
  position: absolute;
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(139,219,71,0.45) 0%, transparent 50%),
    conic-gradient(from 90deg at 50% 50%, transparent, rgba(139,219,71,0.18), transparent 50%);
  filter: blur(60px);
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.85; }
}

/* Layer 3: dotted matrix + concentric rings */
.billboard__dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(139,219,71,0.25) 1px, transparent 0),
    radial-gradient(circle 200px at 30% 30%, transparent 60%, rgba(139,219,71,0.06) 60.5%, rgba(139,219,71,0.06) 61%, transparent 61.5%),
    radial-gradient(circle 150px at 70% 70%, transparent 70%, rgba(139,219,71,0.08) 70.5%, rgba(139,219,71,0.08) 71%, transparent 71.5%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 85%);
  opacity: 0.7;
}

/* Layer 4: subtle vertical light streak (Neuros' photo signature) */
.hero__billboard::after {
  content: '';
  position: absolute;
  top: -10%; bottom: -10%;
  left: 75%;
  width: 200px;
  background: linear-gradient(90deg, transparent, rgba(180, 230, 100, 0.18), transparent);
  filter: blur(40px);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   DIAGRAM — EXO at center, 6 company areas orbiting, animated
============================================================ */

.diagram__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}
.diagram__lines line {
  stroke: rgba(139, 219, 71, 0.45);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 7;
  animation: lineFlow 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(139,219,71,0.4));
}
@keyframes lineFlow {
  to { stroke-dashoffset: -200; }
}

/* Radar pulse rings emanating from center */
.diagram__radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}
.diagram__radar span {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  margin-top: calc(clamp(180px, 22vw, 320px) / -2);
  margin-left: calc(clamp(180px, 22vw, 320px) / -2);
  border: 1.5px solid rgba(139, 219, 71, 0.6);
  border-radius: 50%;
  opacity: 0;
  animation: radarWave 4.5s ease-out infinite;
}
.diagram__radar span:nth-child(2) { animation-delay: 1.5s; }
.diagram__radar span:nth-child(3) { animation-delay: 3s; }
@keyframes radarWave {
  0%   { transform: scale(0.4); opacity: 0.55; border-width: 2px; }
  100% { transform: scale(1.6); opacity: 0;    border-width: 0.5px; }
}

/* Center: EXO logo with subtle breathing */
.diagram__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
}
.diagram__logo {
  width: clamp(220px, 26vw, 380px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(139,219,71,0.45));
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
.diagram__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--brand);
  text-transform: uppercase;
}

/* Nodes: 6 small pills positioned around the EXO center */
.diagram__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(139, 219, 71, 0.35);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  white-space: nowrap;
  cursor: default;
  transition: all 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.diagram__node:hover,
.diagram__node:focus-visible,
.diagram__node.is-active {
  background: rgba(139, 219, 71, 0.18);
  border-color: var(--brand);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(139, 219, 71, 0.1), 0 0 28px rgba(139, 219, 71, 0.4);
  z-index: 30;
}
.diagram__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  flex-shrink: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

/* Stagger the dot animation across the 6 nodes */
.diagram__node--tl .diagram__dot { animation-delay: 0s; }
.diagram__node--tr .diagram__dot { animation-delay: 0.4s; }
.diagram__node--ml .diagram__dot { animation-delay: 0.8s; }
.diagram__node--mr .diagram__dot { animation-delay: 1.2s; }
.diagram__node--bl .diagram__dot { animation-delay: 1.6s; }
.diagram__node--br .diagram__dot { animation-delay: 2s; }

/* Node positions matching the SVG line endpoints (desktop) */
.diagram__node--tl { top: 22%; left: 22%; }
.diagram__node--tr { top: 22%; left: 78%; }
.diagram__node--ml { top: 50%; left: 10%; }
.diagram__node--mr { top: 50%; left: 90%; }
.diagram__node--bl { top: 78%; left: 22%; }
.diagram__node--br { top: 78%; left: 78%; }

/* ============================================================
   POPOVER — white card revealed on hover/focus/active per node
============================================================ */

.diagram__popover {
  position: absolute;
  width: 290px;
  max-width: calc(100vw - 32px);
  background: #fff;
  color: var(--text-heading);
  border-radius: 18px;
  padding: 22px 24px 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  border-top: 3px solid var(--brand);
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease),
    visibility 0s linear 0.32s;
  /* Default placement: below the node, aligned left */
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(-8px);
}
.diagram__popover h4,
.diagram__popover p {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.diagram__popover h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-heading);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.diagram__popover h4::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  flex-shrink: 0;
}
.diagram__popover p {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Activated states: hover (desktop), focus, .is-active (click toggle) */
.diagram__node:hover .diagram__popover,
.diagram__node:focus-visible .diagram__popover,
.diagram__node.is-active .diagram__popover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) translateX(var(--popover-tx, 0));
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease),
    visibility 0s linear;
}

/* Top-left + middle-left + bottom-left: anchor popover left edge to node left */
.diagram__node--tl .diagram__popover,
.diagram__node--ml .diagram__popover,
.diagram__node--bl .diagram__popover {
  left: 0;
  right: auto;
}

/* Top-right + middle-right + bottom-right: anchor popover right edge to node right */
.diagram__node--tr .diagram__popover,
.diagram__node--mr .diagram__popover,
.diagram__node--br .diagram__popover {
  left: auto;
  right: 0;
}

/* Bottom row: popover appears ABOVE the node (avoid overflowing the billboard) */
.diagram__node--bl .diagram__popover,
.diagram__node--br .diagram__popover {
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateY(8px);
}

/* Middle row: popover appears to the SIDE (away from the EXO logo center) */
.diagram__node--ml .diagram__popover {
  top: 50%;
  bottom: auto;
  left: calc(100% + 14px);
  right: auto;
  transform: translateY(-50%) translateX(-8px);
}
.diagram__node--mr .diagram__popover {
  top: 50%;
  bottom: auto;
  left: auto;
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(8px);
}
.diagram__node--ml:hover .diagram__popover,
.diagram__node--ml:focus-visible .diagram__popover,
.diagram__node--ml.is-active .diagram__popover,
.diagram__node--mr:hover .diagram__popover,
.diagram__node--mr:focus-visible .diagram__popover,
.diagram__node--mr.is-active .diagram__popover {
  transform: translateY(-50%) translateX(0);
}

/* Mobile: full-width popover anchored under the node */
@media (max-width: 768px) {
  .diagram__popover {
    width: 240px;
    padding: 18px 20px 20px;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%) translateY(-6px);
  }
  .diagram__popover h4 { font-size: 15px; }
  .diagram__popover p  { font-size: 12.5px; }
  /* Override side placements on mobile — always go below */
  .diagram__node--bl .diagram__popover,
  .diagram__node--br .diagram__popover,
  .diagram__node--ml .diagram__popover,
  .diagram__node--mr .diagram__popover,
  .diagram__node--tl .diagram__popover,
  .diagram__node--tr .diagram__popover {
    top: calc(100% + 10px);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-6px);
  }
  .diagram__node:hover .diagram__popover,
  .diagram__node:focus-visible .diagram__popover,
  .diagram__node.is-active .diagram__popover {
    transform: translateX(-50%) translateY(0);
  }
  /* Bottom row on mobile: keep below if there's room, else above */
  .diagram__node--bl .diagram__popover,
  .diagram__node--br .diagram__popover {
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
  }
  .diagram__node--bl:hover .diagram__popover,
  .diagram__node--bl.is-active .diagram__popover,
  .diagram__node--br:hover .diagram__popover,
  .diagram__node--br.is-active .diagram__popover {
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile: hide lines/radar, stack nodes around a smaller logo */
@media (max-width: 768px) {
  .diagram__lines { display: none; }
  .diagram__radar { display: none; }
  .diagram__center {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .diagram__logo { width: 64%; max-width: 240px; }
  .diagram__tag { font-size: 9px; letter-spacing: 0.2em; }
  .diagram__node {
    padding: 8px 14px;
    font-size: 12px;
    gap: 8px;
  }
  .diagram__node--tl { top: 9%;  left: 25%; }
  .diagram__node--tr { top: 9%;  left: 75%; }
  .diagram__node--ml { top: 50%; left: 18%; }
  .diagram__node--mr { top: 50%; left: 82%; }
  .diagram__node--bl { top: 91%; left: 25%; }
  .diagram__node--br { top: 91%; left: 75%; }
}

@media (prefers-reduced-motion: reduce) {
  .diagram__lines line,
  .diagram__dot,
  .diagram__radar span,
  .diagram__logo {
    animation: none !important;
  }
}

.billboard__chip {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--bg-elevated);
  color: var(--text-heading);
  font-size: 13px;
  font-weight: 500;
  transition: transform var(--t-med) var(--ease);
}
.billboard__chip:hover { transform: translateY(-2px); }
.chip__play {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-heading);
}

/* ============================================================
   SECTIONS — base
============================================================ */

.section { padding: 140px 0; position: relative; }
@media (max-width: 900px) { .section { padding: 80px 0; } }
.section--light { background: var(--bg-page); }

/* Inset section: contains a dark inset card with rounded corners */
.section--inset {
  background: var(--bg-page);
  padding: 0 0 60px;
}
@media (max-width: 900px) { .section--inset { padding: 0 0 40px; } }

/* ============================================================
   MANIFIESTO
============================================================ */

#manifiesto { position: relative; }
#manifiesto .section__title { max-width: 22ch; }

.manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 24px;
}
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; gap: 32px; } }

.manifesto__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.manifesto__num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-deep);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 14px;
  width: fit-content;
}
.manifesto__num::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--brand) 30%, transparent);
}
.manifesto__verb {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.manifesto__col p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

.manifesto__pebbles {
  position: absolute;
  left: -60px; bottom: 60px;
  z-index: -1;
  pointer-events: none;
}
.pebble {
  position: absolute;
  background: var(--bg-card-soft-2);
  border-radius: 50%;
  display: block;
}
.pebble--1 { width: 220px; height: 220px; left: 0; top: 0; opacity: 0.7; }
.pebble--2 { width: 140px; height: 140px; left: 160px; top: 60px; opacity: 0.5; background: var(--bg-card-soft); }
.pebble--3 { width: 80px;  height: 80px;  left: 80px;  top: 200px; opacity: 0.6; }

/* ============================================================
   MARQUEE BANDS
============================================================ */

.marquee-band {
  position: relative;
  margin: 0;
  padding: 60px 0;
  overflow: hidden;
  background: var(--bg-page);
}
.marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
}
.marquee--green {
  background: var(--brand);
  color: var(--text-heading);
  transform: rotate(-3deg) translateY(0);
  margin-left: -3%;
  width: 106%;
  position: relative;
  z-index: 2;
}
.marquee--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  transform: rotate(3deg) translateY(-30px);
  margin-left: -3%;
  width: 106%;
  position: relative;
  z-index: 1;
}
.marquee--small {
  transform: none;
  margin: 0;
  width: 100%;
}
.marquee__track {
  display: flex;
  gap: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  animation: marquee 30s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee__track span { display: inline-block; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   BENTO grid (problems + products)
============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
}

.bento--problems > .bento-card { grid-column: span 1; }
.bento--problems .bento-card--tall { grid-row: span 1; }

@media (min-width: 901px) {
  .bento--problems {
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  }
  .bento--products {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento--products .bento-card--span-2 { grid-column: span 2; }
}

.bento-card {
  position: relative;
  border-radius: var(--r-card);
  padding: 36px 32px 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t-med) var(--ease);
  min-height: 320px;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-2px); }

.bento-card--light {
  background: var(--bg-elevated);
  color: var(--text-heading);
  border: 1px solid rgba(0,0,0,0.04);
}
.bento-card--soft {
  background: var(--bg-card-soft);
  border-color: transparent;
}
.bento-card--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.bento-card--anchor {
  background: linear-gradient(140deg, var(--bg-dark) 0%, #0a1f02 50%, var(--bg-dark) 100%);
  position: relative;
}
.bento-card--anchor::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,219,71,0.1) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000, transparent 80%);
  pointer-events: none;
}

.bento-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.bento-card__num {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: inherit;
  opacity: 0.7;
}
.bento-card__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.06);
  color: inherit;
  white-space: nowrap;
}
.bento-card--dark .bento-card__tag {
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark-muted);
}
.bento-card__tag--accent {
  background: var(--brand) !important;
  color: var(--text-heading) !important;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
  margin-top: 12px;
}
.bento-card__title--xl {
  font-size: clamp(32px, 3.5vw, 48px);
}

.bento-card p {
  color: inherit;
  opacity: 0.82;
  font-size: 15px;
  line-height: 1.55;
  position: relative;
}

.bento-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 18px;
  background: var(--brand);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  border-radius: var(--r-pill);
  align-self: flex-start;
  transition: all var(--t-med) var(--ease);
  position: relative;
  z-index: 2;
}
.bento-card__cta:hover {
  background: var(--brand-bright);
  transform: translateX(2px);
}
.bento-card__cta--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.bento-card__cta--dark:hover { background: var(--brand-deep); color: #fff; }
.bento-card__cta .chevron { font-size: 16px; }

/* Circular › icon button at bottom-right of every card (Neuros signature) */
.bento-card__icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  transition: transform var(--t-med) var(--ease);
  pointer-events: none;
}
.bento-card--dark .bento-card__icon {
  background: var(--brand);
  color: var(--text-heading);
}
.bento-card__icon--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.bento-card:hover .bento-card__icon { transform: rotate(-45deg); }

/* When card has its own CTA pill, hide the corner icon */
.bento-card:has(.bento-card__cta) .bento-card__icon { display: none; }

.anchor-stat {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
}
.anchor-stat small {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.7;
}

.check-list {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
}
.check-list li::before {
  content: '›';
  position: absolute;
  left: 0; top: -1px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
}
.check-list--dark li::before { color: var(--brand-deep); }

.big-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 12px 0 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.big-stat__num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--brand-deep);
  line-height: 1;
}
.big-stat__label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bi-pattern {
  width: 60px; height: 40px;
  color: var(--brand);
  opacity: 0.6;
}

.problem__close {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text-heading);
  font-weight: 400;
  max-width: 56ch;
  margin: 0 auto;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

/* Custom services banner (after products) */
.custom-banner {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  border: 1px dashed rgba(0,0,0,0.12);
}
.custom-banner h3 {
  font-size: 28px;
  margin: 8px 0 12px;
}
.custom-banner p {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 15px;
}
@media (max-width: 768px) {
  .custom-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
}

/* ============================================================
   DARK INSET BLOCK (Solución, CTA Final)
============================================================ */

.dark-block {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-card-lg);
  padding: 100px 80px;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 768px) { .dark-block { padding: 60px 32px; border-radius: var(--r-card); } }

/* Truly subtle photo background — pure texture, almost invisible */
.dark-block__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.08;
  filter: grayscale(1) contrast(1.2) brightness(0.7);
  pointer-events: none;
}
.dark-block > *:not(.dark-block__photo) {
  position: relative;
  z-index: 2;
}
.dark-block > .ghost-word { z-index: 1; }

.ghost-word {
  position: absolute;
  right: -20px;
  top: 60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.08);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.dark-block__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.dark-block__corner {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 7px 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-pill);
}

.dark-block__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  margin-bottom: 80px;
  max-width: 980px;
}
@media (max-width: 900px) { .dark-block__intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; } }
.dark-block__intro p {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  line-height: 1.6;
}

.layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 56px;
}
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; } }

.layer { position: relative; padding-right: 16px; }
.layer__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.layer__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.layer p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.dark-block__close {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.dark-block__close p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-on-dark);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 56ch;
}
.dark-block__close p em { font-style: normal; color: var(--brand); }
@media (max-width: 768px) { .dark-block__close { flex-direction: column; align-items: flex-start; } }

/* CTA inset variant */
.dark-block--cta { padding: 80px 80px; }
@media (max-width: 768px) { .dark-block--cta { padding: 56px 32px; } }
.dark-block__cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .dark-block__cta-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Floating white card inside the dark block */
.cta-card {
  background: var(--bg-elevated);
  color: var(--text-heading);
  border-radius: var(--r-card);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.cta-card .micro-label { color: var(--text-heading); }
.cta-card h3 {
  font-size: 28px;
  margin: 8px 0 24px;
  color: var(--text-heading);
}
.cta-card__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-card__list li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-card__list li span {
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
}
.cta-card__micro {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   PHASES (Growth Sprint)
============================================================ */

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }

.phase {
  position: relative;
  border-radius: var(--r-card);
  padding: 40px 32px 80px;
  min-height: 360px;
}
.phase--light {
  background: var(--bg-elevated);
  color: var(--text-heading);
  border: 1px solid rgba(0,0,0,0.04);
}
.phase--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.phase__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}
.phase--light .phase__num { color: var(--brand-deep); border-color: rgba(45,110,26,0.3); background: var(--brand-soft); }

.phase__month {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
  margin-bottom: 14px;
}
.phase__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: inherit;
}
.phase p {
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.85;
}
.phase__corner {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  transition: transform var(--t-med) var(--ease);
}
.phase:hover .phase__corner { transform: rotate(-45deg); }
.phase--dark .phase__corner { background: var(--brand); color: var(--text-heading); }

.sprint-cta {
  text-align: center;
  margin-top: 32px;
  padding: 64px 32px;
  background: var(--bg-elevated);
  border-radius: var(--r-card);
}
.sprint-cta p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--text-heading);
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 50ch;
  margin: 0 auto 32px;
  font-weight: 400;
}

/* ============================================================
   PARA QUIÉN
============================================================ */

#para-quien { background: var(--bg-card-soft); }

.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .for-grid { grid-template-columns: 1fr; } }

.for-card {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  padding: 0;
  min-height: 280px;
  transition: transform var(--t-med) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.for-card:hover { transform: translateY(-3px); }
.for-card--soft { background: var(--bg-dark); color: var(--text-on-dark); }

/* Photo strip at top of for-card — keeps text primary, photo as accent */
.for-card__photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.02);
  transition: transform var(--t-slow) var(--ease);
}
.for-card:hover .for-card__photo { transform: scale(1.04); }
.for-card__content {
  padding: 36px 32px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.for-card__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  margin-bottom: 28px;
}
.for-card--soft .for-card__num {
  color: var(--brand);
  background: rgba(139, 219, 71, 0.1);
  border-color: var(--brand-line);
}
.for-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  color: inherit;
  letter-spacing: -0.02em;
}
.for-card p {
  color: inherit;
  opacity: 0.78;
  font-size: 15px;
  line-height: 1.6;
}

.for__close {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ============================================================
   BLOG & NEWSLETTER
============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--bg-elevated);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease);
}
.post-card:hover { transform: translateY(-3px); }

.post-card__cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-dark);
}
.post-card__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform var(--t-slow) var(--ease);
}
.post-card:hover .post-card__cover img {
  transform: scale(1.04);
}
/* Darkening overlay so the category pill stays legible */
.post-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,5,0.45) 0%, rgba(10,15,5,0.15) 40%, rgba(10,15,5,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Fallback gradients for cards without an image (still used by post-page related cards) */
.post-card__cover--1:not(:has(img)) {
  background:
    radial-gradient(ellipse at top right, rgba(139,219,71,0.4), transparent 60%),
    linear-gradient(135deg, #0e1d05 0%, #1a3a0a 100%);
}
.post-card__cover--2:not(:has(img)) {
  background:
    radial-gradient(circle at 30% 30%, rgba(139,219,71,0.45), transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}
.post-card__cover--3:not(:has(img)) {
  background:
    radial-gradient(ellipse at bottom left, rgba(139,219,71,0.35), transparent 60%),
    linear-gradient(135deg, #2D6E1A 0%, #0e1d05 100%);
}

.post-card__cat {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 7px 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(139, 219, 71, 0.3);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.post-card__body {
  padding: 28px;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.post-card__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.post-card__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.post-card__corner {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  transition: transform var(--t-med) var(--ease);
}
.post-card:hover .post-card__corner { transform: rotate(-45deg); background: var(--brand); color: var(--text-heading); }

/* Newsletter row */
.newsletter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.newsletter-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,219,71,0.12) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .newsletter-row { grid-template-columns: 1fr; padding: 40px 28px; gap: 24px; }
}
.newsletter-row__text { position: relative; z-index: 2; }
.newsletter-row__text .micro-label { color: var(--brand); }
.newsletter-row__text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.newsletter-row__text p { color: var(--text-on-dark-muted); font-size: 14px; }

.newsletter-row__form {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-row__form input {
  flex: 1;
  min-width: 200px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-pill);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all var(--t-fast) var(--ease);
}
.newsletter-row__form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-row__form input:focus {
  border-color: var(--brand);
  background: rgba(139,219,71,0.06);
}
.newsletter-row__feedback {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--brand);
  margin-top: 4px;
}

/* ============================================================
   FOOTER (dark, rounded only at bottom)
============================================================ */

.footer {
  background: var(--bg-page);
  padding: 0;
}
.footer__inner {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-card-lg) var(--r-card-lg) 0 0;
  padding: 80px 80px 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .footer__inner { padding: 60px 28px 32px; } }

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }

.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__big-link {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color var(--t-fast) var(--ease);
  width: fit-content;
}
.footer__big-link:hover { color: var(--brand); }
.footer__small {
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 32px 0;
}

.footer__tagline {
  margin: 80px 0;
  position: relative;
}
.footer__tagline h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 168px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--text-on-dark);
  margin: 0;
}
.footer__tagline .grad-text {
  background: linear-gradient(95deg, #2D6E1A 0%, #58B027 25%, #8BDB47 55%, #B5E84A 80%, #E1F89E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .footer__bottom { grid-template-columns: 1fr; gap: 32px; } }

.footer__logo { height: 72px; width: auto; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
}
.footer__nav a:hover { color: var(--brand); }

.footer__copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   FLOATING SCROLL-TO-TOP (vertical capsule, Neuros-style)
============================================================ */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 80px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--t-med) var(--ease);
  box-shadow: 0 12px 30px rgba(139, 219, 71, 0.4);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--brand-bright);
  transform: translateY(-3px);
}
.scroll-top__chevron {
  font-size: 12px;
  line-height: 1;
}

/* ============================================================
   Sprint CTA (centered)
============================================================ */

#growth-sprint .section__sub { margin-left: 0; margin-right: 0; }

/* ============================================================
   Reveal animation
============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   BLOG / ARTICLE — long-form post layout
============================================================ */

.article {
  background: var(--bg-page);
  padding: calc(112px + 60px) 0 0;
}
@media (max-width: 768px) { .article { padding: calc(112px + 28px) 0 0; } }

.breadcrumb {
  max-width: 880px;
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.breadcrumb a:hover { color: var(--brand-deep); border-color: var(--brand); }
.breadcrumb__sep { margin: 0 10px; color: var(--text-faint); }
@media (max-width: 768px) { .breadcrumb { padding: 0 28px; } }

.article__hero {
  max-width: 880px;
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) { .article__hero { padding: 0 28px; margin-bottom: 40px; } }

.article__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-heading);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.article__category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.article__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text-heading);
  margin: 0 0 28px;
  max-width: 22ch;
}

.article__lede {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-heading);
  letter-spacing: -0.012em;
  max-width: 60ch;
  margin: 0 0 36px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: var(--text-muted);
}
.article__meta strong { color: var(--text-heading); font-weight: 500; }

.article__cover {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 var(--gutter);
}
@media (max-width: 768px) { .article__cover { padding: 0 28px; margin-bottom: 40px; } }
.article__cover-inner {
  position: relative;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  aspect-ratio: 16/8;
  background: var(--bg-dark);
  isolation: isolate;
}
@media (max-width: 768px) { .article__cover-inner { aspect-ratio: 4/3; } }
.article__cover-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article__cover-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(10,15,5,0.55) 100%);
  pointer-events: none;
}

/* Inline image inside article body */
.article__body figure {
  margin: 2.4em 0;
}
.article__body figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article__body figcaption {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

.article__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}
@media (max-width: 768px) { .article__body { padding: 0 28px 60px; } }

.article__body > * { margin-bottom: 1.4em; }
.article__body > *:last-child { margin-bottom: 0; }

.article__body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-heading);
  margin: 2.2em 0 0.6em;
  scroll-margin-top: 120px;
}

.article__body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-heading);
  margin: 1.8em 0 0.4em;
  scroll-margin-top: 120px;
}

.article__body p { margin: 0 0 1.2em; }
.article__body p:last-child { margin-bottom: 0; }

.article__body strong { color: var(--text-heading); font-weight: 600; }

.article__body a:not(.btn) {
  color: var(--brand-deep);
  border-bottom: 1px solid var(--brand-line);
  transition: all var(--t-fast) var(--ease);
}
.article__body a:not(.btn):hover {
  color: var(--brand-deep);
  border-bottom-color: var(--brand);
  background: var(--brand-soft);
}

.article__body ul,
.article__body ol {
  margin: 0 0 1.4em;
  padding-left: 0;
  list-style: none;
}
.article__body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 1px;
  background: var(--brand-deep);
}
.article__body ol {
  counter-reset: list;
}
.article__body ol li {
  counter-increment: list;
  padding-left: 36px;
}
.article__body ol li::before {
  content: counter(list, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-deep);
  letter-spacing: 0.05em;
}

/* Blockquote / quotable callout — designed for AI extraction */
.article__body blockquote {
  position: relative;
  margin: 2em 0;
  padding: 32px 40px 32px 56px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--text-heading);
}
.article__body blockquote::before {
  content: '"';
  position: absolute;
  left: 16px; top: 14px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
}
.article__body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  font-style: normal;
}
@media (max-width: 540px) { .article__body blockquote { padding: 28px 24px 28px 44px; } }

/* Table */
.article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 14px;
  background: var(--bg-elevated);
  border-radius: var(--r-card-sm);
  overflow: hidden;
}
.article__body th,
.article__body td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.article__body th {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.article__body tr:last-child td { border-bottom: none; }
.article__body tr:nth-child(even) td { background: rgba(0,0,0,0.02); }

/* Definition callout — for the canonical answer */
.callout {
  margin: 2em 0;
  padding: 36px 40px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,219,71,0.1) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.callout__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
  position: relative;
}
.callout p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-on-dark);
  letter-spacing: -0.012em;
  margin: 0;
  position: relative;
}
@media (max-width: 540px) { .callout { padding: 28px; } }

/* TOC */
.toc {
  margin: 2em 0 2.4em;
  padding: 24px 28px;
  background: var(--bg-card-soft);
  border-radius: var(--r-card-sm);
}
.toc__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.toc ol { margin: 0; padding-left: 0; counter-reset: toc; }
.toc li {
  counter-increment: toc;
  padding-left: 32px;
  margin-bottom: 8px;
  font-size: 14px;
  position: relative;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-deep);
}
.toc a {
  color: var(--text-heading);
  border-bottom: 1px solid transparent;
}
.toc a:hover { color: var(--brand-deep); border-color: var(--brand); }

/* FAQ */
.article__faq {
  margin: 3em 0 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 48px;
}
.article__faq h2 { margin-top: 0 !important; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 24px 0;
}
.faq-item h3 {
  font-size: 18px !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.015em !important;
}
.faq-item p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* Stats / numbers callouts */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 2em 0;
}
@media (max-width: 540px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-grid > div {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--r-card-sm);
  border: 1px solid rgba(0,0,0,0.05);
}
.stat-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  margin-bottom: 6px;
}
.stat-grid span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Article-bottom CTA */
.article__cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) 60px;
}
@media (max-width: 768px) { .article__cta { padding: 0 28px 40px; } }
.article__cta-inner {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-card-lg);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.article__cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(139,219,71,0.1) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.article__cta-inner > * { position: relative; z-index: 2; }
.article__cta-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin: 12px 0 16px;
}
.article__cta-inner p {
  color: var(--text-on-dark-muted);
  font-size: 16px;
  margin: 0;
}
.article__cta-inner .micro-label { color: var(--brand); }
.article__cta-inner .btn--solid {
  background: var(--brand);
  color: var(--text-heading);
  border-color: var(--brand);
  align-self: flex-start;
}
.article__cta-inner .btn--solid:hover {
  background: var(--brand-bright);
  border-color: var(--brand-bright);
}
@media (max-width: 768px) {
  .article__cta-inner { grid-template-columns: 1fr; padding: 48px 32px; gap: 24px; }
}

/* Related posts */
.article__related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) 100px;
}
@media (max-width: 768px) { .article__related { padding: 0 28px 60px; } }
.article__related h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.article__related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .article__related-grid { grid-template-columns: 1fr; } }

