:root {
  --bg: #121b2e;
  --bg-2: #1a2b47;
  --panel: #1f3150;
  --line: #2a3d5e;
  --grid: rgba(148, 163, 184, .07);
  --teal: #18dec3;
  --teal-d: #0f8a79;
  --white: #ffffff;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --red: #f87171;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --max: 1240px;
  --r: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .num { color: var(--muted); margin-right: 10px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
h1, h2 { text-transform: uppercase; font-weight: 700; letter-spacing: -.035em; line-height: .96; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0; }
.lead { color: var(--soft); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; }
section { border-top: 1px solid var(--line); position: relative; }
/* frame: vertical rules + corner marks (drawing-sheet look) */
section > .wrap, footer > .wrap, .ticker-wrap > .wrap { position: relative; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
section > .wrap { padding-top: 112px; padding-bottom: 112px; padding-left: 32px; padding-right: 32px; }
section > .wrap::before, section > .wrap::after {
  content: "+"; position: absolute; top: -12px; font: 300 18px/1 var(--mono); color: var(--muted);
}
section > .wrap::before { left: -6px; }
section > .wrap::after { right: -6px; }
.eyebrow .num::before { content: "["; } .eyebrow .num::after { content: "]"; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 20px; border-radius: var(--r);
  font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #0b1424; }
.btn-primary:hover { background: #3be7d0; }
.btn-ghost { border-color: var(--line); color: var(--white); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--teal); }
.btn svg { width: 18px; height: 18px; }

/* ---------- loader (CAD boot) ---------- */
#boot {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); color: var(--muted); font-size: 13px;
  transition: opacity .5s;
}
#boot.done { opacity: 0; pointer-events: none; }
#boot .pct { font-size: 64px; color: var(--white); font-family: var(--mono); letter-spacing: -.03em; }
#boot .lines { margin-top: 18px; min-height: 120px; }
#boot .lines div { opacity: .9; }
#boot .lines b { color: var(--teal); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { #boot { display: none; } }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 27, 46, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { width: 150px; height: auto; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--soft); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--white); }
.lang { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 0; padding: 5px 9px; }
.lang b { color: var(--teal); font-weight: 400; }
@media (max-width: 860px) { .nav-links .hide-m { display: none; } }

/* ---------- hero ---------- */
.hero { border-top: 0; overflow: hidden; }
.hero > .wrap { padding-top: 56px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 78px); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; font-family: var(--mono); font-size: 12px; color: var(--soft); }
.tags span { border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; }
.tags span::before { content: "■"; color: var(--teal); margin-right: 8px; font-size: 9px; vertical-align: 1px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* CAD viewport */
.cad {
  position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: #0d1424; cursor: crosshair; user-select: none;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.cad-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted); background: #111a2c;
}
.cad-bar .dots { display: flex; gap: 6px; }
.cad-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.cad-bar .file b { color: var(--soft); font-weight: 400; }
.cad svg.drawing { width: 100%; height: auto; }
.cad .cmd {
  border-top: 1px solid var(--line); padding: 8px 14px; font-family: var(--mono); font-size: 12.5px;
  color: var(--soft); background: #111a2c; min-height: 56px;
}
.cad .cmd .hist { color: var(--muted); }
.cad .cmd .caret { display: inline-block; width: 7px; height: 14px; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cad .coords {
  position: absolute; left: 12px; top: 44px; font-family: var(--mono); font-size: 11.5px;
  color: var(--muted); background: rgba(13,20,36,.85); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line);
}
.cad .xhair { position: absolute; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cad:hover .xhair { opacity: 1; }
.cad .xh-h, .cad .xh-v { position: absolute; background: rgba(255,255,255,.45); }
.cad .xh-h { height: 1px; width: 100%; left: 0; }
.cad .xh-v { width: 1px; height: 100%; top: 0; }
.cad .xh-box { position: absolute; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.8); transform: translate(-6px, -6px); }

/* drawing strokes */
.drawing .obj { stroke: #e8eef7; stroke-width: 1.6; fill: none; }
.drawing .thin { stroke: #e8eef7; stroke-width: .8; fill: none; opacity: .8; }
.drawing .center { stroke: #f87171; stroke-width: .8; fill: none; stroke-dasharray: 14 4 2 4; opacity: .9; }
.drawing .dim { stroke: var(--teal); stroke-width: .8; fill: none; }
.drawing .dimtxt { fill: var(--teal); font: 12px var(--mono); }
.drawing .label { fill: var(--muted); font: 11px var(--mono); }
.drawing .hatch { stroke: #e8eef7; stroke-width: .5; opacity: .35; }
.drawing .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.drawing .draw.on { animation: draw var(--dur, .8s) ease-out forwards; }
.drawing .fade { opacity: 0; transition: opacity .4s; }
.drawing .fade.on { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- live demo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--r); background: rgba(31,49,80,.35);
}
.steps li::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--mono); color: var(--teal); font-size: 14px; padding-top: 3px;
}
.steps h3 { font-size: 18px; margin-bottom: 4px; }
.steps p { color: var(--soft); font-size: 15px; }

.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 32px; }
.spec div { background: var(--bg); padding: 18px; }
.spec b { display: block; font-size: 26px; letter-spacing: -.02em; }
.spec span { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* monitor (grafana) */
.monitor { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #0d1424; }
.monitor .cad-bar .live { color: var(--teal); }
.monitor .cad-bar .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 7px; animation: blink 1.4s steps(1) infinite; }
.monitor iframe { width: 100%; height: 380px; border: 0; display: block; background: #0d1424; }
.sim { padding: 18px; }
.sim canvas { width: 100%; height: 260px; display: block; }
.sim .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.sim .metrics div { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.sim .metrics b { font-size: 22px; font-family: var(--mono); font-weight: 500; }
.sim .metrics span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.prompt { display: flex; gap: 8px; margin-top: 14px; }
.prompt input {
  flex: 1; background: #111a2c; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--white); padding: 12px 14px; font: 14px var(--mono);
}
.prompt input:focus { outline: none; border-color: var(--teal); }
.note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: rgba(31,49,80,.3); }
.card .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 26px; }
.card .idx svg { width: 26px; height: 26px; color: var(--teal); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--soft); font-size: 15px; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
.why div { padding: 28px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.why .n {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--teal); color: #0b1424; font-weight: 700; margin-bottom: 18px;
}
.why p { color: var(--soft); font-size: 15px; margin-top: 8px; }

/* ---------- CTA + form ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-box { border: 1px solid var(--line); border-radius: var(--r); padding: 34px; background: var(--bg-2); }
.cta-box.accent { background: linear-gradient(160deg, #1f3a52, #1a2b47 60%); border-color: #2c5a66; }
.cta-box h3 { font-size: 26px; margin-bottom: 10px; }
.cta-box p { color: var(--soft); margin-bottom: 24px; }
form.wait { display: grid; gap: 10px; }
form.wait .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { form.wait .row { grid-template-columns: 1fr; } }
form.wait input[type=email], form.wait input[type=text] {
  background: #111a2c; border: 1px solid var(--line); border-radius: var(--r); color: var(--white);
  padding: 13px 14px; font: 15px var(--sans);
}
form.wait input:focus { outline: none; border-color: var(--teal); }
form.wait .hp { position: absolute; left: -5000px; }
form.wait label.consent { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
form.wait .msg { font-family: var(--mono); font-size: 13px; min-height: 18px; }
form.wait .msg.ok { color: var(--teal); }
form.wait .msg.err { color: var(--red); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .tm { font-size: 12px; margin-top: 8px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* mobile nav */
.lang { white-space: nowrap; }
@media (max-width: 560px) {
  .logo { width: 118px; }
  .nav-links { gap: 10px; }
  header.nav .btn { padding: 10px 12px; font-size: 14px; }
  .hero .ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- ticker (marquee) ---------- */
.ticker-wrap { border-top: 1px solid var(--line); overflow: hidden; }
.ticker-wrap > .wrap { padding: 0; overflow: hidden; }
.ticker { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 700 clamp(22px, 2.6vw, 34px)/1 var(--sans); text-transform: uppercase; letter-spacing: -.02em; padding: 22px 0; white-space: nowrap; }
.ticker span::after { content: "■"; color: var(--teal); font-size: .4em; vertical-align: .55em; margin: 0 28px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; } }

/* ---------- section head (title left, text right) ---------- */
.head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.head p { color: var(--soft); font-size: 17px; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- problems: framed columns ---------- */
.probs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border: 1px solid var(--line); }
.probs > div { padding: 26px 24px 30px; border-right: 1px solid var(--line); }
.probs > div:last-child { border-right: 0; }
.probs .top { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); letter-spacing: .1em; }
.probs .top b { color: var(--white); font-weight: 400; }
.probs .top b::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--teal); margin-right: 8px; vertical-align: 1px; }
.probs svg { width: 100%; max-width: 150px; height: auto; margin: 26px auto 22px; stroke: var(--soft); stroke-width: 1.1; fill: none; stroke-linejoin: round; }
.probs svg .acc { stroke: var(--teal); }
.probs h3 { font-size: 19px; margin-bottom: 8px; }
.probs p { color: var(--soft); font-size: 15px; }
@media (max-width: 960px) { .probs { grid-template-columns: 1fr 1fr; } .probs > div:nth-child(2) { border-right: 0; } .probs > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .probs { grid-template-columns: 1fr; } .probs > div { border-right: 0; border-bottom: 1px solid var(--line); } .probs > div:last-child { border-bottom: 0; } }

/* ---------- hotspots + callouts on the bolt ---------- */
.cad .viewport { position: relative; }
.hot { position: absolute; width: 14px; height: 14px; transform: translate(-7px, -7px); background: var(--teal); border: 0; padding: 0; cursor: pointer; opacity: 0; transition: opacity .4s; }
.hot::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--teal); animation: pulse 1.8s ease-out infinite; }
.hot.show { opacity: 1; }
.hot.act { background: #fff; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.callout {
  position: absolute; width: 236px; background: #0b1220; border: 1px solid var(--teal); font-size: 12.5px;
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 3; cursor: default;
}
.callout.show { opacity: 1; }
.callout .ch { display: flex; justify-content: space-between; background: var(--teal); color: #0b1424; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; padding: 6px 8px; }
.callout h4 { margin: 0; padding: 9px 10px 2px; font: 600 12px var(--mono); color: #fff; letter-spacing: .04em; }
.callout p { padding: 0 10px 10px; color: var(--soft); line-height: 1.45; }
@media (max-width: 560px) { .callout { width: 180px; font-size: 11.5px; } }

/* ---------- use cases (accordion) ---------- */
.uc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-top: 56px; }
.uc .art { border-right: 1px solid var(--line); background: #0d1424; display: flex; align-items: center; justify-content: center; padding: 24px; }
.uc .art svg { width: 100%; max-width: 520px; height: auto; }
.uc .list { display: flex; flex-direction: column; justify-content: flex-end; }
.uc details { border-top: 1px solid var(--line); padding: 0 26px; }
.uc details:first-child { border-top: 0; }
.uc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: 18px; }
.uc summary::-webkit-details-marker { display: none; }
.uc summary::after { content: "+"; font: 300 22px/1 var(--mono); color: var(--teal); }
.uc details[open] summary::after { content: "−"; }
.uc summary span { font: 12px var(--mono); color: var(--muted); margin-right: 14px; letter-spacing: .08em; }
.uc details p { color: var(--soft); padding: 0 0 22px 46px; font-size: 15px; }
@media (max-width: 860px) { .uc { grid-template-columns: 1fr; } .uc .art { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- contact: drawing coordinates ---------- */
.coord { position: absolute; font: 11px var(--mono); color: var(--muted); letter-spacing: .06em; }
#contact .wrap { background-image: linear-gradient(var(--line), var(--line)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 72px; }
#contact .c1 { left: 8px; top: 50px; } #contact .c2 { left: 50%; top: 50px; transform: translateX(-50%); } #contact .c3 { right: 8px; top: 50px; }
@media (max-width: 860px) { #contact .wrap { background-image: none; } .coord { display: none; } }

/* ---------- footer wordmark ---------- */
footer { padding: 0; }
footer > .wrap { padding-top: 40px; padding-bottom: 40px; }
.wordmark { border-top: 1px solid var(--line); overflow: hidden; }
.wordmark .wrap { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 32px; }
.btn { white-space: nowrap; }
@media (max-width: 560px) {
  header.nav .btn { padding: 10px 10px; font-size: 11px; letter-spacing: .04em; }
  section > .wrap { padding-left: 20px; padding-right: 20px; padding-top: 80px; padding-bottom: 80px; }
  .hero .ctas .btn { white-space: normal; }
}

/* ---------- buttons: always sharp rectangles ---------- */
.btn, button, .lang, input, .tags span, .hot { border-radius: 0 !important; }

/* ---------- ticker: always moving ---------- */
.ticker { animation: tick 88s linear infinite !important; }

/* ---------- live: no prompt ---------- */
.sim canvas { height: 300px; }

/* ---------- contact: calendar + waitlist ---------- */
.cta-box.meet { margin-top: 48px; padding: 0; overflow: hidden; }
.meet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 30px 32px 24px; border-bottom: 1px solid var(--line); }
.meet-head p { margin-bottom: 0; max-width: 620px; }
.cal-frame { position: relative; min-height: 560px; background: var(--bg); }
#cal-inline { width: 100%; min-height: 560px; overflow: visible; }
.cal-off { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px;
  background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px); background-size: 24px 24px; }
.cal-off p { color: var(--soft); max-width: 420px; margin: 0; }
.cal-frame.on .cal-off { display: none; }
.cta-box.wl { margin-top: 16px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
form.wait label.consent a { color: var(--teal); }
@media (max-width: 860px) {
  .meet-head { flex-direction: column; align-items: flex-start; padding: 24px 20px 20px; }
  .cta-box.wl { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .cal-frame, #cal-inline { min-height: 480px; }
}

/* ---------- footer links ---------- */
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
footer .links a, footer .links button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
footer .links a:hover, footer .links button:hover { color: var(--teal); }

/* ---------- footer wordmark with ink reveal ---------- */
.wm-svg { width: 100%; height: auto; display: block; padding: 18px 0 0; cursor: crosshair; touch-action: pan-y; overflow: visible; }
.wm-svg text { font: 800 150px var(--sans); letter-spacing: -4px; }
.wm-o { fill: transparent; stroke: #3a5078; stroke-width: 1.2; }
.wm-o .ai { stroke: var(--teal-d); }
.wm-f { fill: #ffffff; }
.wm-f .ai { fill: var(--teal); }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(420px, calc(100vw - 32px)); background: #0d1424; border: 1px solid var(--line); border-top: 2px solid var(--teal); padding: 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); }
.cookie h4 { margin: 0 0 8px; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.cookie p { color: var(--soft); font-size: 13.5px; margin-bottom: 16px; }
.cookie p a { color: var(--teal); }
.ck-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-btns .btn { padding: 12px 14px; font-size: 11.5px; flex: 1 1 auto; justify-content: center; }
section, #meet { scroll-margin-top: 72px; }
@media (max-width: 560px) {
  .sim { padding: 12px; }
  .sim .metrics { gap: 6px; }
  .sim .metrics div { padding: 8px; }
  .sim .metrics b { font-size: 15px; white-space: nowrap; }
  .sim canvas { height: 220px; }
}
.meet-head p.phone { margin-top: 10px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.meet-head p.phone a { color: var(--teal); text-decoration: none; font-size: 16px; margin-left: 6px; white-space: nowrap; }

/* ---------- paper texture over the dark background ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: url("paper.svg") repeat; background-size: 420px 420px;
  opacity: .13; mix-blend-mode: screen;
}

/* ---------- workspaces (VMs) ---------- */
.env-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; margin-top: 56px; align-items: start; }
.board { position: relative; border: 1px solid var(--line); background: #0d1424; outline: 1px dashed var(--teal-d); outline-offset: 12px; margin: 12px; }
.board .bound { position: absolute; top: -21px; right: 6px; font: 11px var(--mono); color: var(--teal); background: var(--bg); padding: 0 8px; letter-spacing: .06em; z-index: 1; }
.vms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.vm { border: 1px solid var(--line); background: #111a2c; font-family: var(--mono); font-size: 11px; display: flex; flex-direction: column; }
.vm-bar { display: flex; align-items: center; gap: 4px; padding: 5px 7px; border-bottom: 1px solid var(--line); color: var(--soft); }
.vm-bar i { width: 5px; height: 5px; background: var(--line); display: block; }
.vm-bar span { margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-body { padding: 8px 8px 6px; color: var(--muted); flex: 1; }
.vm-body b { display: block; color: var(--white); font-weight: 400; }
.vm-lines { margin-top: 8px; display: grid; gap: 4px; }
.vm-lines u { display: block; height: 3px; background: var(--line); text-decoration: none; }
.vm-lines u:nth-child(1) { width: 80%; } .vm-lines u:nth-child(2) { width: 55%; } .vm-lines u:nth-child(3) { width: 68%; }
.vm:not(.idle) .vm-lines u:nth-child(2) { background: linear-gradient(90deg, var(--teal-d), var(--teal)); animation: work 3.2s ease-in-out infinite; }
.vm:nth-child(2) .vm-lines u:nth-child(2) { animation-delay: -.8s; } .vm:nth-child(3) .vm-lines u:nth-child(2) { animation-delay: -1.6s; }
.vm:nth-child(4) .vm-lines u:nth-child(2) { animation-delay: -2.4s; } .vm:nth-child(5) .vm-lines u:nth-child(2) { animation-delay: -1.2s; }
@keyframes work { 0% { width: 10%; } 70% { width: 90%; } 100% { width: 90%; opacity: .4; } }
.vm-st { padding: 6px 8px; border-top: 1px solid var(--line); color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-st em { display: inline-block; width: 6px; height: 6px; background: var(--teal); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s steps(1) infinite; }
.vm.idle .vm-st { color: var(--muted); } .vm.idle .vm-st em { background: var(--muted); animation: none; }
.vm.off .vm-st { color: var(--soft); }
.vm.multi { border-color: var(--teal-d); }
.vm.multi .vm-body span::after { content: " ●●●"; color: var(--teal); letter-spacing: -2px; margin-left: 4px; }
.env-feats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.env-feats > div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.env-feats > div:nth-child(2n) { border-right: 0; }
.env-feats > div:nth-last-child(-n+2) { border-bottom: 0; }
.env-feats .top { display: flex; justify-content: space-between; align-items: center; font: 12px var(--mono); color: var(--muted); margin-bottom: 14px; }
.env-feats .top svg { width: 22px; height: 22px; color: var(--teal); }
.env-feats h3 { font-size: 16.5px; margin-bottom: 6px; }
.env-feats p { color: var(--soft); font-size: 14px; }
.env-sec { display: flex; gap: 18px; align-items: center; margin-top: 32px; padding: 22px 26px; border: 1px solid var(--teal-d); background: linear-gradient(90deg, rgba(24,222,195,.08), transparent 70%); }
.env-sec svg { width: 34px; height: 34px; color: var(--teal); flex: none; }
.env-sec h3 { font-size: 19px; margin-bottom: 4px; }
.env-sec p { color: var(--soft); font-size: 15px; }
@media (max-width: 960px) { .env-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .vms { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .env-feats { grid-template-columns: 1fr; }
  .env-feats > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .env-feats > div:last-child { border-bottom: 0 !important; }
  .env-sec { flex-direction: column; align-items: flex-start; padding: 20px; }
  .board .bound { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .vm-lines u { animation: none !important; } }
.env-grid > *, .vms > .vm { min-width: 0; }
@media (max-width: 560px) { .board { margin: 12px 8px; } .board .cad-bar > span:last-child { display: none; } .vm { font-size: 10.5px; } }
.vm.off .vm-st { white-space: normal; }
/* hero: keep both CTAs on one line when there is room */
.hero-grid { grid-template-columns: 1.08fr 1.12fr; }
.hero .ctas { gap: 10px; }
.hero .ctas .btn { padding: 15px 16px; letter-spacing: .06em; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (min-width: 961px) and (max-width: 1240px) {
  .hero .ctas .btn { padding: 14px 12px; font-size: 12px; letter-spacing: .03em; gap: 8px; }
  .hero .ctas .btn svg { width: 16px; height: 16px; }
}
.cad .viewport { cursor: none; }
.cad .viewport .hot { cursor: pointer; }
.cad .xhair { z-index: 2; }
