/* Homepage only. Loaded from index.html so other pages keep their own rhythm.
   Backgrounds run edge to edge. Every content block uses the same full-width
   column: equal side insets, never a left-capped column with an empty right side.
   The funnel story lives once, in .home-funnel, as a stage board. */

body.home{scrollbar-color:#4338ca var(--bg2)}
body.home ::selection{background:#4338ca;color:#fff}

html.js body.home .rv{transform:none;opacity:1}

.home h2{font-size:clamp(1.75rem,3vw,2.55rem);letter-spacing:-.03em;text-wrap:balance;max-width:18ch;margin:0 0 .55rem}
.home .dek{color:var(--mut);max-width:62ch;margin:0;font-size:1.05rem;line-height:1.5}

/* Hero: headline, one subline, two actions. The night field stays. */
.home .hero{
  --hero-bg:#0b0b1e;
  --volt:#c7d2fe;
  background:var(--hero-bg);
  color:#f4f5ff;
  padding:clamp(2.75rem,6vw,4.5rem) 0 clamp(2.5rem,5vw,3.75rem)
}
html:not([data-theme=light]) .home .hero{--hero-bg:#14162e}
.home .hero:after{
  background:radial-gradient(42% 70% at 100% 0%,rgba(124,92,255,.16),transparent 68%)
}
.home .hero canvas{opacity:.22}
.home .hero-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  max-width:none;
  margin-inline:0;
  min-width:0
}
.home .hero h1{
  font-size:clamp(2.35rem,4.6vw,3.6rem);
  color:#f4f5ff;
  text-wrap:balance;
  max-width:none;
  margin:0 0 1rem;
  line-height:1.35
}
.home .hero h1 em{
  background:none;
  color:#c4b5fd;
  -webkit-text-fill-color:#c4b5fd;
  background-clip:border-box;
  -webkit-background-clip:border-box;
  white-space:normal
}
.home .hero .lead{
  color:#d5d8f2;
  margin:0 0 1.4rem;
  font-size:clamp(1.05rem,1.5vw,1.25rem);
  max-width:none;
  text-wrap:pretty
}
.home .hero .cta{margin:0;max-width:100%}
.home .hero .cta .btn{max-width:100%;white-space:normal;text-align:center}
.home .hero .btn.ghost{
  color:#f4f5ff;
  border-color:rgba(244,245,255,.5);
  background:transparent;
  backdrop-filter:none
}
.home .hero .btn.ghost:hover{border-color:#fff}
.home .hero :focus-visible{outline-color:#fff}

/* Goal, proof, price, and approval sit under the industry strip. */
.home-start{
  padding:clamp(1.75rem,4vw,2.75rem) 0;
  background:var(--bg2)
}
.home-start .askline{
  font-family:var(--disp);
  font-size:clamp(1.5rem,2.4vw,1.9rem);
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.2;
  margin:0 0 .9rem;
  max-width:none
}
.home-start .chips{margin:0 0 1.15rem}
.home-start .kills{gap:.45rem;margin:0 0 1.1rem;max-width:none}
.home-start .kills li{color:var(--ink);text-wrap:pretty;font-size:1.05rem;line-height:1.45}
.home-start .price-line{margin:0 0 .35rem;max-width:none;font-size:1.05rem;line-height:1.45}
.home-start .price-line a{color:var(--volt);font-weight:650}
.home-start .approve{margin:0;max-width:none;font-size:1.05rem;line-height:1.45}

.industries:not(.industry-cards){
  display:flex;
  flex-wrap:wrap;
  gap:.55rem 1.15rem;
  list-style:none;
  margin:0;
  padding:.85rem var(--gut);
  border-block:1px solid var(--line);
  background:var(--bg)
}
.industries:not(.industry-cards) li{
  display:flex;
  align-items:center;
  gap:.75rem;
  font:500 1rem/1.35 var(--disp);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--mut)
}
.industries:not(.industry-cards) li:not(:last-child):after{
  content:"";
  width:6px;height:6px;
  background:var(--volt);
  transform:rotate(45deg)
}

/* One stage story. Three equal controls, then the line they share. */
.home-funnel{padding:clamp(2.5rem,5vw,3.5rem) 0 1.25rem}
.funnel-top{margin-bottom:1.2rem}
.funnel-top h2{max-width:14ch;margin-bottom:.45rem}
.funnel-top .dek{max-width:40ch}
.stage-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:#12132b;
  border:1px solid rgba(165,180,252,.32);
  border-bottom:0;
  border-radius:18px 18px 0 0;
  overflow:hidden
}
html:not([data-theme=light]) .stage-board,
html:not([data-theme=light]) .funnel-read{background:#1c1e3d}
.home .stage-board .tab{
  all:unset;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:.2rem;
  min-height:4.75rem;
  width:100%;
  min-width:0;
  padding:1.05rem 1.2rem .95rem;
  cursor:pointer;
  color:#c9cdee;
  text-align:left;
  border-right:1px solid rgba(165,180,252,.18)
}
.home .stage-board .tab:last-child{border-right:0}
.home .stage-board .tab:hover{color:#fff}
.home .stage-board .tab[aria-selected=true]{
  color:#fff;
  background:rgba(255,255,255,.05);
  box-shadow:inset 0 -2px 0 #c4b5fd;
  transform:none
}
.home .stage-board .tab:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.stage-k{font:600 1.35rem/1.1 var(--disp);letter-spacing:-.02em}
.stage-o{font:500 .95rem/1.3 var(--body);color:#b7bce0}
.home .stage-board .tab[aria-selected=true] .stage-o{color:#e4e7ff}
.funnel-read{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1rem 2rem;
  align-items:center;
  min-height:5.75rem;
  padding:1.2rem 1.35rem 1.25rem;
  background:#16182f;
  border:1px solid rgba(165,180,252,.32);
  border-radius:0 0 18px 18px
}
.home .funnel-read .stage{display:none}
.home .funnel-read .stage.on{display:block;animation:home-stage .35s cubic-bezier(.2,.8,.2,1)}
@keyframes home-stage{from{opacity:0;transform:translateY(6px)}}
.funnel-read .stage p{
  margin:0;
  max-width:62ch;
  font-size:1.15rem;
  line-height:1.45;
  color:#f4f5ff;
  text-wrap:pretty
}
.funnel-read .stem{
  margin:0;
  color:#d5d8f2;
  font:600 1rem/1.2 var(--disp);
  letter-spacing:-.02em;
  text-align:right;
  white-space:nowrap
}

/* What we do: three equal columns. Same rule, same type, no featured pill. */
.home-offer{padding:clamp(2.4rem,4.5vw,3.25rem) 0 1.4rem;border-top:1px solid var(--line)}
.offer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(1.25rem,3vw,2.75rem);
  margin-top:1.15rem
}
.offer article{min-width:0;padding-top:.8rem;border-top:2px solid var(--volt)}
.offer h3{margin:0;font-size:1.35rem;line-height:1.2;text-wrap:balance}
.offer p{color:var(--mut);margin:.45rem 0 0;max-width:none;text-wrap:balance}
.home .for{margin-top:1.15rem}

/* Process is a track, not another card grid. */
.home-work{padding:clamp(2.2rem,4vw,3rem) 0 clamp(2.2rem,4vw,3rem);border-top:1px solid var(--line)}
.track{
  list-style:none;
  margin:1.15rem 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(1.25rem,3vw,2.5rem);
  counter-reset:step
}
.track li{border-top:2px solid var(--volt);padding-top:.8rem;min-width:0}
.track h3{margin:0;font-size:1.25rem}
.track h3:before{
  counter-increment:step;
  content:counter(step);
  display:inline-grid;
  place-items:center;
  width:1.55rem;height:1.55rem;
  margin-right:.5rem;
  border-radius:50%;
  background:var(--cta);
  color:var(--cta-ink);
  font:600 .85rem/1 var(--disp);
  vertical-align:.05em
}
.track p{color:var(--mut);margin:.4rem 0 0;max-width:none;text-wrap:pretty}

/* Product preview sits beside the claim and fills the row. */
.home-clarity{padding:clamp(2.4rem,4.5vw,3.25rem) 0;background:var(--bg2)}
.clarity-grid{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(1.25rem,3vw,2.5rem);
  align-items:center
}
.clarity-copy .note{margin:.9rem 0 0}
.home .dash{
  transform:none;
  background:var(--panel);
  backdrop-filter:none;
  box-shadow:0 18px 36px -22px rgba(18,18,58,.5)
}
.home .dg{min-height:0}
.home .k,.home .chart{background:var(--panel);backdrop-filter:none}
.home .k u{display:inline-flex;align-items:center;gap:.28rem}
.home .up{
  width:0;height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-bottom:6px solid currentColor
}
.home .chart-label{font:500 .875rem/1.3 var(--mono);color:var(--mut);letter-spacing:.04em}
.home .ins{border-left-width:1px;border-left-color:var(--line)}

/* Honest results: ink pause, copy and action on one full-width row. */
.home #results.sec{padding:1.5rem 0;background:#0e0f22;color:#f4f5ff}
html:not([data-theme=light]) .home #results.sec{background:#16182f;border-block:1px solid rgba(165,180,252,.28)}
.home #results .wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:clamp(1.5rem,4vw,3rem);
  row-gap:.4rem
}
.home #results .wrap>*{max-width:none}
.home #results h2{grid-column:1;grid-row:1;color:#f4f5ff;max-width:16ch;margin:0}
.home #results .sub{grid-column:1;grid-row:2;color:#d5d8f2;margin:0;max-width:58ch}
.home #results .wrap>p:last-child{grid-column:2;grid-row:1 / span 2;margin:0;justify-self:end}
.home #results :focus-visible{outline-color:#fff}
.home #results .btn.ghost{
  color:#f4f5ff;
  border-color:rgba(244,245,255,.65);
  background:transparent
}
.home #results .btn.ghost:hover{border-color:#fff;color:#fff}

/* FAQ uses the content width. The + marks share one trailing edge. */
.home-faq{padding:clamp(2.2rem,4vw,3rem) 0 .5rem}
.home-faq h2{margin-bottom:.35rem}
.home-faq .narrow>*{max-width:none}
.home-faq details{padding:.15rem 0}
.home-faq details p{max-width:68ch}
.home-faq a:not(.btn){color:var(--volt);text-underline-offset:.18em}

/* Closing call: sentence on the left, action on the right, same inset as the page. */
.home .band{padding:clamp(1.85rem,4vw,2.6rem) 0;margin-bottom:0}
.home .band:after{content:none}
.home .band-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem 2.5rem
}
.home .band-copy{min-width:0}
.home .band h2{max-width:16ch;font-size:clamp(1.75rem,3.2vw,2.45rem);margin:0 0 .4rem}
.home .band p{max-width:42ch;margin:0}
.home .band .btn{position:relative;flex:none}

@media(max-width:860px){
  .home .hero:after{background:radial-gradient(70% 50% at 80% 0%,rgba(124,92,255,.18),transparent 70%)}
  .home .hero canvas{opacity:.3}
  .stage-board,.clarity-grid,.offer,.track,.home #results .wrap{grid-template-columns:1fr}
  .home .stage-board .tab{border-right:0;border-bottom:1px solid rgba(165,180,252,.18);min-height:44px}
  .home .stage-board .tab:last-child{border-bottom:0}
  .funnel-read{grid-template-columns:1fr}
  .funnel-read .stem{text-align:left;white-space:normal}
  .home #results .wrap>p:last-child{grid-column:1;grid-row:auto;margin-top:.85rem;justify-self:start}
  .home .band-row{flex-direction:column;align-items:flex-start}
}
/* Homepage actions stay readable and at least a 44px target. Header nav is unchanged. */
.home main .btn{font-size:1rem}
.home main .btn.big{font-size:1.0625rem}
.home .hdr .brand,.home .ftr .brand{min-height:44px;min-width:44px;display:inline-flex;align-items:center}
.home .ftr-brand p,.home .ftr .copy,.home .ftr-links a,.home .ftr-legal a{font-size:1rem}

@media(max-width:640px){
  .home .hero{padding:2.5rem 0 2.15rem}
  .home .hero .cta{flex-direction:column;align-items:stretch;width:100%;gap:.75rem}
  .home .hero .cta .btn{width:100%;justify-content:center;min-height:48px}
  .home-start{padding:2rem 0 2.15rem}
  .home-start .chips{gap:.7rem}
  .home-start .chips .btn{flex:1 1 calc(50% - .7rem);justify-content:center;min-height:48px}
  .industries{row-gap:.75rem}
  .home #results .wrap>p:last-child,.home .band .cta{display:flex;flex-direction:column;align-items:stretch;gap:.75rem;width:100%}
  .home #results .btn,.home .band .btn{width:100%;justify-content:center;min-height:48px}
}
@media(max-width:480px){
  .home .kp{grid-template-columns:repeat(3,minmax(0,1fr))}
  .home .k{padding:.6rem .4rem}
  .home .k b{font-size:1.05rem}
  .stage-k{font-size:1.2rem}
}
@media(prefers-reduced-motion:reduce){
  .home .funnel-read .stage.on{animation:none}
}
