@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/chakra-petch-500.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/chakra-petch-600.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/chakra-petch-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  --bg: #050810;
  --navy: #07162D;
  --surface: #0A101C;
  --surface-2: #0D1524;
  --line: rgba(229, 234, 242, .08);
  --line-2: rgba(229, 234, 242, .14);
  --line-3: rgba(229, 234, 242, .24);
  --text: #E5EAF2;
  --muted: #95A1B5;
  --dim: #5F6B80;
  --cyan: #00D9FF;
  --blue: #087BFF;
  --violet: #7C8CFF;
  --green: #39FF14;
  --red: #FF5A6E;

  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --r: 10px;
  --header-h: 72px;
  --container: 1500px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 40% at 75% 0%, rgba(8, 123, 255, .11), transparent 70%),
    radial-gradient(40% 35% at 0% 60%, rgba(0, 217, 255, .05), transparent 70%),
    linear-gradient(180deg, #050810 0%, #060C18 55%, #050810 100%);
  animation: ambient 45s ease-in-out infinite alternate;
}
@keyframes ambient { to { transform: translate3d(-3%, 2%, 0) scale(1.04); } }

body.home-skin img, body.home-skin svg, body.home-skin canvas,
.site-header img, .site-header svg, .site-footer img, .site-footer svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.site-header ul, .site-header ol, .site-footer ul, .site-footer ol { margin: 0; padding: 0; list-style: none; }
:where(body.home-skin main) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .86em; color: var(--cyan); }
::selection { background: rgba(0, 217, 255, .28); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grad { color: var(--cyan); }

.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--cyan); color: #001018; padding: 10px 16px; border-radius: var(--r); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 46px; padding: 0 22px; border-radius: var(--r);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .02em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: .86rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cyan); color: #00131D; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(0, 217, 255, .18), 0 10px 24px -12px rgba(0, 217, 255, .7); }
.btn-outline, .btn-ghost { border-color: var(--line-3); color: var(--text); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico use[href="#i-arrow"] { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.link-btn { color: var(--muted); font-size: inherit; text-align: left; transition: color .2s; }
.link-btn:hover { color: var(--cyan); }

@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* loader */
.loader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--bg);
  transition: opacity .5s var(--ease), visibility .5s;
  animation: loader-failsafe .4s 6s forwards;
}
html:not(.js) .loader { display: none; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader-bar { width: 180px; height: 2px; background: var(--line-2); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 35%; background: var(--cyan); animation: loader-bar 1.1s var(--ease) infinite; }
@keyframes loader-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.loader-status { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); letter-spacing: .04em; }

/* header & navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: border-color .4s; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 8, 16, .74);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-scrolled::before { opacity: 1; }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: .08em; }
.brand-sub { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-split { display: flex; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; font-weight: 500; font-size: .92rem; color: var(--muted); transition: color .2s, text-shadow .25s; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(0, 217, 255, .7); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.has-dd .nav-link { padding-right: 4px; }
.has-dd .nav-link::after { right: 4px; }
.nav-link:hover { color: var(--text); text-shadow: 0 0 12px rgba(0, 217, 255, .45); }
.nav-link:hover::after { transform: scaleX(.35); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: scaleX(1); }
.dd-toggle { display: grid; place-items: center; width: 26px; height: 40px; color: var(--dim); transition: color .2s; }
.dd-toggle .ico { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-dd:hover .dd-toggle, .has-dd.is-open .dd-toggle { color: var(--cyan); }
.has-dd.is-open .dd-toggle .ico { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 290px;
  transform: translate(-50%, 6px);
  padding: 8px; border-radius: var(--r);
  background: #0A101C; border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown::after { content: ""; position: absolute; top: -1px; left: 16px; right: 16px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .6; }
.dropdown--wide { min-width: 560px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); border: 1px solid transparent; transition: border-color .2s; }
.dd-link:hover { border-color: var(--line-2); }
.dd-link:hover strong { color: var(--cyan); }
.dd-link strong { display: block; font-size: .9rem; font-weight: 600; transition: color .2s; }
.dd-link small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.dd-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--cyan); }
.dd-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); margin: 0 8px 0 4px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }

@media (min-width: 1081px) {
  .has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item--mobile-cta { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--line-2); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 10, .65); }

@media (max-width: 1080px) {
  .hamburger { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; position: relative; z-index: 96; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(380px, 88vw); margin: 0;
    padding: calc(var(--header-h) + 8px) 16px 24px;
    background: #070C16; border-left: 1px solid var(--line-2);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { height: 52px; font-size: 1rem; flex: 1; }
  .nav-link::after { left: 12px; right: auto; width: 24px; bottom: 10px; }
  .dd-toggle { width: 48px; height: 52px; }
  .dropdown, .dropdown--wide { position: static; min-width: 0; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; margin: 0 0 10px; }
  .dropdown::after { display: none; }
  .has-dd.is-open .dropdown { display: block; }
  .dd-grid { grid-template-columns: 1fr; }
  .nav-item--mobile-cta { display: grid; gap: 10px; margin-top: 20px; border-bottom: 0; }
}

/* entrance & reveal */
.js .enter { opacity: 0; transform: translateY(16px); }
.js body.is-ready .enter { animation: enter .9s var(--ease) var(--d, 0s) forwards; }
@keyframes enter { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 36px) 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(229, 234, 242, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(229, 234, 242, .035) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 60% 55% at 72% 45%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 72% 45%, #000 15%, transparent 72%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }

.release-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 12px 6px 6px; border-radius: var(--r); border: 1px solid var(--line-2); font-size: .82rem; color: var(--muted); transition: border-color .2s, color .2s; }
.release-pill > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-pill:hover { border-color: var(--cyan); color: var(--text); }
.pill-tag { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--green); color: #031000; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; }
.release-pill .ico { width: 14px; height: 14px; color: var(--cyan); }

.logo3d { margin: 22px 0 10px; perspective: 900px; width: max-content; max-width: 100%; }
.logo3d-tilt { --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .45s var(--ease); }
.logo3d-float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.hero-logo { width: 180px; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(0, 150, 255, .18)); }

.hero-title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.hero-title span { color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.hero-sub { margin-top: 22px; max-width: 520px; font-size: 1.06rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.hero-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* hero visual: phone wired to the AMT link unit */
.hero-visual { --k: 1; position: relative; height: calc(600px * var(--k)); }
.bench-stage { position: absolute; left: 50%; top: 0; width: 540px; height: 600px; transform: translateX(-50%) scale(var(--k)); transform-origin: top center; }
.bench-stage::before {
  content: ""; position: absolute; left: -40px; top: 20px; width: 460px; height: 460px; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 55px, rgba(229, 234, 242, .07) 55px 56px),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(229, 234, 242, .07) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(229, 234, 242, .07) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  animation: target-spin 90s linear infinite;
}
.bench-stage::after { content: ""; position: absolute; left: 0; top: 80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 123, 255, .15), transparent 65%); z-index: -1; }
@keyframes target-spin { to { transform: rotate(360deg); } }

.cable { position: absolute; inset: 0; width: 540px; height: 600px; overflow: visible; z-index: 1; }
.cable-shell { stroke: #1A2435; stroke-width: 7; stroke-linecap: round; }
.cable-data { stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 16; animation: flow 1.1s linear infinite; filter: drop-shadow(0 0 3px rgba(0, 217, 255, .8)); }
@keyframes flow { to { stroke-dashoffset: -19; } }
.cable-plug { fill: #2B3547; stroke: rgba(255, 255, 255, .12); }

.phone { position: absolute; left: 20px; top: 0; z-index: 2; }
.phone-frame { position: relative; width: 260px; height: 512px; padding: 11px; border-radius: 40px; background: linear-gradient(150deg, #2B3547, #0C121E 40%, #1A2333); box-shadow: 0 50px 80px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 0 2px rgba(255, 255, 255, .04); }
.phone-notch { position: absolute; top: 19px; left: 50%; width: 80px; height: 22px; transform: translateX(-50%); background: #000; border-radius: 12px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 30px; overflow: hidden; background: #050A14; padding: 48px 15px 15px; display: flex; flex-direction: column; gap: 12px; font-size: .78rem; }
.ps-head { display: flex; justify-content: space-between; align-items: center; }
.ps-logo { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; }
.ps-status { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-family: var(--font-mono); font-size: .66rem; }
.ps-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: led 1.6s infinite; }
.ps-device { padding: 12px; border-radius: var(--r); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.ps-label { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.ps-device strong { font-family: var(--font-mono); font-size: .84rem; font-weight: 500; color: var(--cyan); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-port { font-size: .64rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-progress-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: .7rem; color: var(--muted); }
.ps-progress-top span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#ps-pct { font-family: var(--font-mono); color: var(--text); }
.ps-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.ps-bar span { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .25s linear; }
.ps-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; overflow: hidden; font-family: var(--font-mono); font-size: .62rem; color: var(--muted); mask-image: linear-gradient(to bottom, transparent, #000 35%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); }
.ps-log li { display: flex; gap: 6px; animation: log-in .35s var(--ease); }
.ps-log li b { color: var(--green); font-weight: 500; margin-left: auto; }
.ps-log li.run b { color: var(--cyan); }
@keyframes log-in { from { opacity: 0; transform: translateY(6px); } }
.ps-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps-actions span { text-align: center; padding: 8px 0; border-radius: 8px; border: 1px solid var(--line-2); font-weight: 600; font-size: .68rem; color: var(--muted); }
.ps-actions span.on { background: var(--cyan); color: #00131D; border-color: transparent; }

.bench { position: absolute; left: 338px; top: 360px; z-index: 2; width: 196px; padding: 16px; border-radius: var(--r); background: linear-gradient(160deg, #111B2D, #0A101C 70%); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); }
.bench-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bench-head img { width: 36px; height: 36px; flex: none; }
.bench-head b { display: block; font-family: var(--font-display); font-size: .92rem; font-weight: 600; }
.bench-head small { display: block; font-family: var(--font-mono); font-size: .6rem; color: var(--muted); }
.bench-io { display: flex; gap: 14px; margin: 12px 0 10px; font-family: var(--font-mono); font-size: .6rem; color: var(--dim); }
.bench-io li { display: inline-flex; align-items: center; gap: 5px; }
.bench-io i { width: 6px; height: 6px; border-radius: 50%; background: #263044; }
.bench-io i.on { background: var(--green); box-shadow: 0 0 6px var(--green); }
.bench-io i.blink { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); animation: blink .24s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.bench-rate { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.bench-rate small { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.bench-port { position: absolute; left: -7px; top: 85px; width: 8px; height: 14px; border-radius: 2px; background: #2B3547; border: 1px solid var(--line-3); }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--r); background: rgba(10, 16, 28, .92); border: 1px solid var(--line-2); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .8); animation: card-float 7s ease-in-out infinite; }
.float-card > .ico { width: 32px; height: 32px; padding: 7px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--cyan); }
.float-card b { display: block; font-size: .8rem; font-weight: 600; }
.float-card small { display: block; font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.float-card.is-ok > .ico { color: var(--green); }
.fc-1 { left: 300px; top: 130px; }
.fc-3 { left: 336px; top: 250px; animation-delay: -3.5s; }
@keyframes card-float { 50% { transform: translateY(-7px); } }

/* hero status strip */
.hero-status { display: grid; grid-template-columns: repeat(4, 1fr); margin: 44px 0 0; border-block: 1px solid var(--line); }
.hero-status div { padding: 16px 20px; min-width: 0; }
.hero-status div + div { border-left: 1px solid var(--line); }
.hero-status dt { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.hero-status dd { margin: 4px 0 0; font-family: var(--font-mono); font-size: .84rem; color: var(--text); line-height: 1.35; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hs-job { display: flex; align-items: center; gap: 8px; }
.hs-job::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: led 1.2s infinite; }
.hs-job.is-done::before { background: var(--green); animation: none; }

/* logo image */
.brand-logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.loader-logo { width: 120px; height: 120px; animation: loader-pulse 1.6s ease-in-out infinite; }
@keyframes loader-pulse { 50% { transform: scale(1.05); } }
.dl-logo { width: 64px; height: 64px; flex: none; }
.modal-logo { width: 64px; height: 64px; margin-bottom: 12px; }

/* trust strip */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 30px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* sections */
body.home-skin main { counter-reset: sec; }
.section { position: relative; padding: 120px 0; }
.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "eye eye" "title text";
  gap: 16px 64px; align-items: end;
  margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.section-head .eyebrow { grid-area: eye; }
.section-head h2 { grid-area: title; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { grid-area: text; color: var(--muted); font-size: 1.02rem; }
.eyebrow { counter-increment: sec; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.eyebrow::before { content: counter(sec, decimal-leading-zero); color: var(--cyan); }
.eyebrow-dot { width: 24px; height: 1px; background: var(--line-3); }
.sub-title { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 18px; }
.sub-title .ico { color: var(--cyan); }

/* shared card */
.feature-card, .chipset, .support-card, .tier, .panel, .dl-card, .contact-card, .docs {
  position: relative; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.feature-card, .chipset, .support-card, .tier { transition: border-color .3s, transform .35s var(--ease); }
.feature-card::after, .chipset::after, .support-card::after, .tier::after {
  content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 2px;
  background: var(--c, var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.feature-card:hover, .chipset:hover, .support-card:hover, .tier:hover { border-color: var(--line-3); transform: translateY(-4px); }
.feature-card:hover::after, .chipset:hover::after, .support-card:hover::after, .tier:hover::after { transform: scaleX(1); }

/* app window preview */
.app-window { margin: 0 0 56px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.aw-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .78rem; }
.aw-dots { display: flex; gap: 6px; }
.aw-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.aw-title { flex: 1; text-align: center; color: var(--muted); font-family: var(--font-mono); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.aw-user { padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(57, 255, 20, .35); color: var(--green); font-family: var(--font-mono); font-size: .68rem; white-space: nowrap; }
.aw-body { display: grid; grid-template-columns: 200px 1fr; min-height: 330px; }
.aw-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); }
.aw-side span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .84rem; color: var(--muted); font-weight: 500; border: 1px solid transparent; }
.aw-side span.on { color: var(--text); border-color: var(--line-2); }
.aw-side span.on .ico { color: var(--cyan); }
.aw-main { padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.aw-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.aw-tabs span { padding: 8px 14px; font-size: .84rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.aw-tabs span.on { color: var(--text); border-color: var(--cyan); }
.aw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.aw-grid div { padding: 12px; border-radius: 8px; border: 1px solid var(--line); min-width: 0; }
.aw-grid small { display: block; font-family: var(--font-mono); font-size: .64rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.aw-grid b { display: block; font-size: .86rem; font-weight: 600; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aw-grid b.c, .aw-log .c { color: var(--cyan); }
.aw-grid b.g, .aw-log .g { color: var(--green); }
.aw-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.aw-progress span { display: block; height: 100%; width: 62%; background: var(--cyan); animation: aw-prog 5s var(--ease) infinite; }
@keyframes aw-prog { 0% { width: 8%; } 80%, 100% { width: 100%; } }
.aw-log { margin: 0; padding: 8px 14px; border-radius: 8px; background: #03060C; border: 1px solid var(--line); font-family: var(--font-mono); font-size: .74rem; line-height: 1.45; color: #AEB9CC; overflow: hidden; min-height: 7.6em; }
.aw-line { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; white-space: nowrap; overflow: hidden; }
.aw-line .t { flex: none; color: var(--dim); }
.aw-line .aw-msg { flex: none; max-width: 68%; overflow: hidden; text-overflow: ellipsis; }
.aw-line .aw-leader { flex: 1 1 auto; align-self: center; min-width: 18px; border-bottom: 1px dotted rgba(174, 185, 204, .55); transform: translateY(-3px); }
.aw-line b { flex: none; min-width: 4.6em; font-weight: 500; text-align: right; }
.aw-log.is-live .aw-line { display: none; }
.aw-log.is-live .aw-line.is-on { display: flex; animation: aw-line-in .35s var(--ease) both; }
@keyframes aw-line-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: feat; }
.feature-card { padding: 24px 22px 22px; counter-increment: feat; scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-card::before { content: "F-" counter(feat, decimal-leading-zero); position: absolute; top: 24px; right: 22px; font-family: var(--font-mono); font-size: .68rem; color: var(--dim); letter-spacing: .08em; }
.feature-card:target { border-color: var(--cyan); }
.fc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--cyan); margin-bottom: 20px; transition: border-color .3s; }
.feature-card:hover .fc-icon { border-color: var(--cyan); }
.fc-icon .ico { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.tags li, .modes li { padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }

/* chipsets */
.chipset-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.chipset { padding: 22px 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
.chipset:target { border-color: var(--c); }
.chipset-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 8px; }
.chipset-badge { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: var(--r); font-family: var(--font-mono); font-weight: 600; font-size: .8rem; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.chipset-state { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.chipset-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chipset h3 { font-size: 1.1rem; margin-bottom: 8px; }
.chipset p { color: var(--muted); font-size: .88rem; min-height: 4.2em; }
.modes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

.section--alt { background: #07101E; }
.section-cta { margin: 28px 0 0; }
.brand-marquee { margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brand-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 56px; padding-right: 56px; }
.marquee-track li { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .04em; color: rgba(229, 234, 242, .72); white-space: nowrap; }
.marquee-track a { color: inherit; text-decoration: none; transition: color .2s; }
.marquee-track a:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* reseller */
.reseller-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.reseller-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 18px 0 16px; }
.reseller-copy > p { color: var(--muted); font-size: 1.02rem; }
.benefits { display: grid; margin: 30px 0 36px; border-top: 1px solid var(--line); }
.benefits li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.b-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--cyan); }
.benefits strong { display: block; font-size: .98rem; font-weight: 600; }
.benefits span { color: var(--muted); font-size: .9rem; }
.tiers { display: grid; gap: 14px; }
.tier { padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name off" "list list"; gap: 14px 16px; align-items: center; }
.tier-name { grid-area: name; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.tier-off { grid-area: off; display: flex; align-items: baseline; gap: 6px; }
.tier-off strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); }
.tier-off span { font-family: var(--font-mono); color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.tier ul { grid-area: list; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.tier li { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.tier li .ico { color: var(--green); width: 15px; height: 15px; }
.tier--featured { border-color: rgba(0, 217, 255, .45); }
.tier--featured .tier-off strong { color: var(--cyan); }
.tier-flag { position: absolute; top: -10px; right: 22px; padding: 2px 10px; border-radius: 6px; background: var(--cyan); color: #00131D; font-family: var(--font-mono); font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }

/* support */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.support-card { display: flex; flex-direction: column; padding: 24px 22px; }
.sc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); color: var(--cyan); margin-bottom: 20px; transition: border-color .3s; }
.support-card:hover .sc-icon { border-color: var(--cyan); }
.sc-icon .ico { width: 22px; height: 22px; }
.sc-icon--tg { color: #2AABEE; }
.support-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.support-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.sc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.sc-link .ico { transition: transform .25s var(--ease); }
.support-card:hover .sc-link .ico { transform: translateX(4px); }

.support-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; align-items: start; }
.docs, .contact-card { padding: 28px; scroll-margin-top: calc(var(--header-h) + 24px); }
.acc { border-bottom: 1px solid var(--line); }
.acc:last-child { border-bottom: 0; }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none; transition: color .2s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--cyan); }
.acc summary .ico { color: var(--dim); transition: transform .3s var(--ease); }
.acc[open] summary .ico { transform: rotate(180deg); color: var(--cyan); }
.acc ol { counter-reset: step; padding-bottom: 18px; display: grid; gap: 10px; }
.acc ol li { counter-increment: step; position: relative; padding-left: 34px; color: var(--muted); font-size: .92rem; }
.acc ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-mono); font-size: .74rem; color: var(--cyan); }
.acc p { padding-bottom: 18px; color: var(--muted); font-size: .92rem; }
.acc a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.acc strong { color: var(--text); font-weight: 600; }

/* forms */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r);
  background: #060A13; border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .2s, box-shadow .2s; font-size: .95rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395A1B5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 217, 255, .14); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 90, 110, .12); }
.form-msg { min-height: 1.4em; margin-bottom: 12px; font-size: .86rem; font-weight: 500; }
.form-msg.is-error { color: var(--red); }
.form-msg.is-ok { color: var(--green); }
.btn.is-busy { pointer-events: none; opacity: .7; }

/* download */
.download-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: start; }
.dl-card { padding: 30px; border-color: rgba(0, 217, 255, .35); }
.dl-card::before { content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 2px; background: var(--cyan); }
.dl-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dl-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); }
.dl-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dl-head h3 { font-size: 1.8rem; font-weight: 700; }
.dl-date { font-family: var(--font-mono); color: var(--muted); font-size: .76rem; }
.dl-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dl-meta div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dl-meta div:nth-child(odd) { border-right: 1px solid var(--line); }
.dl-meta div:nth-last-child(-n+2) { border-bottom: 0; }
.dl-meta dt { font-family: var(--font-mono); font-size: .64rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.dl-meta dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }
.dl-meta dd.ok { color: var(--green); }
.dl-meta dd.ok::before { content: "✓ "; }
.hash { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: var(--r); background: #03060C; border: 1px solid var(--line); margin-bottom: 22px; }
.hash-label { flex: none; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; color: var(--dim); }
.hash code { flex: 1; min-width: 0; color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-actions { display: grid; gap: 10px; }
.dl-side { display: grid; gap: 20px; }
.panel { padding: 26px 28px; }
.notes { display: grid; }
.notes li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.notes li:last-child { border-bottom: 0; }
.tag { flex: none; min-width: 72px; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tag--new { color: var(--cyan); }
.tag--imp { color: var(--violet); }
.tag--fix { color: var(--green); }
.req { width: 100%; border-collapse: collapse; font-size: .88rem; }
.req th, .req td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.req thead th { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 500; }
.req tbody th { color: var(--text); font-weight: 600; }
.req td { color: var(--muted); }
.req tbody tr:last-child > * { border-bottom: 0; }

/* cta band */
.cta-band { padding: 0 0 120px; }
.cta-inner {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: 48px 52px; border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden;
  background:
    linear-gradient(rgba(229, 234, 242, .03) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(229, 234, 242, .03) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(120deg, var(--navy), var(--surface) 60%);
}
.cta-inner::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--cyan); }
.cta-inner h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 8px; }
.cta-inner p { color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: .9rem; max-width: 340px; }
.footer-col h3 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col .link-btn { font-size: .9rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding-block: 22px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .74rem; color: var(--dim); }
.footer-note { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin: 0; }
.footer-note a { color: var(--text); font-weight: 600; transition: color .2s; }
.footer-note a:hover { color: var(--cyan); }
.heart-ico { color: #ff3b5c !important; display: inline-flex; align-items: center; vertical-align: -2px; }
.heart-ico svg path { fill: currentColor; }
.footer-credit { white-space: nowrap; }
.footer-credit::before { content: "·"; margin: 0 8px; }
.footer-credit a { color: var(--muted); transition: color .2s; }
.footer-credit a:hover { color: var(--cyan); }

/* floating ui */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--cyan); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, border-color .2s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 1100; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); border-left: 2px solid var(--cyan); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8); font-size: .88rem; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* modals */
.modal { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--text); overflow: visible; }
.modal::backdrop { background: rgba(2, 4, 10, .78); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-card { position: relative; padding: 34px 30px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-card::before { content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 2px; background: var(--cyan); }
.modal-close { position: absolute; top: 16px; right: 16px; }
.modal h2 { font-size: 1.55rem; }
.modal-sub { color: var(--muted); margin: 6px 0 24px; font-size: .92rem; }
.modal-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: .86rem; }
.modal-foot a { color: var(--cyan); font-weight: 600; }
#reseller-dialog { width: min(600px, calc(100vw - 32px)); }

/* responsive */
@media (min-width: 1400px) {
  .hero-visual { --k: 1.1; }
}
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .chipset-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { --k: .9; }
}
@media (max-width: 960px) and (min-width: 641px) {
  .hero-visual { --k: 1; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-visual { width: 100%; max-width: 540px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; grid-template-areas: "eye" "title" "text"; }
  .reseller-layout, .support-detail, .download-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .support-detail { gap: 20px; }
  .aw-body { grid-template-columns: 1fr; }
  .aw-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .aw-side span { white-space: nowrap; }
  .aw-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand-sub { display: none; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 36px; padding-bottom: 24px; }
  .hero-logo { width: 140px; }
  .hero-title { font-size: 2.1rem; }
  .hero-sub { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { --k: .64; }
  .hero-status { grid-template-columns: 1fr 1fr; }
  .hero-status div:nth-child(3) { border-left: 0; }
  .hero-status div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-status div { padding: 12px 14px; }
  .hero-status dd { font-size: .72rem; }
  .brand-logo { width: 40px; height: 40px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-grid, .chipset-grid, .support-grid { grid-template-columns: 1fr; }
  .chipset p { min-height: 0; }
  .aw-bar .aw-user { display: none; }
  .aw-main { padding: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .docs, .contact-card, .panel, .dl-card { padding: 22px 18px; }
  .notes li { flex-direction: column; gap: 4px; }
  .req { font-size: .8rem; }
  .req th, .req td { padding: 8px 4px; }
  .tier { grid-template-columns: 1fr; grid-template-areas: "name" "off" "list"; }
  .cta-band { padding-bottom: 84px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .modal-card { padding: 30px 20px 22px; }
  .marquee-track li { font-size: 1.15rem; }
}

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

/* Keep this skin dark even when a stored light theme rewrites the shared tokens. */
body.skin {
  --bg: #050810;
  --navy: #07162D;
  --surface: #0A101C;
  --surface-2: #0D1524;
  --text: #E5EAF2;
  --muted: #95A1B5;
  --cyan: #00D9FF;
  --blue: #087BFF;
  --green: #39FF14;
  background: var(--bg);
  color: var(--text);
}
body.skin .grid-bg { display: none; }
body.skin:not(.home-skin) .pub-main { padding-top: calc(var(--header-h) + 28px); }
body.skin .btn { border-radius: var(--r); height: 46px; padding: 0 22px; }
body.skin .btn-sm { height: 38px; padding: 0 14px; }
body.skin .btn-lg { height: 52px; padding: 0 26px; }
body.skin .btn-primary { background: var(--cyan); color: #00131D; }
body.skin .btn-ghost,
body.skin .btn-outline { background: transparent; color: var(--text); border-color: var(--line-3); }
body.skin:not(.home-skin) .eyebrow::before { content: none; }
body.skin:not(.home-skin) .eyebrow { counter-increment: none; }
@media (max-width: 1280px) and (min-width: 1081px) {
  .header-row { gap: 12px; }
  .nav-link { padding: 0 8px; font-size: .84rem; }
  .brand-sub { display: none; }
}
body.home-skin .chipset-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.release-notes { color: var(--muted); font-size: .92rem; }
.release-notes p { margin: 0 0 .7rem; }
.release-notes li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.client-card { display: flex; flex-direction: column; gap: 14px; }
.client-card .btn { margin-top: 8px; }

/* ---- light theme --------------------------------------------------------
   theme.css owns the palette, but this file defines the marketing aliases
   (--cyan, --line, --dim, ...) at :root and paints a few surfaces by hand.
   These overrides keep the public pages readable when the header toggle
   switches to light. Console/phone mockups stay dark on purpose. */
html[data-theme="light"] {
  --bg: #F4F7F9;
  --bg-2: #EAF0F4;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --line: rgba(15, 35, 50, .10);
  --line-2: rgba(15, 35, 50, .16);
  --line-3: rgba(15, 35, 50, .24);
  --text: #14202B;
  --muted: #5C6B7A;
  --dim: #6B7A89;
  --cyan: #087BFF;
  --blue: #0858C4;
  --green: #0B7A54;
  --red: #D64545;
}
/* `body.skin` re-declares the tokens on the body element; override them on the
   same element or the inherited light palette never reaches the content. */
html[data-theme="light"] body.skin {
  --bg: #F4F7F9;
  --navy: #EAF0F4;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --line: rgba(15, 35, 50, .10);
  --line-2: rgba(15, 35, 50, .16);
  --line-3: rgba(15, 35, 50, .24);
  --text: #14202B;
  --muted: #5C6B7A;
  --dim: #6B7A89;
  --cyan: #087BFF;
  --blue: #0858C4;
  --green: #0B7A54;
  --red: #D64545;
  background: var(--bg);
  color: var(--text);
}
html[data-theme="light"] body.skin .btn-primary { color: var(--accent-ink); }
html[data-theme="light"] body::before {
  background:
    radial-gradient(50% 40% at 75% 0%, rgba(8, 123, 255, .10), transparent 70%),
    radial-gradient(40% 35% at 0% 60%, rgba(0, 151, 184, .05), transparent 70%),
    linear-gradient(180deg, #F4F7F9 0%, #EAF0F4 55%, #F4F7F9 100%);
}
html[data-theme="light"] .site-header::before { background: rgba(244, 247, 249, .82); }
html[data-theme="light"] .dropdown { background: var(--surface); }
html[data-theme="light"] .section--alt { background: #EAF0F4; }
@media (min-width: 1081px) {
  html[data-theme="light"] .nav-list {
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(15, 35, 50, .08);
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 0 8px 24px rgba(18, 32, 43, .06);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
  }
}
@media (max-width: 1080px) {
  html[data-theme="light"] .primary-nav { background: #FFFFFF; }
}
html[data-theme="light"] .nav-scrim { background: rgba(18, 32, 43, .35); }
html[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(15, 35, 50, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 35, 50, .06) 1px, transparent 1px);
}
html[data-theme="light"] .app-window { box-shadow: 0 40px 80px -40px rgba(18, 32, 43, .25); }
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea,
html[data-theme="light"] .field select { background: var(--input-bg); color: var(--text); }
html[data-theme="light"] .btn-primary { color: var(--accent-ink); }
html[data-theme="light"] code { color: var(--accent); }
