/* ===================== HOME ===================== */

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 110px; overflow: hidden; }
.hero-graph { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(70% 60% at 30% 50%, rgba(5, 10, 28, 0.82), transparent 70%), linear-gradient(180deg, transparent 70%, var(--bg)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-title { font-size: clamp(40px, 4.9vw, 72px); max-width: 17ch; }
.hero-lead { margin-top: 28px; }
.hero .btn-row { margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-trust .mono { font-size: 12.5px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.answer-win { min-height: 380px; }
.aw-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.aw-prompt { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 15.5px; min-height: 52px; }
.aw-caret { color: var(--accent); }
.aw-q { color: var(--text); }
.aw-prompt .caret-blink { width: 8px; color: var(--accent); }
.aw-answer { display: grid; grid-template-columns: 30px 1fr; gap: 12px; min-height: 128px; }
.aw-avatar { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.aw-avatar svg { width: 16px; height: 16px; }
.aw-text { color: #d7def5; font-size: 15.5px; line-height: 1.65; }
.aw-text mark { background: rgba(var(--accent-rgb), 0.22); color: #fff; padding: 0 4px; border-radius: 4px; }
.aw-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.aw-sources.is-on { opacity: 1; transform: none; }
.aw-sources .mono { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }
.aw-src { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.aw-src b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-size: 10.5px; }
.aw-src.is-cited { color: #fff; border-color: rgba(87, 242, 176, 0.55); background: rgba(87, 242, 176, 0.08); box-shadow: 0 0 22px -6px rgba(87, 242, 176, 0.7); }
.aw-src.is-cited b { background: var(--mint); color: var(--bg); }
.aw-src em { font-style: normal; color: var(--mint); font-family: var(--f-mono); font-size: 11px; }
.aw-pipe { display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
.aw-pipe li { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--dim); padding: 7px 0; border-radius: 8px; border: 1px solid var(--line); transition: all 0.4s var(--ease); }
.aw-pipe li.is-on { color: var(--mint); border-color: rgba(87, 242, 176, 0.45); background: rgba(87, 242, 176, 0.07); }
.hero-demo-note { margin-top: 14px; font-size: 12px; text-align: right; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 17ch; }
  .hero-demo { max-width: 620px; }
  .hero-demo-note { text-align: left; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 90px; }
  .aw-body { padding: 16px; }
  .aw-pipe li { font-size: 9.5px; }
  .scroll-cue { display: none; }
}

/* ---------- brand strip ---------- */
.brand-strip { position: relative; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 10, 28, 0.6); }

/* ---------- layers (exploded 3D stack) ---------- */
.layers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.layers-visual { position: sticky; top: calc(var(--header-h) + 40px); height: min(560px, 70vh); display: grid; place-items: center; }
.stack { position: relative; width: min(400px, 80vw); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.plane { --z: 0px; position: absolute; inset: 0; border-radius: 26px; transform: translateZ(var(--z)); border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(20, 34, 86, 0.82), rgba(8, 14, 40, 0.86)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); transition: border-color 0.5s, box-shadow 0.5s, background 0.5s; overflow: hidden; }
.plane.is-active { border-color: rgba(var(--accent-rgb), 0.9); box-shadow: 0 0 60px -10px rgba(var(--accent-rgb), 0.7), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.plane-tag { position: absolute; left: 22px; top: 18px; font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.plane-tech { background-image: linear-gradient(rgba(var(--accent-rgb), 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.16) 1px, transparent 1px), linear-gradient(135deg, rgba(20, 34, 86, 0.9), rgba(8, 14, 40, 0.9)); background-size: 32px 32px, 32px 32px, auto; }
.plane-code { position: absolute; right: 26px; bottom: 24px; font-size: 22px; color: rgba(255, 255, 255, 0.75); }
.plane-content { padding: 60px 30px 0; display: flex; flex-direction: column; gap: 14px; }
.plane-content .pl { display: block; height: 10px; border-radius: 6px; background: rgba(var(--accent-rgb), 0.3); }
.plane-content .pl.short { width: 60%; }
.plane-auth .pn { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.pn1 { left: 22%; top: 30%; } .pn2 { left: 66%; top: 26%; } .pn3 { left: 40%; top: 66%; } .pn4 { left: 76%; top: 70%; background: var(--violet) !important; box-shadow: 0 0 18px var(--violet) !important; }
.plane-auth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(32deg, transparent 47%, rgba(70, 225, 255, 0.35) 48%, transparent 49%), linear-gradient(-28deg, transparent 47%, rgba(70, 225, 255, 0.3) 48%, transparent 49%); }
.layers-copy .lead { margin-top: 22px; }
.layer-list { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.layer-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: all 0.5s var(--ease); opacity: 0.85; }
.layer-item.is-active { opacity: 1; border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.07); transform: translateX(-6px); }
.li-num { font-size: 13px; color: var(--accent); padding-top: 4px; }
.layer-item h3 { font-size: 22px; margin-bottom: 8px; }
.layer-item p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .layers-grid { grid-template-columns: 1fr; }
  .layers-visual { position: relative; top: 0; height: 360px; order: 2; }
  .stack { width: min(270px, 70vw); }
  .layer-item { opacity: 1; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bento .card { display: flex; flex-direction: column; gap: 6px; }
.bento .code { margin-bottom: 14px; }
.bento-a { grid-column: span 2; grid-row: span 2; min-height: 460px; background: radial-gradient(90% 70% at 100% 100%, rgba(var(--accent-rgb), 0.22), transparent 60%), linear-gradient(180deg, rgba(20, 32, 78, 0.6), rgba(10, 18, 48, 0.6)); }
.bento-a h3 { font-size: clamp(28px, 3vw, 40px); }
.bento-a p { max-width: 40ch; font-size: 16.5px; }
.bento-chart { margin-top: auto; width: 100%; height: 160px; }
.bc-line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; filter: drop-shadow(0 0 8px rgba(91, 140, 255, 0.8)); }
.bc-area { opacity: 0; transition: opacity 1.4s var(--ease) 1.2s; }
.bento-a.is-in .bc-line { stroke-dashoffset: 0; }
.bento-a.is-in .bc-area { opacity: 1; }
.bento-go { font-weight: 600; color: var(--cyan); margin-top: 12px; }
.bento-b { grid-column: span 2; }
.bento-c, .bento-d { grid-column: span 1; }
.bento-e, .bento-f { grid-column: span 2; }
.bento-b, .bento-c, .bento-e, .bento-f { position: relative; }
.orbit { position: absolute; right: 20px; bottom: 16px; width: 170px; height: 120px; }
.o-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-mono); font-style: normal; font-size: 13px; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.7); }
.o-ring { position: absolute; inset: 0; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin 18s linear infinite; }
.o-ring b { position: absolute; font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--muted); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); animation: spin 18s linear infinite reverse; }
.o-ring b:nth-child(1) { left: 50%; top: -9px; translate: -50% 0; }
.o-ring b:nth-child(2) { right: -24px; top: 50%; translate: 0 -50%; }
.o-ring b:nth-child(3) { left: 50%; bottom: -9px; translate: -50% 0; }
.o-ring b:nth-child(4) { left: -18px; top: 50%; translate: 0 -50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.bento-b p { max-width: 26ch; }
.links-viz { position: absolute; right: 18px; top: 18px; width: 70px; height: 50px; }
.links-viz i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); animation: blinkdot 2.4s infinite; }
.links-viz i:nth-child(1) { left: 0; top: 4px; } .links-viz i:nth-child(2) { left: 0; top: 36px; animation-delay: 0.6s; } .links-viz i:nth-child(3) { left: 30px; top: 0; animation-delay: 1.2s; }
.links-viz span { position: absolute; right: 0; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
@keyframes blinkdot { 50% { opacity: 0.25; } }
.scan { position: absolute; right: 18px; top: 18px; width: 60px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); overflow: hidden; }
.scan i { position: absolute; left: 0; right: 0; height: 2px; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4px; } 50% { top: 34px; } }
.pin { position: absolute; right: 26px; top: 20px; }
.pin i { display: block; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--rose); box-shadow: 0 0 16px rgba(255, 111, 134, 0.8); animation: pinbounce 2s var(--ease) infinite; }
@keyframes pinbounce { 50% { transform: rotate(-45deg) translate(3px, -3px); } }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-a { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .bento-b { grid-column: span 2; }
  .bento-e, .bento-f { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f { grid-column: auto; }
  .bento-a { min-height: 340px; }
  .bento-b { min-height: 290px; }
}

/* ---------- pipeline ---------- */
.pipeline { position: relative; }
.pipe-pin { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; position: relative; overflow: hidden; }
.pipe-head { max-width: 760px; }
.pipe-head .lead { margin-top: 20px; }
.pipe-track { position: relative; margin-top: clamp(50px, 7vw, 90px); }
.pipe-line { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line-2); }
.pipe-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9); }
.pipe-packet { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(70, 225, 255, 0.25), 0 0 26px 6px rgba(70, 225, 255, 0.85); }
.pipe-stages { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.stage { position: relative; }
.stage-dot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 13px; color: var(--dim); background: var(--bg-2); border: 1px solid var(--line-2); transition: all 0.5s var(--ease); }
.stage h3 { font-size: 22px; margin: 22px 0 8px; color: var(--dim); transition: color 0.5s; }
.stage p { color: var(--dim); font-size: 15px; transition: color 0.5s; }
.stage.is-on .stage-dot { color: var(--bg); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.8); }
.stage.is-on h3 { color: var(--text); }
.stage.is-on p { color: var(--muted); }
.pipe-big { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-58%); font-size: clamp(160px, 26vw, 380px); font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.18); pointer-events: none; z-index: -1; }
@media (max-width: 900px) {
  .pipe-pin { min-height: 0; padding: 90px 0; }
  .pipe-line { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipe-fill { transform-origin: top; transform: scaleY(0); }
  .pipe-packet { display: none; }
  .pipe-stages { grid-template-columns: 1fr; gap: 30px; }
  .stage { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
  .stage h3 { margin: 10px 0 6px; }
  .stage p { grid-column: 2; }
  .stage h3 { grid-column: 2; grid-row: 1; }
  .pipe-big { display: none; }
}

/* ---------- SERP climb ---------- */
.climb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.climb-copy .lead { margin-top: 20px; }
.phase-list { margin: 36px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.phase { padding: 18px 22px; border-left: 2px solid var(--line-2); transition: all 0.5s var(--ease); opacity: 0.9; }
.phase .mono { font-size: 11.5px; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; }
.phase h3 { font-size: 22px; margin: 6px 0 4px; }
.phase p { color: var(--muted); font-size: 15px; }
.phase.is-on { opacity: 1; border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(70, 225, 255, 0.08), transparent); }
.serp-win { padding-bottom: 14px; }
.serp-search { display: flex; align-items: center; gap: 10px; margin: 18px 18px 12px; padding: 12px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.serp-search svg { width: 18px; height: 18px; color: var(--dim); }
.serp-aio { margin: 0 18px 10px; padding: 0 16px; max-height: 0; overflow: hidden; border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(154, 131, 255, 0.4); opacity: 0; transition: all 0.7s var(--ease); }
.serp-aio.is-on { max-height: 140px; padding: 14px 16px; opacity: 1; }
.serp-aio .mono { font-size: 11.5px; color: #cbbcff; letter-spacing: 0.06em; text-transform: uppercase; }
.serp-aio p { font-size: 14.5px; color: #d7def5; margin-top: 6px; }
.serp-aio mark { background: rgba(87, 242, 176, 0.22); color: #fff; padding: 0 5px; border-radius: 4px; }
.serp-list { position: relative; margin: 0 18px; height: 372px; }
.serp-row { position: absolute; left: 0; right: 0; height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-radius: 12px; transition: transform 0.8s var(--ease), background 0.5s, border-color 0.5s; border: 1px solid transparent; }
.sr-pos { width: 22px; font-size: 12px; color: var(--dim); }
.serp-row div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.sk { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); }
.sk.thin { height: 6px; background: rgba(255, 255, 255, 0.06); }
.w70 { width: 70%; } .w65 { width: 65%; } .w60 { width: 60%; } .w55 { width: 55%; } .w50 { width: 50%; } .w45 { width: 45%; } .w40 { width: 40%; } .w35 { width: 35%; } .w30 { width: 30%; }
.serp-row.is-you { background: rgba(var(--accent-rgb), 0.12); border-color: rgba(var(--accent-rgb), 0.55); box-shadow: 0 10px 40px -12px rgba(var(--accent-rgb), 0.6); z-index: 2; }
.serp-row.is-you div { gap: 2px; }
.serp-row.is-you b { font-size: 15px; color: #fff; }
.serp-row.is-you span { font-size: 13px; color: var(--muted); }
.serp-row.is-you .sr-pos { color: var(--text); font-weight: 600; }
.serp-row.is-you em { font-style: normal; font-size: 12px; color: var(--mint); }
@media (max-width: 900px) { .climb-grid { grid-template-columns: 1fr; } .phase { opacity: 1; } }
@media (max-width: 560px) {
  .serp-row.is-you span { display: none; }
  .serp-row.is-you b { font-size: 14px; }
  .serp-list { margin: 0 12px; }
}
.table-wrap { position: relative; }
@media (max-width: 700px) { .compare-head p::after { content: " Swipe the table →"; color: var(--accent); font-family: var(--f-mono); font-size: 12px; } }

/* ---------- proof ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.case { display: flex; flex-direction: column; gap: 4px; min-height: 270px; transform-style: preserve-3d; }
.case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.case-logo { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.case-num { font-size: clamp(46px, 5vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.case p { margin-top: 8px; }
.spark { margin-top: auto; width: 100%; height: 50px; }
.spark path { fill: none; stroke: var(--mint); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 2s var(--ease) 0.4s; filter: drop-shadow(0 0 6px rgba(87, 242, 176, 0.7)); }
.case.is-in .spark path { stroke-dashoffset: 0; }
.proof-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; margin-top: 18px; }
.alper h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 10px 0 8px; }
.bar-race { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.br-row { display: grid; grid-template-columns: 56px 1fr 64px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.br-bar { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); width: var(--w); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) 0.3s; }
.br-bar.is-after { background: var(--grad); box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.6); transition-delay: 0.8s; }
.alper.is-in .br-bar { transform: scaleX(1); }
.br-row b { color: var(--text); font-weight: 500; text-align: right; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(90% 90% at 0% 0%, rgba(154, 131, 255, 0.2), transparent 60%), linear-gradient(180deg, rgba(20, 32, 78, 0.6), rgba(10, 18, 48, 0.6)); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 26px; font-size: 14.5px; }
.quote figcaption span { color: var(--muted); }
.center-cta { text-align: center; margin-top: 46px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } .proof-row { grid-template-columns: 1fr; } .case { min-height: 0; } }

/* ---------- process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 34px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.steps-line b { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.8); }
.step { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.step::before { content: ""; position: absolute; left: 26px; top: -41px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9); }
.step-n { font-size: 13px; color: var(--accent); }
.step h3 { font-size: 21px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps-line, .step::before { display: none; } .steps { padding-top: 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- fit ---------- */
.fit-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.fit-top .section-head { margin-bottom: 0; }
.industry-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.compare { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(5, 10, 28, 0.5); padding: clamp(22px, 4vw, 44px); }
.compare-head { margin-bottom: 26px; }
.compare-head p { margin-top: 10px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmp thead th { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); font-weight: 500; }
.cmp tbody th { text-align: left; color: var(--text); font-weight: 500; }
.cmp .is-us { background: rgba(var(--accent-rgb), 0.1); color: var(--text); }
.cmp thead .is-us { color: #fff; border-radius: 12px 12px 0 0; }
.cmp .yes { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--bg); font-weight: 700; font-size: 13px; }
.cmp .dim-yes { background: rgba(87, 242, 176, 0.25); color: var(--mint); }
.cmp .no { font-style: normal; color: var(--dim); }
@media (max-width: 900px) { .fit-top { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- web development band ---------- */
.wdh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.wdh-head .section-head { margin-bottom: 0; }
.wdh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.wdh-group { display: flex; flex-direction: column; }
.wdh-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wdh-n { font-size: 34px; font-weight: 500; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.wdh-group:hover .wdh-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.wdh-group h3 { margin-bottom: 6px; }
.wdh-group p { font-size: 14.5px; margin-bottom: 18px; }
.wdh-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.wdh-links a { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 10, 28, 0.4); font-size: 13px; color: var(--muted); transition: all 0.3s var(--ease); }
.wdh-links a:hover { color: var(--text); border-color: rgba(var(--accent-rgb), 0.7); background: rgba(var(--accent-rgb), 0.14); transform: translateY(-2px); }
@media (max-width: 1100px) { .wdh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .wdh-grid { grid-template-columns: 1fr; } }

/* ---------- day theme ---------- */
/* hero: a soft light wash (not a dark vignette) keeps the headline readable over the graph */
html[data-theme="light"] .hero-vignette { background: radial-gradient(70% 60% at 30% 50%, rgba(245, 247, 252, 0.9), transparent 70%), linear-gradient(180deg, transparent 70%, var(--bg)); }
html[data-theme="light"] .brand-strip { background: rgba(255, 255, 255, 0.65); }

/* layers: frosted light planes instead of dark slabs */
html[data-theme="light"] .plane { background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 235, 252, 0.96)); border-color: rgba(var(--accent-rgb), 0.22); box-shadow: 0 30px 60px -26px rgba(20, 40, 110, 0.38); }
html[data-theme="light"] .plane.is-active { border-color: rgba(var(--accent-rgb), 0.75); box-shadow: 0 0 50px -14px rgba(var(--accent-rgb), 0.55), 0 30px 60px -26px rgba(20, 40, 110, 0.38); }
html[data-theme="light"] .plane-tech { background-image: linear-gradient(rgba(var(--accent-rgb), 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.12) 1px, transparent 1px), linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(228, 235, 252, 0.97)); }
html[data-theme="light"] .plane-code { color: rgba(10, 17, 48, 0.55); }
html[data-theme="light"] .plane-content .pl { background: rgba(var(--accent-rgb), 0.22); }
html[data-theme="light"] .plane-auth .pn { box-shadow: 0 0 12px rgba(10, 143, 179, 0.55); }
html[data-theme="light"] .plane-auth::after { background: linear-gradient(32deg, transparent 47%, rgba(10, 143, 179, 0.4) 48%, transparent 49%), linear-gradient(-28deg, transparent 47%, rgba(10, 143, 179, 0.35) 48%, transparent 49%); }
html[data-theme="light"] .layer-item { background: #fff; }
html[data-theme="light"] .layer-item.is-active { background: rgba(var(--accent-rgb), 0.06); box-shadow: 0 14px 34px -24px rgba(20, 40, 110, 0.4); }

/* bento */
html[data-theme="light"] .bento-a { background: radial-gradient(90% 70% at 100% 100%, rgba(var(--accent-rgb), 0.12), transparent 60%), linear-gradient(180deg, #ffffff, #f5f8ff); }
html[data-theme="light"] .bc-line { stroke: var(--accent); filter: drop-shadow(0 0 5px rgba(52, 97, 240, 0.35)); }
html[data-theme="light"] #bc-fill stop { stop-color: #3461f0; }
html[data-theme="light"] .o-core { box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .o-ring b { background: #fff; }
html[data-theme="light"] .links-viz span { box-shadow: 0 0 10px rgba(10, 143, 179, 0.55); }
html[data-theme="light"] .scan { background: #fff; }
html[data-theme="light"] .scan i { box-shadow: 0 0 8px rgba(11, 149, 102, 0.5); }
html[data-theme="light"] .pin i { box-shadow: 0 0 10px rgba(216, 58, 88, 0.5); }

/* pipeline */
html[data-theme="light"] .pipe-fill { box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .pipe-packet { background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.16), 0 0 18px 4px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .stage-dot { background: #fff; }
html[data-theme="light"] .stage.is-on .stage-dot { color: #fff; box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.7); }
html[data-theme="light"] .pipe-big { -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.16); }

/* SERP climb copy (the SERP itself is a dark mockup window) */
html[data-theme="light"] .phase.is-on { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.07), transparent); border-left-color: var(--accent); }

/* proof */
html[data-theme="light"] .spark path { filter: drop-shadow(0 0 4px rgba(11, 149, 102, 0.35)); }
html[data-theme="light"] .br-bar { background: rgba(10, 17, 48, 0.12); }
html[data-theme="light"] .br-bar.is-after { background: var(--grad); box-shadow: 0 6px 16px -6px rgba(var(--accent-rgb), 0.55); }
html[data-theme="light"] .quote { background: radial-gradient(90% 90% at 0% 0%, rgba(115, 86, 238, 0.12), transparent 60%), linear-gradient(180deg, #ffffff, #f6f7ff); }

/* process */
html[data-theme="light"] .steps-line b { box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }
html[data-theme="light"] .step { background: #fff; box-shadow: 0 14px 34px -26px rgba(20, 40, 110, 0.35); }
html[data-theme="light"] .step::before { background: #fff; box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45); }

/* compare */
html[data-theme="light"] .compare { background: #fff; box-shadow: 0 18px 44px -28px rgba(20, 40, 110, 0.35); }
html[data-theme="light"] .cmp .is-us { background: rgba(var(--accent-rgb), 0.07); }
html[data-theme="light"] .cmp thead .is-us { color: var(--accent); font-weight: 600; }
html[data-theme="light"] .cmp .yes { color: #fff; }
html[data-theme="light"] .cmp .dim-yes { background: rgba(11, 149, 102, 0.14); color: var(--mint); }

/* web development band */
html[data-theme="light"] .wdh-links a { background: #fff; }

/* ---------- proof: T&S map-pack pins ---------- */
.proof-pins { display: flex; gap: 14px; margin-top: 22px; }
.proof-pins i { position: relative; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--accent), var(--cyan)); box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), 0.8); display: grid; place-items: center; }
.proof-pins b { transform: rotate(45deg); font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: #fff; }
.proof-pins-note { margin-top: 14px; font-size: 12px; letter-spacing: 0.04em; }

/* hero eyebrow: a shorter line on phones so it stays on one line */
.eb-short { display: none; }
@media (max-width: 430px) { .eb-long { display: none; } .eb-short { display: inline; } }
