/* GTM & CRM Setup page. */
.gt-stat { margin-top: 1.2rem; padding: .8rem 1rem; border-left: 5px solid var(--pink); background: #fff; border-radius: 0 12px 12px 0; max-width: 52ch; font-size: .95rem; color: var(--ink-2); }
.gt-stat b { color: var(--ink); }
.gt-stat span { font-family: var(--f-mono); font-size: .66rem; color: var(--muted); }

/* the race */
.race { grid-area: mvp; background: #fff; border: var(--line); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.rc-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.1rem; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .74rem; }
.rc-top span { display: inline-flex; align-items: center; gap: .5rem; }
.rc-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: blink 1s steps(2, jump-none) infinite; }
.rc-clock { color: var(--yellow); font-size: .9rem; }
.rc-clock { font-variant-numeric: tabular-nums; }
.rc-sig { position: relative; display: flex; align-items: center; gap: .8rem; margin: 1rem 1.1rem .8rem; padding: .7rem .9rem; border: var(--line); border-radius: 14px; background: #fff7d6; box-shadow: 4px 4px 0 var(--ink); }
.race.fire .rc-sig { animation: sigIn .7s var(--spring); }
.race.fire .rc-sig::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--yellow); border-radius: 14px; animation: sigRing 1s var(--ease-out) forwards; }
@keyframes sigIn { from { transform: translateY(-14px) scale(.95); } }
@keyframes sigRing { from { transform: scale(1); opacity: 1; } to { transform: scale(1.08, 1.4); opacity: 0; } }
.rc-bolt { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--yellow); font-size: 1.1rem; }
.rc-sig small { display: block; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lane { display: grid; gap: .35rem; padding: 0 1.1rem; position: relative; --fill: 0; }
.lane::before, .lane::after { content: ""; position: absolute; left: calc(1.1rem + 25px); top: 22px; bottom: 22px; width: 3px; margin-left: -1.5px; border-radius: 2px; }
.lane::before { background: repeating-linear-gradient(rgba(13, 20, 33, .25) 0 4px, transparent 4px 8px); }
.lane::after { background: var(--mint-d); transform-origin: 50% 0; transform: scaleY(var(--fill)); transition: transform .5s var(--ease-out); }
.lane li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .45rem .6rem; border: 1.5px dashed rgba(13, 20, 33, .22); border-radius: 12px; background: #fff; transition: background-color .3s, border-color .3s, transform .5s var(--spring), box-shadow .3s; }
.lane li > img, .lane li > em { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; object-fit: contain; padding: 5px; font-style: normal; font-family: var(--f-mono); font-size: .56rem; font-weight: 700; text-align: center; line-height: 1.05; }
.lane p { flex: 1; }
.lane p b { display: block; font-size: .92rem; }
.lane p span { font-family: var(--f-mono); font-size: .66rem; color: var(--ink-2); }
.lane li::after { content: "queued"; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lane li.now { border: 2px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: translateX(6px); }
.lane li.now::after { content: "working…"; color: var(--ink); font-weight: 700; }
.lane li.on:not(.now) { border: 2px solid var(--ink); background: #d6f7ec; }
.lane li.on:not(.now)::after { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); color: var(--ink); font-size: .7rem; font-weight: 800; animation: popIn .45s var(--spring); }
@keyframes popIn { from { transform: scale(0); } }
.lane li.sup { opacity: .45; text-decoration: line-through; }
.decay { position: relative; margin: 1rem 1.1rem .6rem; padding: .7rem .8rem .8rem; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); }
.dc-l { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dc-l span { color: var(--muted); font-weight: 400; }
.dc-plot { position: relative; margin-top: .5rem; }
.decay svg { display: block; width: 100%; height: 86px; overflow: visible; }
.dc-area { fill: rgba(255, 107, 157, .14); }
.dc-line { fill: none; stroke: rgba(13, 20, 33, .35); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dc-trail { fill: none; stroke: #c2185b; stroke-width: 3; vector-effect: non-scaling-stroke; }
.dc-47 { stroke: #c2185b; stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.dc-dot { position: absolute; left: var(--x, 0); top: var(--y, 0); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; }
.dc-you { background: var(--mint-d); box-shadow: 0 0 0 2px var(--ink); animation: youPulse 1.4s ease-out infinite; }
@keyframes youPulse { 0% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 0 rgba(0, 217, 163, .7); } 100% { box-shadow: 0 0 0 2px var(--ink), 0 0 0 12px rgba(0, 217, 163, 0); } }
.dc-them { background: #c2185b; box-shadow: 0 0 0 1.5px #c2185b; }
.dc-tag { position: absolute; left: var(--x, 0); top: var(--y, 0); transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; font-family: var(--f-mono); font-size: .6rem; font-weight: 700; padding: .18rem .45rem; border-radius: 6px; }
.dc-tag-you { background: var(--mint); transform: translate(0, calc(-100% - 12px)); }
.dc-tag-them { background: #ffe6f0; color: #c2185b; }
.dc-axis { display: flex; justify-content: space-between; margin-top: .3rem; font-family: var(--f-mono); font-size: .56rem; color: var(--muted); }
.rc-sup { padding: .2rem 1.1rem 1rem; font-size: .82rem; font-weight: 700; }
.rc-sup::before { content: "⊘ "; color: #c2185b; }

/* fit / no fit */
.fit { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
.fit .display-2 { font-size: clamp(2rem, 1rem + 3.4vw, 4.6rem); max-width: 22ch; }
.fit-p { margin-top: 1.2rem; color: var(--ink-2); max-width: 64ch; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.fc { padding: 1.5rem; border: var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.fc-yes { background: #fff; } .fc-no { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--pink); }
.fc-l { font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fc-yes .fc-l { color: var(--mint-d); } .fc-no .fc-l { color: var(--pink); }
.fc h3 { margin: .5rem 0 1rem; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.fc ul { display: grid; gap: .55rem; }
.fc li { display: flex; gap: .7rem; font-weight: 600; line-height: 1.35; }
.fc li::before { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .7rem; font-weight: 800; margin-top: 1px; }
.fc-yes li::before { content: "✓"; background: var(--mint); border: 2px solid var(--ink); }
.fc-no li::before { content: "✕"; background: var(--pink); color: var(--ink); }
.fit-note { margin-top: 1.8rem; color: var(--ink-2); max-width: 80ch; }
.fit-note a, .crm-note a, .bd-voice a, .fin-more a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* spotlight scenes */
.smap { display: grid; gap: .8rem; align-content: start; position: relative; }
.sm-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.sm-row b { width: 5.4rem; font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.chip-s { font-size: .8rem; font-weight: 700; padding: .3rem .6rem; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; }
.c-fast { background: var(--yellow); } .c-cut { background: #ffe6f0; text-decoration: line-through; text-decoration-color: #c2185b; }
.radar { position: relative; margin: .6rem auto 0; width: 180px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(13, 20, 33, .12) 26px 27px), #fff; overflow: hidden; }
.radar i { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(0, 217, 163, .5), transparent 25%); animation: sweep 2.6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar em { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #c2185b; border: 2px solid #fff; animation: ping2 2.6s ease-out infinite; }
.radar em:nth-of-type(2) { animation-delay: .9s; } .radar em:nth-of-type(3) { animation-delay: 1.7s; }
@keyframes ping2 { 0%, 60%, 100% { transform: scale(1); } 5% { transform: scale(1.8); } }
.wfall { display: grid; gap: .6rem; align-content: start; }
.wf { display: flex; gap: .7rem; align-items: center; padding: .7rem .8rem; border: var(--line); border-radius: 12px; background: #fff; font-weight: 700; animation: wfIn 5s var(--ease-out) infinite; }
.wf b { font-family: var(--f-mono); font-size: .64rem; padding: .2rem .45rem; border-radius: 6px; background: var(--cream); border: 1px solid var(--ink); }
.wf::after { content: "✓"; margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); font-size: .7rem; }
.wf:nth-child(2) { animation-delay: .5s; margin-left: 1.2rem; } .wf:nth-child(3) { animation-delay: 1s; margin-left: 2.4rem; }
@keyframes wfIn { 0% { opacity: 0; transform: translateY(-8px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.wf-out { margin-top: .6rem; padding: .8rem .9rem; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: .86rem; }
.wf-out b { display: block; color: var(--yellow); font-size: 1.05rem; }
.score { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-content: start; }
.sc-acc { font-weight: 800; font-size: 1.3rem; align-self: end; }
.sc-n { grid-row: 1 / 3; grid-column: 2; font-size: 4.6rem; font-weight: 800; letter-spacing: -.07em; line-height: .9; padding: .4rem .8rem; border: var(--line); border-radius: 18px; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.sc-bars { grid-column: 1 / -1; display: grid; gap: .45rem; margin-top: 1rem; }
.sc-bars span { position: relative; padding: .4rem .6rem; border: 1.5px solid var(--ink); border-radius: 8px; font-size: .78rem; font-weight: 700; overflow: hidden; background: #fff; z-index: 0; }
.sc-bars span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #d6f7ec; transform-origin: 0 50%; transform: scaleX(var(--v)); animation: grow .9s var(--ease-out) both; }
.sc-route { grid-column: 1 / -1; margin-top: .8rem; padding: .7rem .9rem; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; }
.sc-route b { display: block; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.seq .sq { display: grid; gap: .45rem; }
.sq li { display: flex; gap: .7rem; align-items: center; padding: .6rem .8rem; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 700; font-size: .9rem; }
.sq em { font-style: normal; font-family: var(--f-mono); font-size: .64rem; padding: .18rem .45rem; border-radius: 6px; background: var(--cream); }
.sq-rep { background: #d6f7ec !important; }
.sq-off { opacity: .5; text-decoration: line-through; }
.sq-crm { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; padding: .7rem .9rem; border-radius: 12px; background: var(--ink); color: var(--paper); }
.sq-crm img { width: 24px; height: 24px; border-radius: 6px; background: #fff; padding: 2px; }
.sq-crm b { color: var(--yellow); }
.yg { margin-top: 1rem; padding: .8rem 1rem; border: var(--line); border-radius: 12px; background: #fff; font-weight: 600; max-width: 52ch; }
.yg b { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-d); }
.spot-note { margin-top: 2rem; padding: 1rem 1.2rem; border: 2px dashed rgba(13, 20, 33, .35); border-radius: 14px; color: var(--ink-2); max-width: 90ch; }
.spot-note .link-arrow { color: var(--ink); margin: 0 .3rem; }
.sn-m { display: block; margin-top: .4rem; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }

/* keep grid */
.keep { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
.keep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.keep-grid li { padding: 1.3rem; border: var(--line); border-radius: 18px; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.keep-grid li > b { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.keep-grid h3 { margin: .5rem 0 .4rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; }
.keep-grid p { font-size: .92rem; color: var(--ink-2); }


/* case band */
.case-band { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--ink); color: var(--paper); border-top: var(--line); }
.case-band .eyebrow { color: rgba(255, 253, 247, .6); }
.cb-p { margin-top: 1.2rem; color: rgba(255, 253, 247, .75); max-width: 72ch; }
.cb-stats { border-color: var(--paper); }
.cb-stats .stat { border-color: rgba(255, 253, 247, .3); }
.cb-stats .stat:nth-child(1) { background: transparent; }
.cb-stats .stat:nth-child(4) { background: var(--yellow); color: var(--ink); }
.cb-stats .stat p:last-child { color: rgba(255, 253, 247, .75); }
.cb-stats .stat:nth-child(4) p:last-child { color: var(--ink-2); }
.cb-punch { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; }
.cb-punch em { color: var(--yellow); }
.cb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.cb-steps li { padding: 1.2rem; border: 1.5px solid rgba(255, 253, 247, .3); border-radius: 18px; }
.cb-steps b { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.cb-steps h3 { margin: .5rem 0 .4rem; font-size: 1.15rem; font-weight: 800; }
.cb-steps p { font-size: .88rem; color: rgba(255, 253, 247, .75); }

/* cost + crm */
.cost3 { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
.c3-p, .crm-p { margin-top: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.dials li { padding: 1.4rem; border: var(--line); border-radius: 20px; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.dials b { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: var(--line); border-radius: 12px; background: var(--yellow); font-family: var(--f-mono); }
.dials li:nth-child(2) b { background: var(--blue); } .dials li:nth-child(3) b { background: var(--pink); }
.dials h3 { margin: .8rem 0 .4rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.dials p { color: var(--ink-2); font-size: .94rem; }
.crm { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
.crm .caps-grid { margin-top: 2.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .crm .caps-grid { grid-template-columns: 1fr; } }
.crm-note { margin-top: 1.6rem; color: var(--ink-2); max-width: 90ch; }

/* diy */
.diy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin: 0; padding: clamp(3rem, 8vh, 4.5rem) var(--gut); background: var(--yellow); border-top: var(--line); }
.diy h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.diy p:not(.eyebrow) { margin-top: .8rem; max-width: 62ch; }
.diy-m { font-size: .92rem; color: var(--ink-2); }
.diy .btn { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }

/* builder + report */
.builder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
.bd-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); max-width: 64ch; }
.bd-copy .ticks { margin-top: 1.2rem; }
.bd-me { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.bd-me img { width: 56px; height: 56px; border-radius: 50%; border: var(--line); object-fit: cover; }
.bd-me b { display: block; }
.bd-me p { font-size: .88rem; color: var(--muted); }
.report-card { position: sticky; top: 100px; padding: 1.6rem; border: var(--line); border-radius: 22px; background: var(--ink); color: var(--paper); box-shadow: 10px 10px 0 var(--yellow); }
.rp-tag { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.report-card h3 { margin: .6rem 0 .6rem; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.report-card > p:not(.rp-tag):not(.rp-logos) { color: rgba(255, 253, 247, .78); }
.rp-logos { display: flex; gap: .5rem; margin: 1rem 0 1.2rem; }
.rp-logos img { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 4px; object-fit: contain; border: 1.5px solid var(--paper); }
.rp-l { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 253, 247, .7); }
.rp-row { display: flex; gap: .5rem; margin-top: .4rem; flex-wrap: wrap; }
.rp-row input { flex: 1 1 200px; min-width: 0; font: inherit; padding: .8rem .9rem; border: 2px solid var(--paper); border-radius: 12px; background: #1b2433; color: var(--paper); }
.rp-row input:focus { outline: none; box-shadow: 3px 3px 0 var(--yellow); }
.rp-err, .rp-fail { margin-top: .6rem; font-size: .86rem; color: var(--pink); }
.rp-fail a { color: var(--yellow); }
.rp-m { margin-top: .7rem; font-family: var(--f-mono); font-size: .64rem; color: rgba(255, 253, 247, .6); }
.rp-ok h4 { font-size: 1.6rem; font-weight: 800; }
.rp-ok p { margin: .4rem 0 1rem; color: rgba(255, 253, 247, .78); }
.rp-ok[hidden], .rp-err[hidden], .rp-fail[hidden], #leadForm[hidden] { display: none; }
.fin-more { margin-top: .8rem; font-size: .88rem; color: var(--ink-2); }

@media (max-width: 1080px) { .cb-steps { grid-template-columns: 1fr 1fr; } .keep-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .fit-grid, .dials, .builder { grid-template-columns: 1fr; }
  .report-card { position: static; }
}
@media (max-width: 600px) {
  .keep-grid, .cb-steps { grid-template-columns: 1fr; }
  .sc-n { font-size: 3.4rem; }
}
