/* Tactera. Black, white and frosted glass. Colour appears only where it carries meaning: in pressure data. */
:root {
  --bg: #000;
  --panel: #0a0a0b;
  --panel-2: #111113;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --wrap: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --heat: linear-gradient(90deg, #5b8cff 0%, #22d3ee 38%, #facc15 70%, #f97316 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html { overflow-x: clip; }
body { font: 17px/1.5 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: clamp(38px, min(5.8vw, 7vh), 88px); letter-spacing: -0.055em; line-height: .98; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
p { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main { position: relative; z-index: 1; }
section { position: relative; padding: 170px 0; overflow-x: clip; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--dim); }
.fine { font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.center { text-align: center; }
.grad { background: linear-gradient(180deg, #fff 10%, #86868b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ambient light: what the glass frosts over */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .32; animation: drift 28s ease-in-out infinite alternate; }
.ambient .a1 { width: 60vw; height: 60vw; left: -18vw; top: -10vw; background: radial-gradient(circle, #1f4fff 0%, transparent 65%); }
.ambient .a2 { width: 50vw; height: 50vw; right: -16vw; top: 30vh; background: radial-gradient(circle, #0e7490 0%, transparent 65%); animation-duration: 34s; animation-delay: -8s; }
.ambient .a3 { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, #7c2d12 0%, transparent 65%); opacity: .22; animation-duration: 40s; animation-delay: -16s; }
@keyframes drift { to { transform: translate(8vw, 6vh) scale(1.12); } }
body::after { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* glass */
.glass { position: relative; border-radius: 28px; border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022));
  backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 90px -40px rgba(0,0,0,.9); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; background: var(--text); color: #000;
  font: 500 17px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #fff; transform: scale(1.03); }
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.full { width: 100%; }
.link { font-size: 17px; text-decoration: none; color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
.link span { transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(3px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); }
/* the frosting lives on its own layer and is removed while the mobile menu is open: any blur in the bar made the menu see-through */
.nav.menu-open { background: rgba(0,0,0,.94); }
.nav.menu-open::before { display: none; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); }
.nav-inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; padding: 0 24px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 18px/1 var(--sans); letter-spacing: -0.04em; }
.links { display: flex; align-items: center; gap: 30px; }
.links a { text-decoration: none; white-space: nowrap; font-size: 13px; color: var(--muted); transition: color .15s; }
.links a:hover { color: var(--text); }
.links a.btn { color: #000; }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.menu span { display: block; height: 1.5px; background: var(--text); }

/* hero */
.hero { min-height: 100vh; padding: 132px 20px 90px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; }   /* no z-index or will-change: either one drew the headline over the mobile menu */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--text); margin-bottom: 30px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 12px #22d3ee; }
.pill span { color: var(--muted); }
.display { font-size: clamp(46px, min(7.6vw, 11vh), 120px); line-height: .94; letter-spacing: -0.06em; }
.display .grad { background: var(--heat); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: sheen 9s ease-in-out infinite alternate; padding-right: .04em; }
@keyframes sheen { to { background-position: 100% 0; } }
.hero-sub { font-size: clamp(18px, min(1.8vw, 2.5vh), 22px); line-height: 1.4; color: var(--text); max-width: 640px; margin: clamp(16px, 2.6vh, 28px) auto clamp(20px, 3vh, 30px); letter-spacing: -0.01em; }

.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.hero .display { margin-bottom: clamp(22px, 3.4vh, 36px); }
.ctas { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }

.stage3d { position: relative; z-index: 2; width: min(1120px, 100%); margin-top: 64px; perspective: 1800px; --tilt: 50deg; --sc: .9; --lift: 0px; text-align: left; }
.stage3d .device { transform: translateY(var(--lift)) rotateX(var(--tilt)) scale(var(--sc)); transform-origin: 50% 0%; will-change: transform; }
.demo-hint { margin: 22px auto 0; }
@keyframes blink { 50% { opacity: .3; } }

/* one section per screen: sections fill the viewport, content centred; main.js shrinks any that still don't fit */
@media (min-width: 761px) and (min-height: 560px) {
  main > section:not(.hero) { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(52px + 3vh) 0 3vh; }
  main > section:not(.hero) > .wrap { width: 100%; }
  .hero { padding-top: calc(52px + 9vh); }
}

/* section intros */
.intro { text-align: center; max-width: 900px; margin: 0 auto clamp(28px, 5.5vh, 72px); }
.eyebrow { font-size: clamp(16px, 2.1vh, 19px); font-weight: 600; color: var(--muted); margin-bottom: clamp(8px, 1.6vh, 16px); letter-spacing: -0.01em; }
.sub { font-size: clamp(16px, min(1.7vw, 2.4vh), 21px); line-height: 1.45; max-width: 700px; margin: clamp(12px, 2.6vh, 26px) auto 0; }

/* bento */
.bento { display: grid; gap: 18px; }
.tile { padding: clamp(22px, 3.4vh, 34px); overflow: hidden; }
.tile-k { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.tile p { font-size: 16px; line-height: 1.5; }
.edge-grid { grid-template-columns: 1.35fr 1fr 1fr; }
.t-maps { grid-row: span 2; display: flex; flex-direction: column; gap: 14px; }
.t-big, .t-price { display: flex; flex-direction: column; }
.t-big p, .t-price p { margin-top: auto; }
.t-row { display: flex; flex-direction: column; justify-content: space-between; }
.mega { font-size: clamp(72px, min(8vw, 12vh), 132px); font-weight: 700; letter-spacing: -0.075em; line-height: .86; margin: 4px 0 18px; }
.mega span { font-weight: 500; }
.mega.sm { font-size: clamp(48px, min(5vw, 7.5vh), 80px); letter-spacing: -0.06em; }
.density-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.density-maps figure { display: flex; flex-direction: column; }
.density-maps canvas { width: 100%; height: clamp(180px, 30vh, 320px); display: block; border-radius: 16px; background: #000; }
.density-maps figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 15px; }
.density-maps figcaption b { font-weight: 600; }
.density-maps figcaption span { color: var(--muted); font-variant-numeric: tabular-nums; }
.tile-note { font-size: 15px !important; }
.vs { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.vs b { display: block; font-size: clamp(36px, 5vh, 48px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.vs b.dim { color: var(--dim); }
.vs span { font-size: 13px; color: var(--muted); }
.vs > div:last-child { text-align: right; }
.vs-bar { display: grid; gap: 8px; }
.vs-bar i { display: block; height: 6px; border-radius: 3px; background: var(--text); }
.vs-bar i + i { background: var(--dim); }
.foot-note { max-width: 760px; margin: clamp(14px, 2.4vh, 28px) auto 0; }


/* platform */
.device { position: relative; padding: 12px; border-radius: 32px; background: linear-gradient(170deg, #1f1f22, #0a0a0b 60%);
  border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 80px 160px -60px rgba(0,0,0,1); }
.device-glow { position: absolute; inset: 15% 8% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,79,255,.55), rgba(34,211,238,.18) 60%, transparent); filter: blur(60px); pointer-events: none; }
.device .demo { border-radius: 21px; border-color: rgba(255,255,255,.08); box-shadow: none; }
.features { grid-template-columns: repeat(3, 1fr); }
.features .tile { padding: clamp(20px, 2.8vh, 28px) 26px; }
.features h3 { font-size: 18px; margin-bottom: 6px; }
.features p { font-size: 14.5px; line-height: 1.45; }

/* before / after compare (used inside the demo) */
.ba-chip { position: absolute; top: 16px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(0,0,0,.7); border: 1px solid var(--line-2); padding: 7px 11px; border-radius: 999px; backdrop-filter: blur(6px); pointer-events: none; }
.ba-chip.l { left: 16px; } .ba-chip.r { right: 16px; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--text); left: 50%; pointer-events: none; box-shadow: 0 0 18px rgba(255,255,255,.35); }
.ba-handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--text); color: #000;
  display: grid; place-items: center; font: 600 15px var(--sans); letter-spacing: 2px; box-shadow: 0 6px 24px rgba(0,0,0,.6); }
/* ── interactive demo ── */
.demo { position: relative; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #050506; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.demo-bar { display: flex; align-items: center; gap: 18px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0a0a0b; }
.demo-id { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.demo-id .mono { border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 6px; font-size: 10px; }
.demo-status { flex: 1; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; box-shadow: 0 0 8px #22c55e; }
.demo-tabs { display: flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.demo-tabs span { font: 500 12px var(--sans); color: var(--muted); padding: 6px 12px; transition: background .3s, color .3s; }
.demo-tabs span.on { background: var(--text); color: #000; }
.demo-body { position: relative; display: grid; grid-template-columns: 1fr 270px; }
.demo-stage { position: relative; border-right: 1px solid var(--line); user-select: none; -webkit-user-select: none; overflow: hidden; display: flex; flex-direction: column; }
#dmCanvas { display: block; width: 100%; aspect-ratio: 2.22; }   /* a 2000 × 900 mm bed */
.dm-end { position: absolute; bottom: 12px; pointer-events: none; font-size: 11px; }
.dm-end.l { left: 14px; } .dm-end.r { right: 14px; }
.dm-guide { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text); background: rgba(0,0,0,.72); border: 1px solid var(--line-2);
  padding: 7px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; backdrop-filter: blur(6px); transition: opacity .3s; }
.dm-cmp { position: absolute; inset: 0; }
.dm-cmp[hidden] { display: none; }
.dm-cmp .ba-chip { top: 52px; }
.dm-cmp.diff .ba-line { display: none; }
.demo-side { padding: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; min-width: 0; }
.dm-steps { list-style: none; display: grid; gap: 2px; }
.dm-steps li { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 5px; color: var(--dim); transition: background .3s, color .3s; }
.dm-steps li .mono { font-size: 10px; }
.dm-steps li.done { color: var(--muted); }
.dm-steps li.done .mono::after { content: " ✓"; color: #22c55e; }
.dm-steps li.next { background: var(--text); color: #000; }
.dm-steps li.next .mono { color: #000; }
.dm-read { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.dm-read span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.dm-read b { font-size: 18px; font-variant-numeric: tabular-nums; }
.dm-alert { font: 500 11.5px var(--mono); border-radius: 6px; padding: 9px 10px; border: 1px solid var(--line-2); color: var(--muted); min-height: 38px; }
.dm-alert.warn { color: #fff; border-color: #b91c1c; background: rgba(185,28,28,.18); }
.dm-alert.good { color: #22d3ee; border-color: #0b4a66; }
.dm-log { flex: 1; min-height: 0; border-top: 1px solid var(--line); padding-top: 10px; }
.dm-log > .mono { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.dm-log ul { list-style: none; margin-top: 6px; max-height: 120px; overflow-y: auto; font: 11px/1.5 var(--mono); color: var(--muted); }
.dm-log li b { color: var(--text); font-weight: 500; }
.demo-hint { margin-top: 14px; text-align: center; }
/* trend strip + legend under the map */
.dm-foot { flex: 1; min-height: 120px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; }
.dm-legend { padding: 14px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 6px; }
.dm-legend .mono { font-size: 10px; }
.dm-legend i { display: block; height: 6px; border-radius: 3px; }
.lg-heat { background: linear-gradient(90deg, #000, #0b2a8f, #1f6bff, #22d3ee, #facc15, #f97316, #ef4444, #fff); border: 1px solid var(--line-2); }
.lg-diff { background: linear-gradient(90deg, #22d3ee, #0b4a66, #000, #7a2e0b, #f97316); border: 1px solid var(--line-2); }
.lg-ends { display: flex; justify-content: space-between; margin-bottom: 8px; }
.lg-ends em { font-style: normal; }
.dm-trend { padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.dm-trend-h { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; margin-bottom: 6px; white-space: nowrap; }
.tr-key { display: inline-flex; align-items: center; gap: 6px; }
.tr-key i { display: inline-block; width: 14px; height: 0; border-top: 1px dashed #ef4444; }
.tr-key i.tk-ev { border-top: 0; width: 1px; height: 9px; background: #f4f4f5; margin-left: 6px; }
#dmTrend { flex: 1 1 0; height: 0; width: 100%; min-height: 70px; display: block; }   /* basis 0, so its own pixel size can't grow the layout */

/* report preview */
.dm-report { position: absolute; inset: 0; z-index: 6; background: #050506; overflow: hidden; animation: fadeIn .35s ease-out; transition: opacity .4s; }
.dm-report[hidden] { display: none; }
.dm-report.out { opacity: 0; }
.rep { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; animation: repIn .45s cubic-bezier(.2,.7,.2,1); }
.rp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rp-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rp-title b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.rp-title .mono { font-size: 10px; }
.rp-badge { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.rp-badge.ok { color: #000; background: var(--text); border-color: var(--text); }
.rp-maps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); min-height: 0; }
.rp-maps figure { background: #050506; padding: 10px 12px; min-height: 0; overflow: hidden; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.rp-cv { flex: 1 1 0; min-height: 0; align-self: stretch; display: grid; place-items: center; }
.rp-maps canvas { display: block; background: #000; border-radius: 3px; }
.rp-maps figcaption { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 7px; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.rp-maps figcaption b { color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.rp-scale { display: inline-flex; align-items: center; gap: 5px; } .rp-scale em { font-style: normal; }
.rp-scale i { width: 48px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #0b4a66, #000, #7a2e0b, #f97316); }
.rp-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; padding: 12px 16px; }
.rp-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rp-int { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rp-int > .mono { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.rp-int b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.rp-int p { font-size: 13px; color: var(--muted); }
.rp-sum { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; flex: none; }
.rp-kpi { padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rp-kpi + .rp-kpi { border-left: 1px solid var(--line); }
.rp-kpi .mono { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.rp-kpi b { font-size: clamp(18px, 2.1vw, 26px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.rp-kpi b i { font-style: normal; font-size: .7em; margin-right: 3px; color: var(--muted); }
.rp-kpi b.up { color: var(--muted); }
.rp-kpi small { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.rp-table th { font: 500 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 0 0 6px; }
.rp-table td { padding: 4px 0; border-top: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.rp-table td:first-child { color: var(--text); }
.rp-table th:last-child, .rp-table td:last-child { text-align: right; }
.rp-table td:last-child { font-weight: 600; }
.rp-table td.dn { color: var(--text); } .rp-table td.up { color: var(--muted); }
.rp-table tbody tr { animation: rowIn .4s ease-out both; animation-delay: calc(.2s + var(--i) * .07s); }
.rp-bar { display: inline-block; width: 52px; height: 3px; margin-right: 8px; vertical-align: middle; background: var(--line); border-radius: 2px; overflow: hidden; }
.rp-bar i { display: block; height: 100%; background: currentColor; }
.rp-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 10px; color: var(--dim); }
.rp-gen { margin-left: auto; color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes repIn { from { opacity: 0; transform: scale(.985); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-6px); } }

/* automated demo additions */
.dm-wrap { position: relative; }
.dm-move { position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 6px) scale(.97);   /* below the body, so the turn stays visible */
  text-align: center; pointer-events: none; opacity: 0; transition: opacity .35s, transform .35s;
  background: rgba(0,0,0,.78); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 18px; backdrop-filter: blur(8px); }
.dm-move.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.dm-move .mono { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dm-move b { font-size: clamp(16px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.dm-cmp-mode { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); background: rgba(0,0,0,.7); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; }
.dm-steps li { transition: background .25s, color .25s; }
.dm-log li { animation: logIn .35s ease-out; }
@keyframes logIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dm-log ul { max-height: 170px; }
.dm-guide { top: 14px; }

/* ward dashboard */
.ward-bar { display: flex; justify-content: space-between; margin-bottom: 14px; }
.ward-bar .mono { color: var(--muted); }
.ward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.bed { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--panel); transition: border-color .4s; }
.bed.due { border-color: #ef4444; }
.bed-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.bed canvas { width: 100%; aspect-ratio: .5; display: block; border-radius: 4px; }
.bed-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.chip { font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.chip.ok { color: var(--text); }
.chip.soon { color: #facc15; border-color: #5c4a0a; }
.chip.due { color: #fff; background: #b91c1c; border-color: #b91c1c; animation: pulse 1.2s infinite; }
.chip.done { color: #22d3ee; border-color: #0b4a66; }
@keyframes pulse { 50% { opacity: .55; } }
.ring { width: 30px; height: 30px; flex-shrink: 0; }
.bed-pos { font: 500 10px var(--mono); color: var(--dim); }


/* feature icons: drawn large in the centre, then they settle into the corner as the text arrives */
.feat { position: relative; }
.fi { display: block; width: 30px; height: 30px; margin-bottom: 14px; color: var(--text); transform-origin: 0 0;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(2.3); transition: transform 1s var(--ease); }   /* no drop-shadow: on iOS a filter on a moving, scaling element flashes a black box */
.fi svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fi svg > :not(.dot) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.fi .dot { fill: currentColor; stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .4s .75s, transform .5s .75s var(--ease); }
.feat.drawn .fi svg > :not(.dot) { stroke-dashoffset: 0; }
.feat.drawn .fi .dot { opacity: 1; transform: none; }
.feat h3, .feat p { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .7s var(--ease); }
.feat.settled .fi { transform: none; }
.feat.settled h3 { opacity: 1; transform: none; transition-delay: .3s; }
.feat.settled p { opacity: 1; transform: none; transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) { .fi, .fi svg > *, .feat h3, .feat p { transition: none !important; } }

/* why it matters */
.burden h2 { white-space: nowrap; }
@media (max-width: 760px) { .burden h2 { white-space: normal; } }
.stat-grid { grid-template-columns: 1fr; }
.stat-row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
.burden .wrap { position: relative; }
.region { position: absolute; top: 0; right: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--text); }
.region svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.region:not(.world) svg { display: none; }
.region.world b { display: none; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-size: clamp(46px, min(5.4vw, 7.4vh), 76px); font-weight: 700; letter-spacing: -0.065em; line-height: .95; margin-bottom: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-n span { color: var(--dim); font-weight: 600; }
.stat-n .count { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 700; }
.stat-n .u { font-size: .58em; letter-spacing: -0.03em; margin: 0 .04em; }
.stat { padding: clamp(20px, 3vh, 30px) 28px; }
.stat p { font-size: 15.5px; color: var(--text); }
.src { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--dim); text-decoration: none; transition: color .15s; }
.src:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cite { font-size: 12px; color: var(--dim); text-decoration: none; margin-left: 6px; vertical-align: super; border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 7px; }
.cite:hover { color: var(--text); border-color: var(--muted); }
.sites { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 24px 28px; }
.sites-map { position: relative; }
#siteMap { display: block; width: 100%; max-height: 23vh; aspect-ratio: 2.22; border-radius: 16px; background: #000; }
.site-tag { position: absolute; transform: translate(-50%, calc(-100% - 34px)); display: flex; flex-direction: column; align-items: center; padding: 7px 12px; border-radius: 14px; font-size: 12px; color: var(--muted); white-space: nowrap;
  background: rgba(20,20,22,.6); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); pointer-events: none; }
.site-tag b { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.s-sac { left: 45.25%; top: 50%; } .s-heel { left: 92%; top: 42%; }
.sites-copy p { font-size: 15px; color: var(--text); }
.sites-copy h3 { font-size: clamp(24px, 3.2vh, 32px); margin-bottom: 10px; letter-spacing: -0.045em; margin-bottom: 14px; }
.honest { max-width: 860px; font-size: 15.5px !important; color: var(--text) !important; margin: clamp(18px, 3.5vh, 44px) auto 0; text-align: center; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* care workflow */
.ward { padding: 18px 22px; }
.ward .bed canvas { height: clamp(180px, 34vh, 380px); width: auto; aspect-ratio: .45; margin: 0 auto; }
.ward-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.ward-bar .mono { color: var(--muted); font-size: 13px; }
.bed { border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: rgba(0,0,0,.45); }
.bed canvas { border-radius: 10px; }
.chip { border-radius: 999px; }
.care-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; padding: 14px 34px; }
.care-list li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; padding: clamp(12px, 2.2vh, 20px) 0; border-bottom: 1px solid var(--line); }
.care-list li:nth-last-child(-n+2) { border-bottom: 0; }
.care-list b { font-weight: 600; font-size: 16px; }
.care-list span { color: var(--muted); font-size: 15px; }

/* technology */
.tech-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.layers { position: relative; height: clamp(380px, 58vh, 480px); perspective: 1400px; }
.layer { position: absolute; left: 36%; top: 50%; width: 270px; height: 270px; margin: -135px 0 0 -135px; border-radius: 22px;
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(var(--z)); transition: transform 1.4s var(--ease);
  border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 60px -20px rgba(0,0,0,.8); }
.cap { position: absolute; left: calc(36% + 150px); font-size: 15px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-10px); transition: opacity .8s .7s, transform .8s .7s var(--ease); }
.cap::before { content: ""; display: inline-block; width: 36px; height: 1px; background: rgba(255,255,255,.4); vertical-align: middle; margin-right: 12px; }
.c1 { top: calc(50% - 116px); } .c2 { top: calc(50% - 10px); } .c3 { top: calc(50% + 96px); }
.layers.in .cap { opacity: 1; transform: none; }
.l1 { --z: 0px; background: rgba(255,255,255,.04); }
.rows { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.l2 { --z: 0px; background: radial-gradient(circle at 50% 50%, rgba(20,34,90,.75), rgba(10,10,14,.92) 75%); }
.l3 { --z: 0px; background: rgba(255,255,255,.04); }
.layers.in .l1 { --z: 120px; } .layers.in .l3 { --z: -120px; }
.spec { overflow: hidden; }
.spec-head { display: flex; justify-content: space-between; align-items: center; padding: clamp(14px, 2vh, 22px) 26px; border-bottom: 1px solid var(--line); }
.spec-head h3 { margin: 0; }
.spec dl > div { display: grid; grid-template-columns: 44% 1fr auto; gap: 18px; align-items: center; padding: clamp(6px, .85vh, 11px) 26px; border-bottom: 1px solid var(--line); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.spec dd { font-size: 14px; font-weight: 500; line-height: 1.3; }
.tag { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; white-space: nowrap; justify-self: end; }
.tag.ok { color: #000; background: var(--text); border-color: var(--text); }

.how { list-style: none; display: grid; gap: 4px; }
.how li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: clamp(10px, 1.5vh, 16px) 20px; border-radius: 18px; border: 1px solid transparent; transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }
.how li.on { transform: translateX(6px); }
.how li.on { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border-color: rgba(255,255,255,.1); }
.how-n { font-size: 30px; font-weight: 700; letter-spacing: -0.05em; color: var(--dim); transition: color .45s var(--ease); line-height: 1.1; }
.how li.on .how-n { color: var(--text); }
.how h3 { font-size: 19px; margin-bottom: 2px; }
.how p { font-size: 14.5px; line-height: 1.45; color: var(--text); opacity: .55; transition: opacity .45s var(--ease); }
.how li.on p { opacity: 1; }
.edge4 { grid-template-columns: repeat(4, 1fr); }
.adv { display: flex; flex-direction: column; gap: 12px; }
.adv-n { font-size: clamp(48px, min(5vw, 8vh), 76px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.adv-n span { font-size: .5em; color: var(--dim); margin-left: 4px; letter-spacing: -0.03em; }
.adv-n.sm { font-size: clamp(34px, min(3.4vw, 5.6vh), 52px); letter-spacing: -0.05em; padding: .15em 0; }
.adv p { font-size: 15px; color: var(--text); flex: 1; }
.adv .tag { align-self: flex-start; justify-self: auto; }
.spec-sec .spec { max-width: 860px; margin: 0 auto; }

/* applications */
.app-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.app-grid .tile { min-height: clamp(240px, 38vh, 340px); display: flex; flex-direction: column; }
.app-grid h3 { font-size: 30px; letter-spacing: -0.04em; margin-top: auto; }
.app-grid .primary { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(235,235,240,.86)); border-color: rgba(255,255,255,.6); }
.app-grid .primary h3 { color: #000; } .app-grid .primary p, .app-grid .primary .tile-k { color: #3a3a3f; }

/* integrations */
.table-card { padding: 10px 34px 14px; overflow-x: auto; }
.int-table { width: 100%; border-collapse: collapse; }
.int-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 16px 0 10px; border-bottom: 1px solid var(--line-2); }
.int-table td { padding: clamp(7px, 1.05vh, 14px) 24px clamp(7px, 1.05vh, 14px) 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); font-size: 15px; }
.int-table tr:last-child td { border-bottom: 0; }
.int-table td:first-child { color: var(--text); font-weight: 600; width: 26%; }
.int-table td:last-child { width: 1%; white-space: nowrap; padding-right: 0; }
.stage { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.stage.s1 { background: var(--text); color: #000; border-color: var(--text); }
.stage.s2 { color: var(--text); border-color: rgba(255,255,255,.35); }

/* contact */
.contact-mark { margin: 0 auto 28px; width: 56px; height: 56px; filter: drop-shadow(0 0 28px rgba(249,115,22,.35)); }
.form-card { max-width: 780px; margin: 0 auto; padding: clamp(22px, 3.4vh, 34px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 16px var(--sans); color: var(--text); background: rgba(0,0,0,.45); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.form .btn { margin-top: 6px; padding: 16px; }

/* footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .chip.due, .ambient i, .display .grad { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1000px) {
  section { padding: 120px 0; }
  .links { gap: 20px; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .t-maps, .t-row { grid-column: span 2; } .t-big, .t-price { grid-column: span 1; } .t-maps { grid-row: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; } .stat { min-height: 0; }
  .sites { grid-template-columns: 1fr; gap: 24px; }
  .app-grid .tile { min-height: 240px; }
  .tech-grid { grid-template-columns: 1fr; }
  .edge4 { grid-template-columns: 1fr 1fr; }
  .layers { height: 420px; }
  .care-list { grid-template-columns: 1fr; }
  .care-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; gap: 16px; }
  .ward-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-body { grid-template-columns: 1fr; }
  .demo-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .rep { grid-template-rows: auto auto auto auto; align-content: center; }
  .rp-cv { flex: none; aspect-ratio: 2.22; }
  .rp-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dm-log { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 100px 0; }
  .wrap { padding: 0 18px; }
  .links { position: fixed; top: 60px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 22px;
    background: rgba(14,14,16,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.7); display: none; transform: translateZ(0); }   /* own layer and near-solid, or the page shows through it */
  .links.open { display: flex; }
  .links a { padding: 13px 14px; font-size: 17px; }
  .links a.btn { margin-top: 6px; padding: 14px; font-size: 16px; }
  .menu { display: flex; }
  .hero { min-height: 0; padding: 110px 16px 70px; }
  .stage3d { margin-top: 44px; }
  .intro { margin-bottom: 48px; }
  .tile { padding: 26px; border-radius: 24px; }
  .edge-grid, .features, .edge4 { grid-template-columns: 1fr; }
  .t-maps, .t-row, .t-big, .t-price { grid-column: auto; }
  .density-maps canvas { min-height: 0; }
  .vs b { font-size: 40px; }
  .site-tag { padding: 5px 9px; font-size: 10.5px; transform: translate(-50%, calc(-100% - 18px)); } .site-tag b { font-size: 15px; }
  .s-heel { left: 86%; }
  .sites-copy h3 { font-size: 28px; }
  .layers { height: 330px; }
  .layer { left: 30%; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 16px; }
  .layers.in .l1 { --z: 86px; } .layers.in .l3 { --z: -86px; }
  .c1 { top: calc(50% - 84px); } .c2 { top: calc(50% - 8px); } .c3 { top: calc(50% + 66px); }
  .cap { font-size: 13px; left: calc(30% + 108px); } .cap::before { width: 14px; margin-right: 7px; }
  .spec dl > div { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 20px; }
  .spec dt { grid-column: 1 / -1; }
  .spec-head { padding: 18px 20px; }
  .table-card { padding: 4px 20px 10px; }
  .int-table thead { display: none; }
  .int-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .int-table td { padding: 0; border: 0; width: auto !important; }
  .int-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .int-table td:last-child { grid-column: 2; grid-row: 1; }
  .care-list { padding: 6px 22px; } .care-list li { grid-template-columns: 1fr; gap: 4px; }
  .form-card { padding: 22px; } .form { grid-template-columns: 1fr; }
  .ward { padding: 14px; }
  .ba-chip { font-size: 9px; padding: 5px 8px; }
  .ba-chip.l { left: 10px; } .ba-chip.r { right: 10px; }
  .demo-status { display: none; }
  .demo-bar { flex-wrap: wrap; gap: 10px; }
  .demo-tabs span { padding: 6px 9px; }
  .rp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rp-maps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-maps figure:last-child { grid-column: 1 / -1; }
  .rp-kpi { padding: 8px; }
  .rp-kpi small { display: none; }
  .rp-bar { display: none; }
  .rp-gen { margin-left: 0; }
  .demo-side { grid-template-columns: 1fr; }
  .dm-guide { font-size: 10px; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
  .dm-foot { grid-template-columns: 1fr; }
  .dm-legend { border-right: 0; border-bottom: 1px solid var(--line); }
  #dmTrend { min-height: 90px; }
  .dm-cmp .ba-chip { top: 44px; }
  .dm-move { padding: 10px 14px; }
  .device { padding: 6px; border-radius: 22px; } .device .demo { border-radius: 17px; }
}


/* fabric layers act out each step: a pressure spot, scan lines, sensor cells, moving load */
.layer { overflow: hidden; }
.spot { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #facc15 14%, #f97316 26%, #22d3ee 44%, rgba(31,107,255,.55) 64%, rgba(31,107,255,0) 72%); filter: blur(2px); }
.cells { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease);
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.75) 0 2px, transparent 2px 10%), repeating-linear-gradient(90deg, rgba(0,0,0,.75) 0 2px, transparent 2px 10%); }
.layers[data-step="2"] .cells, .layers[data-step="3"] .cells { opacity: 1; }
.scan { position: absolute; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.l1 .scan { left: 0; right: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.55), transparent); animation: scanY 1.8s ease-in-out infinite; }
.l3 .scan { top: 0; bottom: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: scanX 1.8s ease-in-out infinite; animation-delay: .9s; }
.layers[data-step="1"] .scan { opacity: 1; }
@keyframes scanY { from { top: -22%; } to { top: 100%; } }
@keyframes scanX { from { left: -22%; } to { left: 100%; } }
.layer { transition: transform 1.4s var(--ease), box-shadow .45s var(--ease); }
.layers[data-step="0"] .l2 { box-shadow: 0 0 70px rgba(34,211,238,.35), inset 0 1px 0 rgba(255,255,255,.2); }
@media (prefers-reduced-motion: reduce) { .scan { animation: none; } }
/* draw order matches the physical stack: rows on top, sensing layer between, columns underneath */
.l1 { z-index: 3; } .l2 { z-index: 2; } .l3 { z-index: 1; }

/* ── review pass: layouts ── */
.hero { padding-top: calc(52px + 5vh); padding-bottom: 60px; }
.stage3d { width: min(1280px, 100%); margin-top: clamp(28px, 4.5vh, 56px); }
.hero-proof { margin-top: 18px; }
.intro.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: end; text-align: left; max-width: none; }
.intro.split h2 { white-space: nowrap; margin-bottom: 0; }
.intro.split .sub { padding-bottom: .5em; }
.intro.split .sub { margin: 0; max-width: 520px; }
.features.four { grid-template-columns: repeat(2, 1fr); }
.features.four .tile { padding: clamp(20px, 2.8vh, 28px) 30px; }
.features.four h3 { font-size: 24px; letter-spacing: -0.03em; }
.features.four p { font-size: 16px; color: var(--text); max-width: 46ch; }
.features.four .feat.settled p { opacity: .8; }
.edge .t-maps { grid-row: auto; }
.edge .density-maps canvas { height: clamp(150px, 22vh, 240px); }
.edge .adv h3 { font-size: 20px; margin: 0; }
.edge .adv p { flex: 1; }
/* demo: controls and stronger contrast */
.dm-ctrl { display: flex; gap: 6px; }
.dm-ctrl button { width: 30px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--text); font: 600 11px var(--sans); cursor: pointer; transition: background .15s, border-color .15s; }
.dm-ctrl button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.demo { --dim: #8e8e95; --muted: #c2c2c8; }
.demo .mono { color: var(--dim); }
.dm-steps li { color: var(--muted); }
@media (max-width: 1000px) { .intro.split h2 { white-space: normal; } .intro.split { grid-template-columns: 1fr; gap: 16px; text-align: center; } .intro.split .sub { margin: 0 auto; } }
@media (max-width: 760px) { .features.four { grid-template-columns: 1fr; } }
.edge .density-maps canvas { height: clamp(130px, 17vh, 200px); }
.edge .mega { font-size: clamp(64px, min(6vw, 10vh), 110px); margin-bottom: 10px; }
.edge .tile { padding: clamp(18px, 2.6vh, 28px) 26px; }
.edge .adv { gap: 8px; }
.edge .adv p, .edge .tile p { font-size: 14.5px; }

/* hero: "becomes insight." drawn as live pressure cells, a fingertip running along it */
.heat-text { position: relative; display: inline-block; }
.heat-text .ht-label { color: transparent; }
.heat-text canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }   /* top and height set from the text box in main.js */
.no-heat .heat-text .ht-label { background: var(--heat); -webkit-background-clip: text; background-clip: text; }

/* ── phone layout ── */
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .intro { margin-bottom: 28px; }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .sub { font-size: 16px; }
  /* hero */
  .hero { padding: 96px 16px 48px; }
  .pill { font-size: 13px; margin-bottom: 22px; }
  .ctas { flex-direction: column; gap: 14px; width: 100%; }
  .ctas .btn { width: 100%; max-width: 320px; }
  .hero-proof { flex-direction: column; gap: 4px; font-size: 13px; }
  .hero-proof i { display: none; }
  /* demo: map, steps, readouts and alert; legend, trend and log hidden */
  .dm-foot, .dm-log { display: none; }
  .demo-side { padding: 12px; gap: 10px; }
  .dm-steps { grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .dm-steps li { padding: 5px 6px; font-size: 12px; }
  .dm-read b { font-size: 16px; }
  .dm-alert { font-size: 11px; min-height: 0; }
  .demo-hint { font-size: 12px; }
  /* statistics: swipe sideways */
  .stat-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; padding: 0 18px 6px; scrollbar-width: none; }
  .stat-row::-webkit-scrollbar { display: none; }
  .stat-row .stat { flex: 0 0 82%; scroll-snap-align: center; padding: 22px; }
  .stat-n { font-size: 44px; margin-bottom: 10px; }
  .stat p { font-size: 15px; }
  .sites { padding: 18px; gap: 16px; }
  .sites-copy h3 { font-size: 24px; }
  .honest { font-size: 14px !important; margin-top: 24px; }
  /* platform, ward */
  .features.four .tile { padding: 20px 22px; }
  .features.four h3 { font-size: 20px; }
  .ward-grid { gap: 8px; }
  .ward .bed canvas { height: 190px; }
  .bed { padding: 9px; border-radius: 14px; }
  .bed-top { font-size: 12px; margin-bottom: 6px; }
  .bed-pos, .chip { font-size: 11px; }
  .chip { padding: 3px 6px; }
  .ring { width: 24px; height: 24px; }
  /* technology, comparison, spec */
  .how li { padding: 12px 14px; grid-template-columns: 40px 1fr; gap: 10px; }
  .how-n { font-size: 24px; }
  .edge .tile { padding: 20px; }
  .edge .density-maps canvas { height: 160px; }
  .edge .mega { font-size: 72px; }
  .edge .adv h3 { font-size: 18px; } .edge .adv p { font-size: 14px; }
  .vs b { font-size: 34px; }
  .spec dl > div { padding: 10px 18px; }
  .form-card { padding: 18px; }
}

/* technology partner */
.partner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; max-width: 900px; margin: clamp(18px, 3vh, 32px) auto 0; padding: 18px 26px; border-radius: 22px; }
.partner img { height: 40px; width: auto; }
.partner h3 { font-size: 17px; margin-bottom: 4px; }
.partner p { font-size: 14px; line-height: 1.5; color: var(--text); opacity: .8; }
.foot-grid { grid-template-columns: auto 1fr auto auto; }
.foot-partner { display: flex; align-items: center; gap: 10px; }
.foot-partner img { height: 22px; width: auto; opacity: .9; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; gap: 12px; padding: 18px; text-align: left; } .partner img { height: 32px; } }
