:root {
  --ink: #06070b;
  --ink2: #0d1018;
  --frost: #e9edf5;
  --dim: #939bb0;
  --line: rgba(233, 237, 245, 0.14);
  --volt: #c8ff2e;
  --ice: #b9cbff;
  --display: "Syne", "Instrument Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
body { background: var(--ink); color: var(--frost); font: 400 17px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--ice); letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.mono i, .foot-row i, .quote footer i { display: inline-block; width: 22px; height: 1px; background: currentColor; opacity: 0.5; vertical-align: middle; margin: 0 8px; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(6, 7, 11, 0.75)); }
main, .foot { position: relative; z-index: 2; }

/* corner chrome, no top bar */
.brand { position: fixed; top: 16px; left: calc(var(--gut) - 12px); z-index: 20; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.02em; padding: 9px 16px 9px 11px; border-radius: 999px; background: rgba(6, 7, 11, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); }
.brand svg { width: 26px; height: 26px; color: var(--volt); }
.corner { position: fixed; top: 16px; right: var(--gut); z-index: 20; display: flex; gap: 10px; align-items: center; }
.pill, .pause { font: 500 14px/1 var(--sans); padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(6, 7, 11, 0.55); backdrop-filter: blur(10px); color: var(--frost); text-decoration: none; cursor: pointer; }
.pill { background: var(--volt); color: var(--ink); border-color: var(--volt); font-weight: 600; }
.pause { display: flex; gap: 8px; align-items: center; }
.pi { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause[aria-pressed="true"] .pi { border: 0; border-left: 10px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }

/* N52 query console nav */
.console { position: fixed; left: var(--gut); bottom: 20px; z-index: 20; max-width: min(560px, calc(100vw - 2 * var(--gut))); transition: opacity 0.35s, transform 0.35s, visibility 0.35s; }
.console.away { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; }
.console-line { display: inline-flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: 400 13.5px/1 var(--mono); color: var(--frost); background: rgba(9, 11, 17, 0.78); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; cursor: pointer; white-space: nowrap; overflow: hidden; }
.prompt { color: var(--volt); }
.q { overflow: hidden; text-overflow: ellipsis; max-width: 440px; transition: max-width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.console.compact:not(:hover):not(:focus-within):not(.open) .q { max-width: 0; }
.caret { width: 8px; height: 15px; background: var(--volt); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.console-list { list-style: none; position: absolute; bottom: calc(100% + 8px); left: 0; width: 100%; background: rgba(9, 11, 17, 0.94); border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 280px; opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
.console.open .console-list { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.console-list a { display: flex; gap: 14px; padding: 9px 10px; border-radius: 6px; text-decoration: none; font: 400 14px/1.2 var(--mono); color: var(--dim); }
.console-list a span { color: var(--volt); opacity: 0.7; }
.console-list a:hover, .console-list a.on { background: rgba(200, 255, 46, 0.08); color: var(--frost); }

/* callouts projected from the object */
.tags { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.tag { position: absolute; left: 0; top: 0; font: 400 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--frost); padding: 7px 10px 7px 20px; border: 1px solid var(--line); background: rgba(6, 7, 11, 0.6); border-radius: 999px; opacity: 0; white-space: nowrap; will-change: transform, opacity; }
.tag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }

/* H34 particle mark over kinetic wordmark */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--gut); overflow: clip; }
.hero-copy { position: relative; padding-top: 17vh; max-width: 600px; }
.eyebrow { color: var(--dim); margin-bottom: 22px; }
h1 { font: 800 clamp(40px, 4.6vw, 70px)/0.98 var(--display); letter-spacing: -0.035em; }
h1 em { display: block; font-size: 1.04em; line-height: 1.02; margin-top: 6px; }
.lede { margin-top: 24px; max-width: 470px; color: #c6ccda; font-size: 18px; }
.ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 15px/1 var(--sans); padding: 16px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--frost); transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.btn.ghost:hover { background: rgba(233, 237, 245, 0.08); }
.hero-hint { margin-top: 30px; color: var(--dim); display: flex; gap: 10px; align-items: center; }
.hero-hint b { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); }
.wordmark { position: absolute; left: 0; right: 0; bottom: 5vh; display: flex; justify-content: center; font: 800 12.4vw/0.8 var(--display); letter-spacing: -0.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(233, 237, 245, 0.28); pointer-events: none; user-select: none; }
.wordmark span { display: inline-block; will-change: transform, opacity; }
.wordmark span:first-child { color: rgba(200, 255, 46, 0.1); -webkit-text-stroke-color: rgba(200, 255, 46, 0.6); }
.poster { position: absolute; right: 12vw; top: 18vh; width: min(34vw, 420px); color: var(--ice); opacity: 0.5; transition: opacity 1.2s; }
.gl-ready .poster { opacity: 0; }

/* pillars: tall sections, sticky copy, object on the other side */
.pillar { position: relative; min-height: 150vh; padding: 0 var(--gut); }
.pillar-copy { position: sticky; top: 18vh; max-width: 500px; padding: 28px 0; }
.pillar[data-side="right"] .pillar-copy { margin-left: auto; }
.readout { color: var(--dim); margin-bottom: 20px; }
.readout .n { color: var(--volt); }
.readout b { color: var(--frost); font-weight: 500; }
h2 { font: 800 clamp(34px, 4.2vw, 62px)/1 var(--display); letter-spacing: -0.03em; margin-bottom: 20px; }
h2 em { display: block; }
.pillar-copy > p:not(.readout) { color: #c6ccda; }
.facts { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.facts b { color: var(--frost); font-weight: 500; }

.kicker { color: var(--volt); margin-bottom: 20px; }
.proof, .estimate, .pricing, .contact { padding: 18vh var(--gut); }
.proof { min-height: 120vh; }
.big { font-size: clamp(40px, 6.4vw, 104px); max-width: 1100px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 9vh; border-top: 1px solid var(--line); }
.stats div { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.stats div + div { padding-left: 24px; }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 800 clamp(40px, 4.8vw, 76px)/1 var(--display); letter-spacing: -0.04em; }
.stats span { display: block; margin-top: 10px; color: var(--dim); font-size: 15px; }
.logos { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 42px; margin-top: 8vh; font: 600 20px/1 var(--display); color: rgba(233, 237, 245, 0.42); letter-spacing: -0.01em; }

.estimate { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; align-items: start; }
.est-head p:not(.kicker) { color: #c6ccda; max-width: 420px; }
.est { background: rgba(13, 16, 24, 0.78); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; gap: 26px; }
.est label { display: grid; gap: 12px; }
.est label span { display: flex; justify-content: space-between; color: var(--dim); font-size: 15px; }
.est output { font: 500 15px/1 var(--mono); color: var(--frost); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--volt) var(--fill, 10%), rgba(233, 237, 245, 0.16) var(--fill, 10%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--frost); border: 4px solid var(--volt); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--frost); border: 4px solid var(--volt); cursor: pointer; }
.est-out { border-top: 1px solid var(--line); padding-top: 22px; }
.est-out > .mono { color: var(--dim); }
.total { font: 800 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -0.04em; margin: 10px 0 16px; color: var(--volt); }
.est-out ul { list-style: none; display: grid; gap: 8px; color: var(--dim); }
.est-out ul li { display: flex; justify-content: space-between; }
.est-out ul b { color: var(--frost); font-weight: 500; }
.fine { margin-top: 16px; font-size: 13px; color: var(--dim); }

.quote { padding: 14vh var(--gut); display: flex; justify-content: center; }
.quote blockquote { max-width: 980px; }
.quote p { font: 300 italic clamp(28px, 3.4vw, 50px)/1.18 var(--serif); letter-spacing: -0.01em; }
.quote footer { margin-top: 28px; color: var(--dim); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 7vh; }
.plan { position: relative; background: rgba(13, 16, 24, 0.72); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(200, 255, 46, 0.55); box-shadow: 0 0 0 1px rgba(200, 255, 46, 0.2), 0 30px 80px -40px rgba(200, 255, 46, 0.4); }
.badge { position: absolute; top: 18px; right: 18px; color: var(--ink); background: var(--volt); padding: 6px 10px; border-radius: 999px; font-size: 11px; }
.plan h3 { font: 600 22px/1 var(--display); }
.price { margin: 22px 0 24px; display: flex; align-items: baseline; gap: 10px; }
.price b { font: 800 50px/1 var(--display); letter-spacing: -0.04em; }
.price span { color: var(--dim); }
.plan ul { list-style: none; flex: 1; margin-bottom: 28px; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); color: #c6ccda; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; min-height: 100vh; }
.contact-copy p:not(.kicker) { color: #c6ccda; max-width: 440px; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: rgba(13, 16, 24, 0.82); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.book label { display: grid; gap: 8px; font-size: 14px; color: var(--dim); }
.book .wide { grid-column: 1 / -1; }
.book input, .book select, .book textarea { font: 400 16px/1.3 var(--sans); color: var(--frost); background: rgba(6, 7, 11, 0.7); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
.book input:focus, .book select:focus, .book textarea:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.book .invalid { border-color: #ff7a6b; }
.done { color: var(--volt); font-size: 15px; min-height: 1em; }

.foot { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: clip; padding: 6vh var(--gut) 110px; border-top: 1px solid var(--line); background: linear-gradient(transparent, rgba(6, 7, 11, 0.9)); }
.foot-word { display: flex; justify-content: center; white-space: nowrap; font: 800 10.5vw/0.85 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(233, 237, 245, 0.22); }
.foot-word span:first-child { -webkit-text-stroke-color: rgba(200, 255, 46, 0.55); }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 4vh; color: var(--dim); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--volt); }
.foot-row span:last-child { flex-basis: 100%; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; }

:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

@media (max-width: 960px) {
  .estimate, .contact { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand { top: 18px; }
  .corner { top: 12px; gap: 6px; }
  .pill { display: none; }
  .pause { padding: 11px 14px; }
  .console { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .console-line { font-size: 12.5px; padding: 13px 14px; }
  .hero-copy { padding-top: 37vh; }
  h1 { font-size: 34px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .lede { margin-top: 16px; }
  .ctas { margin-top: 22px; }
  .lede { font-size: 16px; }
  .hero-hint { display: none; }
  .poster { right: 50%; transform: translateX(50%); top: 9vh; width: 46vw; }
  .wordmark { top: 26vh; bottom: auto; }
  .pillar { min-height: 170vh; padding-top: 30vh; }
  .pillar-copy { top: 48vh; padding: 22px 20px; margin: 0 -4px; background: rgba(9, 11, 17, 0.82); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 16px; }
  .pillar-copy > p:not(.readout) { font-size: 15px; }
  .facts { display: none; }
  h2 { font-size: 32px; }
  .big { font-size: 38px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div, .stats div + div { padding: 20px 12px 20px 0; }
  .stats div:nth-child(even) { padding-left: 12px; }
  .stats b { font-size: 34px; }
  .stats span { font-size: 13px; }
  .logos { gap: 12px 24px; font-size: 16px; }
  .proof, .estimate, .pricing, .contact { padding: 10vh var(--gut); }
  .proof { min-height: auto; }
  .est, .plan, .book { padding: 22px; }
  .book { grid-template-columns: 1fr; }
  .quote p { font-size: 26px; }
  .tags { display: none; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn, .console-list, .poster { transition: none; }
}
body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 96px; z-index: 15; pointer-events: none; background: linear-gradient(rgba(6, 7, 11, 0.92), rgba(6, 7, 11, 0)); }

/* sections keep clear of the fixed console */
.proof, .estimate, .pricing, .contact { padding-bottom: calc(18vh + 70px); }
.pillar { padding-bottom: 90px; }
/* fallback without WebGL: still drawings next to each product, nothing to pause */
.fig { display: none; }
.no-gl .pause, .no-gl .tags { display: none; }
.no-gl .pillar { display: flex; gap: 6vw; align-items: flex-start; min-height: 110vh; }
.no-gl .pillar[data-side="right"] .fig { order: -1; }
.no-gl .fig { display: block; position: sticky; top: 24vh; width: min(34vw, 380px); flex: none; color: var(--ice); opacity: 0.75; }
.no-gl .pillar[data-side="left"] .fig { margin-left: auto; }
@media (max-width: 760px) {
  .proof, .estimate, .pricing, .contact { padding-bottom: calc(10vh + 70px); }
  .no-gl .pillar { display: block; min-height: auto; padding: 8vh var(--gut); }
  .no-gl .pillar-copy { position: static; }
  .no-gl .fig { position: static; width: 50vw; margin: 0 auto 20px; }
}
