/* Physical Agent Labs. The operator console's look on a page: cyan on near-black, HUD corner brackets, monospace
   labels and numbers, a soft glow. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
             src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
             src: url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); }
:root {
  --bg: #04080b; --bg2: #061118; --panel: rgba(7, 22, 29, .6); --panel2: rgba(9, 28, 36, .78);
  --line: rgba(57, 230, 255, .16); --line2: rgba(57, 230, 255, .34); --fg: #e2f6fb; --fg2: #b9d6de; --dim: #7fa3ae;
  --acc: #39e6ff; --acc-rgb: 57, 230, 255; --amber: #f2a93b; --ok: #3ddc84;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px; --nav-h: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
       text-rendering: optimizeLegibility; }
body.locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.022em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--fg2); }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--acc-rgb), .35); color: #fff; }
/* scroll bars in the HUD's colours: a near-black track with a cyan hairline, a cyan glass thumb that brightens when
   held. Chromium and Safari get the full look; Firefox only takes colours (the @supports block). Literal colours:
   the page's own scroll bar doesn't always see the page's variables. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #03070a; box-shadow: inset 1px 0 0 rgba(57, 230, 255, .14); }
::-webkit-scrollbar-thumb { min-height: 56px; border: 3px solid transparent; border-radius: 8px; background-clip: padding-box;
  background-color: rgba(57, 230, 255, .32);
  box-shadow: inset 0 0 0 1px rgba(57, 230, 255, .55), inset 0 0 10px rgba(57, 230, 255, .3); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(57, 230, 255, .52); }
::-webkit-scrollbar-thumb:active { background-color: rgba(57, 230, 255, .78); }
::-webkit-scrollbar-corner { background: #03070a; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: rgba(57, 230, 255, .5) #03070a; scrollbar-width: thin; }
  textarea { scrollbar-color: rgba(57, 230, 255, .5) transparent; scrollbar-width: thin; }
}
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--acc); color: #02161c; border-radius: 4px; }
.skip:focus { left: 12px; }

/* HUD panel: thin cyan line, corner brackets, glass */
.hud { position: relative; background-color: var(--panel); border: 1px solid var(--line); border-radius: 3px;
       backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
       background-image: linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
         linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
         linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc)),
         linear-gradient(var(--acc), var(--acc)), linear-gradient(var(--acc), var(--acc));
       background-repeat: no-repeat;
       background-size: 14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px;
       background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
       border-radius: 3px; border: 1px solid transparent; font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
       text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--acc); color: #021820; box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .4), 0 8px 30px rgba(var(--acc-rgb), .28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .7), 0 10px 40px rgba(var(--acc-rgb), .45); }
.btn-ghost { background: rgba(4, 12, 16, .45); color: var(--fg); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); box-shadow: 0 0 24px rgba(var(--acc-rgb), .18); }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .3s, border-color .3s, backdrop-filter .3s;
       border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(4, 10, 13, .82); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; background: var(--acc); filter: drop-shadow(0 0 6px rgba(var(--acc-rgb), .6));
             -webkit-mask: url(/brand/pal-mark-mono.svg) center / contain no-repeat; mask: url(/brand/pal-mark-mono.svg) center / contain no-repeat; }
.logo-word { font: 600 13px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--fg); }
.links { display: flex; align-items: center; gap: 30px; }
.links a { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg2); text-decoration: none;
           position: relative; padding: 6px 0; }
.links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--acc);
                                 transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.links a:hover { color: var(--fg); }
.links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 16px !important; border: 1px solid var(--line2); border-radius: 3px; color: var(--acc) !important; }
.nav-cta:hover { border-color: var(--acc); box-shadow: 0 0 18px rgba(var(--acc-rgb), .25); }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 3px; background: transparent; cursor: pointer;
        flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu span { display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform .25s; }
.menu[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
        padding: calc(var(--nav-h) + 40px) 0 110px; }
/* (no image behind the video: through the translucent video it showed as a still ghost of the first frame) */
.hero-media { position: absolute; inset: 0; z-index: -2; background: #02070a; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: saturate(1.08) contrast(1.05); }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(4, 8, 11, .94) 0%, rgba(4, 8, 11, .72) 42%, rgba(4, 8, 11, .25) 75%, rgba(4, 8, 11, .45) 100%),
    linear-gradient(180deg, rgba(4, 8, 11, .65) 0%, transparent 22%, transparent 62%, var(--bg) 100%); }
.hero-in { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font: 600 12.5px/1 var(--mono); letter-spacing: .32em;
           text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.hero h1 { font-size: clamp(46px, 8.4vw, 112px); line-height: .98; letter-spacing: -.045em; font-weight: 700; max-width: 10.5em; }
.glow { background: linear-gradient(92deg, #ffffff 0%, #bff6ff 30%, var(--acc) 75%); -webkit-background-clip: text; background-clip: text;
        color: transparent; filter: drop-shadow(0 0 26px rgba(var(--acc-rgb), .35)); }
.lead { max-width: 37em; margin: 28px 0 38px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: #cfe7ee; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* the loop under the hero: deploy, map, understand, act. A scan line runs across the steps in turn. */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; margin: 64px 0 0; padding: 0;
        list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        background: rgba(4, 12, 16, .42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.flow li { position: relative; display: grid; gap: 7px; align-content: start; padding: 20px 24px 20px 20px; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--acc);
                   box-shadow: 0 0 14px var(--acc); transform: scaleX(0); transform-origin: left; opacity: 0;
                   animation: flow-scan 8s linear infinite; }
.flow-n { font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--acc); animation: flow-n 8s linear infinite; }
.flow li:nth-child(2)::before, .flow li:nth-child(2) .flow-n { animation-delay: 2s; }
.flow li:nth-child(3)::before, .flow li:nth-child(3) .flow-n { animation-delay: 4s; }
.flow li:nth-child(4)::before, .flow li:nth-child(4) .flow-n { animation-delay: 6s; }
@keyframes flow-scan { 0% { transform: scaleX(0); opacity: 1; } 22% { transform: scaleX(1); opacity: 1; }
                       30%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes flow-n { 0%, 26% { color: #fff; text-shadow: 0 0 12px var(--acc); } 34%, 100% { color: var(--acc); text-shadow: none; } }
.flow b { font: 600 15px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.flow li > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--fg2); }
/* the way on to section 01: its name, a rail with a light running down it, a chevron */
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column;
              align-items: center; gap: 8px; padding: 6px 14px 4px; color: var(--fg2); text-decoration: none; transition: color .2s; }
.sc-k { font: 600 10.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; white-space: nowrap; }
.sc-rail { position: relative; width: 9px; height: 34px; overflow: hidden; }
.sc-rail::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: rgba(var(--acc-rgb), .25);
                   transition: background .2s; }
.sc-rail i { position: absolute; left: 4px; top: 0; width: 1px; height: 16px; background: linear-gradient(rgba(var(--acc-rgb), 0), var(--acc));
             box-shadow: 0 0 6px 1px rgba(var(--acc-rgb), .75); animation: sc-drop 2.2s cubic-bezier(.55, 0, .45, 1) infinite; }
@keyframes sc-drop { from { transform: translateY(-16px); } to { transform: translateY(34px); } }
.sc-chev { width: 14px; height: 9px; fill: none; stroke: var(--acc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
           filter: drop-shadow(0 0 4px rgba(var(--acc-rgb), .7)); animation: sc-chev 2.2s ease-in-out infinite; }
@keyframes sc-chev { 0%, 100% { transform: translateY(0); opacity: .55; } 55% { transform: translateY(3px); opacity: 1; } }
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--acc); }
.scroll-cue:hover .sc-rail::before { background: rgba(var(--acc-rgb), .5); }

/* ── sections ── */
.sec { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.sec-alt { background: linear-gradient(180deg, transparent, var(--bg2) 12%, var(--bg2) 88%, transparent); }
.sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(var(--acc-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--acc-rgb), .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.sec > .wrap { position: relative; }
.label { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 600 12px/1 var(--mono); letter-spacing: .26em;
         text-transform: uppercase; color: var(--acc); }
.label span { padding: 5px 7px; border: 1px solid var(--line2); border-radius: 2px; letter-spacing: .1em; color: var(--fg); }
.two { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.two h2 { max-width: 12em; margin-bottom: 26px; }
.two > div > p:not(.label) { font-size: 18px; }
.head { max-width: 820px; margin-bottom: 56px; }
.head h2 { margin-bottom: 22px; }
.sub { font-size: 18.5px; line-height: 1.65; }

/* why: virtual vs physical */
.versus { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; }
.vs-col { padding: 24px 26px 22px; }
.vs-col + .vs-col { border-left: 1px solid var(--line); }
.vs-h { margin: 0 0 14px; font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.vs-col li { position: relative; padding-left: 20px; margin: 9px 0; font-size: 15.5px; color: var(--fg2); }
.vs-col li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: var(--dim); }
.vs-col.on { background: linear-gradient(135deg, rgba(var(--acc-rgb), .1), transparent 70%); }
.vs-col.on .vs-h { color: var(--acc); }
.vs-col.on li { color: var(--fg); }
.vs-col.on li::before { background: var(--acc); box-shadow: 0 0 6px var(--acc); }

/* operator view: the preview + features */
.preview { display: block; width: 100%; padding: 0; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; color: inherit; text-align: left;
           font: inherit; transition: box-shadow .3s, border-color .3s; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.preview-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 11, .05) 30%, rgba(4, 8, 11, .9) 100%); }
.preview .play { position: absolute; left: 50%; top: 46%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
                 display: grid; place-items: center; background: rgba(var(--acc-rgb), .14); border: 1.5px solid var(--acc);
                 box-shadow: 0 0 0 10px rgba(var(--acc-rgb), .06), 0 0 50px rgba(var(--acc-rgb), .45); transition: transform .3s, background .3s; }
.preview .play svg { width: 34px; height: 34px; fill: var(--acc); margin-left: 5px; }
.preview .play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(var(--acc-rgb), .4);
                        animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.preview-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; display: grid; gap: 6px; }
.preview-cap b { font: 600 15px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.preview-cap small { font-size: 15.5px; color: var(--fg2); max-width: 46em; }
.preview:hover { border-color: var(--line2); box-shadow: 0 0 60px rgba(var(--acc-rgb), .14); }
.preview:hover img { transform: scale(1.025); }
.preview:hover .play { transform: scale(1.06); background: rgba(var(--acc-rgb), .24); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 46px; background: var(--line);
            border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.features li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; padding: 28px 26px;
               background: var(--bg2); }
.features svg, .uses svg { width: 34px; height: 34px; fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round;
                           stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(var(--acc-rgb), .35)); grid-row: span 2; }
.features b, .uses b { font: 600 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); margin: 3px 0 7px; }
.features span, .uses span { font-size: 15px; line-height: 1.55; color: var(--dim); }

/* fleet */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; }
/* each card's parts on the grid's rows (subgrid): prices, texts and lists line up across the cards */
.card { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; margin-bottom: 18px;
        padding: 28px 24px 26px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 30px rgba(var(--acc-rgb), .1); }
.card-ico { width: 64px; height: 64px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%;
            background: radial-gradient(circle, rgba(var(--acc-rgb), .16), transparent 70%); }
.card-ico svg { width: 48px; height: 48px; fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-ico .arc { stroke: var(--acc); filter: drop-shadow(0 0 4px rgba(var(--acc-rgb), .7)); }
.card-tag { margin: 0 0 8px; font: 600 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--acc); }
.card h3 { margin-bottom: 10px; }
.price { margin: 0 0 16px; font: 600 28px/1 var(--mono); color: var(--fg); letter-spacing: -.02em; }
.price small { font-size: 13px; color: var(--dim); letter-spacing: .06em; }
.card > p:not(.card-tag):not(.price) { font-size: 15px; line-height: 1.6; }
.card ul { align-self: start; padding-top: 14px; border-top: 1px solid var(--line); }
.card li { position: relative; padding-left: 18px; margin: 7px 0; font: 400 12.5px/1.45 var(--mono); letter-spacing: .02em; color: var(--fg2); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border: 1.5px solid var(--acc); border-radius: 50%; }
.kit { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 4px; padding: 34px 36px;
       background-color: rgba(9, 30, 38, .72);
       box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .08), 0 0 70px rgba(var(--acc-rgb), .08); }
.kit h3 { font-size: clamp(22px, 2.4vw, 28px); max-width: 22em; margin-bottom: 18px; }
.kit-list { display: flex; flex-wrap: wrap; gap: 10px; }
.kit-list li { padding: 9px 14px; border: 1px solid var(--line2); border-radius: 2px; font: 500 13px/1 var(--mono); letter-spacing: .04em;
               color: var(--fg2); background: rgba(4, 12, 16, .5); }
.kit-list b { color: var(--acc); margin-right: 6px; }
.kit-r { display: grid; justify-items: end; gap: 16px; flex: none; }
.price.big { margin: 0; font-size: clamp(36px, 4vw, 48px); text-shadow: 0 0 30px rgba(var(--acc-rgb), .3); }

/* missions */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uses li { display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 26px 22px 24px; transition: border-color .25s, transform .25s; }
.uses li svg { grid-row: auto; margin-bottom: 18px; }
.uses li:hover { border-color: var(--line2); transform: translateY(-3px); }
.use-cta { background-color: rgba(var(--acc-rgb), .07) !important; }
.use-cta .more { align-self: end; margin-top: 18px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc);
                 text-decoration: none; }
.use-cta .more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* contact */
.contact { align-items: stretch; }
.contact-points { margin-top: 34px; display: grid; gap: 2px; }
.contact-points li { display: grid; gap: 2px; padding: 14px 0 14px 18px; border-left: 1.5px solid var(--line2); }
.contact-points b { font: 600 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.contact-points span { font-size: 15px; color: var(--dim); }
.rfi { padding: 34px 34px 28px; }
.kind { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.kind legend { width: 100%; margin-bottom: 12px; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg2); }
.kind label { position: relative; cursor: pointer; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line2); border-radius: 2px; font: 500 13px/1 var(--mono);
             letter-spacing: .04em; color: var(--fg2); transition: all .18s; }
.kind label:hover span { border-color: var(--acc); color: var(--fg); }
.kind input:checked + span { background: rgba(var(--acc-rgb), .14); border-color: var(--acc); color: var(--acc); box-shadow: 0 0 16px rgba(var(--acc-rgb), .2); }
.kind input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--fg2); }
.field i, .kind legend i { font-style: normal; letter-spacing: .08em; color: var(--dim); text-transform: none; font-weight: 400; margin-left: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line2); border-radius: 2px; background: rgba(2, 8, 11, .65);
  color: var(--fg); font: 400 16px/1.5 var(--sans); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .14); }
.field.bad input, .field.bad textarea { border-color: #ff6b6b; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.status { margin: 0; font: 500 13.5px/1.45 var(--mono); color: var(--dim); }
.status.ok { color: var(--ok); }
.status.err { color: #ff8080; }
.fine { margin: 18px 0 0; font-size: 13px; color: var(--dim); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 52px; background: #03070a; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 36px; }
.foot-tag { margin: 0; font: 400 13px/1 var(--mono); letter-spacing: .06em; color: var(--dim); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg2); text-decoration: none; }
.foot-links a:hover { color: var(--acc); }
.copy { grid-column: 1 / -1; margin: 8px 0 0; font: 400 12px/1 var(--mono); color: var(--dim); }

/* the demo overlay */
.demo { position: fixed; inset: 0; z-index: 90; background: rgba(2, 6, 8, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
        opacity: 0; transition: opacity .35s; }
.demo.open { opacity: 1; }
.demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #04080b; transform: translateY(24px) scale(.985);
               transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.demo.open iframe { transform: none; }
.demo[hidden] { display: none; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.features .reveal:nth-child(2), .cards .reveal:nth-child(2), .uses .reveal:nth-child(2) { transition-delay: .08s; }
.features .reveal:nth-child(3), .cards .reveal:nth-child(3), .uses .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .uses .reveal:nth-child(4) { transition-delay: .24s; }
.hero-in > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; }
.hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5), .hero-in > :nth-child(6) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── smaller screens ── */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .menu { display: inline-flex; }
  .links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 22px;
           background: rgba(4, 10, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none;
           transition: opacity .2s, transform .2s; }
  .links.open { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .links a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid var(--line2) !important; }
  .nav:has(.links.open) { background: rgba(4, 10, 13, .97); }
  .two { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .kit { flex-direction: column; align-items: flex-start; }
  .kit-r { justify-items: start; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-veil { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
      linear-gradient(180deg, rgba(4, 8, 11, .8) 0%, rgba(4, 8, 11, .6) 40%, rgba(4, 8, 11, .75) 75%, var(--bg) 100%); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .logo-word { font-size: 11.5px; letter-spacing: .16em; }
  .cards, .uses, .features, .row, .versus { grid-template-columns: 1fr; }
  .vs-col + .vs-col { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .flow li { padding: 16px 14px 16px 16px; }
  .flow li:nth-child(3) { border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow b { font-size: 13.5px; }
  .flow li > span:last-child { font-size: 13.5px; }
  .btn { width: 100%; }
  .cta { flex-direction: column; }
  .preview { aspect-ratio: 4 / 5; }
  .preview-cap { padding: 22px 20px; }
  .rfi { padding: 26px 20px 22px; }
  .kit { padding: 28px 22px; }
  .scroll-cue { display: none; }
}
