:root {
  color-scheme: dark;
  --bg: #07090c;
  --panel: #0d1117;
  --panel-2: #111821;
  --line: #1d2835;
  --line-soft: rgba(143, 164, 183, 0.18);
  --text: #f4f7fb;
  --muted: #9aa8b7;
  --subtle: #657384;
  --cyan: #47d5ff;
  --blue: #2d7dff;
  --green: #48e29a;
  --amber: #f2b84b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 0%, rgba(45, 125, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #07090c 0%, #080c11 46%, #07090c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(71, 213, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 213, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 9, 12, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span {
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 11px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(71, 213, 255, 0.18);
  background: rgba(71, 213, 255, 0.06);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
}

.menu-button::before,
.menu-button::after {
  content: "";
  margin-top: 0;
}

.menu-button span {
  margin-top: 5px;
  margin-bottom: 5px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 56px 0 46px;
}

.page-hero {
  min-height: auto;
  padding: 62px 0 40px;
}

.znode-hero,
.nano-hero,
.zchain-hero,
.zcaps-hero,
.research-hero,
.company-hero,
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.znode-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.94) 0%, rgba(7, 9, 12, 0.66) 40%, rgba(7, 9, 12, 0.1) 76%, rgba(7, 9, 12, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.68)),
    url("/assets/hero_node.png") 82% 48% / auto 112% no-repeat;
}

.nano-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.94) 0%, rgba(7, 9, 12, 0.66) 40%, rgba(7, 9, 12, 0.1) 76%, rgba(7, 9, 12, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.68)),
    url("/assets/hero_nano.png") 82% 48% / auto 112% no-repeat;
}

.zchain-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.7) 38%, rgba(7, 9, 12, 0.12) 76%, rgba(7, 9, 12, 0.46) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.7)),
    url("/assets/hero_zchain.png") 90% 48% / auto 114% no-repeat;
}

.zcaps-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.94) 0%, rgba(7, 9, 12, 0.66) 40%, rgba(7, 9, 12, 0.1) 76%, rgba(7, 9, 12, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.68)),
    url("/assets/hero_zcaps.png") 84% 48% / auto 112% no-repeat;
}

.research-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.7) 42%, rgba(7, 9, 12, 0.12) 78%, rgba(7, 9, 12, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.7)),
    url("/assets/hero_research.png") 86% 48% / auto 112% no-repeat;
}

.company-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.72) 42%, rgba(7, 9, 12, 0.16) 78%, rgba(7, 9, 12, 0.46) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.7)),
    url("/assets/hero_company.png") 88% 48% / auto 112% no-repeat;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.7) 42%, rgba(7, 9, 12, 0.14) 78%, rgba(7, 9, 12, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.7)),
    url("/assets/hero_home.png") 96% 48% / auto 112% no-repeat;
}

.znode-hero::after,
.nano-hero::after,
.zchain-hero::after,
.zcaps-hero::after,
.research-hero::after,
.company-hero::after,
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(71, 213, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 213, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, #000 0%, transparent 64%);
}

.znode-hero .hero,
.nano-hero .hero,
.zchain-hero .hero,
.zcaps-hero .hero,
.research-hero .hero,
.company-hero .hero,
.home-hero .hero {
  position: relative;
  z-index: 1;
  display: block;
  min-height: calc(100svh - 76px);
  padding: 92px 0 72px;
}

.znode-hero .hero > div,
.nano-hero .hero > div,
.zchain-hero .hero > div,
.zcaps-hero .hero > div,
.research-hero .hero > div,
.company-hero .hero > div,
.home-hero .hero > div {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  color: #c5d0dc;
  font-size: clamp(16px, 1.55vw, 19px);
}

.hero-support {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.copy {
  color: var(--muted);
  font-size: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(71, 213, 255, 0.3);
  border-radius: 6px;
  padding: 0 18px;
  background: rgba(71, 213, 255, 0.1);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101a;
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #d5dde6;
}

.icon-button {
  min-width: 46px;
}

.button:hover {
  transform: translateY(-1px);
}

.signal-visual {
  min-height: 390px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 24, 33, 0.86), rgba(8, 12, 17, 0.9)),
    repeating-linear-gradient(90deg, rgba(71, 213, 255, 0.11) 0 1px, transparent 1px 26px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.signal-visual::before,
.signal-visual::after {
  content: "";
  display: block;
  height: 46%;
  margin: 38px;
  border: 1px solid rgba(71, 213, 255, 0.18);
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(71, 213, 255, 0.58) 8% 9%, transparent 9% 16%, rgba(72, 226, 154, 0.66) 16% 17%, transparent 17% 100%),
    linear-gradient(180deg, rgba(71, 213, 255, 0.04), rgba(72, 226, 154, 0.03));
}

.signal-visual::after {
  height: 22%;
  margin-top: 0;
  background:
    linear-gradient(90deg, rgba(72, 226, 154, 0.6) 0 10%, transparent 10% 18%, rgba(71, 213, 255, 0.58) 18% 29%, transparent 29% 40%, rgba(242, 184, 75, 0.58) 40% 44%, transparent 44% 100%);
}

.image-visual {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 50% 34%, rgba(71, 213, 255, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.86), rgba(8, 12, 17, 0.92));
}

.image-visual::before,
.image-visual::after {
  display: none;
}

.image-visual img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.42));
}

.section {
  padding: 78px 0;
}

.section.tight {
  padding: 48px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.metric,
.demo-panel,
.video-frame {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.84), rgba(10, 14, 19, 0.92));
}

.card {
  min-height: 250px;
  padding: 24px;
}

.product-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
}

.card .tag {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.card p,
.metric p {
  color: var(--muted);
}

.card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 16px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.product-card a {
  margin-top: auto;
}

.support-line {
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  border-left: 2px solid rgba(72, 226, 154, 0.7);
  padding: 10px 0 10px 14px;
  color: #d9e2eb;
  background: linear-gradient(90deg, rgba(72, 226, 154, 0.06), transparent);
}

.metric {
  padding: 22px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maturity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.maturity-card {
  min-height: 220px;
}

.maturity-card strong {
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.maturity-card strong small {
  display: inline-block;
  margin-left: 6px;
  color: #9fdff1;
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.maturity-card h3 {
  max-width: 12ch;
  color: #f4f7fb;
  font-size: 18px;
}

.maturity-card-wide {
  grid-column: span 2;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(71, 213, 255, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.84), rgba(10, 14, 19, 0.92));
}

.research-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.research-strip span {
  position: relative;
  display: flex;
  min-height: 156px;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  padding: 24px;
  color: #dfe8f0;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.34), rgba(8, 12, 17, 0.08));
}

.research-strip span:last-child {
  border-right: 0;
}

.research-strip small {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.research-strip strong {
  display: block;
  margin-bottom: 10px;
  color: #f4f7fb;
  font-size: 16px;
  line-height: 1.2;
}

.research-strip em {
  display: block;
  max-width: 28ch;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.research-strip-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.protocol-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0;
}

.partner-band .eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: #d6dee8;
}

.partner-intro {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
}

.partner-intro .copy {
  margin-bottom: 0;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.partner-logos img {
  display: block;
  width: 100%;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(1);
}

.stack-grid .metric {
  min-height: 210px;
}

.deployment-grid .metric {
  min-height: 260px;
}

.deployment-card h3 {
  max-width: 14ch;
  color: #f4f7fb;
}

.use-case-grid .metric {
  min-height: 150px;
}

.use-case-grid .metric p {
  margin-bottom: 0;
  font-size: 14px;
}

.compat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 24px;
  padding: 18px 0;
  align-items: center;
}

.compat-strip strong {
  margin-right: 8px;
  color: #dfe8f0;
  font-size: 13px;
}

.compat-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.deployment-subsection {
  border-top: 1px solid var(--line-soft);
  margin-top: 34px;
  padding-top: 34px;
}

.deployment-subsection .section-head {
  margin-bottom: 22px;
}

.product-focus-list {
  display: grid;
  gap: 22px;
}

.product-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.56fr);
  gap: 34px;
  align-items: start;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(71, 213, 255, 0.05), transparent 38%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.78), rgba(10, 14, 19, 0.9));
}

.product-focus h2 {
  max-width: 760px;
}

.product-focus .feature-list {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.84), rgba(10, 14, 19, 0.92));
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0a0e14;
  filter: grayscale(1) contrast(1.05);
}

.team-card div {
  padding: 18px;
}

.team-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.team-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  margin-top: 22px;
}

.contact-panel h2 {
  max-width: 760px;
}

.contact-form-wide {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.contact-topic-column {
  position: sticky;
  top: 116px;
}

.contact-topic-column .copy {
  margin-top: 18px;
  margin-bottom: 0;
}

.contact-form textarea {
  min-height: 150px;
  font-family: inherit;
  font-size: 15px;
}

.contact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-frame {
  position: relative;
  padding: 16px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
}

.video-frame video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 6px;
  background: #020406;
  aspect-ratio: 16 / 9;
}

.video-fallback {
  display: none;
  min-height: 320px;
  place-content: center;
  gap: 12px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08)),
    rgba(2, 6, 10, 0.9);
  color: var(--text);
  text-align: center;
}

.video-fallback strong {
  font-size: 24px;
}

.video-fallback p {
  max-width: 460px;
  margin: 0 auto;
  color: var(--muted);
}

.video-frame.video-error video {
  display: none;
}

.video-frame.video-error .video-fallback {
  display: grid;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 20px;
  align-items: start;
}

.demo-access-screen {
  min-height: calc(100svh - 76px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 78% 42%, rgba(71, 213, 255, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.98), rgba(7, 9, 12, 0.84) 52%, rgba(7, 9, 12, 0.96));
}

.demo-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.55fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 72px 0;
}

.demo-access-layout h1 {
  max-width: 760px;
}

.demo-access-card {
  padding: clamp(24px, 4vw, 38px);
}

.demo-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-full {
  padding-top: 0;
}

.demo-panel {
  padding: 22px;
}

.demo-tester {
  padding: clamp(22px, 4vw, 42px);
}

.demo-tester textarea {
  min-height: min(42vh, 440px);
}

.demo-controls-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 0.58fr);
  gap: 16px;
  align-items: start;
}

.tool-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.tool-guide span {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  background: rgba(7, 10, 15, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.nano-tool-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.nano-tool-layout-lower {
  margin-top: 18px;
}

.nano-tool-pane {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.68), rgba(7, 10, 15, 0.9));
}

.tool-pane-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.tool-pane-head .eyebrow {
  margin-bottom: 8px;
}

.button.small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
}

.nano-tool-pane textarea {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.decode-controls {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 0.68fr);
  gap: 16px;
  align-items: end;
}

.compact-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-log-panel {
  margin-top: 18px;
}

.field-hint {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.4;
}

.readonly-meter {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.stream-controls {
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 0.4fr) minmax(160px, 0.4fr);
}

.stream-controls-single {
  grid-template-columns: minmax(260px, 480px);
}

.stream-log {
  min-height: 240px;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 12px 0 0;
  padding: 16px;
  overflow: auto;
  background: #05080c;
  color: #cbd5df;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.code-block {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 16px 0 0;
  padding: 16px;
  overflow: auto;
  background: #05080c;
  color: #cbd5df;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.stream-log-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.015);
}

.stream-log-panel summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stream-log-panel[open] summary {
  color: var(--cyan);
}

.demo-secondary {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  margin-top: 28px;
  padding-top: 28px;
}

.demo-secondary h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.stream-visual {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  margin: 22px 0 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(71, 213, 255, 0.04), transparent 32%, rgba(72, 226, 154, 0.04)),
    rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.stream-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #070a0f;
}

.stream-node span,
.lane-head span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stream-node strong,
.lane-head strong {
  display: block;
  margin-top: 6px;
  color: #f4f7fb;
  font-size: 14px;
}

.stream-lanes {
  display: grid;
  gap: 14px;
}

.stream-lane {
  position: relative;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(7, 10, 15, 0.78);
  overflow: hidden;
}

.lane-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.lane-head strong {
  margin-top: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--green);
}

.lane-track {
  position: absolute;
  right: 14px;
  bottom: 18px;
  left: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(71, 213, 255, 0.2), rgba(72, 226, 154, 0.45));
}

.data-packet {
  position: absolute;
  top: calc(50% + 12px);
  left: 16px;
  width: 28px;
  height: 10px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(71, 213, 255, 0.45);
  animation-name: packet-travel;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.stream-lane-nano .data-packet {
  width: 16px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(72, 226, 154, 0.42);
}

.stream-progress {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  background: rgba(143, 164, 183, 0.14);
}

.stream-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

@keyframes packet-travel {
  from {
    left: 16px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  to {
    left: calc(100% - 42px);
    opacity: 0.86;
  }
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 18px;
}

.pipeline:has(span:nth-child(6):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pipeline span {
  position: relative;
  min-height: 86px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.76), rgba(8, 12, 17, 0.9));
  color: #dfe8f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.pipeline span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}

.pipeline-note {
  max-width: 920px;
  color: var(--muted);
  font-size: 15px;
}

.throughput-table {
  display: grid;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.throughput-table div {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr);
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding: 16px;
}

.throughput-table div:last-child {
  border-bottom: 0;
}

.throughput-table span {
  color: #dfe8f0;
  font-weight: 700;
}

.throughput-table strong {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.technical-options {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 16px 0 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.technical-options summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.technical-options .form-row {
  margin-top: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5df;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #070a0f;
  color: var(--text);
  font: inherit;
  padding: 12px;
}

textarea {
  min-height: 210px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.status {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}

.status.ok {
  color: var(--green);
}

.status.warn {
  color: var(--amber);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.result-box {
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.result-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 12px;
}

.result-box strong {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.privacy-note {
  border-top: 1px solid var(--line-soft);
  margin-top: 20px;
  padding-top: 16px;
  color: var(--subtle);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 60px;
  padding: 34px 0;
  color: var(--subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  font-size: 13px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.footer-links a {
  color: var(--subtle);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page h1 {
  max-width: 860px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #080c11;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .split,
  .product-focus,
  .section-head,
  .demo-secondary,
  .demo-layout,
  .demo-access-layout,
  .contact-form-wide {
    grid-template-columns: 1fr;
  }

  .contact-topic-column {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .signal-visual {
    min-height: 320px;
  }

  .grid.four,
  .grid.five,
  .grid.three,
  .grid.two,
  .maturity-grid,
  .result-grid,
  .research-strip,
  .partner-logos,
  .team-grid,
  .demo-explainer,
  .demo-controls-grid,
  .tool-guide,
  .nano-tool-layout,
  .decode-controls,
  .compact-results,
  .stream-visual,
  .pipeline,
  .throughput-table div {
    grid-template-columns: 1fr;
  }

  .stream-visual {
    gap: 12px;
  }

  .stream-node {
    text-align: center;
  }

  .pipeline span:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -9px;
    transform: translateX(50%) rotate(135deg);
  }

  .pipeline:has(span:nth-child(6):last-child) {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .research-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .product-card {
    min-height: auto;
  }

  .maturity-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .nav,
  .container,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: 36px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .pipeline {
    gap: 8px;
    margin: 20px 0 16px;
  }

  .pipeline span {
    min-height: 68px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .card,
  .metric,
  .demo-panel {
    min-width: 0;
  }

  .metric {
    padding: 22px;
  }

  .metric strong {
    overflow-wrap: anywhere;
  }

  .benchmark-grid .metric {
    min-height: auto;
  }

  .code-block {
    max-width: 100%;
    padding: 14px;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.6;
  }
}
