/* ==========================================================================
   Proteus landing page (loaded only by overrides/home.html).
   Warm sand and paper, near-black ink, one signal green reserved for
   evidence and certification. Host Grotesk for text, JetBrains Mono for
   counters and instrument labels. The hero is a small network scene:
   the attacker changes shape, the evidence on the victim only grows.
   ========================================================================== */

:root {
  --sand: #ebe9e3;
  --sand-2: #e2dfd7;
  --paper: #fbfaf7;
  --ink: #161616;
  --ink-2: #202020;
  --ink-3: #2c2c29;
  --text: #3d3c38;
  --muted: #6f6d66;
  --line: rgba(22, 22, 22, .12);
  --line-2: rgba(22, 22, 22, .22);
  --text-d: #b9b6ad;
  --muted-d: #8e8b83;
  --line-d: rgba(244, 243, 239, .12);
  --sig: #14b86a;
  --sig-ink: #0b7a45;
  --sig-hi: #3ddc8c;
  --alarm: #c8412a;
  --alarm-hi: #ff8a70;
  --font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; font-size: 100% !important; }
body { background: var(--sand); }
.md-container { padding-top: 0; }
.md-main { display: none; }
.lp { display: block; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
.lp a { text-decoration: none; }
:where(.lp) :where(h1, h2, h3, h4, p) { margin: 0; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

/* --------------------------------------------------------------- sections */
.lp-sec { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; scroll-margin-top: 60px; }
.lp-paper { background: var(--paper); }
.lp-sand { background: var(--sand); }
.lp-ink { background: var(--ink); color: #edebe5; }

/* ------------------------------------------------------------------- type */
.lp-tag { display: flex; align-items: center; margin: 0 0 1.6rem; font: 500 .75rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lp-tag b { font-weight: 500; color: var(--ink); }
.lp-tag b::after { content: ""; display: inline-block; width: 2rem; height: 1px; margin: 0 .75rem; vertical-align: middle; background: var(--line-2); }
.lp-ink .lp-tag { color: var(--muted-d); }
.lp-ink .lp-tag b { color: #edebe5; }
.lp-ink .lp-tag b::after { background: rgba(244, 243, 239, .3); }
.lp-hero .lp-tag::before { content: ""; width: .9rem; height: 2px; margin-right: .7rem; background: var(--sig); }

.lp-display { font: 500 clamp(3rem, 7.2vw, 6.6rem)/.94 var(--font); letter-spacing: -.05em; color: inherit; }
.lp-display { text-wrap: balance; }
.lp-display--md { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 1.4rem; }
.lp-h2 { font: 500 clamp(2.2rem, 4.6vw, 3.9rem)/1 var(--font); letter-spacing: -.045em; color: inherit; text-wrap: balance; }
.lp-lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.58; color: var(--text); margin-bottom: 1.8rem; }
.lp-ink .lp-lead { color: var(--text-d); max-width: 36rem; }
.lp-text { font-size: 1.06rem; line-height: 1.62; color: var(--text); }
.lp-ink .lp-text { color: var(--text-d); }

/* ---------------------------------------------------------------- buttons */
.lp-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.lp-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 999px; font: 500 .94rem/1.2 var(--font); white-space: nowrap; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.lp-btn--lg { padding: .9rem 1.5rem; font-size: 1rem; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--ink { background: var(--ink); color: var(--paper) !important; }
.lp-btn--ink:hover { background: #000; }
.lp-btn--paper { background: var(--paper); color: var(--ink) !important; }
.lp-btn--paper:hover { background: #fff; }
.lp-btn--ghost { color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-btn--ghost:hover { background: rgba(22, 22, 22, .05); box-shadow: inset 0 0 0 1px var(--ink); }
.lp-ink .lp-btn--ghost { color: #edebe5 !important; box-shadow: inset 0 0 0 1px rgba(244, 243, 239, .3); }
.lp-ink .lp-btn--ghost:hover { background: rgba(244, 243, 239, .06); box-shadow: inset 0 0 0 1px #edebe5; }

/* -------------------------------------------------------------------- nav */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding: .85rem 0; font-family: var(--font); transition: background .2s ease, box-shadow .2s ease; }
.lp-nav.is-solid { background: var(--sand); box-shadow: 0 1px 0 var(--line); }
.lp-nav__in { display: flex; align-items: center; gap: 2.2rem; }
.lp-brand { display: inline-flex; align-items: center; gap: .5rem; font: 600 1.12rem/1 var(--font); letter-spacing: -.025em; color: var(--ink) !important; }
.lp-nav__links { display: flex; gap: 1.6rem; flex: 1; }
.lp-nav__links a { font-size: .92rem; color: var(--text) !important; transition: color .15s ease; }
.lp-nav__links a:hover { color: var(--ink) !important; }
.lp-nav__cta { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.lp-lang { font: 500 .74rem/1 var(--mono); letter-spacing: .06em; padding: .38rem .5rem; border-radius: 6px; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-lang:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.lp-gh { display: inline-flex; color: var(--ink) !important; opacity: .8; }
.lp-gh:hover { opacity: 1; }

/* ------------------------------------------------------------------- hero */
.lp-hero { background: var(--sand); padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.lp-hero__head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.lp-hero__side .lp-lead { max-width: 30rem; }

/* scene */
.sc { margin: clamp(2.8rem, 5vw, 4rem) 0 0; padding: clamp(1rem, 2.4vw, 1.9rem); border-radius: 24px; background: var(--paper); }
.sc-cap { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-cap > span:first-child { color: var(--ink); }
.sc-cap b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.sc-net { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; padding: 2.2rem .5rem 1.8rem; }
.sc-node { display: grid; justify-items: center; gap: .3rem; text-align: center; min-width: 7.5rem; }
.sc-node b { margin-top: .45rem; font-weight: 500; font-size: .95rem; letter-spacing: -.01em; }
.sc-node span { font: 400 .72rem/1.2 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--sand); transition: transform .3s ease; }
.sc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-node--vic .sc-ico { background: var(--ink); }
.sc-node--vic .sc-ico svg { stroke: var(--paper); }
.sc-node--vic.is-hit .sc-ico { transform: scale(1.05); }
.sc-node--exp .sc-ico { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--paper); }
.sc-wire { position: relative; height: 60px; margin: 0 .4rem; }
.sc-wire::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--line-2) 55%, transparent 0) 0 0 / 7px 1px repeat-x; }
.pk { position: absolute; top: 50%; left: 0; height: 8px; width: 12px; margin-top: -4px; border-radius: 2.5px; background: var(--ink); will-change: transform; }
.pk--pad { width: 28px; }
.pk--frag { width: 5px; }
.pk--decoy { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.pk[data-port]::after { content: attr(data-port); position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font: 400 9.5px/1 var(--mono); color: var(--muted); white-space: nowrap; }

.sc-read { display: grid; grid-template-columns: 1fr 1fr 1.15fr; border-top: 1px solid var(--line); }
.sc-col { padding: 1.4rem 1.6rem .4rem; }
.sc-col + .sc-col { border-left: 1px solid var(--line); }
.sc-col:first-child { padding-left: .2rem; }
.sc-col h3 { margin-bottom: 1rem; font: 500 .7rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sc-ops { list-style: none; margin: 0; padding: 0; }
.sc-ops li { display: flex; gap: .75rem; padding: .36rem 0; font-size: .95rem; color: var(--muted); transition: color .3s ease; }
.sc-ops li span { font: 400 .72rem/1.6 var(--mono); }
.sc-ops li.is-done { color: var(--ink); }
.sc-ops li.is-on { color: var(--ink); font-weight: 500; }
.sc-ops li.is-on span { color: var(--sig-ink); }
.sc-meter { position: relative; height: 10px; border-radius: 99px; background: var(--sand); }
.sc-meter__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--ink); transition: background .3s ease; }
.sc-meter__bar.is-missed { background: #b4b1a8; }
.sc-meter--ev .sc-meter__bar { background: var(--ink); }
.sc-meter__thr { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); z-index: 1; }
.sc-meter__worst { position: absolute; top: -3px; bottom: -3px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--sig); z-index: 2; }
.sc-scale { display: flex; justify-content: space-between; margin-top: .5rem; font: 400 .68rem/1 var(--mono); color: var(--muted); }
.sc-scale em { font-style: normal; color: var(--sig-ink); }
.sc-verdict { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; padding: .48rem .85rem; border-radius: 99px; font: 500 .74rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; background: var(--ink); color: var(--paper); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.sc-verdict.is-missed { background: transparent; color: var(--alarm); box-shadow: inset 0 0 0 1px var(--alarm); }
.sc-verdict.is-cert { background: var(--sig); color: var(--ink); }
.sc-verdict.is-cert::before { content: "✓"; }
.sc-note { margin-top: .8rem; font-size: .86rem; color: var(--muted); }
.sc-ctr { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.sc-ctr li { display: grid; grid-template-columns: 1fr auto 1rem; gap: .6rem; align-items: baseline; padding: .34rem 0; border-bottom: 1px dashed var(--line); }
.sc-ctr span { font-size: .9rem; color: var(--text); }
.sc-ctr b { font: 500 .92rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.sc-ctr i { font: 500 .78rem/1 var(--mono); font-style: normal; color: var(--sig-ink); opacity: .35; transition: opacity .25s ease; }
.sc-ctr li.is-up i { opacity: 1; }

.lp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 2.6rem; }
.lp-strip > div { padding-top: 1rem; border-top: 1px solid var(--line-2); }
.lp-strip span { display: block; margin-bottom: .5rem; font: 500 .7rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lp-strip b { font-weight: 500; font-size: 1.12rem; letter-spacing: -.01em; }

/* ----------------------------------------------------------------- split */
.lp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.4rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* numbered steps */
.lp-steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); margin: 0; padding: 0; }
.lp-steps--4 { grid-template-columns: repeat(4, 1fr); }
.lp-steps li { counter-increment: st; padding-top: 1.1rem; border-top: 1px solid var(--line-2); }
.lp-steps li::before { content: counter(st, decimal-leading-zero); display: block; margin-bottom: 1.6rem; font: 500 .72rem/1 var(--mono); color: var(--sig-ink); }
.lp-steps h3 { margin-bottom: .55rem; font-weight: 500; font-size: 1.18rem; letter-spacing: -.02em; }
.lp-steps p { font-size: .95rem; line-height: 1.58; color: var(--text); }
.lp-ink .lp-steps li { border-color: rgba(244, 243, 239, .25); }
.lp-ink .lp-steps li::before { color: var(--sig-hi); }
.lp-ink .lp-steps p { color: var(--text-d); }

/* ------------------------------------------------------ operation matrix */
.om { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.1rem, 2.6vw, 2rem); border-radius: 24px; background: var(--sand); }
.om-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.om-head p { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.om-ops { display: flex; flex-wrap: wrap; gap: .4rem; }
.om-ops button { padding: .5rem .95rem; border: 0; border-radius: 99px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .88rem/1.2 var(--font); color: var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease; }
.om-ops button:hover { background: rgba(22, 22, 22, .05); }
.om-ops button.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.om-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.om-panel { padding: 1.2rem 1.4rem .6rem; border-radius: 16px; background: var(--paper); }
.om-panel h4 { margin-bottom: .6rem; font: 500 .7rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.om-panel ul { list-style: none; margin: 0; padding: 0; }
.om-panel li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.om-panel li b { font: 500 .82rem/1.3 var(--mono); white-space: nowrap; }
.om-panel .is-same { color: var(--muted); }
.om-panel .is-up, .om-panel .is-down { color: var(--alarm); }
.om-panel--ev .is-up { color: var(--sig-ink); }

/* ------------------------------------------------------------- widgets */
.pw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.pw { padding: clamp(1.2rem, 2.4vw, 1.8rem); border-radius: 24px; background: var(--ink-2); }
.pw-head { display: flex; justify-content: space-between; font: 500 .72rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted-d); }
.pw-head span:first-child { color: #edebe5; }
.pw-label { display: flex; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 .9rem; font-size: .95rem; color: var(--text-d); }
.pw-label b { font: 500 .85rem/1.4 var(--mono); color: var(--sig-hi); white-space: nowrap; }
.pw input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 99px; background: #3a3a37; outline: none; }
.pw input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #edebe5; border: 4px solid var(--ink-2); box-shadow: 0 0 0 1px #edebe5; cursor: pointer; }
.pw input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #edebe5; border: 4px solid var(--ink-2); box-shadow: 0 0 0 1px #edebe5; cursor: pointer; }
.pw input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(61, 220, 140, .4); }
.pw-scale { display: flex; justify-content: space-between; margin-top: .6rem; font: 400 .68rem/1 var(--mono); color: var(--muted-d); }
.pw-meta { margin-top: .9rem; font: 400 .74rem/1.5 var(--mono); color: var(--muted-d); }
.pw-meta b { font-weight: 500; color: #edebe5; }
.pw-out { margin-top: .7rem; font-size: .98rem; font-weight: 500; }
.pw-out.is-ok { color: var(--sig-hi); }
.pw-out.is-ok::before { content: "✓ "; }
.pw-out.is-no { color: var(--alarm-hi); }
.pw-out.is-no::before { content: "× "; }

.cs-bars { --cs-label: 40%; position: relative; margin: 1.7rem 0 1rem; }
.cs-row { display: grid; grid-template-columns: var(--cs-label) 1fr; align-items: center; margin: .6rem 0; }
.cs-row span { padding-right: .9rem; font-size: .84rem; line-height: 1.3; color: var(--text-d); }
.cs-row i { position: relative; height: 12px; border-radius: 99px; background: var(--ink-3); }
.cs-row b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: #edebe5; }
#cs-w { background: var(--alarm-hi); }
#cs-w.is-ok { background: var(--sig-hi); }
.cs-thr { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: #edebe5; }

.fr-axis { position: relative; height: 54px; margin: 2.4rem 0 1.4rem; }
.fr-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink-3); }
.fr-zone { position: absolute; left: 0; top: 50%; height: 10px; margin-top: -5px; border-radius: 99px; background: rgba(255, 138, 112, .3); }
.fr-mark { position: absolute; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; }
.fr-mark span { position: absolute; left: 50%; transform: translateX(-50%); font: 500 .68rem/1 var(--mono); white-space: nowrap; }
.fr-mark--front { background: var(--alarm-hi); }
.fr-mark--front span { top: -14px; color: var(--alarm-hi); }
.fr-mark--real { background: #edebe5; }
.fr-mark--real span { bottom: -14px; color: #edebe5; }
.fr-dot { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--sig-hi); box-shadow: 0 0 0 4px var(--ink-2); }
.fr-dot.is-pass { background: var(--alarm-hi); }

/* ------------------------------------------------------------- build */
.lp-code { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; }
.lp-win { min-width: 0; border-radius: 20px; background: var(--ink); color: #edebe5; overflow: hidden; }
.lp-win__bar { display: flex; justify-content: space-between; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line-d); font: 400 .72rem/1 var(--mono); color: var(--muted-d); }
.lp-win__bar span:first-child { color: #edebe5; }
.lp-win__body { margin: 0; padding: 1.1rem 1.25rem 1.4rem; overflow-x: auto; background: transparent; font: 400 .82rem/1.8 var(--mono); color: #edebe5; }
.lp-win__body code { font: inherit; color: inherit; background: none; padding: 0; }
.lp-win .c { color: var(--muted-d); }
.lp-win .s { color: var(--sig-hi); }
.lp-win .k { color: #f0c987; }

.lp-links { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-2); }
.lp-links a { display: grid; grid-template-columns: 4rem minmax(10rem, 16rem) 1fr 3rem; gap: 1rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink) !important; transition: padding .25s ease, background .25s ease; }
.lp-links a:hover { padding-left: .9rem; background: rgba(22, 22, 22, .03); }
.lp-links__n { font: 500 .72rem/1 var(--mono); color: var(--muted); }
.lp-links h3 { font-weight: 500; font-size: 1.4rem; letter-spacing: -.025em; }
.lp-links p { font-size: .98rem; line-height: 1.5; color: var(--text); }
.lp-links__go { justify-self: end; font-size: 1.3rem; transition: transform .25s ease; }
.lp-links a:hover .lp-links__go { transform: translateX(-.4rem); color: var(--sig-ink); }

/* ------------------------------------------------------------- eval */
.lp-table { margin-bottom: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--ink); }
.lp-table__row { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--text); }
.lp-table__row b { font-weight: 500; color: var(--ink); }
.lp-table__head { font: 500 .7rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lp-paper .lp-steps + .lp-row { margin-top: 3rem; }

/* -------------------------------------------------------------- faq */
.lp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lp-faq__list details { border-bottom: 1px solid var(--line-2); }
.lp-faq__list details:first-child { border-top: 1px solid var(--line-2); }
.lp-faq__list summary { position: relative; list-style: none; padding: 1.35rem 3rem 1.35rem 0; cursor: pointer; font-weight: 500; font-size: 1.15rem; letter-spacing: -.015em; }
.lp-faq__list summary::-webkit-details-marker { display: none; }
.lp-faq__list summary::after { content: "+"; position: absolute; right: .2rem; top: 1.2rem; font: 400 1.3rem/1 var(--mono); color: var(--muted); }
.lp-faq__list details[open] summary::after { content: "−"; color: var(--sig-ink); }
.lp-faq__list p { max-width: 44rem; padding: 0 0 1.5rem; font-size: 1rem; line-height: 1.62; color: var(--text); }
.lp-faq__list a { color: var(--sig-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* -------------------------------------------------------------- cta */
.lp-cta { overflow: hidden; }
.lp-tally { margin-bottom: clamp(2rem, 4vw, 3rem); }
.lp-tally span { display: block; font: 500 .72rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted-d); }
.lp-tally b { display: block; margin-top: .6rem; font: 500 clamp(3.2rem, 11.5vw, 10rem)/.9 var(--mono); letter-spacing: -.06em; color: var(--sig-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-install { display: flex; align-items: center; gap: .8rem; max-width: 54rem; margin-bottom: 2rem; padding: .7rem .7rem .7rem 1.1rem; border-radius: 16px; background: var(--ink-2); font: 400 .82rem/1.4 var(--mono); }
.lp-install > span { color: var(--sig-hi); }
.lp-install code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: inherit; color: #edebe5; background: none; padding: 0; scrollbar-width: none; }
.ap-install__copy { flex: none; padding: .5rem .95rem; border: 0; border-radius: 99px; background: var(--paper); font: 500 .82rem/1 var(--font); color: var(--ink); cursor: pointer; }
.ap-install__copy:hover { background: #fff; }

/* ----------------------------------------------------------- footer */
.lp-foot { padding: 4.5rem 0 2rem; background: #0f0f0e; font-family: var(--font); color: var(--muted-d); }
.lp-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.lp-foot .lp-brand { color: #edebe5 !important; }
.lp-foot p { max-width: 22rem; margin-top: 1rem; font-size: .92rem; line-height: 1.55; }
.lp-foot h4 { margin: 0 0 1rem; font: 500 .7rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #6f6d66; }
.lp-foot__grid a:not(.lp-brand) { display: block; padding: .28rem 0; font-size: .92rem; color: #d8d5cc !important; }
.lp-foot__grid a:not(.lp-brand):hover { color: #fff !important; }
.lp-foot__base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-d); font: 400 .72rem/1.4 var(--mono); }

/* ------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .lp-nav__links { display: none; }
  .lp-hero__head, .lp-split, .lp-faq { grid-template-columns: 1fr; align-items: start; }
  .lp-steps--4 { grid-template-columns: repeat(2, 1fr); }
  .pw-grid, .lp-code { grid-template-columns: 1fr; }
  .sc-read { grid-template-columns: 1fr 1fr; }
  .sc-col--ev { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); padding-left: .2rem; }
  .lp-foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .lp-foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .lp-hide-sm { display: none !important; }
  .lp-nav__cta { gap: .6rem; }
  .lp-steps, .lp-steps--4, .lp-strip, .om-grid { grid-template-columns: 1fr; }
  .sc-cap__r { display: none; }
  .sc-net { padding: 1.6rem 0 1.3rem; }
  .sc-node { min-width: 0; }
  .sc-node span { display: none; }
  .sc-node b { font-size: .8rem; }
  .sc-ico { width: 46px; height: 46px; border-radius: 14px; }
  .sc-ico svg { width: 22px; height: 22px; }
  .sc-wire { height: 46px; margin: 0 .25rem; }
  .pk[data-port]::after { display: none; }
  .sc-read { grid-template-columns: 1fr; }
  .sc-col { padding: 1.2rem .2rem .4rem !important; border-left: 0 !important; }
  .sc-col + .sc-col { border-top: 1px solid var(--line); }
  .lp-links a { grid-template-columns: 2.4rem 1fr 1.6rem; row-gap: .4rem; }
  .lp-links p { grid-column: 2 / 3; grid-row: 2; }
  .lp-links__go { grid-column: 3; grid-row: 1; }
  .lp-table__row { grid-template-columns: 1fr; gap: .25rem; }
  .lp-table__head { display: none; }
  .cs-bars { --cs-label: 46%; }
  .lp-foot__grid { grid-template-columns: 1fr 1fr; }
  .lp-foot__base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp *, .lp *::before, .lp *::after { transition: none !important; }
}

/* ---- Hero diagram: the same flood seen by two detectors -------------------- */
.hd { margin: clamp(1.6rem, 3.4vh, 3rem) 0 0; padding: clamp(1rem, 2.2vh, 1.6rem) clamp(1rem, 2.4vw, 1.9rem); border-radius: 24px; background: var(--paper); }
.hd-net { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.hd-node { padding: .55rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--sand); font: 500 .78rem/1 var(--mono); letter-spacing: .04em; }
.hd-node--atk { border-color: #d9822b; }
.hd-wire { position: relative; height: 2px; background: var(--line-2); overflow: visible; }
.hd-wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #d9822b; opacity: 0; animation: hd-fly 2.4s linear infinite; }
.hd-wire i:nth-child(2) { animation-delay: .4s; } .hd-wire i:nth-child(3) { animation-delay: .8s; }
.hd-wire i:nth-child(4) { animation-delay: 1.2s; } .hd-wire i:nth-child(5) { animation-delay: 1.6s; } .hd-wire i:nth-child(6) { animation-delay: 2s; }
.hd[data-level="0"] .hd-wire i { animation: none; }
.hd[data-level="1"] .hd-wire i:nth-child(n+2) { animation: none; }
.hd[data-level="2"] .hd-wire i:nth-child(n+5) { animation: none; }
.hd[data-step="2"] .hd-wire i, .hd[data-step="3"] .hd-wire i { width: 15px; height: 15px; top: -6.5px; border: 3px solid #f0c48f; }
@keyframes hd-fly { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.hd-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.6rem); margin-top: clamp(.9rem, 2vh, 1.5rem); }
.hd-lane { display: grid; grid-template-rows: auto auto 1fr auto; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; }
.hd-lane--p { border-color: var(--ink); }
.hd-lane h3 { font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; }
.hd-lane p { margin: .25rem 0 .9rem; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.hd-bar { position: relative; align-self: end; height: 12px; margin: 0 0 .9rem; border-radius: 6px; background: var(--sand); }
.hd-bar b { position: absolute; inset: 0 auto 0 0; width: 14%; border-radius: 6px; background: #d9822b; transition: width .9s cubic-bezier(.3, .7, .2, 1); }
.hd-bar i { position: absolute; top: -4px; bottom: -4px; width: 0; }
.hd-bar__n { left: 14%; border-left: 2px solid var(--sig); }
.hd-bar__t { left: 42%; border-left: 2px dashed var(--ink); }
.hd-v { align-self: end; display: block; padding: .6rem .8rem; border-radius: 10px; text-align: center; font: 600 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--sand); color: var(--muted); transition: background .3s, color .3s; }
.hd-v[data-s="alert"] { background: var(--ink); color: var(--paper); }
.hd-v[data-s="cert"] { background: var(--sig); color: #06240f; }
.hd-v[data-s="missed"] { background: transparent; color: #c2410c; outline: 1.5px dashed #c2410c; outline-offset: -1.5px; }
.hd-cap { display: flex; align-items: center; gap: 1rem; margin-top: clamp(.8rem, 1.8vh, 1.2rem); min-height: 2.9em; font-size: .98rem; line-height: 1.45; }
.hd-dots { display: flex; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.hd-dots li { width: 1.5rem; height: 5px; border-radius: 3px; background: var(--line-2); cursor: pointer; transition: background .3s; }
.hd-dots li.is-on { background: var(--ink); }
.lp-strip--2 { grid-template-columns: repeat(2, 1fr); }
.lp-strip--2 b { display: block; font-size: 1rem; line-height: 1.45; font-weight: 400; }
@media (max-width: 720px) { .hd-lanes, .lp-strip--2 { grid-template-columns: 1fr; } .hd-cap { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .hd-wire i { animation: none; opacity: 1; left: 40%; } .hd-bar b { transition: none; } }

/* ---- Hero: dark, the title of the work and a field of traffic -------------- */
.lp-hero--v2 { position: relative; overflow: hidden; background: #111110; color: #f4f3ef; }
.hv { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; display: block;
      -webkit-mask-image: linear-gradient(to right, transparent 0, #000 34%); mask-image: linear-gradient(to right, transparent 0, #000 34%); }
.hv-wrap { position: relative; z-index: 1; }
.lp-hero--v2 .lp-tag { color: var(--sig); }
.lp-hero--v2 .lp-tag::before { background: var(--sig); }
.hv-title { max-width: 11.5em; font-size: clamp(2.9rem, 6.4vw, 6rem); color: #f4f3ef; }
.hv-title em { font-style: normal; color: var(--sig); }
.hv-sub { margin: .9rem 0 0; font: 400 clamp(1.25rem, 2.3vw, 2rem)/1.15 var(--font); letter-spacing: -.03em; color: var(--muted-d); }
.lp-hero--v2 .lp-lead { max-width: 34rem; margin: clamp(1.4rem, 3.4vh, 2.4rem) 0 clamp(1.4rem, 3vh, 2.1rem); color: var(--text-d); }
.hv-facts { max-width: 78%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.4rem); margin: clamp(2rem, 5.5vh, 4rem) 0 0; padding: clamp(1rem, 2.4vh, 1.5rem) 0 0; list-style: none; border-top: 1px solid var(--line-d); }
.hv-facts li { display: flex; align-items: baseline; gap: .7rem; }
.hv-facts b { font: 500 clamp(1.7rem, 2.8vw, 2.5rem)/1 var(--font); letter-spacing: -.04em; color: #f4f3ef; }
.hv-facts span { font-size: .88rem; line-height: 1.4; color: var(--muted-d); }
/* the navigation over the dark hero */
.lp-nav:not(.is-solid) .lp-brand, .lp-nav:not(.is-solid) .lp-lang, .lp-nav:not(.is-solid) .lp-gh { color: #f4f3ef !important; }
.lp-nav:not(.is-solid) .lp-nav__links a { color: var(--text-d) !important; }
.lp-nav:not(.is-solid) .lp-nav__links a:hover { color: #f4f3ef !important; }
.lp-nav:not(.is-solid) .lp-lang { box-shadow: inset 0 0 0 1px rgba(244, 243, 239, .3); }
.lp-nav:not(.is-solid) .lp-brand img { filter: brightness(0) invert(1); }
.lp-nav:not(.is-solid) .lp-btn--ink { background: #f4f3ef; color: #161616 !important; }
@media (max-width: 900px) { .hv { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; } .hv-facts { max-width: none; grid-template-columns: 1fr; } }

/* ---- One slide per scroll stroke -----------------------------------------
   Every section fills the viewport and the page snaps to its top. A section
   taller than the viewport still scrolls inside itself before the next snap. */
@media (min-width: 900px) and (min-height: 620px) {
  /* Sizes follow the height of the window, so that a slide fits a laptop screen. */
  html { scroll-snap-type: y mandatory; font-size: clamp(12.5px, 1.62vh, 16px) !important; }
  .lp-hero, .lp-sec {
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    scroll-snap-align: start; scroll-snap-stop: always;
  }
  .lp-hero > *, .lp-sec > * { width: 100%; }
  .lp-sec { padding: clamp(4.6rem, 9vh, 7rem) 0 clamp(1.6rem, 4vh, 3.5rem); scroll-margin-top: 0; }
  .lp-hero { padding: clamp(4.4rem, 9vh, 7rem) 0 clamp(1.2rem, 2.5vh, 2.5rem); }
  .lp-hero .lp-strip { margin-top: clamp(1rem, 2.4vh, 2.4rem); }
  .lp-foot { scroll-snap-align: end; }
  .lp-sec.is-tall, .lp-hero.is-tall { scroll-snap-stop: normal; justify-content: flex-start; }
  /* The walkthrough is the tallest block: a shorter heading leaves it the room. */
  #walkthrough .lp-split { margin-bottom: .2rem; align-items: end; }
  #walkthrough .lp-h2 { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
  #walkthrough .lp-tag { margin-bottom: .8rem; }
  #walkthrough .lp-text { font-size: .95rem; }
  #walkthrough .wt { margin: .9rem 0 0; font-size: 1.14rem; }
  #walkthrough .wt-stage svg { max-height: 132px; }
  #walkthrough .wt-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }
