:root {
  --bg: #07090c;
  --panel: #0d1116;
  --panel-2: #121821;
  --line: #1c2430;
  --line-2: #2a3544;
  --text: #e6edf5;
  --muted: #8f9cad;
  --faint: #5a6677;
  --acc: #2f5bff;
  --acc-hi: #7d93ff;
  --acc-dim: rgba(47,91,255,.2);
  --acc-ink: #ffffff;
  --mag: #ff5fa2;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--text); background: var(--bg); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--acc); color: #fff; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.label { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc-hi); margin-bottom: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(7,9,12,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: flex; align-items: center; gap: 7px; text-decoration: none; }
.mark-svg { display: block; color: var(--text); margin-right: 4px; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand-sfx { font-weight: 400; font-size: 18px; letter-spacing: -0.02em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--acc); color: #fff; border: 1px solid var(--acc); padding: 12px 22px; font: 500 15px var(--sans); text-decoration: none; cursor: pointer; border-radius: 6px; transition: background .15s, border-color .15s; }
.btn:hover { background: #4a70ff; border-color: #4a70ff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--line-2); }
.btn:disabled { opacity: .5; cursor: wait; }

/* hero */
.hero { padding-top: 112px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.04em; max-width: 960px; text-wrap: balance; }
.lede { color: var(--muted); font-size: 19px; max-width: 600px; margin-top: 24px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.wall-wrap { max-width: 1400px; margin: 88px auto 0; padding: 0 24px; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feed { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; }
.feed canvas { display: block; width: 100%; aspect-ratio: 4 / 3; }
.feed figcaption { font-size: 13px; color: var(--muted); padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.wall-note { font: 11px var(--mono); color: var(--faint); margin-top: 10px; text-align: right; }

.proof { margin-top: 72px; border-top: 1px solid var(--line); }
.proof-inner { display: grid; grid-template-columns: 1fr 1fr; }
.proof-item { padding: 40px 32px 40px 0; }
.proof-item + .proof-item { padding-left: 32px; border-left: 1px solid var(--line); }
.proof-big { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.proof-big span { color: var(--muted); font-weight: 400; font-size: .55em; letter-spacing: -0.01em; }
.proof-big .sep { color: var(--acc); font-size: 1em; margin: 0 .3em; }
.proof-cap { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 420px; }

/* facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-inner > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts-inner > div:first-child { border-left: 0; padding-left: 0; }
.facts h3 { font-size: 15px; margin-bottom: 4px; }
.facts p { font-size: 14px; color: var(--muted); }

/* sections */
.section { padding: 112px 0; }
.wrap.section { padding-left: 24px; padding-right: 24px; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2, .request h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.sub { color: var(--muted); margin-top: 14px; font-size: 17px; }
.sub a { color: var(--acc-hi); text-decoration: none; }
.sub a:hover { text-decoration: underline; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.product { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 28px; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product h3 { font-size: 21px; }
.tagline { color: var(--muted); margin-top: 8px; font-size: 15px; }
.pill { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acc-hi); border: 1px solid rgba(47,91,255,.45); padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.pill.custom { color: var(--mag); border-color: rgba(255,95,162,.4); }
.kv { display: grid; grid-template-columns: 72px 1fr; gap: 8px 16px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--faint); font: 500 11px/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.kv dd { margin: 0; }
details { margin-top: 18px; }
summary { cursor: pointer; font-size: 14px; color: var(--acc-hi); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); }
details[open] summary::after { content: "−"; }
summary:hover { color: var(--text); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 20px; }
.spec-grid h4 { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.spec-grid ul { list-style: none; margin: 0; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.collection { color: var(--muted); font-size: 14px; margin-top: 20px; }
.tree { margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; background: #05070a; overflow: hidden; }
.tree-head { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tree pre { margin: 0; padding: 12px; font: 12px/1.7 var(--mono); overflow-x: auto; }
.tree .dim { color: var(--faint); } .tree .note { color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.steps .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-dim); color: var(--acc-hi); font: 500 13px var(--mono); }
.steps h3 { font-size: 18px; margin: 16px 0 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* form */
.request { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form textarea { background: var(--panel); color: var(--text); border: 1px solid var(--line-2); padding: 11px 12px; font: 15px var(--sans); border-radius: 6px; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-dim); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label { flex-direction: row; align-items: center; gap: 10px; color: var(--text); border: 1px solid var(--line-2); padding: 10px 12px; border-radius: 6px; background: var(--panel); cursor: pointer; }
.checks input { width: auto; accent-color: var(--acc); }
.checks label:has(input:checked) { border-color: var(--acc); background: var(--acc-dim); }
.form-foot { display: flex; align-items: center; gap: 16px; }
.form-msg { font-size: 14px; }
.form-msg.ok { color: var(--acc-hi); }
.form-msg.err { color: var(--mag); }
.hp { position: absolute; left: -9999px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.foot-brand svg { color: var(--text); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (max-width: 960px) {
  .hero { padding-top: 72px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall-wrap { margin-top: 56px; }
  .facts-inner { grid-template-columns: 1fr 1fr; }
  .facts-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-inner > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .products, .steps, .request, .proof-inner { grid-template-columns: 1fr; }
  .proof-item { padding: 28px 0; }
  .proof-item + .proof-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof { margin-top: 48px; }
  .request { gap: 32px; }
}
@media (max-width: 640px) {
  .wrap, .wrap.section, .wall-wrap { padding-left: 16px; padding-right: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 80px 0; }
  .wall { gap: 8px; }
  .feed figcaption { font-size: 12px; padding: 8px 10px; }
  .facts-inner { grid-template-columns: 1fr; }
  .facts-inner > div { border-left: 0 !important; padding: 20px 0; border-top: 1px solid var(--line); }
  .facts-inner > div:first-child { border-top: 0; }
  .product { padding: 22px; }
  .spec-grid, .form .row, .checks { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* catalog */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 56px; }
.stats > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }
.group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.group-head h3 { font-size: 20px; }
.group-head p { color: var(--muted); font-size: 15px; }
.products + .group-head { margin-top: 56px; }
.product { display: flex; flex-direction: column; }
.product h3 { margin-top: 10px; }
.cat { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hours { margin-top: 20px; color: var(--muted); font-size: 14px; }
.hours b { color: var(--text); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-right: 4px; }
.kv { grid-template-columns: 92px 1fr; }
.product-cta { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wall { grid-template-columns: 1fr; }
  .feed:nth-child(n+2) { display: none; }
}

/* ---- tech layer ---------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(125,147,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(125,147,255,.07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 1100px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47,91,255,.30), rgba(47,91,255,.08) 55%, transparent); filter: blur(20px); pointer-events: none; }
.hero h1 { background: linear-gradient(180deg, #ffffff 30%, #a9b8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--acc-hi); border: 1px solid rgba(47,91,255,.4); background: rgba(47,91,255,.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 26px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc-hi); box-shadow: 0 0 10px var(--acc-hi); }
.feed { box-shadow: 0 0 0 1px rgba(47,91,255,.06), 0 24px 60px -30px rgba(47,91,255,.45); }

.stats { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.stats b { font-variant-numeric: tabular-nums; }

/* cards: gradient border + cursor spotlight */
.product { position: relative; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; --mx: 50%; --my: 0%; }
.product::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47,91,255,.14), transparent 60%); }
.product::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(125,147,255,.9), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.product:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 30px 60px -40px rgba(47,91,255,.6); }
.product:hover::before, .product:hover::after { opacity: 1; }
.product > * { position: relative; }
.kv dd { font-variant-numeric: tabular-nums; }

/* sensor diagrams */
.diagram { margin: 18px -28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:
  radial-gradient(ellipse at 50% 120%, rgba(47,91,255,.16), transparent 60%),
  linear-gradient(rgba(125,147,255,.05) 1px, transparent 1px) 0 0 / 20px 20px,
  linear-gradient(90deg, rgba(125,147,255,.05) 1px, transparent 1px) 0 0 / 20px 20px, #05070b; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram .fr { fill: rgba(47,91,255,.16); stroke: rgba(125,147,255,.55); stroke-width: 1; }
.diagram .ln { fill: none; stroke: rgba(125,147,255,.55); stroke-width: 1; }
.diagram .dash { fill: none; stroke: rgba(125,147,255,.45); stroke-width: 1; stroke-dasharray: 3 4; animation: dash 6s linear infinite; }
.diagram .solid { fill: #0d1320; stroke: var(--acc-hi); stroke-width: 1.4; }
.diagram .dot { fill: var(--acc-hi); }
.diagram .jt { fill: #fff; stroke: var(--acc); stroke-width: 1.5; animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.diagram .bone { stroke: rgba(230,237,245,.55); stroke-width: 2; stroke-linecap: round; fill: none; }
.diagram text { font: 500 9px var(--mono); fill: var(--muted); letter-spacing: .06em; }
.diagram text.hi { fill: var(--acc-hi); }
@keyframes dash { to { stroke-dashoffset: -70; } }
@keyframes pulse { 50% { transform: scale(1.35); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.btn { box-shadow: 0 0 0 0 rgba(47,91,255,0); }
.btn:not(.btn-ghost):hover { box-shadow: 0 8px 30px -8px rgba(47,91,255,.8); }
.steps li { position: relative; overflow: hidden; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--acc), transparent 70%); }

@media (max-width: 640px) { .diagram { margin-left: -22px; margin-right: -22px; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .diagram .dash, .diagram .jt { animation: none; }
  .product, .product:hover { transform: none; }
}
.product.ghost { border-style: dashed; background: transparent; justify-content: center; min-height: 100%; }
.product.ghost h3 { font-size: 22px; }
.product.ghost .product-cta { border-top: 0; padding-top: 0; }
#list-to-order { align-items: stretch; }
