/* Growth page only (loaded through page meta "css": "growth"). Shared components live in styles.css.
   Parts: hero · 01 services · 02 lead route diagram (CSS only) · 03 inbox crop + Google Ads log · 04 ownership map · FAQ */

.growth-lead { max-width: 31em; }
.growth-nowrap { white-space: nowrap; }

/* ---------- hero ---------- */
/* two lines on every screen ("Ads that land" / "in your inbox."), so the accent block stays clear of the outlined 8 */
.growth-hero .page-hero__title { max-width: 10em; }
.growth-hero .typing { margin-top: clamp(1.1rem, 2.8vh, 1.7rem); }

/* ---------- 01 services: terminal cards with a short log ---------- */
.growth-svc { list-style: none; }
.growth-svc .term__body { gap: 1.05rem; }
.growth-svc__log { font-size: .8rem; gap: 0; border-top: 1px solid var(--line); }
.growth-svc__log li { grid-template-columns: 4.4rem minmax(0, 1fr); gap: .9rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); }
.growth-svc__log .k { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; padding-top: .12em; }

/* ---------- 02 lead route: six stages, vertical on small screens, a horizontal rail from 1200px ---------- */
.growth-route {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(242, 240, 235, .022), transparent 38%), var(--panel);
  box-shadow: 0 40px 100px -60px rgba(245, 165, 36, .35);
}
.growth-route__bar {
  display: flex; align-items: center; gap: 1rem; min-height: 46px; padding: .55rem 1.1rem;
  border-bottom: 1px solid var(--line); background: var(--panel-2);
  font-family: var(--font-mono); font-size: .76rem; color: var(--accent); white-space: nowrap;
}
.growth-route__prompt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.growth-route__prompt::before { content: "~$ "; color: var(--mute); }
.growth-route__count { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.growth-route__body { padding: clamp(1.6rem, 3.4vw, 2.75rem) clamp(1.15rem, 3vw, 2.5rem) clamp(1.2rem, 2.4vw, 2rem); }
.growth-route__track { position: relative; }
.growth-route__stages { list-style: none; }
.growth-route__stage { position: relative; }
.growth-route__node {
  position: absolute; z-index: 1; width: 12px; height: 12px;
  border: 1.5px solid var(--accent); background: var(--ink); transform: rotate(45deg);
}
/* one pass when the route comes into view (5 s in all): the packet reaches stage n at (n - 1) x 0.8 s,
   and each node lights as it passes */
.growth-route:not(.is-pending) .growth-route__node { animation: growth-node .8s linear 1; }
.growth-route:not(.is-pending) .growth-route__stage:nth-child(2) .growth-route__node { animation-delay: .8s; }
.growth-route:not(.is-pending) .growth-route__stage:nth-child(3) .growth-route__node { animation-delay: 1.6s; }
.growth-route:not(.is-pending) .growth-route__stage:nth-child(4) .growth-route__node { animation-delay: 2.4s; }
.growth-route:not(.is-pending) .growth-route__stage:nth-child(5) .growth-route__node { animation-delay: 3.2s; }
.growth-route:not(.is-pending) .growth-route__stage:nth-child(6) .growth-route__node { animation-delay: 4s; }
@keyframes growth-node {
  0%, 55% { background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 165, 36, .18), 0 0 18px rgba(245, 165, 36, .8); }
  100% { background: var(--ink); box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); }
}
.growth-route__head { display: flex; align-items: baseline; gap: .85rem; }
.growth-route__num { font-family: var(--font-dot); font-weight: 800; font-size: .88rem; letter-spacing: .14em; color: var(--accent); flex: none; }
.growth-route__name { font-family: var(--font-display); font-size: clamp(1.08rem, .45vw + .95rem, 1.3rem); line-height: 1.2; color: var(--bone); transition: color .25s; }
.growth-route__stage:hover .growth-route__name { color: var(--accent); }
.growth-route__text { color: var(--mute); font-size: .95rem; line-height: 1.55; }
.growth-route__by {
  margin-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.growth-route__by span { color: var(--accent); }
.growth-route__spans, .growth-route__packet { display: none; }
.growth-route__notes {
  list-style: none; display: grid; gap: .7rem; padding: 1.1rem clamp(1.15rem, 3vw, 2.5rem) 1.25rem;
  border-top: 1px solid var(--line); background: rgba(6, 6, 6, .35);
}
.growth-route__notes li { display: flex; gap: .75rem; font-size: var(--fs-small); line-height: 1.55; color: var(--mute); }
.growth-route__notes li::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: .5em; background: var(--accent); transform: rotate(45deg); }

/* vertical timeline: phones, tablets, small laptops */
@media (max-width: 1199.98px) {
  .growth-route__stage { padding: 0 0 2rem 2.35rem; }
  .growth-route__stage:last-child { padding-bottom: .35rem; }
  .growth-route__node { left: 0; top: .45rem; }
  .growth-route__stage::before { /* rail down to the next stage */
    content: ""; position: absolute; left: 5.5px; top: 1.75rem; bottom: .25rem; width: 1px;
    background: linear-gradient(180deg, var(--accent-line), var(--line));
  }
  .growth-route__stage:last-child::before { display: none; }
  .growth-route__head { margin-bottom: .5rem; }
}
@media (min-width: 700px) and (max-width: 1199.98px) {
  .growth-route__stage { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); column-gap: 2rem; }
  .growth-route__head { margin-bottom: 0; }
  .growth-route__by { margin-top: .7rem; }
}

/* horizontal rail with a moving packet */
@media (min-width: 1200px) {
  .growth-route__spans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 1.7rem; }
  .growth-route__span {
    grid-column: 1 / 3; display: grid; gap: .6rem; padding-right: 1.6rem;
    font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  }
  .growth-route__span--crm { grid-column: 3 / 7; padding-right: 0; }
  .growth-route__span::after { /* bracket over the stages that part of VOXN8 handles */
    content: ""; height: 10px; border: 1px solid var(--accent-line); border-bottom: 0; border-radius: 4px 4px 0 0;
  }
  .growth-route__stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .growth-route__stage { display: flex; flex-direction: column; gap: .75rem; padding: 2.5rem 1.5rem 0 0; }
  .growth-route__node { left: 0; top: 0; }
  .growth-route__stage::after { /* rail to the next node */
    content: ""; position: absolute; left: 21px; right: 5px; top: 6px; height: 1px;
    background: linear-gradient(90deg, var(--accent-line), var(--line));
  }
  .growth-route__stage:last-child::after { display: none; }
  .growth-route__head { display: grid; gap: .45rem; }
  .growth-route__by { /* the brackets show this on wide screens; screen readers still get it */
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .growth-route__packet {
    display: block; position: absolute; z-index: 2; left: 0; top: 2px; width: 8px; height: 8px; margin-left: 2px;
    border-radius: 50%; background: var(--accent); pointer-events: none;
    box-shadow: 0 0 0 3px rgba(245, 165, 36, .2), 0 0 16px 2px rgba(245, 165, 36, .85);
    left: 83.3333%; /* at rest on the last stage, Payment */
  }
  .growth-route:not(.is-pending) .growth-route__packet { animation: growth-packet 5s linear 1; }
}
/* six equal columns: node n sits at (n - 1) / 6 of the track, so the last one is at 83.333% */
@keyframes growth-packet {
  0% { left: 0; opacity: 0; }
  5% { opacity: 1; }
  80%, 100% { left: 83.3333%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-route .growth-route__packet { display: none !important; }
  .growth-route .growth-route__node { animation: none !important; }
}

/* ---------- 03 in the CRM: a crop of the real inbox screenshot ---------- */
.growth-crm { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 640px) {
  .growth-crm { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .growth-crm__shot { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (max-width: 639.98px) { .growth-crm__shot { width: min(100%, 26rem); margin-inline: auto; } }
.growth-crm__media { aspect-ratio: 636 / 1000; }
.growth-crm__media .app-frame__zoom { height: 100%; }
.growth-crm__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.growth-crm__side { display: grid; gap: clamp(2rem, 3.4vw, 2.75rem); }
.growth-crm__points .point { padding-block: 1.25rem 1.35rem; }
.growth-crm__ads .term__body { gap: .9rem; }
.growth-crm__log { margin-top: .35rem; border-top: 1px solid var(--line); gap: 0; }
.growth-crm__log li { grid-template-columns: 5.4rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.growth-crm__log .k { color: var(--accent); }

/* ---------- 04 ownership map: your portfolio, VOXN8 outside it with partner access ---------- */
.growth-own { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.growth-own__map { margin: 0; display: grid; }
@media (min-width: 700px) { .growth-own__map { grid-template-columns: minmax(0, 1fr) clamp(7.5rem, 13vw, 11rem) minmax(0, 15rem); align-items: center; } }
@media (min-width: 960px) {
  .growth-own__points { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
}
.growth-own__box {
  position: relative; padding: 1.25rem; display: grid; gap: 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-card); background: var(--panel);
}
.growth-own__box::before { /* amber corner marks */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 18px 1.5px, linear-gradient(var(--accent), var(--accent)) 0 0 / 1.5px 18px,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 18px 1.5px, linear-gradient(var(--accent), var(--accent)) 100% 100% / 1.5px 18px;
  background-repeat: no-repeat;
}
.growth-own__label { font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.growth-own__assets { list-style: none; display: grid; gap: .6rem; }
.growth-own__asset {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem;
  min-height: 52px; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2);
}
@media (min-width: 1080px) { /* the three assets side by side inside the portfolio */
  .growth-own__assets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .growth-own__asset { flex-direction: column; align-items: flex-start; justify-content: center; gap: .55rem; min-height: 5.5rem; padding: 1rem 1.1rem; }
}
.growth-own__k { font-family: var(--font-mono); font-size: .84rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.growth-own__v { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.growth-own__v::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.growth-own__link { position: relative; display: grid; place-items: center; min-height: 5.75rem; }
.growth-own__link::before { /* dashed line from VOXN8 into the portfolio */
  content: ""; position: absolute; top: 8px; bottom: 0; left: 50%; border-left: 1.5px dashed var(--accent-line);
}
.growth-own__link::after { /* arrowhead at the portfolio end */
  content: ""; position: absolute; top: 0; left: calc(50% - 5px); border: 5px solid transparent; border-top: 0; border-bottom: 8px solid var(--accent);
}
.growth-own__link span {
  position: relative; z-index: 1; padding: .35rem .8rem; border: 1px solid var(--accent-line); border-radius: var(--r-pill); background: var(--ink);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
@media (min-width: 700px) { /* horizontal: the label sits above a fully visible dashed line */
  .growth-own__link { min-height: 0; align-self: stretch; }
  .growth-own__link::before { top: 50%; bottom: auto; left: 8px; right: 0; border-left: 0; border-top: 1.5px dashed var(--accent); opacity: .7; }
  .growth-own__link::after { top: calc(50% - 4.25px); left: 0; border: 5px solid transparent; border-left: 0; border-right: 8px solid var(--accent); }
  .growth-own__link span {
    position: absolute; left: 50%; bottom: calc(50% + .55rem); transform: translateX(-50%);
    width: max-content; max-width: calc(100% - .5rem); padding: 0; border: 0; background: none;
    text-align: center; white-space: normal; line-height: 1.5; letter-spacing: .14em;
  }
}
.growth-own__partner {
  display: grid; gap: .55rem; padding: 1.35rem 1.25rem;
  border: 1px solid var(--accent-line); border-radius: var(--r-card);
  background: radial-gradient(120% 120% at 100% 0%, rgba(245, 165, 36, .14), transparent 62%), var(--panel);
}
.growth-own__brand { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; letter-spacing: .04em; color: var(--bone); }
.growth-own__brand span { color: var(--accent); }
.growth-own__role { color: var(--mute); font-size: .92rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.growth-faq__lead { margin-top: 1.4rem; }
.growth-faq__ask { margin-top: 1.25rem; }
