
/* ============================================================
   PAGE-SPECIFIC — AI-First Product Engineering (page 4)
   Distinct layout, modeled on the groovyweb reference. Reuses
   shared chrome + design system + .reveal toolkit. Signature
   beat: a six-stage zig-zag methodology timeline.
============================================================ */

/* ── HERO */
.pe-hero { position: relative; padding: 168px 0 84px; background: var(--bg); }
.pe-hero .aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pe-hero .aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.pe-hero .aurora .a1 { width: 50vw; height: 50vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(5,139,240,0.30), transparent 60%); }
.pe-hero .aurora .a2 { width: 42vw; height: 42vw; right: -12vw; top: 4vh; background: radial-gradient(circle, rgba(92,184,255,0.22), transparent 60%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 54px; align-items: center; }
.pe-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.1; letter-spacing: -0.025em; color: var(--fg); margin: 22px 0; }
.pe-hero h1 em { font-style: normal; background: linear-gradient(135deg, #058BF0 0%, #19a7ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* keep the gradient accent when the headline is split into words for reveal */
.pe-hero h1 em .r-word > span { background: linear-gradient(135deg, #058BF0 0%, #19a7ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pe-hero .lede { font-size: 18.5px; color: var(--muted); max-width: 560px; margin: 0 0 28px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pe-hero .chip { position: relative; overflow: hidden; isolation: isolate; }
.pe-hero .chip::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.75) 50%, transparent 100%); transform: skewX(-22deg) translateX(-260%); pointer-events: none; animation: chipGlare 3.6s ease-in-out infinite; }
@keyframes chipGlare { 0% { transform: skewX(-22deg) translateX(-260%); } 30%, 100% { transform: skewX(-22deg) translateX(420%); } }

/* hero visual — AI woven through the product stack (SVG) */
.weave { position: relative; width: 100%; max-width: 432px; margin-left: auto; }
.weave-svg { width: 100%; height: auto; display: block; overflow: visible; }
.wl-panel { fill: url(#wlGrad); stroke: rgba(255,255,255,0.10); }
.wl-ibox { fill: rgba(5,139,240,0.18); }
.wl-ico { fill: none; stroke: #6cc1ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-label { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.wl-sub { fill: rgba(207,230,255,0.62); font-family: var(--font-sans); font-weight: 500; font-size: 12px; }
.wl-bar { fill: rgba(255,255,255,0.13); }
.wt-base { fill: none; stroke: rgba(5,139,240,0.28); stroke-width: 2.5; stroke-linecap: round; }
.wt-flow { fill: none; stroke: url(#wtGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 280; animation: weaveFlow 2.4s linear infinite; }
@keyframes weaveFlow { from { stroke-dashoffset: 306; } to { stroke-dashoffset: 0; } }
.wt-node { fill: #19a7ff; }

/* ── section head helper */
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head .section-headline, .sec-head .section-sub { margin-left: auto; margin-right: auto; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── GROWTH LOOP — flywheel (signature; distinct from other pages) */
.gloop { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; max-width: 980px; margin: 12px auto 0; }
.gwheel { position: relative; width: 340px; height: 340px; margin: 0 auto; flex: none; }
.gwheel > svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gw-base { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 2; }
.gw-prog { fill: none; stroke: url(#glGrad); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 942; stroke-dashoffset: calc(942 * (1 - var(--lp, 0))); filter: drop-shadow(0 0 6px rgba(5,139,240,0.55)); transition: stroke-dashoffset 0.2s linear; }
.gw-spin { fill: none; stroke: rgba(108,193,255,0.95); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 20 922; transform-origin: 50% 50%; animation: gwSpin 5.5s linear infinite; }
@keyframes gwSpin { to { transform: rotate(360deg); } }
.gw-node { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--muted-dark); background: #0c1a33; border: 1px solid rgba(255,255,255,0.12); transform: rotate(var(--a)) translate(146px) rotate(calc(-1 * var(--a))) scale(0.7); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.4s ease, color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.gw-node.on { opacity: 1; color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 22px -6px rgba(5,139,240,0.85); transform: rotate(var(--a)) translate(146px) rotate(calc(-1 * var(--a))) scale(1); }
.gw-hub { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 9px; pointer-events: none; }
.gw-hub svg { width: 30px; height: 30px; color: #6cc1ff; animation: gwSpin 5.5s linear infinite; }
.gw-hub b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-dark); letter-spacing: -0.01em; line-height: 1.2; }
.gsteps { display: flex; flex-direction: column; gap: 11px; }
.gstep { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
.gstep.on { opacity: 1; transform: none; border-color: rgba(5,139,240,0.4); background: rgba(5,139,240,0.06); }
.gs-n { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.16); color: #6cc1ff; font-family: var(--font-display); font-weight: 700; font-size: 15px; transition: background 0.3s ease, color 0.3s ease; }
.gstep.on .gs-n { background: var(--accent); color: #fff; }
.gstep h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-dark); margin: 2px 0 4px; letter-spacing: -0.01em; }
.gstep p { color: var(--muted-dark); font-size: 13.5px; line-height: 1.55; margin: 0; }
@media (max-width: 860px) { .gloop { grid-template-columns: 1fr; gap: 36px; } .gwheel { width: 300px; height: 300px; } }
/* pinned scroll-scrub so each step reveals one at a time per scroll */
.proc-runway { position: relative; min-height: 300vh; }
.proc-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 48px 0; }
.proc-runway.no-pin { min-height: 0; }
.proc-runway.no-pin .proc-pin { position: static; min-height: 0; padding: 90px 0; }

/* ── shared gradient-bleed edge card (circulating border on hover) */
@property --edge-angle { syntax: '<angle>'; inherits: false; initial-value: 135deg; }
.edge-panel { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease; }
.section-dark .edge-panel { background: #0c1a33; border-color: rgba(255,255,255,0.09); box-shadow: 0 20px 46px -26px rgba(0,0,0,0.55); }
.edge-panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--edge-angle), transparent 0deg, var(--accent) 70deg, #5BB8FF 130deg, rgba(5,139,240,0.12) 205deg, transparent 300deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; transition: opacity 0.35s ease; pointer-events: none; }
.edge-panel:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px rgba(5,139,240,0.5); }
.edge-panel:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
@keyframes edgeSpin { from { --edge-angle: 0deg; } to { --edge-angle: 360deg; } }

/* ── VALUE — gradient-edge cards (light) */
.val-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.val-card { padding: 30px 28px; }
.val-card .vi { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform 0.3s var(--ease-out); }
.val-card:hover .vi { transform: scale(1.1) rotate(-5deg); }
.val-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; color: var(--fg); margin: 0 0 9px; letter-spacing: -0.01em; }
.val-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ── WHY CLOUDASTRA — gradient-edge cards (dark) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 28px 26px; }
.why-card .wi { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.16); color: #6cc1ff; margin-bottom: 15px; transition: transform 0.3s var(--ease-out); }
.why-card:hover .wi { transform: scale(1.1) rotate(-5deg); }
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--fg-dark); margin: 0 0 8px; letter-spacing: -0.01em; }
.why-card p { color: var(--muted-dark); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ── INDUSTRIES — continuous horizontal marquee of gradient-edge cards */
.ind-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ind-track { display: flex; gap: 16px; width: max-content; animation: indMarquee 42s linear infinite; }
.ind-marquee:hover .ind-track { animation-play-state: paused; }
@keyframes indMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ind-item { flex: none; display: flex; align-items: center; gap: 14px; padding: 16px 22px; }
.ind-item .ii { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); transition: transform 0.3s var(--ease-out); }
.ind-item:hover .ii { transform: scale(1.1) rotate(-5deg); }
.ind-item span { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg); white-space: nowrap; }
/* industries cards: no constant edge line at rest — glow only on hover */
.ind-item.edge-panel::before { opacity: 0; }
.ind-item.edge-panel:hover::before { opacity: 1; animation: edgeSpin 2.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ind-track { animation: none; } .ind-marquee { overflow-x: auto; } }

/* ── RELATED SERVICES — cross-link cards */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rel-card { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.rel-card .ri { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform 0.3s var(--ease-out); }
.rel-card:hover .ri { transform: scale(1.08) rotate(-4deg); }
.rel-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--fg); margin: 0 0 8px; letter-spacing: -0.01em; }
.rel-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.rel-more { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.rel-card:hover .rel-more svg { transform: translateX(4px); }
.rel-more svg { transition: transform 0.3s var(--ease-out); }

/* ── AI-FIRST ENGINEERING — compact cross-sell band (dark) */
.cross { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cross-caps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cross-caps span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--fg-dark); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 9px 15px; }
.cross-caps svg { color: #6cc1ff; }
.cross-cta { flex: none; }

/* ── CONTACT — Start a project (dark) */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: start; }
.contact-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--fg-dark); margin: 18px 0 16px; }
.contact-copy h2 em { font-style: normal; color: var(--accent); }
.contact-copy p { color: var(--muted-dark); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 440px; }
.contact-methods { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-methods li { display: flex; align-items: center; gap: 13px; color: var(--fg-dark); font-size: 15px; }
.contact-methods .cm-ico { width: 42px; height: 42px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; }
.contact-methods a { color: var(--fg-dark); text-decoration: none; }
.contact-methods a:hover { color: var(--accent); }
.cform { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 32px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted-dark); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-family: var(--font-sans); font-size: 14.5px; transition: border-color 0.25s ease, background 0.25s ease; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236cc1ff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: #0a1b3a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(5,139,240,0.08); }
.field textarea { min-height: 110px; resize: vertical; }
.cform .btn { width: 100%; justify-content: center; margin-top: 4px; }
.cform-note { font-size: 12.5px; color: var(--muted-dark); text-align: center; margin: 14px 0 0; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .weave { order: -1; margin: 0 auto; max-width: 360px; }
  .val-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .cross { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .method { max-width: 480px; }
  .method::before, .method::after { left: 26px; }
  .m-step { grid-template-columns: 52px 1fr; gap: 16px; }
  .m-node { grid-column: 1; }
  .m-step:nth-child(odd) .m-card, .m-step:nth-child(even) .m-card { grid-column: 2; text-align: left; transform: translateY(20px); }
  .m-step:nth-child(odd) .m-card .m-ico { margin-left: 0; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* FAQ — two-column, matches home page */
.faq-layout { display: flex; flex-direction: column; gap: 48px; }
.faq-head .eyebrow { justify-content: flex-start; }
.faq-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.02em; color: var(--fg); margin: 20px 0 0; }
.faq-intro { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 28rem; }
.faq-reach { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.faq-reach:hover { text-decoration: underline; }
.faq-reach svg { transition: transform 0.25s var(--ease-out); }
.faq-reach:hover svg { transform: translate(2px, -2px); }
.faq-list { flex: 1; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg); transition: color 0.25s ease; }
.faq-q:hover { color: var(--accent); }
.faq-q .faq-ico { flex: none; width: 16px; height: 16px; color: var(--muted); transition: transform 0.3s var(--ease-out), color 0.3s ease; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-ico { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 22px; padding-right: 32px; max-width: 760px; }
@media (min-width: 768px) {
  .faq-layout { flex-direction: row; gap: 80px; align-items: flex-start; }
  .faq-head { position: sticky; top: 128px; width: 42%; flex: none; }
}


  .cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
  .cap-col { padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
  .cap-col:hover { transform: translateY(-4px); border-color: rgba(5,139,240,0.3); background: rgba(5,139,240,0.06); }
  .cap-col .ci { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(5,139,240,0.14); color: #6cc1ff; margin-bottom: 14px; }
  .cap-col b { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-dark); display: block; margin-bottom: 5px; }
  .cap-col span { color: var(--muted-dark); font-size: 13.5px; line-height: 1.5; }
  .eng-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
  .eng-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: var(--fg-dark); font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
  .eng-pill svg { color: #6cc1ff; }
  .eng-stack { display: flex; flex-direction: column; gap: 16px; }
  .eng-stack .cap-col { display: flex; align-items: flex-start; gap: 14px; }
  .eng-stack .cap-col .ci { margin-bottom: 0; flex: none; }
  .eng-stack .cap-col b { margin-bottom: 4px; }
  .eng-stack .eng-cta { justify-content: center; margin-top: 4px; }
  @media (max-width: 860px) { .cross-grid { grid-template-columns: 1fr; gap: 36px; } }


  .calc-shell {
    max-width: 1180px; margin: 0 auto;
    border: 1px solid var(--border-dark); border-radius: 26px;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(5,139,240,0.10), transparent 55%),
      linear-gradient(180deg, var(--bg-dark-3), var(--bg-dark-2));
    padding: 44px clamp(22px, 4vw, 52px);
    box-shadow: 0 40px 90px -50px rgba(0,0,0,0.8);
  }
  .calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: stretch; }
  .calc-main { display: flex; flex-direction: column; }
  .calc-intro { margin-bottom: 30px; }
  .calc-intro .eyebrow { justify-content: flex-start; }
  .calc-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; color: var(--fg-dark); margin: 14px 0 14px; }
  .calc-intro h2 em { font-style: normal; color: var(--accent); }
  .calc-intro p { color: var(--muted-dark); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 460px; }
  .calc-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr; gap: 24px 28px; flex: 1;
  }
  .calc-field { display: flex; flex-direction: column; }
  .calc-field label {
    display: block; font-family: var(--font-sans);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
    color: var(--fg-dark); margin-bottom: 14px;
  }
  .calc-field input[type="range"] {
    width: 100%; height: 4px; -webkit-appearance: none; appearance: none;
    background: var(--border-dark); border-radius: 999px; outline: none;
    accent-color: var(--accent); cursor: pointer;
  }
  .calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
    border-radius: 50%; background: var(--accent); border: 3px solid #cfe4fb;
    box-shadow: 0 4px 12px -2px rgba(5,139,240,0.6); cursor: pointer;
  }
  .calc-field input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
    border: 3px solid #cfe4fb; cursor: pointer;
  }
  .calc-readout {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between;
    border: 1px solid var(--border-dark); border-radius: 12px;
    background: rgba(255,255,255,0.02); padding: 13px 16px;
  }
  .calc-readout .val { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); }
  .calc-readout .unit { font-size: 13px; color: var(--muted-dark); }
  @media (max-width: 560px) {
    .calc-grid { grid-template-columns: 1fr; }
  }
  .calc-side { display: flex; flex-direction: column; gap: 14px; }
  .calc-card {
    display: flex; align-items: center; gap: 16px;
    border: 1px solid var(--border-dark); border-radius: 16px;
    background: rgba(255,255,255,0.02); padding: 18px 20px; text-align: left;
  }
  .calc-card .calc-ico {
    width: 42px; height: 42px; flex: none; border-radius: 11px;
    display: grid; place-items: center; color: var(--accent);
    background: rgba(5,139,240,0.12);
  }
  .calc-card .calc-body { min-width: 0; }
  .calc-card .calc-lbl {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted-dark); margin-bottom: 5px; line-height: 1.4;
  }
  .calc-card .calc-val { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--fg-dark); line-height: 1.1; }
  .calc-card .calc-foot { font-size: 11px; color: var(--muted-dark); margin-top: 5px; line-height: 1.45; }
  .calc-card.is-hero {
    border-color: rgba(22,163,74,0.45);
    background: linear-gradient(180deg, rgba(22,163,74,0.14), rgba(22,163,74,0.04));
  }
  .calc-card.is-hero .calc-ico { color: #22c55e; background: rgba(22,163,74,0.16); }
  .calc-card.is-hero .calc-val { color: #22c55e; }
  .calc-cta { margin-top: 22px; }
  .calc-cta .btn { width: 100%; justify-content: center; }
  .calc-note { font-size: 12px; color: var(--muted-dark); margin: 14px 0 0; text-align: center; }
  @media (max-width: 860px) {
    .calc-layout { grid-template-columns: 1fr; gap: 38px; }
  }


/* nodePulse — used by guarantee icons */
@keyframes nodePulse {
  0% { opacity: 0.7; transform: scale(0.9); }
  70%, 100% { opacity: 0; transform: scale(1.15); }
}
.guard-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: -16px; border-radius: 16px; border: 1px solid transparent; transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out); }
/* scroll-scrubbed reveal (one-by-one) */
.guard-scrub .guard-item { opacity: var(--rev, 0); transform: translateY(calc((1 - var(--rev, 0)) * 34px)); }
.guard-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(5,139,240,0.28); transform: translateY(-3px); }
.guard-item .gi { width: 44px; height: 44px; border-radius: 12px; flex: none; background: rgba(5,139,240,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s var(--ease-out), background 0.3s ease; }
.guard-item:hover .gi { transform: scale(1.1) rotate(-4deg); background: rgba(5,139,240,0.2); }
.guard-item .gi::after { content: ''; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(5,139,240,0.5); opacity: 0; }
.guard-item:hover .gi::after { animation: nodePulse 0.8s ease-out; }
.guard-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 2px 0 6px; color: var(--fg-dark); transition: color 0.25s ease; }
.guard-item:hover h3 { color: #6cc1ff; }
.guard-item p { color: var(--muted-dark); font-size: 14px; margin: 0; }
  .guard-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--accent); opacity: 0.9; margin-bottom: 10px; }


  .numgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .numstat { border: 1px solid var(--border-dark); border-radius: 18px; background: rgba(255,255,255,0.02); padding: 30px 24px; text-align: center; transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease; }
  .numstat:hover { transform: translateY(-4px); border-color: rgba(5,139,240,0.4); background: rgba(5,139,240,0.05); }
  .numstat .nv { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
  .numstat .nl { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted-dark); }
  @media (max-width: 860px) { .numgrid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .numgrid { grid-template-columns: 1fr; } }
