/* Tech Pumpkin — homepage styles
   Layout: dark/cream alternating sections, full-colour CTA bands, hard-shadow components.
   Single deliberate look (dark-first brand site). */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --pcol { syntax: "<color>"; inherits: true; initial-value: #FE8744; }
@property --gc1 { syntax: "<color>"; inherits: false; initial-value: #FE8744; }
@property --gc2 { syntax: "<color>"; inherits: false; initial-value: #7EE8FC; }

:root {
  color-scheme: dark;
  --ink: #0B0B14;
  --ink2: #12121E;
  --card: #161624;
  --cream: #F6F4EE;
  --cream2: #ECE9E0;
  --tx: #F4F4F8;
  --mu: #A2A2B8;
  --lmu: #5A5A6E;
  --line: rgba(255,255,255,.1);
  --lline: rgba(11,11,20,.12);
  --white: #FFFFFF;
  --o: #FE8744; --p: #A000FF; --pt: #C77DFF; --y: #FEFF61; --g: #93FA6E; --b: #7EE8FC;
  --f-disp: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gut: 20px;
  --sec: clamp(72px, 9vw, 120px);
  --hdr: 88px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

/* colour roles per element: --c = pillar colour, --cf = text on that colour */
[data-c="o"] { --c: var(--o); --cf: var(--ink); --ct: var(--o); }
[data-c="p"] { --c: var(--p); --cf: #fff; --ct: var(--pt); }
[data-c="y"] { --c: var(--y); --cf: var(--ink); --ct: var(--y); }
[data-c="g"] { --c: var(--g); --cf: var(--ink); --ct: var(--g); }
[data-c="b"] { --c: var(--b); --cf: var(--ink); --ct: var(--b); }
[data-c="w"] { --c: var(--cream); --cf: var(--ink); --ct: var(--cream); }
[data-c="ink"] { --c: var(--ink); --cf: #fff; --ct: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--tx);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.mono { font-family: var(--f-mono); }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto; position: relative;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
section { position: relative; padding-block: var(--sec); }
.sec-dark { background: var(--ink); color: var(--tx); }
.sec-cream { background: var(--cream); color: var(--ink); --mu: var(--lmu); --line: var(--lline); }
.band--g { background: var(--g); color: var(--ink); }
.band--y { background: var(--y); color: var(--ink); }
.band--p { background: var(--p); color: #fff; }
.band--b { background: var(--b); color: var(--ink); }
.band--o { background: var(--o); color: var(--ink); }

h2 { font-family: var(--f-disp); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.eyebrow { font-family: var(--f-mono); font-size: 14px; color: var(--mu); margin-bottom: 18px; display: flex; gap: 8px; }
.eyebrow span { color: var(--o); font-weight: 700; }
.eyebrow--center { justify-content: center; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.sec-head > div { min-width: 0; }
.sec-head--tight { margin-bottom: 28px; }
.sec-head__sub { color: var(--mu); font-size: 18px; max-width: 440px; }

/* ===== Buttons ===== */
.btn {
  --sh: var(--p);
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 24px; border-radius: 12px; border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--sh); white-space: nowrap; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn--lg { font-size: 18px; padding: 19px 30px; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--sh); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.btn .br { position: absolute; top: 50%; font-family: var(--f-mono); font-size: 1.15em; font-weight: 700; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--spring); }
.btn .br--l { left: 7px; transform: translate(6px, -50%); }
.btn .br--r { right: 7px; transform: translate(-6px, -50%); }
.btn:hover .br, .btn:focus-visible .br { opacity: 1; transform: translate(0, -50%); }
.btn .br--l { color: #C2510F; } .btn .br--r { color: #0068A8; }
.btn__ico { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn__ico { transform: translateX(4px); }
.btn--yellow { background: var(--y); color: var(--ink); --sh: var(--p); }
.btn--ink { background: var(--ink); color: #fff; --sh: var(--o); }
.btn--ink .br--l { color: var(--o); } .btn--ink .br--r { color: var(--b); }
.btn--sy { --sh: var(--y); }
.btn--white { background: #fff; color: var(--ink); --sh: var(--ink); }
.btn--c { background: var(--c); color: var(--cf); --sh: #fff; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { box-shadow: none; transform: translateY(-2px); background: rgba(127,127,127,.08); }
.btn--pulse { animation: pulseSh 3s ease-in-out infinite; }
@keyframes pulseSh { 0%,70%,100% { box-shadow: 5px 5px 0 var(--sh); } 80% { box-shadow: 9px 9px 0 var(--sh), 0 0 0 8px rgba(160,0,255,.18); } }
.btn--shake.is-shaking { animation: shake .55s ease-in-out, ring 1.1s ease-out .5s; }
@keyframes shake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-4deg) translateX(-3px); } 40% { transform: rotate(4deg) translateX(3px); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } }
@keyframes ring { 0% { box-shadow: 5px 5px 0 var(--sh), 0 0 0 0 rgba(254,255,97,.7); } 100% { box-shadow: 5px 5px 0 var(--sh), 0 0 0 18px rgba(254,255,97,0); } }
.tag { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--c, var(--ink)); color: var(--cf, var(--y)); }

/* ===== 1.1 Audit bar ===== */
.auditbar { position: relative; z-index: 51; background: var(--y); color: var(--ink); font-size: 14px; font-weight: 500; animation: flicker 4s steps(1) infinite; }
.auditbar__link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 48px; text-align: center; }
.auditbar__tag { font-family: var(--f-mono); font-size: 12px; background: var(--ink); color: var(--y); padding: 3px 8px; border-radius: 6px; animation: glitch 4s steps(1) infinite; }
.auditbar__arrow { display: inline-block; animation: nudge 1.2s ease-in-out infinite; }
.auditbar:hover { animation-play-state: paused; }
.auditbar:hover .auditbar__link span:nth-child(2) { text-decoration: underline; text-underline-offset: 3px; }
.auditbar__close { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 8px; font-size: 20px; line-height: 1; }
.auditbar__close:hover { background: rgba(11,11,20,.1); }
@keyframes flicker { 0%, 84%, 88%, 92%, 100% { background: var(--y); } 86%, 90% { background: #E7E84A; } }
@keyframes glitch { 0%, 85%, 91%, 100% { transform: none; } 86% { transform: translateX(2px); } 89% { transform: translateX(-2px); } }
@keyframes nudge { 0%,100% { transform: none; } 50% { transform: translateX(4px); } }

/* ===== 1.2 Header ===== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.header__row { display: flex; align-items: center; gap: 28px; height: var(--hdr); transition: height .3s var(--ease); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-disp); font-weight: 700; font-size: 21px; letter-spacing: -.02em; flex: none; }
.brand__logo { width: 52px; height: 36px; transition: width .3s var(--ease), height .3s var(--ease); }
.brand__word { white-space: nowrap; overflow: hidden; max-width: 220px; transition: max-width .35s var(--ease), opacity .25s; }
.brand__word { text-transform: lowercase; }
.brand__word span { color: var(--mu); font-weight: 600; }
.site-header.is-stuck { background: rgba(11,11,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header.is-stuck .header__row { height: 64px; }
.site-header.is-stuck .brand__word { max-width: 0; opacity: 0; }
.site-header.is-stuck .brand__logo { width: 50px; height: 34px; }
.site-header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 15px; }
.nav__link { position: relative; color: #d5d5e2; padding: 8px 0; display: inline-flex; gap: 6px; align-items: center; }
.nav__link .mono { color: var(--mu); font-size: 12px; }
.nav__link { font-family: var(--f-disp); font-weight: 600; font-size: 14px; letter-spacing: -.01em; text-transform: lowercase; }
.nav__link::before, .nav__link::after { position: absolute; top: 50%; font-family: var(--f-mono); font-weight: 700; font-size: 17px; color: var(--ct, var(--y)); opacity: 0; transition: opacity .2s, transform .3s var(--spring); pointer-events: none; }
.nav__link::before { content: "("; left: -13px; transform: translate(5px, -52%); }
.nav__link::after { content: ")"; right: -13px; transform: translate(-5px, -52%); }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link.is-active { color: #fff; }
.nav__link:hover::before, .nav__link:hover::after, .nav__link[aria-expanded="true"]::before, .nav__link[aria-expanded="true"]::after, .nav__link.is-active::before, .nav__link.is-active::after { opacity: 1; transform: translate(0, -52%); }
.nav__link.is-active { color: var(--ct); }
.nav__item--mega { position: relative; }
.mega { position: absolute; left: -40px; top: calc(100% + 18px); display: grid; grid-template-columns: repeat(5, 180px); gap: 8px; padding: 14px; background: var(--ink2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col { padding: 14px; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.mega__col:hover { background: rgba(255,255,255,.04); }
.mega__head { font-family: var(--f-mono); font-weight: 700; color: var(--ct); margin-bottom: 8px; font-size: 15px; }
.mega__head span { font-family: var(--f-disp); }
.mega__col a { font-size: 14px; color: #cfcfdc; padding: 5px 0; transition: color .2s, transform .2s; }
.mega__col a:hover { color: var(--ct); transform: translateX(3px); }
.header__cta { padding: 12px 18px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); margin-left: 8px; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 18px; height: 2px; background: #fff; content: ""; transition: transform .3s, opacity .3s; }
.burger span { top: 21px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--ink); padding: calc(env(safe-area-inset-top, 0px) + 80px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.mobile-menu__in { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__in > a[data-c] { display: block; background: var(--c); color: var(--cf); border-radius: 16px; padding: 16px 18px; font-family: var(--f-mono); font-weight: 700; font-size: 22px; animation: rise .4s var(--ease) both; }
.mobile-menu__in > a[data-c]:nth-child(2) { animation-delay: .05s; } .mobile-menu__in > a[data-c]:nth-child(3) { animation-delay: .1s; } .mobile-menu__in > a[data-c]:nth-child(4) { animation-delay: .15s; } .mobile-menu__in > a[data-c]:nth-child(5) { animation-delay: .2s; }
.mobile-menu__in small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 14px; opacity: .8; }
.mobile-menu__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 4px; font-family: var(--f-disp); font-weight: 600; font-size: 16px; text-transform: lowercase; color: #d5d5e2; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== 2. Hero ===== */
.hero { padding-block: 56px 110px; overflow: hidden; background: radial-gradient(ellipse at 78% 30%, rgba(160,0,255,.22), transparent 50%), radial-gradient(ellipse at 95% 95%, rgba(254,135,68,.16), transparent 45%), var(--ink); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); pointer-events: none; }
.h1pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.04); font-family: var(--f-body); font-size: 15px; font-weight: 500; line-height: 1.3; color: #e3e3ee; max-width: 100%; }
.h1pill { padding-left: 14px; }
.h1pill__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 0 rgba(147,250,110,.6); animation: dotPulse 2s ease-out infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(147,250,110,.6); } 100% { box-shadow: 0 0 0 9px rgba(147,250,110,0); } }
.h1pill__text.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1em; background: var(--g); margin-left: 3px; vertical-align: -2px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.title { font-family: var(--f-disp); font-weight: 800; font-size: clamp(34px, 6.6vw, 96px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; margin-top: 34px; }
.title__ln { display: flex; align-items: center; gap: .26em; min-height: 1.18em; white-space: nowrap; }
.title__w { display: inline-block; transition: color .3s; }
.chip { flex: none; display: inline-grid; place-items: center; height: .9em; border-radius: 999px; position: relative; box-shadow: calc(.07em + var(--sx, 0px)) calc(.07em + var(--sy, 0px)) 0 var(--sh, var(--p)); transition: rotate .35s var(--spring), scale .35s var(--spring), box-shadow .2s linear; cursor: default; }
.chip:hover { rotate: 8deg; scale: 1.06; box-shadow: .12em .12em 0 var(--sh, var(--p)); }
.chip--round { width: .9em; font-size: 1em; }
.chip--round > span { font-family: var(--f-body); font-size: .42em; font-weight: 700; line-height: 1; }
.chip--browser { width: 2.1em; background: var(--o); --sh: var(--p); overflow: hidden; }
.chip__in { position: absolute; inset: .17em .22em -.1em; background: #fff; border-radius: .12em .12em 0 0; padding: .1em .12em; display: flex; flex-direction: column; gap: .07em; }
.chip__in i { display: block; height: .07em; border-radius: 9px; background: #eee; transform-origin: left; animation: load 3s ease-in-out infinite; }
.chip__in i:nth-child(1) { width: 50%; background: #FFD2B8; }
.chip__in i:nth-child(2) { width: 82%; animation-delay: .25s; }
.chip__in i:nth-child(3) { width: 64%; animation-delay: .5s; }
@keyframes load { 0% { transform: scaleX(0); } 35%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: 0; } }
.chip--gear { background: var(--p); color: #fff; --sh: var(--y); }
.chip--gear > span { animation: spin 6s linear infinite; font-size: .48em; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip--logo { width: 2em; background: #161624; border: .02em solid rgba(255,255,255,.18); --sh: var(--o); }
.chip--logo svg { width: 1.1em; height: .78em; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07) rotate(-2deg); } }
.chip--arrow { background: var(--g); color: var(--ink); --sh: var(--b); overflow: hidden; }
.chip--arrow > span { animation: shoot 2.5s var(--ease) infinite; }
@keyframes shoot { 0%, 55% { transform: none; opacity: 1; } 70% { transform: translate(.6em, -.6em); opacity: 0; } 71% { transform: translate(-.6em, .6em); opacity: 0; } 90%, 100% { transform: none; opacity: 1; } }

.badge { position: absolute; right: max(var(--gut), env(safe-area-inset-right, 0px)); top: 130px; width: 168px; height: 168px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; box-shadow: 8px 8px 0 var(--p); animation: float 5s ease-in-out infinite; transition: box-shadow .3s; }
.badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--y); animation: pulseRing 3s ease-out infinite; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.badge__ring text { font-family: var(--f-mono); font-weight: 700; font-size: 12.5px; fill: var(--ink); }
.badge__arrow { font-size: 40px; font-weight: 700; animation: bob 1.6s ease-in-out infinite; transition: rotate .3s; }
.badge:hover { box-shadow: 12px 12px 0 var(--p); }
.badge:hover .badge__ring { animation-duration: 4s; }
.badge:hover .badge__arrow { rotate: 45deg; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes bob { 0%,100% { transform: none; } 50% { transform: translate(4px, -4px); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 60px; align-items: end; margin-top: 52px; }
.hero__lead { color: var(--mu); font-size: 19px; max-width: 600px; }
.hero__lead strong { color: #fff; font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 32px; }
.ctas--center { justify-content: center; }
.trust { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--mu); font-size: 14px; }
.stars { color: var(--y); letter-spacing: 2px; }
.stars i { font-style: normal; display: inline-block; }

.editor { background: #0E0E1A; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(160,0,255,.15); min-width: 0; }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mu); font-family: var(--f-mono); font-size: 12px; }
.editor__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a3c; }
.editor__bar i:nth-child(1) { background: #ff5f57; } .editor__bar i:nth-child(2) { background: #febc2e; } .editor__bar i:nth-child(3) { background: #28c840; }
.editor__bar span { margin-left: 10px; }
.editor__code { margin: 0; padding: 16px 18px; font-family: var(--f-mono); font-size: 14px; line-height: 1.75; color: #cfd0dc; white-space: pre; overflow-x: auto; min-height: 220px; }
.editor__code .ln { display: inline-block; width: 26px; color: #45455a; user-select: none; }
.editor__code .cur { display: inline-block; width: .55em; height: 1.15em; background: var(--y); vertical-align: -3px; animation: blink .9s steps(1) infinite; }
.editor__status { display: flex; justify-content: space-between; padding: 8px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--g); opacity: 1; transition: opacity .3s; }
.editor__status span:last-child { color: var(--mu); }
.editor.is-typing .editor__status { opacity: 0; }
.t-k { color: var(--pt); } .t-f { color: var(--y); } .t-s { color: var(--g); } .t-c { color: #6a6a85; }
.t-o { color: var(--o); } .t-p { color: var(--pt); } .t-y { color: var(--y); } .t-g { color: var(--g); } .t-b { color: var(--b); }
.t-c.glow { color: var(--y); text-shadow: 0 0 12px rgba(254,255,97,.7); transition: color .6s, text-shadow .6s; }

/* ===== 3. Story ===== */
.story { padding-block: 0 var(--sec); }
.story__pin { padding-block: var(--sec) 40px; }
.story__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 60px; align-items: start; }
.story__gutter { position: relative; border-right: 2px solid var(--lline); padding-right: 24px; }
.story__label { font-size: 14px; font-weight: 400; color: var(--lmu); margin-bottom: 18px; text-align: right; }
.story__index { display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: 15px; color: #a3a09a; text-align: right; }
.story__index li { transition: color .3s, transform .3s var(--ease); }
.story__index li span { display: inline-block; width: 28px; color: inherit; }
.story__index li.is-active { color: var(--ink); font-weight: 700; transform: translateX(-6px); }
.story__index li.is-active span { color: var(--o); }
.story__progress { position: absolute; right: -2px; top: 0; bottom: 0; width: 2px; }
.story__progress i { display: block; width: 100%; height: var(--prog, 16%); background: var(--o); transition: height .3s; }
.story__panels { position: relative; min-height: 330px; }
.story__panel { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(30px); pointer-events: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.story__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__panel.is-out { opacity: 0; transform: translateY(-30px); }
.story__num { font-size: 13px; color: var(--lmu); margin-bottom: 14px; }
.story__text { font-size: clamp(21px, 2.3vw, 31px); line-height: 1.45; letter-spacing: -.01em; color: #2a2a38; max-width: 900px; }
.story__text strong { color: var(--ink); }
.story__text mark { color: var(--ink); background: linear-gradient(var(--c), var(--c)) no-repeat 0 100% / 0% 100%; padding: 0 .12em; border-radius: 6px; transition: background-size .6s var(--ease); }
.story__panel[data-c="p"] mark, .story__panel[data-c="ink"] mark { color: inherit; }
.story__panel.is-active[data-c="p"] mark, .story__panel.is-active[data-c="ink"] mark { color: #fff; }
.story__panel.is-active mark { background-size: 100% 100%; }
.story__panel.is-active mark:nth-of-type(2) { transition-delay: .12s; } .story__panel.is-active mark:nth-of-type(3) { transition-delay: .24s; } .story__panel.is-active mark:nth-of-type(4) { transition-delay: .36s; } .story__panel.is-active mark:nth-of-type(5) { transition-delay: .48s; }

.trustrow { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.trustrow__label { flex: none; font-size: 13px; color: var(--lmu); }
.trustrow__track { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trustrow__belt { display: flex; gap: 12px; width: max-content; animation: belt 34s linear infinite; }
.trustrow:hover .trustrow__belt { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(calc(-50% - 6px)); } }
.ph { position: relative; overflow: hidden; border: 2px dashed rgba(11,11,20,.28); border-radius: 12px; padding: 15px 22px; font-family: var(--f-mono); font-size: 13px; color: #8d8a80; background: rgba(255,255,255,.55); white-space: nowrap; }
.ph::after, .ph-shim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transform: translateX(-100%); animation: shim 3.2s ease-in-out infinite; }
@keyframes shim { 60%, 100% { transform: translateX(100%); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.stat { position: relative; overflow: hidden; padding: 30px; border-radius: 18px; border: 2px solid var(--ink); background: var(--c); color: var(--cf); box-shadow: 6px 6px 0 var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); --gx: -60%; }
.stat::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-120%); animation: glare 5s ease-in-out infinite; pointer-events: none; }
.stat:nth-child(2)::after { animation-delay: 1.2s; } .stat:nth-child(3)::after { animation-delay: 2.4s; } .stat:nth-child(4)::after { animation-delay: 3.6s; }
@keyframes glare { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.stat:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.stat.is-hover::after { animation: none; transform: translateX(var(--gx)); transition: transform .1s; }
.stat__n { display: block; font-family: var(--f-disp); font-weight: 800; font-size: clamp(38px, 4vw, 54px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__l { display: block; font-size: 13px; margin-top: 14px; opacity: .85; }

/* ===== 4.1 Error cards ===== */
.errs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.err { height: 260px; perspective: 1200px; }
.err__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.err.is-flipped .err__in { transform: rotateY(180deg); }
.err.is-default.is-flipped { transform: rotate(-1.5deg); }
.err { transition: transform .4s var(--ease); }
.err__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.err__front { background: var(--card); border: 1px solid var(--line); }
.err__back { transform: rotateY(180deg); background: var(--c); color: var(--cf); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--y); }
.err[data-c="y"] .err__back, .err[data-c="w"] .err__back { box-shadow: 8px 8px 0 var(--p); }
.err__code { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: #ff6b6b; }
.err__back .err__code { color: inherit; }
.err h3 { font-family: var(--f-disp); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; margin-top: auto; }
.err__back h3 { margin-top: 14px; font-size: 20px; }
.err__back p { font-size: 15px; line-height: 1.45; margin-top: 10px; }
.err__back .tag { margin-top: auto; align-self: flex-start; background: var(--ink); color: var(--c); }
.err[data-c="w"] .err__back .tag { color: var(--y); }
.err__hint { font-size: 13px; color: #55556c; margin-top: 14px; }

/* ===== 4.2 Quiz ===== */
.quiz { padding-block: 64px; }
.quiz__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.quiz__row > div { min-width: 0; }
.quiz__eyebrow { font-size: 14px; color: #1d4a12; }
.quiz__h { font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-top: 8px; }
.quiz__chips { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.quiz__chips button { font-family: var(--f-mono); font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; transition: background .25s, color .25s, transform .25s var(--spring), box-shadow .25s; }
.quiz__chips button.is-on { background: var(--ink); color: var(--ct); transform: translateY(-3px); box-shadow: 3px 3px 0 rgba(11,11,20,.35); }
.quiz__chips button[data-c="p"].is-on { color: var(--pt); }

/* ===== 5. Pillars ===== */
.pillars { padding-bottom: var(--sec); background: radial-gradient(ellipse at 40% 55%, color-mix(in srgb, var(--pc, #FE8744) 18%, transparent), transparent 55%), var(--ink); transition: background .6s; }
.pillars__head { text-align: center; }
.pillars__head .sec-head__sub { margin: 20px auto 0; max-width: 600px; }
.pillars__pin { padding-block: 48px 24px; }
.pin { display: grid; grid-template-columns: 210px minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: 28px; padding: 46px; background: rgba(22,22,36,.6); }
.rail { display: flex; flex-direction: column; gap: 22px; position: relative; padding-left: 18px; }
.rail::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.rail::after { content: ""; position: absolute; left: 0; top: 4px; width: 2px; height: var(--rp, 20%); background: var(--pc, var(--o)); box-shadow: 0 0 10px var(--pc, var(--o)); transition: height .4s var(--ease), background .4s; }
.rail button { font-family: var(--f-mono); font-size: 17px; color: #4a4a60; display: flex; gap: 12px; align-items: center; transition: color .3s, transform .3s var(--ease); text-align: left; }
.rail button i { font-style: normal; font-family: var(--f-disp); font-weight: 800; font-size: 22px; width: 16px; }
.rail li.is-active button { color: var(--ct); font-weight: 700; transform: translateX(8px); }
.rail button:hover { color: #cfcfdc; }
.pin__logo svg { width: 100%; height: auto; display: block; overflow: visible; }
.pl { opacity: .15; transition: opacity .45s var(--ease); }
.pl.is-on { opacity: 1; }
.pl-glow { opacity: .75; transition: opacity .4s; }
.ppanels { position: relative; min-height: 470px; }
.ppanel { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.ppanel > * { transform: translateY(24px); transition: transform .5s var(--ease); }
.ppanel.is-active { opacity: 1; visibility: visible; }
.ppanel.is-active > * { transform: none; }
.ppanel.is-active > :nth-child(2) { transition-delay: .06s; } .ppanel.is-active > :nth-child(3) { transition-delay: .12s; } .ppanel.is-active > :nth-child(4) { transition-delay: .18s; } .ppanel.is-active > :nth-child(5) { transition-delay: .24s; } .ppanel.is-active > :nth-child(6) { transition-delay: .3s; }
.ppanel__eb { font-size: 13px; color: var(--mu); }
.ppanel__fn { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; color: var(--ct); letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.ppanel__fn span { color: #fff; }
.ppanel__h { font-size: 24px; font-weight: 500; margin: 8px 0 12px; }
.ppanel__p { color: var(--mu); font-size: 15.5px; line-height: 1.6; }
.ppanel__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; font-size: 13px; }
.ppanel__dl li { border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 10px; padding: 10px 12px; }
.ppanel__dl li::before { content: "→ "; color: var(--ct); }
.ppanel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; flex-wrap: wrap; }
.ppanel__foot p { display: flex; flex-direction: column; }
.ppanel__stat { font-family: var(--f-disp); font-weight: 800; font-size: 32px; color: var(--ct); line-height: 1.1; }
.ppanel__foot .mono { font-size: 12px; color: var(--mu); }

.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.pcard { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; padding: 26px; background: var(--c); color: var(--cf); border: 2px solid var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-120%); animation: glare 6s ease-in-out infinite; pointer-events: none; }
.pcard:nth-child(2)::after { animation-delay: 1.5s; } .pcard:nth-child(3)::after { animation-delay: 3s; } .pcard:nth-child(4)::after { animation-delay: 4.5s; }
.pcard:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 #fff; }
.pcard__gl { position: absolute; right: 22px; top: 10px; font-family: var(--f-disp); font-weight: 800; font-size: 52px; line-height: 1; transition: transform .4s var(--spring); }
.pcard:hover .pcard__gl { transform: rotate(10deg) scale(1.1); }
.pcard h3 { font-size: 24px; font-weight: 700; }
.pcard p { font-size: 15px; margin: 8px 0 16px; opacity: .88; }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pcard__chips i { font-style: normal; font-size: 12px; border: 1.5px solid currentColor; border-radius: 8px; padding: 3px 9px; opacity: .8; }

/* ===== 6.1 Services ===== */
.services__pin { padding-block: var(--sec); }
.services { padding-block: 0; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.svc-tabs button { font-family: var(--f-mono); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; transition: background .25s, color .25s, transform .25s var(--spring), box-shadow .25s; }
.svc-tabs button.is-active { background: var(--c); color: var(--cf); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.svc-stage { position: relative; min-height: 270px; }
.svc-group { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; position: absolute; inset: 0 0 auto; visibility: hidden; }
.svc-group.is-active { visibility: visible; }
.svc-label { border-radius: 18px; padding: 22px; background: var(--c); color: var(--cf); border: 2px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; opacity: 0; transform: translateX(-30px); transition: opacity .4s, transform .5s var(--ease); }
.svc-group.is-active .svc-label { opacity: 1; transform: none; }
.svc-label__gl { font-family: var(--f-disp); font-weight: 800; font-size: 50px; line-height: .8; }
.svc-label h3 { font-size: 20px; font-weight: 700; }
.svc-label p { font-size: 13px; opacity: .85; }
.svc-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; background: #fff; color: var(--ink); border: 1.5px solid var(--lline); border-radius: 18px; padding: 20px; opacity: 0; transform: translateX(50px); transition: opacity .4s, transform .5s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
.svc-group.is-out .tile { transform: translateX(-50px); }
.svc-group.is-active .tile { opacity: 1; transform: none; }
.svc-group.is-active .tile:nth-child(2) { transition-delay: .07s; } .svc-group.is-active .tile:nth-child(3) { transition-delay: .14s; } .svc-group.is-active .tile:nth-child(4) { transition-delay: .21s; } .svc-group.is-active .tile:nth-child(5) { transition-delay: .28s; } .svc-group.is-active .tile:nth-child(6) { transition-delay: .35s; }
.tile__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--c); color: var(--cf); }
.tile h4 { font-size: 17px; line-height: 1.2; }
.tile__s { font-family: var(--f-mono); font-size: 11.5px; color: var(--lmu); line-height: 1.4; margin-top: 6px; }
.tile__l { font-size: 13.5px; color: #3e3e4e; line-height: 1.5; margin-top: 10px; }
.tile__more { font-size: 12px; font-weight: 700; margin-top: 12px; color: var(--ink); border-bottom: 2px solid var(--c); align-self: flex-start; }
.tile h4 { margin-top: 18px; }
.tile::after { content: ""; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--c) 45%, transparent) 50%, transparent 58%); transform: translateX(-120%); animation: glare 6s ease-in-out infinite; pointer-events: none; }
.tile:nth-child(2)::after { animation-delay: .8s; } .tile:nth-child(3)::after { animation-delay: 1.6s; } .tile:nth-child(4)::after { animation-delay: 2.4s; } .tile:nth-child(5)::after { animation-delay: 3.2s; } .tile:nth-child(6)::after { animation-delay: 4s; }
.tile__next { display: none; }

/* ===== 6.2 Audit ===== */
.audit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 64px; align-items: center; }
.audit__copy > .mono { font-size: 14px; color: #4a4a10; }
.audit h2 { margin-top: 16px; }
.audit__p { margin-top: 20px; font-size: 18px; color: #3a3a20; max-width: 560px; }
.form { display: flex; gap: 8px; margin-top: 30px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 7px; box-shadow: 6px 6px 0 var(--ink); max-width: 600px; }
.form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--ink); outline: none; }
.form input + input { border-left: 1px solid var(--lline); }
.form input::placeholder { color: #8d8a80; }
.form:focus-within { box-shadow: 8px 8px 0 var(--p); }
.form__go { flex: none; display: inline-flex; align-items: center; gap: .3em; background: var(--ink); color: var(--y); font-weight: 700; border-radius: 9px; padding: 12px 20px; transition: transform .2s; }
.form__go:hover { transform: translateY(-1px); }
.form__go { position: relative; }
.form__go .br { position: absolute; top: 50%; font-family: var(--f-mono); opacity: 0; transition: opacity .2s, transform .3s var(--spring); }
.form__go .br--l { left: 6px; transform: translate(5px, -50%); } .form__go .br--r { right: 6px; transform: translate(-5px, -50%); }
.form__go:hover .br { opacity: 1; transform: translate(0, -50%); }
.form__go .br--l { color: var(--o); } .form__go .br--r { color: var(--b); }
.form__go.is-busy { pointer-events: none; opacity: .8; }
.form__msg { font-size: 13px; margin-top: 12px; min-height: 1.2em; }
.audit__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 14px; }
.audit__checks li::before { content: "✓ "; font-weight: 700; }
.term { position: relative; background: var(--ink); color: var(--tx); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 12px 12px 0 var(--p); min-width: 0; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mu); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a3a; }
.term__bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term__bar b { color: var(--y); font-weight: 400; }
.term__body { padding: 22px 24px; font-family: var(--f-mono); font-size: 14px; line-height: 2; min-height: 252px; }
.term__body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__body .spin-ch { display: inline-block; width: 1ch; color: var(--y); }
.term__body .cur { display: inline-block; width: 8px; height: 16px; background: var(--y); vertical-align: -3px; animation: blink .9s steps(1) infinite; }
.term__scan { position: absolute; left: 0; right: 0; top: 60px; height: 2px; background: var(--y); box-shadow: 0 0 22px 4px rgba(254,255,97,.55); animation: scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0%, 100% { top: 60px; opacity: .2; } 50% { top: 300px; opacity: 1; } }
.term__scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.term__scores li { padding: 16px 18px; border-right: 1px solid var(--line); }
.term__scores li:last-child { border: 0; }
.term__scores b { display: block; font-family: var(--f-disp); font-size: 26px; color: var(--ct); font-variant-numeric: tabular-nums; }
.term__scores span { font-family: var(--f-mono); font-size: 12px; color: var(--mu); }

/* ===== 6.3 Cases + generic slider ===== */
.slider-ctrl { display: flex; gap: 12px; align-items: center; }
.slider-ctrl .mono { color: var(--mu); font-size: 14px; font-variant-numeric: tabular-nums; }
.sbtn { width: 52px; height: 52px; border-radius: 12px; border: 2px solid rgba(255,255,255,.5); color: #fff; font-size: 20px; transition: transform .2s var(--ease), box-shadow .2s; }
.sbtn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--p); }
.sbtn--y { background: var(--y); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--p); }
.sbtn--ink { border-color: var(--ink); color: var(--ink); }
.sbtn--ink:hover { box-shadow: 4px 4px 0 var(--o); }
.slider { position: relative; touch-action: pan-y; }
.slider__track { display: flex; gap: 26px; transition: transform .7s var(--ease); will-change: transform; cursor: grab; }
.slider.is-drag .slider__track { transition: none; cursor: grabbing; }
.slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.slider__dots i { width: 8px; height: 8px; border-radius: 99px; background: currentColor; opacity: .3; transition: width .3s, opacity .3s; }
.slider__dots i.is-on { width: 26px; opacity: 1; }
.case { flex: 0 0 min(480px, 84vw); border-radius: 22px; overflow: hidden; border: 2px solid var(--ink); background: var(--card); position: relative; transform: scale(.92); opacity: .7; transition: transform .6s var(--ease), opacity .6s, box-shadow .6s; user-select: none; }
.case.is-active { transform: rotate(-.8deg); opacity: 1; box-shadow: 10px 10px 0 var(--c); }
.case__img { height: 250px; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 30%, #000)); }
.case__ui { position: absolute; inset: 30px 36px -20px; background: #0b0b14; border-radius: 12px 12px 0 0; border: 1px solid rgba(255,255,255,.14); padding: 16px; color: #6b6b82; font-size: 11px; transition: transform 3s linear; }
.case:hover .case__ui { transform: translateY(-30px); }
.case__bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 16px; }
.case__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--c); opacity: .85; }
.case__bars i:nth-child(-n+3) { opacity: .4; }
.case__lines { margin-top: 14px; display: grid; gap: 10px; }
.case__lines i { display: block; width: var(--w); height: 9px; border-radius: 5px; background: #22223a; }
.case__lines i.hl { background: color-mix(in srgb, var(--c) 55%, #22223a); }
.case__meta { padding: 24px; }
.case__tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.case__reg { margin-left: auto; font-size: 12px; color: var(--mu); }
.case h3 { font-size: 19px; font-weight: 500; line-height: 1.35; margin: 16px 0 18px; }
.case__m { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.case__m b { font-family: var(--f-disp); font-size: 38px; letter-spacing: -.03em; color: var(--ct); }
.case__m span { color: var(--mu); font-size: 14px; }
.case--ph .case__m b { color: var(--mu); }
.case__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.08); }
.case__bar i { display: block; height: 100%; width: 0; background: var(--c); }
.case.is-active .case__bar i { animation: prog var(--dur, 3s) linear forwards; }
.slider.is-paused .case.is-active .case__bar i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

/* ===== 7.1 Process ===== */
.git { position: relative; margin-top: 10px; }
.git__line { position: absolute; left: 36px; right: 36px; top: 34px; height: 4px; background: var(--ink); border-radius: 2px; }
.git__line i { display: block; height: 100%; width: var(--gp, 0%); background: linear-gradient(90deg, var(--o), var(--p), var(--y), var(--b), var(--g)); border-radius: 2px; transition: width 1.2s var(--ease); }
.git__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.commit__dot { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: background .4s, color .4s, transform .4s var(--spring); }
.commit.is-done .commit__dot { background: var(--c); color: var(--cf); }
.commit.is-now .commit__dot { transform: scale(1.12); }
.commit__hash { font-size: 12px; color: var(--lmu); margin-top: 22px; }
.commit h3 { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -.01em; }
.commit > p:last-child { color: #8f8c86; font-size: 15px; margin-top: 10px; transition: color .4s; }
.commit.is-done > p:last-child { color: #3e3e4e; }
.git__done { position: absolute; right: 0; top: -36px; background: var(--g); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 8px; border: 2px solid var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--spring); }
.git__done.is-on { opacity: 1; transform: none; }
.reas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 52px; }
.reas li { border: 2px solid var(--ink); border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 500; background: #fff; }
.reas li::before { content: "✓ "; font-weight: 700; color: var(--p); }

/* ===== 7.2 Ready band ===== */
.ready { padding-block: 76px; }
.ready__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ready__eb { font-size: 14px; color: #E3C4FF; }
.ready h2 { font-weight: 800; margin-top: 10px; }
.ready .ctas { margin-top: 0; }
.ready .btn--yellow { --sh: var(--ink); }
.ready .btn--ghost { border-color: #fff; color: #fff; }

/* ===== 7.3 Compare ===== */
.cmp-wrap { position: relative; overflow-x: auto; padding: 4px 4px 8px; }
.cmp { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.cmp th, .cmp td { padding: 19px 22px; text-align: left; border-bottom: 1.5px solid var(--lline); font-weight: 400; }
.cmp thead th { font-size: 13px; color: var(--lmu); }
.cmp tbody th { color: #2a2a38; font-weight: 500; }
.cmp .tp { background: var(--ink); color: var(--g); font-weight: 700; border-bottom-color: rgba(255,255,255,.08); }
.cmp thead .tp { border-radius: 14px 14px 0 0; text-shadow: 0 0 14px rgba(147,250,110,.6); }
.cmp tbody tr:last-child .tp { border-radius: 0 0 14px 14px; }
.cmp .yes { color: #1f8a2e; font-weight: 700; } .cmp .no { color: #a3a09a; } .cmp .mid { color: #c25a1b; }
.cmp .ck { display: inline-block; }
.cmp tbody tr { transition: opacity .5s, transform .5s var(--ease); }

.cmp-glare { position: absolute; pointer-events: none; overflow: hidden; border-radius: 14px; }
.cmp-glare::after { content: ""; position: absolute; left: -40%; right: -40%; height: 45%; top: -50%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.22) 45%, rgba(147,250,110,.18) 55%, transparent); transform: skewY(-12deg); animation: vglare 4.5s ease-in-out infinite; }
@keyframes vglare { 0% { top: -50%; } 60%, 100% { top: 110%; } }
.cmp .tpv { display: inline-block; transform-origin: left center; transition: transform .45s var(--spring), color .35s, text-shadow .35s; }
.cmp td.tp.is-hl .tpv { transform: scale(1.22); color: var(--y); text-shadow: 0 0 16px rgba(254,255,97,.55); }

/* ===== 7.4 Industries ===== */
.inds__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.ind { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 300px; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 16px; padding: 20px 18px; background: var(--card); transition: transform .35s var(--ease), color .35s; }
.ind::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); z-index: 0; }
.ind > * { position: relative; z-index: 1; }
.ind__ix { font-size: 12px; color: #5b5b72; }
.ind h3 { font-size: 17px; font-weight: 700; line-height: 1.25; margin-top: auto; }
.ind__s { font-size: 12.5px; color: var(--mu); margin-top: 6px; line-height: 1.4; }
.ind__l { font-size: 13px; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.ind__l .mono { display: block; margin-top: 8px; font-weight: 700; font-size: 12px; }
.ind.is-open { color: var(--cf); }
.ind.is-open::before { transform: scaleY(1); }
.ind.is-open .ind__ix, .ind.is-open .ind__s { color: inherit; opacity: .75; }
.ind.is-open .ind__l { max-height: 200px; opacity: 1; margin-top: 10px; }
.ind.is-now { box-shadow: 0 0 0 3px #fff; }

/* ===== 8.1 Voices ===== */
.rates { display: flex; gap: 12px; flex-wrap: wrap; }
.rate { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: center; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 16px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.rate b { font-family: var(--f-disp); font-size: 22px; }
.rate span { font-size: 12px; color: var(--lmu); line-height: 1.3; }
.slider--voices .slider__track { gap: 24px; }
.vq { flex: 0 0 calc((100% - 48px) / 3); display: flex; flex-direction: column; min-height: 360px; border: 1.5px solid var(--lline); border-radius: 22px; padding: 32px; background: #fff; color: var(--ink); user-select: none; }
.vq__qm { font-family: var(--f-disp); font-weight: 800; font-size: 64px; line-height: .6; height: 34px; color: var(--ct); display: inline-block; transform: scale(.4); opacity: 0; transition: transform .5s var(--spring), opacity .4s; }
.vq.is-vis .vq__qm { transform: none; opacity: 1; }
.vq[data-c] .vq__qm { color: inherit; }
.vq blockquote { font-size: 18px; line-height: 1.55; margin-top: 12px; }
.vq__who { display: flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--lmu); }
.vq__who i { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); background: var(--c); flex: none; }
.vq__who b { display: block; color: var(--ink); font-size: 15px; }
.vq--video { position: relative; background: var(--p); color: #fff; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.vq__play { position: absolute; left: 32px; top: 32px; width: 72px; height: 72px; border-radius: 50%; background: var(--y); border: 2px solid var(--ink); display: grid; place-items: center; animation: pulseRing2 2.4s ease-out infinite; }
.vq__play::after { content: ""; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
@keyframes pulseRing2 { 0% { box-shadow: 0 0 0 0 rgba(254,255,97,.6); } 100% { box-shadow: 0 0 0 18px rgba(254,255,97,0); } }
.vq__cap { margin-top: auto; }
.vq__cap .mono { font-size: 12px; color: #E3C4FF; }
.vq__big { font-family: var(--f-disp); font-weight: 700; font-size: 26px; line-height: 1.15; margin-top: 10px; }
.vq--video .vq__who { color: #ECD9FF; padding-top: 10px; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; color: var(--ink); }
.slider__nav .slider__dots { margin-top: 0; }

/* ===== 8.2 Protect band ===== */
.secband { padding-block: 56px; }
.secband__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.secband .mono { font-size: 14px; color: #174a54; }
.secband h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 6px; }
.secband__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.secband__badges li { border: 2px solid var(--ink); background: rgba(255,255,255,.55); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ===== 8.3 FAQ ===== */
.faq__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 70px; align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__side h2 { margin-bottom: 20px; }
.faq__side .sec-head__sub { margin-bottom: 28px; }
.glance { margin-top: 40px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 22px; box-shadow: 6px 6px 0 var(--o); }
.glance h3 { font-size: 13px; color: var(--lmu); font-weight: 400; margin-bottom: 8px; }
.glance dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--lline); font-size: 14px; }
.glance dt { color: var(--lmu); } .glance dd { font-weight: 600; }
.phx { background: var(--y); padding: 0 6px; border-radius: 4px; }
.fsearch { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 6px 18px; box-shadow: 6px 6px 0 var(--ink); transition: box-shadow .25s; }
.fsearch:focus-within { box-shadow: 8px 8px 0 var(--p); }
.fsearch__ic { font-size: 22px; line-height: 1; }
.fsearch input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); }
.fsearch input::placeholder { color: #8d8a80; }
.fsearch__cnt { font-size: 12px; color: var(--lmu); flex: none; transition: color .2s; }
.fpills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.fpills button { position: relative; z-index: 1; border: 2px solid var(--ink); border-radius: 10px; padding: 7px 13px; font-size: 13px; font-weight: 600; background: #fff; transition: color .3s; }
.fpills button.is-active { color: var(--y); background: transparent; }
.fpills__ind { position: absolute; z-index: 0; background: var(--ink); border-radius: 10px; transition: left .35s var(--ease), top .35s var(--ease), width .35s var(--ease), height .35s var(--ease); }
.qlist { display: flex; flex-direction: column; }
.qa { border-bottom: 1.5px solid var(--lline); transition: opacity .25s, transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-size: 18px; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { flex: 1; min-width: 0; }
.qa__t { font-size: 11px; color: var(--lmu); border: 1px solid var(--lline); border-radius: 6px; padding: 3px 8px; flex: none; }
.qa__pm { position: relative; width: 16px; height: 16px; flex: none; }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.qa__pm::after { transform: rotate(90deg); }
.qa.is-open .qa__pm::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--lmu); font-size: 16px; padding: 0 4px 22px; max-width: 760px; }
.qa.is-open { background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--y); margin-bottom: 10px; padding-inline: 20px; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open summary { font-weight: 700; }
.qa mark { background: var(--y); color: inherit; border-radius: 3px; padding: 0 2px; }
.qa.is-gone { display: none; }
.qa.is-leaving { opacity: 0; transform: scale(.98) translateY(-6px); }
.qa.is-entering { opacity: 0; transform: translateY(12px); }
.qlist:not(.show-all) .qa--extra:not(.is-match) { display: none; }
.qlist__more { margin-top: 20px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.qlist__empty { padding: 24px 4px; font-size: 16px; color: var(--lmu); }
.qlist__empty a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* ===== 8.4 Insights ===== */
.ins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 22px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s; }
.post__im { height: 170px; display: grid; place-items: center; background: var(--c); color: var(--cf); overflow: hidden; }
.post__im span { font-family: var(--f-disp); font-weight: 800; font-size: 56px; transition: transform .6s var(--spring); }
.post__tx { padding: 22px; display: block; }
.post h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin-top: 12px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 2px; padding-bottom: 2px; transition: background-size .4s var(--ease); display: inline; }
.post__rd { display: block; font-size: 13px; color: var(--mu); margin-top: 14px; }
.post:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--c); }
.post:hover .post__im span { transform: scale(1.18) rotate(-8deg) translateX(8px); }
.post:hover h3 { background-size: 100% 2px; }
.report { position: relative; overflow: hidden; border-radius: 20px; padding: 28px; background: var(--b); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--y); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.report::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%); transform: translateX(-120%); animation: glare 6s ease-in-out infinite; pointer-events: none; }
.report:hover { box-shadow: 12px 12px 0 var(--y); transform: translate(-2px, -2px); }
.report > .mono { font-size: 13px; color: #174a54; }
.report h3 { font-family: var(--f-disp); font-size: 24px; margin: 12px 0 10px; line-height: 1.15; }
.report p { font-size: 14px; color: #1f4a52; }
.form--mini { margin-top: auto; box-shadow: none; }
.report .form--mini { margin-top: 24px; }

/* ===== 8.5 Final ===== */
.final { text-align: center; padding-block: clamp(90px, 11vw, 140px); overflow: hidden; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__logo { width: 280px; height: 196px; color: var(--ink); }
.final__code { font-size: 16px; color: #3a1e0e; }
.final h2 { font-size: clamp(42px, 7vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 20px; }
.final__p { margin: 26px auto 0; font-size: 20px; color: #3a1e0e; max-width: 640px; }
.final .ctas { margin-top: 40px; }
.final__email { margin-top: 26px; font-size: 15px; user-select: all; }

/* ===== 8.6 Footer ===== */
.footer { background: var(--ink); color: var(--tx); padding-block: 90px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 40px; }
.footer__brand > p { color: var(--mu); font-size: 14px; max-width: 290px; margin-top: 18px; }
.form--nl { margin-top: 22px; box-shadow: 5px 5px 0 var(--g); }
.form--nl .form__go { background: var(--g); color: var(--ink); }
.footer__contact { color: var(--mu); font-size: 14px; margin-top: 18px; }
.footer__col h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: var(--ct); }
.footer__col a { display: block; color: var(--mu); font-size: 14px; margin-bottom: 10px; transition: color .2s, transform .2s; }
.footer__col a:hover { color: var(--ct); transform: translateX(3px); }
.footer__big { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 76px; }
.footer__big svg { width: clamp(90px, 13vw, 190px); height: clamp(64px, 9vw, 130px); flex: none; }
.footer__big span { font-family: var(--f-disp); font-weight: 800; font-size: clamp(40px, 8.6vw, 124px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: #6b6b82; font-size: 13px; }
.footer__bottom a:hover { color: #fff; }

/* ===== Fallbacks when the motion library is unavailable ===== */
.story--static .story__panels { min-height: 0; }
.story--static .story__panel { position: relative; opacity: 1; transform: none; margin-bottom: 28px; }
.story--static .story__panel mark { background-size: 100% 100%; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .pin { grid-template-columns: 180px minmax(0, 320px) minmax(0, 1fr); padding: 34px; gap: 28px; }
  .inds__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .ins__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --hdr: 72px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .badge { width: 120px; height: 120px; top: 110px; }
  .badge__arrow { font-size: 30px; }
  .story__grid { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
  .errs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin { grid-template-columns: minmax(0, 1fr); }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__side { position: static; }
  .vq { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --gut: 16px; }
  .auditbar__link { padding: 10px 44px 10px 16px; font-size: 13px; justify-content: flex-start; text-align: left; }
  .hero { padding-block: 32px 72px; }
  .h1pill { font-size: 13px; max-width: calc(100% - 104px); }
  .badge { width: 92px; height: 92px; top: 26px; box-shadow: 5px 5px 0 var(--p); }
  .badge__arrow { font-size: 24px; }
  .title { font-size: clamp(30px, 10vw, 48px); margin-top: 26px; }
  .title__ln { white-space: normal; flex-wrap: wrap; }
  .hero__lead { font-size: 17px; }
  .editor__code { font-size: 12px; min-height: 196px; }
  .ctas { gap: 14px; }
  .btn--lg { font-size: 16px; padding: 16px 22px; }

  /* story: stacked cards */
  .story__pin { padding-block: 64px 10px; }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story__gutter { border: 0; padding: 0; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 3; background: var(--cream); padding-block: 10px; }
  .story__label { text-align: left; margin-bottom: 8px; }
  .story__index { flex-direction: row; gap: 6px; text-align: left; font-size: 0; }
  .story__index li { width: 30px; height: 6px; border-radius: 9px; background: #d8d4c8; transform: none !important; }
  .story__index li.is-active { background: var(--o); }
  .story__index li span { display: none; }
  .story__progress { display: none; }
  .story__panels { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
  .story__panel { position: relative; opacity: 1; transform: none; pointer-events: auto; background: #fff; border: 2px solid var(--ink); border-left: 8px solid var(--c); border-radius: 16px; padding: 20px; transition: transform .6s var(--ease), opacity .6s; }
  .story__panel[data-c="ink"] { border-left-color: var(--ink); }
  .js .story__panel:not(.is-seen) { opacity: 0; transform: translateX(40px); }
  .story__panel.is-out { opacity: 1; transform: none; }
  .story__text { font-size: 18px; }
  .story__panel.is-active mark, .story__panel.is-seen mark { background-size: 100% 100%; }
  .story__panel.is-seen[data-c="p"] mark, .story__panel.is-seen[data-c="ink"] mark { color: #fff; }
  .trustrow { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trustrow__track { width: 100%; }

  /* error cards: stacked by default; JS turns on sequence mode */
  .errs__grid { grid-template-columns: minmax(0, 1fr); }
  .err { height: 230px; }
  .errs--seq .errs__stage { height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 40px; }
  .errs--seq .errs__stage .wrap { height: 100%; }
  .errs--seq .errs__grid { position: relative; height: 100%; display: block; }
  .errs--seq .err { position: absolute; left: 0; right: 0; top: 50%; margin-top: -115px; }
  .errs--seq .sec-head { margin-bottom: 0; }
  .errs--seq { padding-bottom: 0; }

  .quiz__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .quiz__chips button { flex: none; }

  /* pillars pinned on mobile too */
  .pillars__pin { padding-block: 24px; }
  .pin { padding: 18px; border-radius: 20px; gap: 14px; }
  .rail { flex-direction: row; overflow-x: auto; gap: 8px; padding: 0 0 4px; scrollbar-width: none; }
  .rail::before, .rail::after { display: none; }
  .rail button { font-size: 13px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; white-space: nowrap; }
  .rail button i { font-size: 15px; width: auto; }
  .rail li.is-active button { transform: none; background: var(--c); color: var(--cf); border-color: var(--c); }
  .pin__logo { width: 120px; margin: 0 auto; }
  .ppanels { min-height: 470px; }
  .ppanel__h { font-size: 19px; }
  .ppanel__p { font-size: 14.5px; }
  .ppanel__dl { margin: 14px 0; }

  /* pillar cards: stacking */
  .pcards { display: block; }
  .pcard { position: sticky; top: calc(84px + var(--i, 0) * 14px); margin-bottom: 18px; min-height: 200px; box-shadow: 0 -10px 30px rgba(0,0,0,.35); transform-origin: top center; }
  .pcard:nth-child(1) { --i: 0; } .pcard:nth-child(2) { --i: 1; } .pcard:nth-child(3) { --i: 2; } .pcard:nth-child(4) { --i: 3; }
  .pcard::after { display: none; }

  /* services: chips + one swipe row */
  .services__pin { padding-block: 64px; }
  .svc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 8px; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 3; background: var(--cream); }
  .svc-tabs button { flex: none; }
  .svc-stage { min-height: 0; }
  .svc-group { position: static; display: none; grid-template-columns: minmax(0, 1fr); }
  .svc-group.is-active { display: grid; }
  .svc-label { min-height: 0; flex-direction: row; align-items: center; gap: 14px; justify-content: flex-start; padding: 14px 16px; }
  .svc-label__gl { font-size: 34px; }
  .svc-label p { margin-left: auto; text-align: right; }
  .svc-tiles { grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 12px; }
  .tile { scroll-snap-align: start; min-height: 230px; }
  .tile__next { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; min-height: 230px; border: 2px dashed var(--ink); border-radius: 18px; padding: 20px; font-family: var(--f-mono); font-weight: 700; scroll-snap-align: start; text-align: left; }
  .tile__next b { font-size: 22px; }

  .term__body { font-size: 12px; padding: 18px; min-height: 230px; }
  .term__scores li { padding: 12px 10px; }
  .term__scores b { font-size: 20px; }
  .term__scores span { font-size: 10px; }
  .form { flex-wrap: wrap; }
  .form input { flex: 1 1 100%; }
  .form input + input { border-left: 0; border-top: 1px solid var(--lline); }
  .form__go { flex: 1 1 100%; justify-content: center; padding: 14px; }
  .form--mini, .form--nl { flex-wrap: nowrap; }
  .form--mini input, .form--nl input { flex: 1 1 auto; }
  .form--mini .form__go, .form--nl .form__go { flex: none; }

  .slider-ctrl .sbtn { display: none; }
  .case { flex-basis: 86vw; }
  .case__img { height: 200px; }

  /* process vertical */
  .git__line { left: 34px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .git__line i { width: 100%; height: var(--gp, 0%); transition: height .2s; }
  .git__steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .commit { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; }
  .commit__dot { grid-row: span 3; }
  .commit__hash { margin-top: 6px; }
  .git__done { position: static; display: inline-block; margin-top: 18px; }

  .ready__row { align-items: flex-start; }

  .inds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ind { height: 236px; padding: 14px; }
  .ind h3 { font-size: 15px; }
  .ind__l { font-size: 12.5px; }

  .vq { flex-basis: 100%; min-height: 320px; }
  .faq__grid { gap: 28px; }
  .fsearch { position: sticky; top: calc(70px + env(safe-area-inset-top, 0px)); z-index: 3; }
  .fpills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 8px; }
  .fpills button { flex: none; }
  .qa summary { font-size: 16px; padding: 16px 2px; }
  .qa__t { display: none; }
  .qa.is-open { padding-inline: 14px; }

  .ins__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 18px; gap: 16px; }
  .post, .report { flex: 0 0 72%; scroll-snap-align: start; }

  .final__logo { width: 180px; height: 126px; }
  .final__p { font-size: 17px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__big { gap: 14px; margin-top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .stat::after, .pcard::after, .report::after, .ph::after, .ph-shim::after, .term__scan { display: none; }
}
.errs--seq .err, .errs--seq .err__in { transition: none; }
@media (min-width: 768px) {
  .story__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .story__pin > .wrap { width: 100%; }
  .pillars__pin, .services__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .pillars__pin > .wrap, .services__pin > .wrap { width: 100%; }
}
.cases, .voices { overflow: hidden; }
@media (max-width: 767px) {
  .badge { width: 84px; height: 84px; top: 22px; }
  .title { margin-top: 44px; }
  .chip { height: .8em; }
  .chip--round { width: .8em; }
  .pin__logo { width: 96px; }
  .ppanel__dl { display: none; }
  .ppanel__fn { font-size: 30px; }
  .ppanel__h { margin: 4px 0 8px; }
  .ppanel__p { font-size: 14px; line-height: 1.55; }
  .ppanel__foot { padding-top: 12px; margin-top: 14px; }
  .ppanel__stat { font-size: 24px; }
}
@media (max-width: 767px) {
  .pillars__pin { padding-top: 76px; }
  .errs--seq .errs__stage { padding-top: 76px; }
}

/* ===== v2 corrections ===== */
.center-cta { display: flex; justify-content: center; margin-top: 56px; }
.center-cta--tight { margin-top: 34px; }
.story .center-cta { margin-top: 10px; margin-bottom: 40px; }
.pillars__pin { position: relative; isolation: isolate; }
.pillars__pin::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--pcol) 55%, transparent), color-mix(in srgb, var(--pcol) 14%, transparent) 55%, transparent 80%); opacity: 0; transition: opacity 1.2s var(--ease), --pcol .7s var(--ease); }
.pillars__pin.is-lit::before { opacity: 1; }
.pillars__pin { transition: --pcol .7s var(--ease); }
.pillars__pin .pin { background: rgba(14,14,24,.92); border-color: color-mix(in srgb, var(--pcol) 40%, transparent); box-shadow: 0 40px 120px -40px color-mix(in srgb, var(--pcol) 70%, transparent); transition: border-color .7s, box-shadow .7s; }
.chip--search { width: 2.1em; background: var(--y); --sh: var(--o); overflow: hidden; }
.srch { position: absolute; inset: .17em .2em; background: #fff; border-radius: 999px; display: flex; align-items: center; gap: .08em; padding: 0 .12em; color: var(--ink); }
.srch__mag { width: .34em; height: .34em; flex: none; animation: scanMag 3s ease-in-out infinite; }
.srch__q { display: flex; gap: .05em; align-items: center; }
.srch__q i { display: block; width: .2em; height: .07em; border-radius: 9px; background: #c9c9d4; transform-origin: left; animation: load 3s ease-in-out infinite; }
.srch__q i:nth-child(1) { background: var(--o); } .srch__q i:nth-child(2) { animation-delay: .2s; } .srch__q i:nth-child(3) { animation-delay: .4s; width: .14em; }
@keyframes scanMag { 0%,100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(.9em) rotate(-12deg); } }
.chip--shield { background: var(--b); color: var(--ink); --sh: var(--p); }
.chip--shield svg { width: .52em; height: .52em; animation: shieldPulse 3s ease-in-out infinite; }
.sh__tick { stroke-dasharray: 14; stroke-dashoffset: 14; animation: tick 3s ease-in-out infinite; }
@keyframes tick { 0%, 15% { stroke-dashoffset: 14; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 14; } }
@keyframes shieldPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.final { position: relative; }
.final__in { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .process__pin, .inds__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .process, .inds { padding-block: 0; }
  .process__pin, .inds__pin { padding-block: 80px 60px; }
}
@media (max-width: 767px) {
  .chip--search { width: 1.9em; }
  .center-cta { margin-top: 36px; }
  .center-cta .btn { width: 100%; }
}

/* ===== v3: live code buttons, magnetic buttons, final glow ===== */

@keyframes rainbowShadow {
  0%   { --gc1: #FEFF61; --gc2: #A000FF; }
  20%  { --gc1: #93FA6E; --gc2: #FE8744; }
  40%  { --gc1: #7EE8FC; --gc2: #FEFF61; }
  60%  { --gc1: #A000FF; --gc2: #93FA6E; }
  80%  { --gc1: #FF5FA2; --gc2: #7EE8FC; }
  100% { --gc1: #FEFF61; --gc2: #A000FF; }
}
.story__pin { flex-direction: column; justify-content: center; }
.center-cta--story { position: relative; z-index: 2; margin-top: 0; margin-bottom: 0 !important; padding-block: 0 64px; }
.story .trustrow { margin-top: 0; }

/* Live Code Label (dual colour) */
.lc { --bg: var(--y); --fg: var(--ink); --hi: var(--p); --sh: var(--ink); --bd: var(--ink); background: var(--bg); color: var(--fg); border-color: var(--bd); }
.lc .lc__t { display: inline-block; text-align: center; }
.lc.is-code .lc__t { font-family: var(--f-mono); font-weight: 700; }
.lc .k { color: var(--hi); }
.lc .lc__t::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; background: var(--hi); vertical-align: -3px; opacity: 0; }
.lc.typing .lc__t::after, .lc.is-code .lc__t::after { opacity: 1; animation: blink .8s steps(1) infinite; }
.lc--yb { --bg: var(--y); --fg: var(--ink); --hi: #0068A8; --sh: var(--b); }
.lc--ob { --bg: var(--o); --fg: var(--ink); --hi: #fff; --sh: var(--b); }
.lc--ko { --bg: var(--ink); --fg: #fff; --hi: var(--o); --sh: var(--o); --bd: var(--o); }
.lc--pk { --bg: var(--p); --fg: #fff; --hi: var(--y); --sh: var(--ink); }
.lc--kb { --bg: var(--ink); --fg: #fff; --hi: var(--b); --sh: var(--b); --bd: var(--b); }
.lc--yk { --bg: var(--y); --fg: var(--ink); --hi: var(--p); --sh: var(--ink); }
.lc--gb { --bg: var(--g); --fg: var(--ink); --hi: var(--p); --sh: var(--b); }
.lc--gk { --bg: var(--g); --fg: var(--ink); --hi: var(--p); --sh: var(--ink); }
.lc--kw { --bg: var(--ink); --fg: #fff; --hi: var(--y); --sh: #fff; }
.lc--pillar { --bg: var(--c); --fg: var(--cf); --sh: #fff; --hi: var(--p); }
.ppanel[data-c="o"] .lc--pillar { --hi: #fff; }
.ppanel[data-c="p"] .lc--pillar { --hi: var(--y); }
.ready .lc--yk { --sh: var(--ink); }
.btn--kw { background: var(--ink); color: #fff; --sh: #fff; }

/* Magnetic Pull */
.mg { translate: var(--mx, 0px) var(--my, 0px); transition: translate .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.mg .mg__l { display: inline-flex; gap: 10px; transform: translate(calc(var(--mx, 0px) * .5), calc(var(--my, 0px) * .5)); transition: transform .25s var(--ease); }
.mg:active { scale: .95; }
.mg.demo { animation: wobble 1.4s ease-in-out; }
@keyframes wobble { 20% { translate: 8px -5px; } 45% { translate: -7px 4px; } 70% { translate: 4px 3px; } 100% { translate: 0 0; } }
@media (max-width: 767px) {
  .pillars__pin { padding-top: 70px; }
  .pin { gap: 10px; padding: 16px; }
  .pin__logo { width: 72px; }
  .ppanel__eb { display: none; }
  .ppanel__fn { font-size: 26px; }
  .ppanel__h { font-size: 17px; }
  .ppanel__p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
}

.btn--wire { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--wire:hover { background: rgba(11,11,20,.06); }

/* mobile menu: pillar accordions (no pillar pages) */
.mobile-menu__in > details.mm-p { background: var(--c); color: var(--cf); border-radius: 16px; animation: rise .4s var(--ease) both; }
.mobile-menu__in > details.mm-p:nth-child(2) { animation-delay: .05s; } .mobile-menu__in > details.mm-p:nth-child(3) { animation-delay: .1s; } .mobile-menu__in > details.mm-p:nth-child(4) { animation-delay: .15s; } .mobile-menu__in > details.mm-p:nth-child(5) { animation-delay: .2s; }
.mm-p > summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-family: var(--f-mono); font-weight: 700; font-size: 22px; position: relative; }
.mm-p > summary::-webkit-details-marker { display: none; }
.mm-p > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .2s; }
.mm-p[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.mm-p__links { display: grid; gap: 2px; padding: 0 10px 12px; }
.mm-p__links a { display: block; padding: 10px 8px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-family: var(--f-body); font-weight: 600; font-size: 16px; color: inherit; }

/* BEGIN mega-center */
.header__row { position: relative; }
.nav__item--mega { position: static; }
.mega { left: 50%; transform: translate(-50%, 8px); max-width: calc(100vw - 32px); }
.nav__item--mega.is-open .mega { transform: translate(-50%, 0); }
@media (max-width: 1180px) { .mega { grid-template-columns: repeat(5, minmax(0, 1fr)); width: calc(100vw - 48px); } }
/* END mega-center */

/* BEGIN chatbox */
.chat, .chatm { --acc: var(--y); --acc-f: var(--ink); }
.chat { background: var(--ink); color: #fff; border-radius: 22px; box-shadow: 10px 10px 0 var(--acc); display: flex; flex-direction: column; height: min(620px, 78vh); overflow: hidden; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g) 25%, transparent); flex: none; }
.chat__t { font-weight: 700; font-size: 15px; } .chat__s { font-size: 12px; color: var(--mu); }
.chat__ai { margin-left: auto; font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--y); }
.chat__log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat__msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.5; animation: rise .3s var(--ease) both; }
.chat__msg--bot { background: #1c1c2b; border-bottom-left-radius: 5px; align-self: flex-start; }
.chat__msg--user { background: var(--acc); color: var(--acc-f); border-bottom-right-radius: 5px; align-self: flex-end; font-weight: 600; }
.chat__msg a { color: var(--y); text-decoration: underline; }
.chat__msg.is-typing { display: flex; gap: 5px; padding: 15px; }
.chat__msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mu); animation: blink 1s infinite; }
.chat__msg.is-typing i:nth-child(2) { animation-delay: .15s; } .chat__msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.chat__chips:empty { display: none; }
.chat__chip { font: inherit; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chat__chip:hover, .chat__chip:focus-visible { background: var(--y); color: var(--ink); border-color: var(--y); outline: none; }
.chat__chip--go { background: var(--y); color: var(--ink); border-color: var(--y); font-weight: 700; }
.chat__form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid rgba(255,255,255,.1); }
.chat__form[hidden] { display: none; }
.chat__in { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: #14141f; color: #fff; padding: 0 14px; font: inherit; font-size: 15px; }
.chat__in:focus { outline: none; border-color: var(--y); }
.chat__send { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--y); color: var(--ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.chat__sum dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-top: 8px; font-size: 14px; }
.chat__sum dt { font-family: var(--f-mono); font-size: 12px; color: var(--mu); text-transform: lowercase; }
.chat__sumh { font-weight: 700; }
.chat__consent { font-size: 13px; color: #d5d5e2; }
.chat__noscript { padding: 20px; color: var(--y); }
.chat__ai { white-space: nowrap; }
.cwrap > * { min-width: 0; } .chat { max-width: 100%; min-width: 0; } .chat__chips { max-width: 100%; }
@media (max-width: 640px) {
  .chat { height: min(640px, 82vh); border-radius: 18px; box-shadow: 6px 6px 0 var(--acc); }
  .chat__top { padding: 12px 14px; } .chat__s { display: none; }
  .chat__log { padding: 14px; } .chat__msg { max-width: 90%; font-size: 14.5px; }
  .chat__chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 14px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chat__chips::-webkit-scrollbar { display: none; }
  .chat__chip { flex: none; }
}
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.chatm { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); --acc: var(--y); --acc-f: var(--ink); }
.chatm.is-open { display: flex; }
.chatm__bg { position: absolute; inset: 0; background: rgba(11,11,20,.62); backdrop-filter: blur(3px); }
.chatm__box { position: relative; width: min(460px, 100%); animation: chatmIn .25s var(--ease, ease) both; }
.chatm__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--y); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.chatm__x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.chatm .chat { height: min(620px, 82vh); }
.chatm .chat__top { padding-right: 58px; }
html.chatm-lock, html.chatm-lock body { overflow: hidden; }
@keyframes chatmIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chatm__box { animation: none; } }
@media (max-width: 640px) { .chatm { align-items: flex-end; padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)); } }
/* END chatbox */
/* cssblock footerco */
.footer__co { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 22px; max-width: 320px; }
.footer__co span { width: 100%; font-size: 12px; color: #6b6b82; letter-spacing: .04em; margin-bottom: 2px; }
.footer__co a { color: var(--mu); font-size: 14px; transition: color .2s; }
.footer__co a:hover { color: #fff; }
/* /cssblock footerco */
