/* Commerce Spine: "Depth" (design A, approved 30 Sep 2026).
   Dark operator room: navy ground, sky hairlines, Montserrat for voice, Spline Sans Mono for machine output.
   One continuous spine thread runs down the page with a vertebra at every chapter.
   This sheet is shared: homepage, free tool, 404 and the article pages (with article.css). */

:root {
  --ground: #070F22;
  --ground-2: #0A1428;
  --panel: #0C1830;
  --panel-2: #101E42;
  --panel-3: #16264F;
  --line: rgba(101, 210, 255, .11);
  --line-soft: rgba(101, 210, 255, .06);
  --ink: #EAF1FF;
  --ink-2: #A9BAE0;
  --ink-3: #8193BF;
  --head: #F3F7FF;
  --blue: #1E65D9;
  --blue-deep: #0D4BB8;
  --sky: #38B6FF;
  --sky-2: #65D2FF;
  --mint: #2CDBA1;
  --red: #FF7A93;
  --navy-ink: #071021;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --rbtn: 11px;
  --rmedia: 16px;
  --rpanel: 20px;
  --rshot: 14px;
  --wrap: 1240px;
  --navwrap: 1400px;
  --gut: 40px;
  --secpad: 112px;
  --h1: 3.6rem;
  --h2: 2.75rem;
  --card: linear-gradient(180deg, rgba(16, 30, 66, .72), rgba(12, 24, 48, .72));
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-soft: cubic-bezier(.2, .8, .2, 1);
  /* cookie choice card (consent.css reads these) */
  --cc-bg: #0F1C3A;
  --cc-fg: #EAF1FF;
  --cc-line: rgba(101, 210, 255, .22);
  --cc-hover: rgba(56, 182, 255, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; color-scheme: dark; }
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(56, 182, 255, .35); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground-2); }
::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 6px; border: 3px solid var(--ground-2); }
::-webkit-scrollbar-thumb:hover { background: #1E3266; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

a { color: var(--sky-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -.02em; color: var(--head); }
h2 { font-size: var(--h2); font-weight: 800; line-height: 1.1; }
p { text-wrap: pretty; }
b, strong { font-weight: 700; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sky); color: var(--navy-ink); padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1.2;
  border-radius: var(--rbtn); padding: 14px 22px; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer; text-decoration: none !important;
  transition: transform .18s var(--ease-soft), background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 17px 28px; font-size: 1.02rem; }
.btn-sm { padding: 10px 16px; font-size: .85rem; }
.btn-primary { background: var(--sky); color: #061127; box-shadow: 0 10px 30px -10px rgba(56, 182, 255, .6); }
.btn-ghost { background: transparent; color: var(--head); border-color: rgba(169, 186, 224, .35); }
.btn .ar { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn-primary:hover { background: var(--sky-2); }
  .btn-ghost:hover { border-color: var(--sky); background: rgba(56, 182, 255, .08); }
  .btn:hover .ar { transform: translateX(3px); }
}
.ar path, .ck path, .chev path { fill: none; stroke: currentColor; stroke-width: 1.8px; stroke-linecap: round; stroke-linejoin: round; }
.ck path { stroke-width: 2px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sky-2); min-height: 44px; }
.text-link .ar { width: 16px; height: 16px; transition: transform .2s var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration: none; color: #fff; }
  .text-link:hover .ar { transform: translateX(3px); }
}

/* ---------- navigation (sticky; same markup on every page) ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 15, 34, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .nav-in { max-width: var(--navwrap); margin: 0 auto; padding: 0 var(--gut); height: 74px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none !important; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; }
.brand-name { font-weight: 700; font-size: 1.14rem; letter-spacing: -.01em; color: var(--head); white-space: nowrap; }
.brand-name b { color: var(--sky); font-weight: 700; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { color: var(--ink-2); font-size: .9rem; font-weight: 500; padding: 10px 0; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--head); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; margin-left: auto; }
.nav-burger {
  display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--head); transition: transform .25s var(--ease-soft), opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { display: none; }
.nav-short { display: none; }

@media (max-width: 1240px) {
  .nav .nav-in { gap: 28px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav .nav-in { gap: 16px; }
  .nav-drawer.open {
    display: flex; flex-direction: column; padding: 8px var(--gut) 24px;
    border-top: 1px solid var(--line-soft); background: rgba(7, 15, 34, .97);
    max-height: calc(100vh - 74px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-drawer a:not(.btn) { padding: 13px 0; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line-soft); }
  .nav-drawer a:not(.btn):hover { color: var(--head); text-decoration: none; }
  .nav-drawer .btn { margin-top: 14px; }
  .nav-drawer .btn + .btn { margin-top: 10px; }
}
@media (max-width: 640px) {
  .nav .nav-in { height: 62px; gap: 12px; }
  .brand img { height: 30px; }
  .brand-name { font-size: 1.02rem; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta:not(:has(.nav-short)) { display: none; }
  .nav-cta:not(:has(.nav-short)) + .nav-burger { margin-left: auto; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .nav-drawer.open { max-height: calc(100vh - 62px); }
}

/* ---------- page frame: the spine ---------- */

main { position: relative; display: block; container-type: inline-size; }
.spine {
  --cl: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--gut));
  position: absolute; top: 0; bottom: 0; width: 2px; z-index: 1; pointer-events: none;
  left: max(var(--spine-min, 12px), calc(var(--cl) - 104px));
  background: linear-gradient(180deg, rgba(56, 182, 255, 0), rgba(56, 182, 255, .28) 2%, rgba(30, 101, 217, .28) 98%, rgba(30, 101, 217, 0));
}
.spine i {
  position: absolute; left: -1px; top: -240px; width: 4px; height: 240px; border-radius: 4px;
  background: linear-gradient(180deg, rgba(101, 210, 255, 0), #65D2FF);
  box-shadow: 0 0 18px #38B6FF;
  animation: spine-signal var(--spine-dur, 20s) cubic-bezier(.45, 0, .2, 1) infinite;
  will-change: transform;
}
@keyframes spine-signal { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, var(--travel, 8200px), 0); } }

section { position: relative; }
.sec { padding: var(--secpad) 0; }
.sec-head { max-width: 800px; margin-bottom: 56px; position: relative; }
.sec-head h2 { font-size: var(--h2); font-weight: 800; line-height: 1.1; }
.sec-head .lede { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.sec-head .lede a { text-decoration: underline; text-underline-offset: 3px; }
.sec-head .lede b { color: var(--head); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: 5fr 7fr; column-gap: 72px; align-items: end; }
.sec-head.split .lede { margin-top: 0; }

/* the vertebra at every chapter, centred on the spine thread */
.sec-head h1, .sec-head h2, .final-copy h2 { position: relative; }
.node {
  --cl: calc(max(0px, (100cqw - var(--wrap)) / 2) + var(--gut));
  --node-w: 14px;
  position: absolute; top: 12px; top: calc(.5lh - 12px); width: var(--node-w); height: 24px; border-radius: 7px;
  left: calc(max(var(--spine-min, 12px), calc(var(--cl) - 104px)) + 1px - var(--node-w) / 2 - var(--cl));
  background: linear-gradient(180deg, #3FB6FD, #1E65D9);
  box-shadow: 0 0 0 5px rgba(56, 182, 255, .12), 0 0 22px rgba(56, 182, 255, .55);
}
.sec-head.center .node { display: none; }

/* ---------- hero ---------- */

.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(30, 101, 217, .28), transparent 70%),
    radial-gradient(600px 400px at 10% 0%, rgba(56, 182, 255, .10), transparent 70%);
}
.hero .wrap { max-width: 1400px; }
.hero-in { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: var(--h1); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--sky); }
.hero .lede { margin-top: 26px; font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-alt { margin-top: 14px; }
.trust { margin-top: 30px; display: flex; align-items: center; gap: 22px; }
.trust p { font-size: .9rem; color: var(--ink-3); max-width: 34ch; line-height: 1.5; }
.badges { display: flex; gap: 10px; flex: 0 0 auto; }
.badges img { height: 48px; width: auto; border-radius: 8px; background: #fff; padding: 3px 5px; }

/* showreel: muted loop in a bezel, tap opens the full film with sound */
.reel { position: relative; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(101, 210, 255, .16); box-shadow: 0 50px 120px -40px rgba(30, 101, 217, .55); }
.reel-open {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; margin: 0;
  background: #050B1A; border-radius: var(--rmedia); overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.reel-open img, .reel-open video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-open video { opacity: 0; transition: opacity .5s ease; }
.reel.is-playing .reel-open video { opacity: 1; }
.reel-open:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 4px; }
.reel-play {
  position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 9px; border-radius: 999px; background: rgba(5, 11, 26, .7); color: #fff;
  border: 1px solid rgba(255, 255, 255, .2); font: 600 .8rem var(--sans);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s ease, transform .2s var(--ease-soft);
}
.reel-play svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #fff; color: #0A1428; }
@media (hover: hover) and (pointer: fine) {
  .reel-open:hover .reel-play { background: rgba(30, 101, 217, .85); }
}
.reel-open:active .reel-play { transform: scale(.97); }
.showreel-dialog { margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; }
.showreel-dialog::backdrop { background: rgba(3, 8, 20, .88); }
.showreel-dialog video { display: block; aspect-ratio: 16 / 9; width: min(92vw, calc(86vh * 16 / 9)); height: auto; border-radius: 12px; background: #000; }
.showreel-dialog[data-shape="9x16"] video { aspect-ratio: 9 / 16; width: auto; height: min(86vh, calc(92vw * 16 / 9)); }
.showreel-close { position: absolute; top: -56px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .12); }
.showreel-close svg { width: 20px; height: 20px; }
.showreel-close:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 2px; }

/* ---------- brand wall (live marquee) ---------- */

.brandwall {
  padding: 64px 0 70px; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #0A1428, #081225);
}
.bw-title { text-align: center; font-size: 1.5rem; font-weight: 800; line-height: 1.25; margin-bottom: 40px; }
.bw-rows {
  display: flex; flex-direction: column; gap: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.bw-row { overflow: hidden; }
.bw-track { --logo: 1; display: flex; align-items: center; gap: 62px; width: max-content; will-change: transform; }
.bw-track img { height: calc(var(--h, 32) * var(--logo) * 1px); width: auto; max-width: none; flex: 0 0 auto; opacity: .8; transition: opacity .25s ease; }
.bw-a { animation: bw-left 68s linear infinite; }
.bw-b { animation: bw-right 76s linear infinite; }
@keyframes bw-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes bw-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (hover: hover) and (pointer: fine) {
  .brandwall:hover .bw-track { animation-play-state: paused; }
  .bw-track img:hover { opacity: 1; }
}

/* ---------- harness demo (the owner's own code; live styles) ---------- */

.harness { padding-top: 40px; }
.stage { position: relative; padding: 26px 26px 30px; border-radius: 28px; background: linear-gradient(180deg, rgba(16, 30, 66, .55), rgba(7, 15, 34, 0)); border: 1px solid rgba(101, 210, 255, .10); }
.harness-pills { position: relative; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; margin-bottom: 18px; }
.hp-ind {
  position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; z-index: 0; pointer-events: none;
  background: rgba(101, 210, 255, .09); border: 1px solid rgba(101, 210, 255, .34); border-radius: 10px;
  transition: left .4s var(--ease-soft), top .4s var(--ease-soft), width .4s var(--ease-soft), height .4s var(--ease-soft), opacity .3s ease;
}
.hp {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--ink-3); font-size: .86rem; font-weight: 600;
  transition: color .18s ease, background-color .25s ease, border-color .25s ease;
}
.hp:hover { color: #fff; }
.hp.on { color: #fff; }
html:not(.js) .hp.on { background: rgba(101, 210, 255, .09); border-color: rgba(101, 210, 255, .34); }
.hp-badge { font-family: var(--mono); font-size: .6rem; font-weight: 600; letter-spacing: .04em; color: var(--mint); }
.hp-badge.alt { color: var(--ink-3); }
.hp.on .hp-badge { color: var(--sky-2); }
.hp-logo { display: block; width: 15px; height: 15px; opacity: .7; }
.hp.on .hp-logo, .hp:hover .hp-logo { opacity: 1; }
.hp-more { display: inline-flex; align-items: center; padding: 8px 6px; font-size: .8rem; color: var(--ink-3); }
.hwin { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hpane {
  --bg: #0A1120; --sbg: #0D1526; --line2: rgba(255, 255, 255, .09); --txt: #EAF1FF; --sub: #7C8DB8;
  --bub: rgba(255, 255, 255, .06); --sact: rgba(255, 255, 255, .07); --accent: #65D2FF; --inbg: rgba(255, 255, 255, .03);
  display: none; flex-direction: column; height: 720px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(101, 210, 255, .15); background: var(--bg); color: var(--txt); font-size: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hpane:not([hidden]) { display: flex; }
.w-claude, .w-code { --bg: #262624; --sbg: #1F1E1D; --line2: #33322F; --txt: #ECEAE4; --sub: #8F8B81; --bub: #33322F; --sact: #33322F; --accent: #7FB2FF; --inbg: transparent; }
.w-codex { --bg: #0F0F10; --sbg: #171718; --line2: #2A2A2C; --txt: #ECECF1; --sub: #8E8EA0; --bub: #2A2A2C; --sact: #2A2A2C; --accent: #65D2FF; --inbg: transparent; }
.w-cursor { --bg: #0B1020; --sbg: rgba(255, 255, 255, .025); }
.hp-title { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line2); background: var(--sbg); flex: 0 0 auto; }
.hp-dots { display: flex; gap: 5px; }
.hp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.hp-title .tt { font-family: var(--mono); font-size: .72rem; color: var(--sub); display: inline-flex; align-items: center; gap: 7px; }
.hp-title .tt img { opacity: .8; }
.hp-cols { flex: 1; display: flex; min-height: 0; }
.hp-side { width: 232px; flex: 0 0 auto; background: var(--sbg); border-right: 1px solid var(--line2); padding: 12px 10px; display: flex; flex-direction: column; overflow: hidden; }
.hp-word { font-size: .95rem; font-weight: 700; padding: 2px 10px 10px; color: var(--txt); display: flex; align-items: center; gap: 8px; }
.hp-seg { display: flex; gap: 4px; margin: 0 6px 10px; background: rgba(255, 255, 255, .05); border-radius: 9px; padding: 3px; }
.hp-seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: 7px; font-size: .72rem; color: var(--sub); }
.hp-seg .on { background: var(--sact); color: var(--txt); }
.hp-nav { display: flex; align-items: center; gap: 9px; padding: 5px 10px; border-radius: 7px; font-size: .75rem; color: var(--sub); }
.hp-nav .crc { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--sub); display: flex; align-items: center; justify-content: center; font-size: .68rem; flex: 0 0 auto; }
.hp-slbl { font-size: .68rem; color: var(--sub); padding: 10px 10px 4px; letter-spacing: .06em; text-transform: uppercase; }
.hp-sit { display: block; padding: 5px 10px; border-radius: 7px; font-size: .77rem; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-sit.on { background: var(--sact); color: var(--txt); }
.hp-me { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 12px 10px 4px; border-top: 1px solid var(--line2); }
.hp-me .av { width: 24px; height: 24px; border-radius: 50%; background: #4C7CF0; color: #fff; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hp-me .nm { display: block; font-size: .75rem; color: var(--txt); line-height: 1.2; }
.hp-me .pl2 { display: block; font-size: .62rem; color: var(--sub); line-height: 1.2; }
.hp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hp-body { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 24px 28px 8px; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 820px; margin: 0 auto; }
.hp-body::-webkit-scrollbar { width: 0; height: 0; }
.hp-body > * { flex-shrink: 0; }
.hpane .m { opacity: 0; transform: translateY(6px); }
.hpane.play .m { animation: hin .45s cubic-bezier(.16, 1, .3, 1) var(--d, .2s) forwards; }
@keyframes hin { to { opacity: 1; transform: none; } }
.hpane .tx { opacity: 0; display: block; min-width: 0; }
.hpane.play .tx { animation: hin .35s ease var(--dt, 1s) forwards; }
.hp-dts { position: absolute; top: 0; left: 0; display: flex; gap: 4px; padding: 6px 2px; opacity: 0; }
.hpane.play .hp-dts { opacity: 1; animation: hhide .25s var(--dt, 1s) forwards; }
.hp-dts i { width: 6px; height: 6px; border-radius: 50%; background: var(--sub); animation: hbob .9s ease infinite; }
.hp-dts i:nth-child(2) { animation-delay: .15s; }
.hp-dts i:nth-child(3) { animation-delay: .3s; }
@keyframes hhide { to { opacity: 0; visibility: hidden; } }
@keyframes hbob { 30% { transform: translateY(-4px); } 60% { transform: none; } }
html:not(.js) .hpane .m, html:not(.js) .hpane .tx, html:not(.js) .hp-acts { opacity: 1; transform: none; }
.hp-u { align-self: flex-end; max-width: 72%; background: var(--bub); padding: 9px 14px; border-radius: 16px 16px 6px; font-size: .82rem; line-height: 1.5; }
.hp-a { align-self: flex-start; max-width: 94%; font-size: .82rem; line-height: 1.6; position: relative; min-height: 20px; }
.hp-a b { font-weight: 600; color: var(--txt); }
.hp-tool {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .04em; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 5px 10px; border-radius: 6px;
}
.hp-tool.sk { border-style: dashed; }
.hp-tool i { font-style: normal; opacity: .65; font-weight: 500; }
.hp-tool img { opacity: .85; flex-shrink: 0; }
.hp-tool .ok { color: var(--accent); margin-left: 2px; }
.hp-card, .hp-app { display: block; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; margin-top: 10px; max-width: 400px; background: var(--sbg); }
.hp-chd { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-bottom: 1px solid var(--line2); font-size: .72rem; font-weight: 700; }
.hp-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .52rem; letter-spacing: .16em; font-weight: 700;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 2px 7px; border-radius: 4px;
}
.hp-live::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: hpulse 1.4s ease infinite; }
@keyframes hpulse { 50% { opacity: .4; } }
.hp-lrow { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: .72rem; border-top: 1px solid var(--line2); }
.hp-lrow .lb { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--sub); }
.hp-lrow .vl { font-family: var(--mono); font-size: .66rem; color: var(--accent); }
.hp-lrow .vl.w { color: #E8C07D; }
.hp-acts { display: flex; gap: 11px; margin-top: 9px; opacity: 0; }
.hpane.play .hp-acts { animation: hin .3s ease var(--da, 5s) forwards; }
.hp-acts svg { width: 13px; height: 13px; stroke: var(--sub); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.hp-inp { margin: 6px 28px 16px; display: flex; align-items: center; justify-content: space-between; background: var(--inbg); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 15px; color: var(--sub); font-size: .8rem; flex: 0 0 auto; }
.hp-inp.sm { margin: auto 0 0; padding: 9px 12px; font-size: .74rem; }
.hp-model { font-family: var(--mono); font-size: .66rem; color: var(--txt); border: 1px solid var(--line2); padding: 3px 9px; border-radius: 6px; }
.hp-big { display: block; padding: 12px 12px 4px; font-size: 1.35rem; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.hp-big small { display: block; font-size: .64rem; font-weight: 500; color: var(--sub); letter-spacing: 0; margin-top: 3px; }
.hp-chips { display: flex; gap: 5px; padding: 9px 12px 11px; flex-wrap: wrap; }
.hp-chip { font-family: var(--mono); font-size: .55rem; color: var(--sub); border: 1px solid var(--line2); padding: 3px 8px; border-radius: 5px; }
.hp-apph { display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-bottom: 1px solid var(--line2); background: rgba(255, 255, 255, .03); }
.hp-apph i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.hp-apph .url { flex: 1; margin-left: 6px; font-family: var(--mono); font-size: .6rem; color: var(--sub); }
.hp-apph .opn { font-family: var(--mono); font-size: .56rem; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 2px 8px; border-radius: 5px; font-weight: 700; }
.hp-apr { display: flex; align-items: center; gap: 8px; padding: 7px 11px; font-size: .68rem; border-top: 1px solid var(--line2); }
.hp-apr .oid { font-family: var(--mono); font-size: .58rem; color: var(--sub); flex: 0 0 auto; }
.hp-apr .onm { flex: 1; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-apr .ost { font-family: var(--mono); font-size: .52rem; padding: 2px 7px; border-radius: 4px; font-weight: 700; letter-spacing: .08em; flex: 0 0 auto; }
.hp-apr .ost.ok { color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.hp-apr .ost.pn { color: #E8C07D; border: 1px solid rgba(232, 192, 125, .3); background: rgba(232, 192, 125, .07); }
.hp-code2 { display: block; border: 1px solid var(--line2); border-radius: 9px; padding: 10px 0; margin-top: 10px; background: rgba(255, 255, 255, .025); font-family: var(--mono); font-size: .66rem; line-height: 1.75; max-width: 520px; }
.hp-code2 .c2 { display: block; padding: 0 14px; white-space: pre-wrap; }
.t-num { color: #65D2FF; font-weight: 600; }
.t-str { color: #9BE7C4; }
.t-kw { color: #8AB4FF; }
.t-cm { color: #7C8DB8; }
.cb-line { padding: 1px 16px; white-space: pre-wrap; }
.ln { display: inline-block; width: 26px; color: #7C8DB8; opacity: .55; }
.ed-files { width: 172px; flex: 0 0 auto; background: var(--sbg); border-right: 1px solid var(--line2); padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: .74rem; }
.ed-f { color: #7C8DB8; padding: 5px 9px; border-radius: 6px; }
.ed-f.on { background: rgba(56, 182, 255, .12); color: #65D2FF; }
.ed-code { flex: 1; padding: 18px 0; font-family: var(--mono); font-size: .74rem; line-height: 1.95; min-width: 0; color: #A9BAE0; }
.ed-code .cb-line.add { background: rgba(44, 219, 161, .09); box-shadow: inset 2px 0 0 #2CDBA1; }
.ed-diff { margin: 14px 16px 0; font-family: var(--mono); font-size: .66rem; color: #2CDBA1; }
.ed-chat { width: 300px; flex: 0 0 auto; border-left: 1px solid var(--line2); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, .02); }

/* ---------- problem ---------- */

.pain-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pain { padding: 36px 48px 8px 0; }
.pain + .pain { padding-left: 48px; border-left: 1px solid var(--line); }
.pain h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.pain p { color: var(--ink-2); line-height: 1.7; }
.pain .x { display: block; width: 28px; height: 28px; border-radius: 50%; margin-bottom: 18px; background: rgba(255, 122, 147, .12); position: relative; }
.pain .x::before, .pain .x::after { content: ''; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.pain .x::after { transform: rotate(-45deg); }
.closer { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 1.6rem; font-weight: 700; line-height: 1.45; color: var(--head); }
.closer em { font-style: normal; color: var(--sky); }

/* ---------- how it works ---------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-bottom: 48px; }
.steps::before { content: ''; position: absolute; left: 16px; right: 16px; top: 16px; height: 2px; background: linear-gradient(90deg, #38B6FF, rgba(30, 101, 217, .2)); }
.step { position: relative; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: .94rem; line-height: 1.65; }
.step .n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: #071021; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 6px var(--ground); }
.flow { position: relative; border-radius: var(--rpanel); padding: 44px 40px 28px; background: linear-gradient(180deg, #0B1631, #091227); border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.flow-svg { display: block; width: 100%; height: auto; }
.fl-src text, .fl-house-label, .fl-api text, .fl-agent text, .fl-col { text-anchor: middle; }
.fl-src rect { fill: #101E42; stroke: rgba(101, 210, 255, .18); }
.fl-src text { font-family: var(--mono); font-size: 12.5px; fill: #C9D6F2; }
.fl-rows text { font-family: var(--mono); font-size: 10.5px; fill: #A9BAE0; }
.fl-line { stroke: #2A6FE0; stroke-width: 1.6; opacity: .55; fill: none; }
.fl-line.hot { stroke: #38B6FF; stroke-width: 2; opacity: .75; }
.fl-pulse { fill: none; stroke: #65D2FF; stroke-width: 6; stroke-linecap: round; }
.fl-house rect { fill: #0C1830; stroke: rgba(56, 182, 255, .35); }
.fl-house-label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; fill: #8193BF; }
.fl-api rect { fill: #1E65D9; }
.fl-api-t { font-family: var(--mono); font-size: 13px; fill: #fff; }
.fl-api-s { font-family: var(--mono); font-size: 9.5px; fill: #CFE3FF; }
.fl-agent rect { fill: #101E42; stroke: rgba(101, 210, 255, .3); }
.fl-agent-t { font-family: var(--mono); font-size: 12px; fill: #EAF1FF; }
.fl-agent-s { font-family: var(--mono); font-size: 9.5px; fill: #8193BF; }
.fl-col { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; fill: #8193BF; }
.fl-pulse.p0 { stroke-dasharray: 1 238.4; animation: flp0 3.6s linear infinite; }
.fl-pulse.p1 { stroke-dasharray: 1 227.4; animation: flp1 3.6s linear infinite .45s; }
.fl-pulse.p2 { stroke-dasharray: 1 227.4; animation: flp2 3.6s linear infinite .9s; }
.fl-pulse.p3 { stroke-dasharray: 1 238.3; animation: flp3 3.6s linear infinite 1.35s; }
.fl-pulse.p4 { stroke-dasharray: 1 142; animation: flp4 1.6s linear infinite 1.8s; }
.fl-pulse.p5 { stroke-dasharray: 1 92; animation: flp5 1.6s linear infinite 2.25s; }
@keyframes flp0 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -198.4; } }
@keyframes flp1 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -187.4; } }
@keyframes flp2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -187.4; } }
@keyframes flp3 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -198.3; } }
@keyframes flp4 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -102; } }
@keyframes flp5 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -52; } }
.flow-m { display: none; }
.fm-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--ink-3); margin: 16px 0 8px; text-transform: uppercase; }
.fm-label:first-child { margin-top: 0; }
.fm-src { display: inline-block; margin: 0 6px 8px 0; padding: 7px 11px; border-radius: 8px; background: #101E42; border: 1px solid rgba(101, 210, 255, .18); font-family: var(--mono); font-size: .74rem; color: #C9D6F2; }
.fm-stage { background: #0C1830; border: 1px solid rgba(56, 182, 255, .3); border-radius: 12px; padding: 14px 16px; }
.fm-stage b { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 3px; }
.fm-stage span { color: var(--ink-3); font-size: .78rem; font-family: var(--mono); }
.fm-stage.deep { background: #101E42; }
.fm-arrow { position: relative; width: 2px; height: 28px; background: linear-gradient(180deg, #1E65D9, #38B6FF); margin: 6px 0 6px 24px; border-radius: 2px; }
.fm-arrow i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #65D2FF; box-shadow: 0 0 10px #38B6FF; animation: fmd 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes fmd { from { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(24px); opacity: 0; } }
.cta-row { display: flex; gap: 14px; align-items: center; margin-top: 40px; flex-wrap: wrap; }

/* ---------- layers ---------- */

.layer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.layer { position: relative; display: flex; flex-direction: column; border-radius: var(--rpanel); padding: 32px 32px 30px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.layer .vert { display: block; width: 12px; height: 20px; border-radius: 6px; margin-bottom: 22px; background: linear-gradient(180deg, #3FB6FD, #1E65D9); box-shadow: 0 0 16px rgba(56, 182, 255, .45); }
.layer.next .vert { background: transparent; box-shadow: none; border: 2px solid rgba(129, 147, 191, .6); }
.layer .kind { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-2); }
.layer.next .kind { color: var(--ink-3); }
.layer h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 10px; }
.layer p { color: var(--ink-2); line-height: 1.7; }
.layer .text-link { margin-top: auto; padding-top: 18px; font-size: .95rem; }
.layer:nth-child(1) { background: radial-gradient(420px 220px at 90% 0%, rgba(56, 182, 255, .16), transparent 70%), var(--card); }
.layer:nth-child(2) { background: radial-gradient(420px 220px at 50% 0%, rgba(44, 219, 161, .08), transparent 70%), var(--card); }

/* ---------- build ---------- */

.build-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bcard { border-radius: var(--rpanel); padding: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.bcard .kind { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-2); }
.bcard h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 10px; }
.bcard p { color: var(--ink-2); line-height: 1.7; }
.b1 { grid-column: span 7; background: radial-gradient(420px 220px at 90% 0%, rgba(56, 182, 255, .16), transparent 70%), var(--card); }
.b2 { grid-column: span 5; }
.b3 { grid-column: span 5; }
.b4 { grid-column: span 7; background: radial-gradient(420px 220px at 0% 100%, rgba(44, 219, 161, .10), transparent 70%), var(--card); }

/* ---------- skills ---------- */

.skills-in, .whynot-in, .faq-in { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.skills-in .sec-head, .whynot-in .sec-head, .faq-in .sec-head { margin-bottom: 0; }
.skill { padding: 26px 0 26px 28px; border-top: 1px solid var(--line); position: relative; }
.skill:last-child { border-bottom: 1px solid var(--line); }
.skill::before { content: ''; position: absolute; left: 0; top: 32px; width: 10px; height: 16px; border-radius: 5px; background: linear-gradient(180deg, #3FB6FD, #1E65D9); }
.skill h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.skill p { color: var(--ink-2); line-height: 1.65; }

/* ---------- coverage ---------- */

.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter { padding: 30px 26px 28px; border-left: 1px solid var(--line); }
.counter:first-child { border-left: 0; padding-left: 0; }
.counter .v { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--sky-2); font-variant-numeric: tabular-nums; }
.counter .v small { font-size: 1.2rem; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.counter .k { margin-top: 12px; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.catalog { border-radius: var(--rpanel); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.cat-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 18px 26px; border-top: 1px solid var(--line); align-items: center; }
.cat-row:first-child { border-top: 0; }
.cat-name { font-weight: 700; color: var(--head); display: flex; align-items: center; gap: 12px; }
.cat-name .live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(44, 219, 161, .18); flex: 0 0 auto; }
.cat-desc { color: var(--ink-2); font-size: .95rem; }
.cov-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cov-panel { border-radius: var(--rpanel); padding: 28px; background: var(--card); border: 1px solid var(--line); }
.cov-panel h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.lay-row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.lay-row b { color: var(--head); }
.lay-row span { color: var(--ink-2); }
.fresh-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: .94rem; color: var(--ink-2); }
.fresh-row span:last-child { font-family: var(--mono); color: var(--mint); }
.fresh-note { margin-top: 12px; font-size: .88rem; color: var(--ink-3); }

/* ---------- use cases ---------- */

.uc-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); margin-bottom: 24px; }
.uct { padding: 10px 18px; border-radius: 9px; border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: background-color .2s ease, color .2s ease; }
.uct.on { background: var(--sky); color: #061127; }
@media (hover: hover) and (pointer: fine) { .uct:not(.on):hover { color: var(--head); } }
.ucp { display: none; grid-template-columns: 1fr 1fr; gap: 14px; }
.ucp.on { display: grid; }
.prompt { border-radius: 14px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); }
.p-bar { display: block; font-family: var(--mono); font-size: .7rem; color: var(--mint); margin-bottom: 8px; }
.prompt b { font-family: var(--mono); font-weight: 500; font-size: .86rem; line-height: 1.6; color: var(--head); }
.determinism { margin-top: 28px; max-width: 780px; color: var(--ink-2); line-height: 1.7; padding: 22px 26px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.determinism b { color: var(--head); }

/* ---------- pricing ---------- */

.pricing-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.pricing-copy .sec-head { margin-bottom: 24px; }
.pricing-copy p { color: var(--ink-2); line-height: 1.7; margin-bottom: 16px; }
.pricing-copy p b { color: var(--head); }
.pricing-copy .closer { font-size: 1.6rem; margin-top: 56px; padding-top: 40px; }
.spec { border-radius: var(--rpanel); padding: 28px; background: var(--card); border: 1px solid var(--line); }
.spec-title { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); margin-bottom: 10px; }
.spec-row { display: grid; grid-template-columns: 1fr 84px 90px; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); align-items: center; }
.spec-row b { text-align: right; font-family: var(--mono); color: var(--sky-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.spec-legend b { color: var(--ink-3); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.spec-foot { margin-top: 14px; font-size: .8rem; color: var(--ink-3); line-height: 1.6; }
.price-head { margin: 88px 0 28px; max-width: 860px; }
.price-head h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.price-head p { color: var(--ink-2); line-height: 1.7; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: var(--rpanel); padding: 32px; background: var(--card); border: 1px solid var(--line); }
.plan .btn { margin-top: auto; }
.pc-tier { font-family: var(--mono); font-size: .82rem; color: var(--sky-2); }
.pc-price { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--head); margin: 10px 0 12px; line-height: 1; }
.pc-price span { font-size: 1rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pc-desc { color: var(--ink-2); font-size: .94rem; line-height: 1.65; margin-bottom: 28px; }
.pc-renew { margin: auto 0 10px; color: var(--ink-3); font-size: .8rem; line-height: 1.5; }
.plan .pc-renew + .btn { margin-top: 0; }
.plan.featured { background: linear-gradient(180deg, #10265A, #0C1A3D); border-color: rgba(56, 182, 255, .55); box-shadow: 0 30px 70px -30px rgba(56, 182, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.price-note { margin-top: 22px; color: var(--ink-3); font-size: .9rem; line-height: 1.6; max-width: 900px; }

/* ---------- security ---------- */

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tcard { border-radius: var(--rpanel); padding: 28px 30px; background: var(--card); border: 1px solid var(--line); }
.tcard h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.tcard p { color: var(--ink-2); line-height: 1.7; }
.tcard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.tcard.wide h3 { margin: 0; font-size: 1.3rem; }
.philosophy { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); font-size: 1.3rem; line-height: 1.6; color: var(--ink-2); }
.philosophy b { color: var(--head); }

/* ---------- provenance ---------- */

.prov-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.prov-copy .sec-head { margin-bottom: 24px; }
.prov-copy p { color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.prov-copy p b { color: var(--head); }
.prov-copy p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(101, 210, 255, .45); }
.prov-copy .prov-closer { color: var(--head); font-weight: 600; }
.prov-copy .text-link { text-decoration: none; }
.depts { display: grid; gap: 14px; }
.dept { border-radius: var(--rpanel); padding: 22px 26px; background: var(--card); border: 1px solid var(--line); }
.dept h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.dept p { color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pdot 2s ease-in-out infinite; }
@keyframes pdot { 0%, 100% { box-shadow: 0 0 0 0 rgba(44, 219, 161, .55); } 50% { box-shadow: 0 0 0 7px rgba(44, 219, 161, 0); } }

/* ---------- console ---------- */

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shot.s0 { grid-column: 1 / -1; }
.shot-frame { border-radius: var(--rshot); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.shot img { width: 100%; height: auto; }
.shot.s0 .shot-frame { padding: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(101, 210, 255, .16); border-radius: 22px; }
.shot.s0 img { border-radius: 14px; }
.shot figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 3px; }
.shot figcaption b { color: var(--head); font-size: .98rem; }
.shot figcaption span { color: var(--ink-2); font-size: .9rem; line-height: 1.55; }

/* ---------- why not build it ---------- */

.wn { padding: 26px 0; border-top: 1px solid var(--line); }
.wn:last-child { border-bottom: 1px solid var(--line); }
.wn h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.wn p { color: var(--ink-2); line-height: 1.72; }

/* ---------- compare ---------- */

.cmp-wrap { border-radius: var(--rpanel); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cmp th { text-align: left; padding: 18px 22px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; border-bottom: 1px solid var(--line); }
.cmp td { padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; line-height: 1.55; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--head); font-weight: 600; width: 210px; }
.cmp .eb { background: rgba(56, 182, 255, .08); color: var(--head); }
.cmp th.eb { color: var(--sky-2); }
.cmp-caption { margin-top: 24px; color: var(--ink-2); font-size: 1.02rem; }

/* ---------- faq ---------- */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.02rem; color: var(--head); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { width: 18px; height: 18px; flex: 0 0 auto; color: var(--sky); transition: transform .25s var(--ease-soft); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); line-height: 1.75; max-width: 72ch; }
.faq .a a, .faq-more a { text-decoration: underline; text-underline-offset: 3px; }
.faq-more { margin-top: 18px; color: var(--ink-2); font-size: .98rem; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: #fff; } }

/* ---------- final + lead form ---------- */

.final { background: radial-gradient(900px 500px at 80% 60%, rgba(30, 101, 217, .30), transparent 70%); }
.final-in { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: center; }
.final-copy h2 { font-size: var(--h2); font-weight: 800; line-height: 1.08; margin-bottom: 20px; }
.final-copy > p { color: var(--ink-2); line-height: 1.7; font-size: 1.05rem; }
.usps { list-style: none; margin: 26px 0 22px; display: grid; gap: 12px; }
.usps li { display: flex; align-items: center; gap: 12px; color: var(--head); font-size: .98rem; }
.usps .ck { width: 18px; height: 18px; color: var(--mint); flex: 0 0 auto; }
.final-copy .final-alt { color: var(--ink-2); font-size: .95rem; margin-top: 8px; }
.final-alt a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.esf-card { border-radius: 22px; padding: 32px; background: linear-gradient(180deg, #0F1D3F, #0B1631); border: 1px solid rgba(101, 210, 255, .2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); scroll-margin-top: 100px; }
.esf-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 26px; }
.esf-seg { height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s ease; }
.esf-seg.esf-on { background: var(--sky); }
.esf-seg.esf-done { background: var(--mint); }
.esf-slbl { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }
.esf-head h3 { font-size: 1.3rem; font-weight: 700; margin: 8px 0 4px; color: var(--head); }
.esf-head p { color: var(--ink-3); font-size: .9rem; }
.esf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.esf-step { display: none; margin-top: 24px; }
.esf-step.esf-active { display: block; }
.esf-revs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.esf-rev { padding: 16px; border-radius: 12px; border: 1px solid rgba(101, 210, 255, .18); background: rgba(255, 255, 255, .03); color: var(--head); font-weight: 600; font-size: .98rem; transition: border-color .2s ease, background-color .2s ease; }
.esf-rev.esf-sel { border-color: var(--sky); background: rgba(30, 101, 217, .22); }
@media (hover: hover) and (pointer: fine) { .esf-rev:hover, .esf-chip:hover { border-color: var(--sky); } }
.esf-cta { width: 100%; }
.esf-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.esf-err { display: none; margin-top: 6px; color: var(--red); font-size: .82rem; }
.esf-err.esf-show { display: block; }
.esf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.esf-f { display: flex; flex-direction: column; margin-bottom: 14px; min-width: 0; border: 0; }
.esf-f label, .esf-f legend { font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; padding: 0; }
.esf-f small { font-weight: 500; color: var(--ink-3); }
.esf-f input, .esf-f select, .esf-f textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(101, 210, 255, .18);
  background: #0C1830; color: var(--head); font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.esf-f textarea { resize: vertical; min-height: 64px; }
.esf-f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2365D2FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.esf-f input:focus, .esf-f select:focus, .esf-f textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 182, 255, .18); }
.esf-f input.esf-bad, .esf-f select.esf-bad { border-color: var(--red); }
.esf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.esf-chip { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(101, 210, 255, .18); background: rgba(255, 255, 255, .03); color: var(--head); font-weight: 600; font-size: .88rem; font-family: var(--mono); transition: border-color .2s ease, background-color .2s ease; }
.esf-chip.esf-sel { border-color: var(--sky); background: rgba(30, 101, 217, .22); }
.esf-nav { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.esf-nav .esf-cta { flex: 1; }
.esf-legal { margin-top: 12px; color: var(--ink-3); font-size: .8rem; text-align: center; }
.esf-back { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.esf-back:hover { color: var(--head); }
.esf-load { pointer-events: none; }
.esf-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(6, 17, 39, .3); border-top-color: #061127; animation: esf-spin .7s linear infinite; }
@keyframes esf-spin { to { transform: rotate(360deg); } }
#esf-cal { width: 100%; height: 640px; border: 0; border-radius: 12px; background: #fff; }
.esf-skip { display: block; width: 100%; min-height: 44px; margin-top: 12px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.esf-ty { display: none; text-align: center; padding: 24px 0 8px; }
.esf-ty.esf-show { display: block; }
.esf-tycheck { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #061127; background: var(--mint); }
.esf-tytitle { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.esf-tysub { color: var(--ink-2); line-height: 1.65; }

/* ---------- footer (one footer on every page) ---------- */

footer { padding: 72px 0 36px; background: #050B1A; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1fr; gap: 48px; }
.foot-brand .brand-name { font-size: 1.06rem; }
.foot-brand .brand img { height: 34px; }
.foot-powered { display: block; margin: 18px 0 20px; color: #8E9FC8; font-size: .9rem; line-height: 1.65; max-width: 38ch; }
.foot-powered a { color: var(--ink); font-weight: 600; }
.foot-contact { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.foot-contact span { color: #8E9FC8; }
.foot-contact a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-h { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot-col a, footer .cc-change { color: #8E9FC8; font-size: .9rem; line-height: 1.4; transition: color .2s ease; }
.foot-col a:hover, footer .cc-change:hover { color: var(--ink); text-decoration: none; }
footer .cc-change { display: inline; padding: 0; margin: 0; border: 0; background: none; text-align: left; text-decoration: none; cursor: pointer; }
footer > .cc-change { display: block; width: fit-content; margin: 16px auto 0; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(101, 210, 255, .09); display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.foot-bottom p { color: #8E9FC8; font-size: .8rem; line-height: 1.6; max-width: 70ch; }
.foot-bottom a { color: var(--ink); font-size: .84rem; font-weight: 600; white-space: nowrap; }

/* ---------- cookie choice card (markup from consent.js) ---------- */

body > .cc-banner {
  left: auto; right: 28px; bottom: 24px; transform: none; width: 420px; max-width: calc(100vw - 32px);
  flex-wrap: wrap; gap: 12px 10px; padding: 18px 18px 14px; border-radius: 14px;
  font-family: var(--sans); font-size: .9rem; line-height: 1.45;
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, .55);
}
body > .cc-banner p { flex: 1 1 100%; }
body > .cc-banner .cc-actions { flex: 1 1 auto; }
body > .cc-banner .cc-actions button { flex: 1 1 0; min-width: 0; min-height: 40px; border-radius: 9px; font-size: .88rem; }
body > .cc-banner > a { min-height: 40px; padding: 0 6px; }

/* ---------- free tool page ---------- */

.tool-hero { padding: 88px 0 8px; background: radial-gradient(900px 520px at 78% 30%, rgba(30, 101, 217, .26), transparent 70%); }
.tool-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 64px; align-items: center; margin-bottom: 64px; }
.tool-hero .sec-head { margin-bottom: 0; }
.tool-results:has(#results:empty):has(#msgs:empty) { display: none; }
.tool-results { margin-bottom: 56px; }
.tool-hero h1 { font-size: 3.1rem; font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.tool-hero .lede { font-size: 1.1rem; }
.toc { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc h2 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.toc ol { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; }
.toc a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.toc a:hover { color: var(--head); text-decoration: none; }
.tool { border-radius: 24px; padding: 28px; background: linear-gradient(180deg, #0F1D3F, #0B1631); border: 1px solid rgba(101, 210, 255, .2); box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .05); }
.tool > h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px;
  border: 1.5px dashed rgba(101, 210, 255, .38); border-radius: 16px; padding: 40px 24px; text-align: center; cursor: pointer;
  background: radial-gradient(420px 200px at 50% 0%, rgba(56, 182, 255, .08), transparent 70%);
  transition: border-color .2s ease, background-color .2s ease;
}
.drop:hover, .drop.over { border-color: var(--sky); background-color: rgba(56, 182, 255, .06); }
.drop:focus-within { outline: 2px solid var(--sky); outline-offset: 3px; }
.drop .drop-ic { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; display: grid; place-items: center; background: rgba(56, 182, 255, .12); color: var(--sky-2); }
.drop .drop-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop strong { display: block; font-size: 1.12rem; color: var(--head); text-wrap: balance; }
.drop span { color: var(--ink-2); font-size: .95rem; max-width: 52ch; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tool-note { color: var(--ink-3); font-size: .88rem; margin-top: 14px; }
.msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255, 122, 147, .1); color: var(--red); font-size: .93rem; }
.msg.ok { background: rgba(44, 219, 161, .08); color: var(--mint); }
#results { min-width: 0; }
.cur { margin-top: 36px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.cur:first-child { margin-top: 0; }
.cur h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cur .sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 20px; }
.mover { padding: 14px 18px; background: rgba(56, 182, 255, .07); border: 1px solid rgba(56, 182, 255, .22); border-radius: var(--r-md); margin-bottom: 20px; color: var(--ink); }
.chart { width: 100%; max-width: 820px; height: auto; display: block; margin-bottom: 8px; }
.chart text { fill: var(--ink-3); font: 11px var(--mono); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--ink-2); margin-bottom: 20px; }
.legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.tbl-wrap { overflow-x: auto; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(7, 15, 34, .4); }
.tbl { border-collapse: collapse; width: 100%; font-size: .88rem; }
.tbl th, .tbl td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; font-family: var(--mono); color: var(--ink-2); }
.tbl th:first-child, .tbl td:first-child { text-align: left; font-family: var(--sans); white-space: normal; min-width: 150px; color: var(--head); }
.tbl thead th { color: var(--ink-3); font-weight: 500; }
.periods { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.period { background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; min-width: 0; }
.period h4 { font-size: 1rem; margin-bottom: 2px; }
.period .meta { color: var(--ink-3); font-size: .8rem; margin-bottom: 14px; overflow-wrap: anywhere; }
.wf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: .85rem; align-items: center; }
.wf .lab { color: var(--ink-2); min-width: 0; }
.wf .val { font-family: var(--mono); text-align: right; }
.wf .bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; margin-bottom: 6px; background: var(--sky); }
.wf .bar.neg { background: var(--red); }
.wf .total { color: var(--head); font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.check { margin-top: 12px; font-size: .85rem; color: var(--mint); }
.check.off { color: var(--red); }
.period details { margin-top: 12px; font-size: .82rem; }
.period summary { cursor: pointer; color: var(--sky-2); }
.period details table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.period details td { padding: 4px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-2); overflow-wrap: anywhere; }
.period details td:last-child { text-align: right; font-family: var(--mono); padding-left: 10px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tool-cta { padding: 72px 0 24px; }
.tool-cta .cta-card { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; border-radius: 24px; padding: 44px 48px; border: 1px solid rgba(101, 210, 255, .2); background: radial-gradient(700px 360px at 90% 50%, rgba(30, 101, 217, .30), transparent 70%), var(--card); }
.tool-cta h2 { font-size: 2.1rem; line-height: 1.12; margin-bottom: 14px; }
.tool-cta p { color: var(--ink-2); line-height: 1.7; max-width: 62ch; }
.tool-cta p a { text-decoration: underline; text-underline-offset: 3px; }
.tool-cta .cta-row { margin-top: 0; flex-direction: column; align-items: stretch; }
.guide-block { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; padding: 64px 0; border-top: 1px solid var(--line); }
.guide-block:first-child { border-top: 0; }
.guide-block .sec-head { margin-bottom: 0; }
.guide-block .sec-head h2 { font-size: 2rem; line-height: 1.15; }
.guide-body p { color: var(--ink-2); line-height: 1.8; margin-bottom: 18px; }
.guide-body h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
.guide-body h3:first-child { margin-top: 0; }
.guide-body a { text-decoration: underline; text-underline-offset: 3px; }
.guide-body ol { padding-left: 22px; color: var(--ink-2); line-height: 1.75; }
.guide-body li { margin-bottom: 12px; }
.fam-list { border-radius: var(--rpanel); overflow: hidden; border: 1px solid var(--line); background: var(--card); margin-top: 8px; }
.fam-list div { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 14px 22px; border-top: 1px solid var(--line); }
.fam-list div:first-child { border-top: 0; }
.fam-list dt { color: var(--head); font-weight: 600; font-size: .95rem; }
.fam-list dd { color: var(--ink-2); font-size: .93rem; line-height: 1.6; }
.related { padding: 24px 0 var(--secpad); }
.related h2 { font-size: 1.6rem; margin-bottom: 20px; }
.related ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--head); font-weight: 600; font-size: .95rem; transition: border-color .2s ease; }
.related a .ar { width: 16px; height: 16px; flex: 0 0 auto; color: var(--sky-2); transition: transform .2s var(--ease-soft); }
@media (hover: hover) and (pointer: fine) {
  .related a:hover { border-color: rgba(56, 182, 255, .45); text-decoration: none; }
  .related a:hover .ar { transform: translateX(3px); }
}

/* ---------- responsive ---------- */

@media (max-width: 1320px) {
  .hero-in { grid-template-columns: 500px minmax(0, 1fr); gap: 44px; }
  :root { --h1: 3.3rem; }
}
@media (max-width: 1180px) {
  .hero-in { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; }
  :root { --h1: 3rem; }
  .hero .lede { font-size: 1.04rem; }
}
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 720px; }
  .reel { max-width: 900px; }
}
@media (max-width: 1120px) {
  .final-in { grid-template-columns: 1fr; gap: 48px; }
  .esf-card { max-width: 620px; }
  .tool-cta .cta-card { grid-template-columns: 1fr; gap: 28px; }
  .tool-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .tool-hero .sec-head { max-width: 760px; }
  .tool-cta .cta-row { flex-direction: row; align-items: center; }
  .related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --secpad: 92px; --h2: 2.35rem; }
  .sec-head.split { display: block; }
  .sec-head.split .lede { margin-top: 18px; }
  .skills-in, .whynot-in, .faq-in, .guide-block { grid-template-columns: 1fr; gap: 32px; }
  .pricing-top, .prov-in { grid-template-columns: 1fr; gap: 40px; }
  .plans, .layer-grid { grid-template-columns: 1fr; }
  .plan, .layer { max-width: 640px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .counter { padding: 26px 18px 24px 0; border-left: 0; }
  .counter:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .counter:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hp-side { display: none; }
  .ed-files { display: none; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  .cmp tr { border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 18px; margin-bottom: 12px; }
  .cmp td { padding: 8px 0; border-bottom: 0; border-top: 1px solid var(--line); font-size: .9rem; }
  .cmp td:first-child { width: auto; border-top: 0; padding: 0 0 10px; font-size: 1rem; font-weight: 700; }
  .cmp td[data-col]::before { content: attr(data-col); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
  .cmp td.eb { border-top: 0; margin-top: 6px; border-radius: 10px; padding: 10px 12px; }
  .cmp td.eb::before { color: var(--sky-2); }
  .fam-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  :root { --gut: 20px; --secpad: 76px; --h2: 1.95rem; --spine-min: 8px; }
  .btn { white-space: normal; text-align: center; }
  .nav .btn { white-space: nowrap; }
  .node { --node-w: 8px; height: 14px; top: 10px; top: calc(.5lh - 7px); border-radius: 4px; box-shadow: 0 0 0 3px rgba(56, 182, 255, .12), 0 0 14px rgba(56, 182, 255, .5); }
  .spine { background: linear-gradient(180deg, rgba(56, 182, 255, 0), rgba(56, 182, 255, .2) 2%, rgba(30, 101, 217, .2) 98%, rgba(30, 101, 217, 0)); }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { line-height: 1.12; }
  .sec-head .lede { font-size: 1rem; }
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 2.45rem; line-height: 1.04; }
  .hero .lede { font-size: 1rem; margin-top: 18px; }
  .ctas { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .ctas .btn { width: 100%; }
  .hero-alt { text-align: center; margin-top: 8px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
  .reel { max-width: 350px; width: 100%; margin: 0 auto; padding: 6px; border-radius: 22px; }
  .reel-open { aspect-ratio: 9 / 16; }
  .reel-play { right: 12px; bottom: 12px; }
  .brandwall { padding: 48px 0 52px; }
  .bw-title { font-size: 1.2rem; margin-bottom: 28px; padding: 0 20px; }
  .bw-rows { gap: 22px; }
  .bw-track { gap: 40px; --logo: .74; }
  .harness { padding-top: 24px; }
  .stage { padding: 16px 12px 18px; border-radius: 20px; }
  .harness-pills { justify-content: flex-start; }
  .hp { padding: 8px 12px; font-size: .82rem; }
  .hp-badge, .hp-more { display: none; }
  .hpane { height: auto; min-height: 520px; }
  .hp-cols { flex-direction: column; }
  .hp-body { padding: 16px 14px 6px; gap: 11px; overflow: visible; }
  .hp-u, .hp-a { max-width: 100%; font-size: .78rem; }
  .hp-card, .hp-app { max-width: 100%; }
  .hp-inp { margin: 6px 14px 12px; }
  .hp-tool { display: inline-block; max-width: 100%; line-height: 1.8; }
  .hp-tool img { display: inline-block; vertical-align: -1px; margin-right: 6px; }
  .ed-chat { width: auto; border-left: 0; border-top: 1px solid var(--line2); }
  .pain-grid, .steps, .build-grid, .ucp.on, .cov-cols, .trust-grid, .shots { grid-template-columns: 1fr; gap: 16px; }
  .pain { padding: 24px 0 0; }
  .pain + .pain { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .closer, .pricing-copy .closer { font-size: 1.2rem; padding-top: 28px; margin-top: 36px; }
  .steps { gap: 24px; }
  .steps::before { left: 15px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; background: linear-gradient(180deg, #38B6FF, rgba(30, 101, 217, .2)); }
  .step { padding-left: 52px; }
  .step .n { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 4px; }
  .flow { padding: 22px 18px; }
  .flow-svg { display: none; }
  .flow-m { display: block; }
  .build-grid .bcard { grid-column: auto; }
  .bcard, .plan, .tcard, .spec, .cov-panel, .layer { padding: 24px 20px; }
  .counter .v { font-size: 2.5rem; }
  .cat-row { grid-template-columns: 1fr; gap: 4px; padding: 15px 18px; }
  .spec-row { grid-template-columns: 1fr 64px 70px; font-size: .86rem; }
  .price-head { margin-top: 56px; }
  .uc-tabs { display: flex; flex-wrap: wrap; }
  .uct { flex: 1 1 40%; padding: 10px 8px; }
  .tcard.wide { grid-template-columns: 1fr; gap: 8px; }
  .philosophy { font-size: 1.05rem; }
  .shot.s0 { grid-column: auto; }
  .final-copy h2 { font-size: 1.95rem; }
  .esf-card { padding: 24px 20px; }
  .esf-row2 { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col { gap: 2px; }
  .foot-col a, footer .cc-change { padding: 8px 0; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-bottom a { white-space: normal; }
  body > .cc-banner { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px 16px; }
  body > .cc-banner .cc-actions button, body > .cc-banner > a { min-height: 44px; }
  .tool-hero { padding: 44px 0 24px; }
  .tool-hero h1 { font-size: 2.2rem; }
  .toc { gap: 4px 18px; }
  .tool { padding: 20px 16px; border-radius: 20px; }
  .tool-hero-in { margin-bottom: 40px; }
  .cur { padding: 20px 16px; border-radius: 20px; }
  .drop { min-height: 180px; padding: 28px 16px; }
  .periods { grid-template-columns: minmax(0, 1fr); }
  .tool-cta { padding-top: 48px; }
  .tool-cta .cta-card { padding: 28px 20px; }
  .tool-cta h2 { font-size: 1.6rem; }
  .tool-cta .cta-row { flex-direction: column; align-items: stretch; }
  .guide-block { padding: 48px 0; }
  .guide-block .sec-head h2 { font-size: 1.6rem; }
  .related ul { grid-template-columns: 1fr; }
}

@supports not (container-type: inline-size) {
  .node, .spine { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spine i, .fl-pulse, .fm-arrow i { display: none; }
  .hpane .m, .hpane .tx, .hp-acts { opacity: 1 !important; transform: none !important; }
  .hp-dts { display: none !important; }
  .bw-row { overflow-x: auto; }
}

@media print {
  .nav, footer, .toc, .drop, .tool-note, .actions, .tool-cta, .spine, .no-print, .cc-banner { display: none !important; }
  body { background: #fff; color: #071021; }
  .tool, .period { background: #fff; border-color: #ccd; box-shadow: none; }
  .tool-hero { background: none; padding-top: 0; }
  .tbl th, .tbl td, .wf .lab, .wf .val, .cur .sub, .period .meta, .tool-hero .lede, .guide-body p { color: #071021; }
  h1, h2, h3, h4 { color: #071021; }
}
