:root {
  --brand-bg: #050505;
  --brand-surface: #0a0a0a;
  --brand-surface-2: #141414;
  --brand-border: #1f1f1f;
  --brand-text: #ffffff;
  --brand-text-muted: #a3a3a3;
  --brand-cyan: #10C497;
  --brand-secondary: #2f8f9d;
  --brand-cyan-muted: rgba(16, 196, 151, 0.15);
  --brand-red: #f43f5e;
  --brand-grid: rgba(255, 255, 255, 0.03);

  /* Button design tokens */
  --interactive-primary-hover: #0EAF87;
  --interactive-secondary-default: #ffffff;
  --neutral-1000: #2e3138;

  /* System / timeline tokens */
  --teal: #008794;
  --teal-bg: rgba(0, 135, 148, 0.12);
  --primary-600: #10C497;
  --primary-bg: rgba(16, 196, 151, 0.12);
  --neutral-700: #535964;
  --neutral-400: #7f8694;
  --neutral-50: #dbdde1;
  --content-max: 1920px;
  --content-gutter: 32px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: "IBM Plex Sans", sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.bg-grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--brand-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--brand-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: 0;
}

.site {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--content-gutter);
}

.section {
  border-bottom: 1px solid var(--brand-border);
  padding: 96px 0 128px;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1002;
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: transform 0.35s ease, background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.topbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--brand-border);
  padding: 14px 0;
}

.topbar:has(.hamburger.is-open) {
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  width: 220px;
  height: auto;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.brand-sub strong {
  color: var(--brand-cyan);
  font-weight: 500;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-text-muted);
}

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

/* ── Button system ──────────────────────────────────────────
   Shared base: .btn
   Variants:    .btn-primary | .btn-secondary | .btn-tertiary
   States:      default | :hover (via CSS)
   Tokens:      --interactive-primary-hover  #26735b
                --interactive-secondary-default  #ffffff
                --neutral-1000  #2e3138
   ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* Primary — white fill default, green fill hover */
.btn-primary {
  background: var(--interactive-secondary-default);
  border-color: var(--neutral-1000);
  color: var(--neutral-1000);
}
.btn-primary:hover {
  background: var(--interactive-primary-hover);
  border-color: var(--neutral-1000);
  color: var(--interactive-secondary-default);
}

/* Secondary — outline default, white fill hover */
.btn-secondary {
  background: transparent;
  border-color: var(--brand-text);
  color: var(--brand-text);
}
.btn-secondary:hover {
  background: var(--interactive-secondary-default);
  border-color: var(--neutral-1000);
  color: var(--neutral-1000);
}

/* Tertiary — no border default, white fill hover */
.btn-tertiary,
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--brand-text);
  padding: 0 24px;
}
.btn-tertiary:hover,
.btn-ghost:hover {
  background: var(--interactive-secondary-default);
  border-color: var(--neutral-1000);
  color: var(--neutral-1000);
}

.hero {
  position: relative;
  height: 100dvh;
  min-height: 743px;
  display: flex;
  align-items: flex-end;
  padding: 96px 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay-a {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.36) 0%, rgba(5, 5, 5, 0.24) 50%, rgba(5, 5, 5, 0.08) 100%);
}

.hero-overlay-b {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(66.6667%, 960px);
  background: linear-gradient(to right, rgba(5, 5, 5, 0.42) 0%, rgba(1, 1, 1, 0.22) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag-line {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--primary-600);
  flex-shrink: 0;
}

.hero-tag-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-600);
}

.hero-title {
  margin: 0;
  width: 100%;
  max-width: 1280px;
  font-size: clamp(2.88rem, 7.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-copy {
  width: 100%;
  max-width: 768px;
  margin: 0;
  color: #989EA9;
  font-size: clamp(0.9rem, 1.8vw, 1.125rem);
  line-height: 1.4;
}

.section-process {
  padding: 128px 0 144px;
}

.process-shell {
  max-width: 1280px;
}

.process-title {
  margin-bottom: 14px;
}

.process-sub {
  margin-bottom: 56px;
  color: rgba(255, 255, 255, 0.72);
}

.process-timeline {
  position: relative;
  margin-bottom: 34px;
}

.process-rail {
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.process-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-node {
  position: relative;
  padding: 34px 14px 14px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  outline: none;
}

.process-node:focus-visible {
  border-color: rgba(47, 143, 157, 0.65);
  background: rgba(47, 143, 157, 0.08);
}

.process-marker {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: #090909;
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-step-num {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.46);
}

.process-step-title {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.process-step-desc {
  margin: 0;
  max-width: 32ch;
  font-size: 0.93rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.process-step-module {
  margin: 10px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(47, 143, 157, 0.92);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.process-node.is-active {
  border-color: rgba(43, 123, 97, 0.45);
  background: rgba(43, 123, 97, 0.08);
}

.process-node.is-active .process-marker {
  border-color: rgba(43, 123, 97, 0.95);
  background: var(--brand-cyan);
  box-shadow: 0 0 0 5px rgba(43, 123, 97, 0.18);
}

.process-node.is-active .process-step-num,
.process-node.is-hover .process-step-num {
  color: rgba(47, 143, 157, 0.95);
}

.process-node.is-active .process-step-title,
.process-node.is-hover .process-step-title {
  color: rgba(255, 255, 255, 0.96);
}

.process-node.is-hover {
  transform: translateY(-2px);
  border-color: rgba(47, 143, 157, 0.62);
  background: rgba(47, 143, 157, 0.08);
}

.process-node.is-hover .process-marker {
  border-color: rgba(47, 143, 157, 0.96);
  box-shadow: 0 0 0 6px rgba(47, 143, 157, 0.18);
}

.process-node.is-hover .process-step-module {
  opacity: 1;
  transform: translateY(0);
}

.process-node.is-dim {
  opacity: 0.45;
}

.process-core-band {
  width: 100%;
  border: 1px solid rgba(43, 123, 97, 0.24);
  background: linear-gradient(90deg, rgba(43, 123, 97, 0.08) 0%, rgba(47, 143, 157, 0.08) 50%, rgba(43, 123, 97, 0.08) 100%);
  padding: 11px 18px;
  text-align: center;
}

.process-core-band span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.system-properties {
  background: var(--brand-surface);
}

.system-props-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.system-props-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(208px, 248px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(208px, 248px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  min-height: 720px;
}

.system-core {
  grid-column: 2;
  grid-row: 2;
  place-self: center;
  z-index: 3;
  pointer-events: none;
  width: min(100%, 212px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid rgba(43, 123, 97, 0.38);
  background: #0d1512;
  box-shadow: 0 0 0 1px rgba(43, 123, 97, 0.16), 0 0 42px rgba(43, 123, 97, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.system-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  border: 1px solid rgba(43, 123, 97, 0.22);
  opacity: 0.8;
}

.system-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.system-link {
  fill: none;
  opacity: 0.38;
  transition: opacity 0.22s ease, stroke 0.22s ease;
}

.system-link-base {
  stroke-width: 1;
}

.system-link-pulse {
  stroke-width: 1.65;
  opacity: 0.66;
  stroke-linecap: round;
}

.line-control {
  stroke: rgba(43, 123, 97, 0.6);
}

.line-detection {
  stroke: rgba(47, 143, 157, 0.58);
}

.line-decision {
  stroke: rgba(62, 90, 115, 0.62);
}

.line-response {
  stroke: rgba(244, 63, 94, 0.54);
}

.system-link.is-active {
  opacity: 0.94;
}

.system-mobile-rail {
  display: none;
}

.system-node {
  position: relative;
  z-index: 2;
  min-height: 238px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0d1013;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
  outline: none;
}

.system-node.pos-tl {
  grid-column: 1;
  grid-row: 1;
}

.system-node.pos-tr {
  grid-column: 3;
  grid-row: 1;
}

.system-node.pos-bl {
  grid-column: 1;
  grid-row: 3;
}

.system-node.pos-br {
  grid-column: 3;
  grid-row: 3;
}

.system-node:focus-visible,
.system-node.is-hover,
.system-node.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  background: #11161a;
  transform: translateY(-2px);
}

.system-node.is-dim {
  opacity: 0.46;
}

.system-node-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-bottom: 14px;
  opacity: 0.86;
}

.system-node-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.tone-control .system-node-icon {
  color: rgba(43, 123, 97, 0.88);
}

.tone-detection .system-node-icon {
  color: rgba(47, 143, 157, 0.88);
}

.tone-decision .system-node-icon {
  color: rgba(62, 90, 115, 0.92);
}

.tone-response .system-node-icon {
  color: rgba(244, 63, 94, 0.82);
}

.system-node-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.system-node-desc {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.99rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-actions .btn {
  height: 52px;
  padding: 0 32px;
  font-size: 14px;
}

.cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--brand-border);
  padding: 1px;
}

.card {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  padding: 32px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  color: var(--brand-text-muted);
  line-height: 1.6;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-sub {
  margin: 0 0 36px;
  color: var(--brand-text-muted);
  max-width: 52rem;
  line-height: 1.65;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.panel {
  border: 1px solid var(--brand-border);
  background: var(--brand-surface);
  padding: 28px;
}

.panel h4 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.panel p {
  margin: 0;
  color: var(--brand-text-muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.kicker {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--brand-text-muted);
}

.text-red {
  color: var(--brand-red);
}

.footer {
  border-top: 1px solid var(--brand-border);
  background: rgba(5, 5, 5, 0.94);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.footer-brand-block {
  max-width: 34rem;
}

.footer-brand {
  width: max-content;
}

.footer-copy {
  margin: 22px 0 0;
  max-width: 32rem;
  color: var(--brand-text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--brand-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-cta:hover {
  color: var(--brand-cyan);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
}

.footer h5 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin: 8px 0;
}

.footer li a {
  color: var(--brand-text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.footer li a:hover {
  color: var(--brand-cyan);
}

.footer-contact p {
  margin: 8px 0;
  color: var(--brand-text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.footer-contact a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid var(--brand-border);
  padding-top: 24px;
  color: var(--brand-text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Deployment Scenarios */
.env-section {
  padding: 128px 48px 0;
  gap: 64px;
  display: flex;
  flex-direction: column;
}

.env-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.env-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.9px;
  color: var(--brand-text);
}

.env-sub {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: var(--brand-text-muted);
  max-width: 72ch;
}

@media (min-width: 1400px) {
  .env-sub {
    max-width: none;
    white-space: nowrap;
  }
}

.about-section {
  background: linear-gradient(180deg, #050505 0%, #08100d 100%);
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.about-heading {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.about-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-kicker-line {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--primary-600);
  flex-shrink: 0;
}

.about-kicker-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-600);
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.about-copy p {
  margin: 0;
  color: var(--brand-text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.76;
}

.about-copy .about-statement {
  color: var(--brand-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.env-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 447px;
  border: 1px solid var(--brand-border);
  overflow: hidden;
  padding: 8px;
}

.env-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.env-card-base {
  position: absolute;
  inset: 0;
  background: #050505;
}

.env-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transition: transform 0.6s ease;
}

.env-card:hover .env-card-img {
  transform: scale(1.04);
}

.env-card-overlay {
  position: absolute;
  inset: 0;
}

.env-card-tag {
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 16px;
  flex-shrink: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 16px;
  color: var(--brand-text-muted);
  white-space: nowrap;
}

.env-card-content {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 17px;
  justify-content: flex-end;
  padding: 32px 16px;
}

.env-card-domain {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 15px;
}

.env-card-line {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--brand-cyan);
  flex-shrink: 0;
}

.env-card-domain-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 15px;
  color: var(--brand-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.env-card-title {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--brand-text);
  white-space: nowrap;
}

.env-card-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: var(--brand-text-muted);
}

@media (min-width: 1024px) {
  .env-section {
    height: 100vh;
    box-sizing: border-box;
    padding: 88px 48px 48px;
    gap: 24px;
    overflow: hidden;
  }

  .env-header {
    gap: 10px;
  }

  .env-title {
    font-size: clamp(2rem, 2.7vw, 2.7rem);
    line-height: 1.05;
  }

  .env-sub {
    font-size: 15px;
    line-height: 1.55;
  }

  .env-grid {
    flex: 1;
    min-height: 0;
    gap: 14px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }

  .env-card {
    height: 100%;
    min-height: 0;
  }

  .env-card-content {
    padding: 22px 14px 18px;
    gap: 12px;
  }

  .env-card-title {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    line-height: 1.15;
    white-space: normal;
  }

  .env-card-desc {
    font-size: 13px;
    line-height: 1.45;
  }
}

/* ── Hero + header mobile ────────────────────────────────────── */
@media (max-width: 767px) {
  /* Restore container padding on mobile */
  .container {
    padding: 0 20px;
  }

  /* Restore hero padding on mobile */
  .hero {
    padding: 32px 20px;
  }

  /* Header CTA smaller */
  .nav-row .btn-secondary {
    height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  /* Allow title lines to wrap at word boundaries only */
  .hero-title .line {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  /* Copy wraps at word boundaries only — no mid-word breaks */
  .hero-copy {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  /* Tighten hero content so everything stays on screen */
  .hero-content {
    gap: 20px;
  }

  .hero-text-content {
    gap: 16px;
  }

  /* Shift hero image to show the right side on mobile */
  .hero-bg img {
    object-position: right center;
  }

  /* Keep CTA buttons inline, smaller */
  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-actions .btn {
    height: 44px;
    padding: 0 18px;
    font-size: 12px;
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .env-section {
    padding: 80px 10px 72px;
    gap: 40px;
  }

  .env-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .env-card {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: 200px;
  }

  .env-card-title {
    white-space: normal;
  }
}


/* ── Decision Section ────────────────────────────────────── */
.decision-section {
  overflow: hidden;
}

.decision-header {
  margin-bottom: 64px;
  max-width: 640px;
}

.decision-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* ── Decision engine (left) ─────────────────────────────── */
.decision-engine {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.de-block {
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}

.de-label {
  margin: 0 0 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

/* Inputs block */
.de-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.de-signals li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.de-signals li::before {
  content: "— ";
  color: rgba(43,123,97,0.5);
}

/* Arrow connector */
.de-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  gap: 0;
}
.de-arrow-line {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(43,123,97,0.35);
}
.de-arrow-head {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(43,123,97,0.45);
}

/* Eval block */
.de-eval-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.de-eval-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.de-eval-key {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  width: 80px;
  flex-shrink: 0;
}
.de-eval-bar-wrap {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.de-eval-bar {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--primary-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.4s;
}
.de-eval-bar--red {
  background: rgba(244,63,94,0.65);
}
.decision-section.is-evaluating .de-eval-bar {
  transform: scaleX(1);
}
.de-eval-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* Selection block */
.de-selected-method {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.de-selected-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-600);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.de-selected-desc {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.decision-section.is-selected .de-selected-name,
.decision-section.is-selected .de-selected-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Abstract SVG visuals */
.de-selected-visual {
  position: relative;
  height: 80px;
  margin-top: 20px;
}
.de-viz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

/* wave animation for NULL */
.de-viz-wave {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.decision-section.is-selected .de-viz--null .de-viz-wave {
  animation: deWaveDraw 1.4s ease forwards;
}
.decision-section.is-selected .de-viz--null .de-viz-wave--2 {
  animation: deWaveDraw 1.4s ease 0.15s forwards;
}
.decision-section.is-selected .de-viz--null .de-viz-wave--3 {
  animation: deWaveDraw 1.4s ease 0.3s forwards;
}
@keyframes deWaveDraw {
  to { stroke-dashoffset: 0; }
}

/* ── Response methods (right) ───────────────────────────── */
.decision-methods {
  position: sticky;
  top: 120px;
}

.de-methods-label {
  margin: 0 0 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.de-methods-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.de-method {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  border-left: 2px solid transparent;
  opacity: 0.28;
  transition: opacity 0.45s ease, border-color 0.45s ease, background 0.45s ease;
  cursor: default;
  border-radius: 0 4px 4px 0;
}
.de-method.is-selected {
  opacity: 1;
  border-left-color: var(--primary-600);
  background: rgba(43,123,97,0.06);
}
.de-method-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.de-method-desc {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .decision-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .decision-methods {
    position: static;
  }
}

/* ── System Section (sticky scroll timeline) ─────────────── */
.system-wrapper {
  position: relative;
  height: 500dvh;
  border-bottom: 1px solid var(--brand-border);
}

.system-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  width: 100%;
  background: var(--brand-bg);
  display: flex;
  flex-direction: column;
  padding: 96px 48px 0;
  overflow: hidden;
}

.system-heading {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  margin-bottom: 24px;
}

/* ── Dynamic content area ──────────────────────────────────── */
.system-dynamic {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  overflow: hidden;
}

.sys-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.sys-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Text column ───────────────────────────────────────────── */
.sys-text {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  max-width: 520px;
}

.sys-step-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sys-step-line {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--primary-600);
  flex-shrink: 0;
}
.sys-step-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-600);
}

.sys-lead {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--neutral-50);
  letter-spacing: -0.3px;
}

/* ── System module block ───────────────────────────────────── */
.sys-module-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sys-module-context {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.sys-module-name {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-600);
  line-height: 1.35;
}

.sys-module-caps {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
}

/* ── Visual column ─────────────────────────────────────────── */
.sys-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Radar ─────────────────────────────────────────────────── */
.radar-wrap {
  position: relative;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #07120a 0%, #050505 68%);
  overflow: hidden;
  flex-shrink: 0;
}

.radar-sweep-cone {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    transparent 0deg,
    rgba(43, 123, 97, 0.00) 230deg,
    rgba(43, 123, 97, 0.08) 265deg,
    rgba(43, 123, 97, 0.30) 345deg,
    rgba(43, 123, 97, 0.75) 358deg,
    rgba(43, 123, 97, 0.00) 360deg
  );
  animation: radarSpin 3s linear infinite;
}
@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.radar-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.radar-blip {
  opacity: 0;
  animation: blipPulse 3s linear infinite;
}
.radar-blip-ring {
  opacity: 0;
  animation: blipRing 3s linear infinite;
}
@keyframes blipPulse {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  40%  { opacity: 0.7; }
  90%  { opacity: 0.15; }
  100% { opacity: 0; }
}
@keyframes blipRing {
  0%   { opacity: 0; }
  2%   { opacity: 0.6; }
  30%  { opacity: 0.2; }
  60%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Identify panel: radar zoom + threat classification ───────── */
.id-scene {
  position: relative;
  width: 460px;
  height: 460px;
  flex-shrink: 0;
  /* Background and sweep animations come from id-disk-bg and id-sweep inside id-radar,
     which scale together when is-zoomed class is applied. id-classify is positioned
     absolutely relative to id-scene for centered display. */
}
.id-disk-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, #07120a 0%, #050505 68%);
}
.id-radar {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transform: scale(1) translate(0, 0);
  transition: transform 1.2s ease-in-out;
  z-index: 1;
}
.id-scene.is-zoomed .id-radar {
  transform: scale(2.5) translate(-103.5px, 115px);
}
.id-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    transparent 0deg,
    rgba(43, 123, 97, 0.00) 230deg,
    rgba(43, 123, 97, 0.08) 265deg,
    rgba(43, 123, 97, 0.30) 345deg,
    rgba(43, 123, 97, 0.75) 358deg,
    rgba(43, 123, 97, 0.00) 360deg
  );
  animation: radarSpin 3s linear infinite;
}
.id-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.id-threat-dot {
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}
.id-scene.is-zoomed .id-threat-dot {
  opacity: 1;
}
.id-threat-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.id-scene.is-zoomed .id-threat-ring {
  animation: idThreatRing 1.8s ease-out infinite;
}
@keyframes idThreatRing {
  0%   { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0;    transform: scale(2.6); }
}
/* classification card — scene overlay positioned slightly above radar center */
.id-classify {
  position: absolute;
  left: -6%;
  top: 90%;
  width: min(420px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(8px);
  transition: opacity 0.4s ease 1s, transform 0.4s ease 1s;
  z-index: 3;
}
.id-scene.is-zoomed .id-classify {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.id-classify-labelwrap {
  position: relative;
  width: 100%;
  height: 1.5em;
  font-size: 9px;
}
.id-classify-label-identified,
.id-classify-label-classified {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
}
.id-classify-label-identified { color: rgba(244, 63, 94, 0.75); }
.id-classify-label-classified  { color: var(--primary-600); opacity: 0; }
/* label switch: IDENTIFIED out → CLASSIFIED in (t≈3.3s) */
.id-scene.is-zoomed .id-classify-label-identified {
  animation: idFadeOut 0.35s ease 3.3s forwards;
}
.id-scene.is-zoomed .id-classify-label-classified {
  animation: idFadeIn 0.35s ease 3.5s forwards;
}
/* green status disappears after its job is done (t≈3.1s) */
.id-scene.is-zoomed .id-classify-classified {
  animation: idFadeIn 0.35s ease 2.7s forwards, idFadeOut 0.35s ease 3.1s forwards;
}
/* ── shared stacked-pair base ── */
.id-classify-name,
.id-classify-subwrap,
.id-classify-statuswrap {
  position: relative;
  width: 100%;
}
.id-classify-name        { height: 1.2em; font-size: 22px; }
.id-classify-subwrap     { height: 1.5em; font-size: 10px; }
.id-classify-statuswrap  { height: 1.5em; font-size: 10px; }
.id-classify-unknown,
.id-classify-result,
.id-classify-unverified,
.id-classify-verified,
.id-classify-analyzing,
.id-classify-classified {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
/* main name */
.id-classify-unknown,
.id-classify-result {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #f43f5e;
  line-height: 1.2;
}
/* sub drone class */
.id-classify-unverified,
.id-classify-verified {
  font-size: 10px;
  color: rgba(244, 63, 94, 0.6);
  line-height: 1.5;
}
/* bottom status */
.id-classify-analyzing {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}
.id-classify-classified {
  font-size: 10px;
  color: var(--primary-600);
  line-height: 1.5;
}
/* default hidden states */
.id-classify-result,
.id-classify-verified,
.id-classify-classified { opacity: 0; }

.id-classify-behavwrap {
  width: 100%;
  height: 1.5em;
  font-size: 10px;
  position: relative;
}
.id-classify-behav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(244, 63, 94, 0.6);
  line-height: 1.5;
  opacity: 0;
}
.id-scene.is-zoomed .id-classify-behav {
  animation: idFadeIn 0.35s ease 3.65s forwards;
}
/* ── Phase 2 (t≈2.5s): ANALYZING → CONTACT CLASSIFIED ── */
.id-scene.is-zoomed .id-classify-analyzing {
  animation: idFadeOut 0.35s ease 2.5s forwards;
}
/* ── Phase 3 (t≈3.3s): UNKNOWN → QUADCOPTER UAV + sub update ── */
.id-scene.is-zoomed .id-classify-unknown {
  animation: idFadeOut 0.35s ease 3.3s forwards;
}
.id-scene.is-zoomed .id-classify-result {
  animation: idFadeIn  0.35s ease 3.5s forwards;
}
.id-scene.is-zoomed .id-classify-unverified {
  animation: idFadeOut 0.35s ease 3.3s forwards;
}
.id-scene.is-zoomed .id-classify-verified {
  animation: idFadeIn  0.35s ease 3.5s forwards;
}
@keyframes idFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes idFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Decide animation: incident panel overlays zoomed radar ──── */
.id-scene.is-zoomed .decide-incpanel {
  animation: idFadeIn 0.5s ease 3.65s forwards;
}

/* Incident record panel - overlay positioned within scene */
.decide-incpanel {
  position: absolute;
  right: 0;
  top: 0;
  width: 420px;
  max-width: calc(100vw - 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #050505;
  border: 1px solid rgba(100, 200, 180, 0.2);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}



.decide-inc-header {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(200, 230, 220, 0.38);
  text-transform: uppercase;
  margin: 0 0 6px;
  opacity: 0;
}

.id-scene.is-zoomed .decide-inc-header {
  animation: idFadeIn 0.4s ease 2.3s forwards;
}

.decide-inc-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
}

.id-scene.is-zoomed .decide-inc-rows {
  animation: idFadeIn 0.4s ease 2.5s forwards;
}

.decide-inc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 2px;
}

.decide-inc-row--past {
  color: rgba(200, 230, 220, 0.22);
  background: rgba(38, 115, 91, 0.04);
}

.decide-inc-id {
  flex: 1;
}

.decide-inc-status-past {
  color: rgba(200, 230, 220, 0.18);
}

.decide-inc-divider {
  height: 1px;
  background: rgba(38, 115, 91, 0.15);
  margin: 2px 0;
}

.decide-inc-row--active {
  color: rgba(244, 63, 94, 0.9);
  background: rgba(244, 63, 94, 0.07);
  border: 1px solid rgba(244, 63, 94, 0.2);
  flex-wrap: wrap;
  gap: 6px;
}

.decide-inc-active-id {
  font-weight: 600;
  flex: none;
}

.decide-inc-active-type {
  flex: 1;
}

.decide-inc-active-status {
  flex: 0 0 100%;
  font-size: 12px;
  color: rgba(244, 63, 94, 0.55);
  margin-top: -2px;
}

.decide-inc-active-meta {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: rgba(244, 63, 94, 0.4);
  padding: 0 12px;
  margin-top: -2px;
}

/* Eval bar */
.decide-evalwrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
}

.id-scene.is-zoomed .decide-evalwrap {
  animation: idFadeIn 0.4s ease 3.1s forwards;
}

.decide-eval-label {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.11em;
  color: rgba(200, 230, 220, 0.38);
  text-transform: uppercase;
}

.decide-eval-bar {
  height: 2px;
  background: rgba(38, 115, 91, 0.15);
  border-radius: 1px;
  overflow: hidden;
}

.decide-eval-fill {
  height: 100%;
  width: 0;
  background: var(--primary-600);
  border-radius: 1px;
}

.id-scene.is-zoomed .decide-eval-fill {
  animation: decideEvalFill 1.4s ease 3.3s forwards;
}

@keyframes decideEvalFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* Response selected */
.decide-response {
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  padding: 10px 20px 10px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(38, 115, 91, 0.28);
  border-radius: 3px;
  background: rgba(38, 115, 91, 0.06);
}

.id-scene.is-zoomed .decide-response {
  animation: idFadeIn 0.5s ease 4.8s forwards, decideBorderBlink 2s ease-in-out 5.4s infinite;
}

.decide-response-label {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.11em;
  color: rgba(200, 230, 220, 0.38);
  text-transform: uppercase;
}

.decide-response-method {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap;
  color: var(--primary-600);
  font-weight: 600;
}

@media (min-width: 768px) {
  .decide-response {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .decide-response-label {
    font-size: 11px;
  }

  .decide-response-method {
    font-size: 13px;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 480px) {
  .decide-response {
    padding-right: 12px;
  }

  .decide-response-method {
    font-size: 9px;
    letter-spacing: 0;
  }
}

@keyframes decideBorderBlink {
  0%, 100% { border-color: rgba(38, 115, 91, 0.28); }
  50%       { border-color: rgba(38, 115, 91, 0.75); }
}

/* ── Respond module grid ──────────────────────────────────── */
.respond-module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.respond-module-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  border-radius: 8px;
}

.respond-module-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-600);
  flex-shrink: 0;
  opacity: 0.75;
}

.respond-module-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.respond-module-name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-600);
  line-height: 1;
}

.respond-module-sub {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-200, #aeb3bc);
  line-height: 1;
}

/* ── Decide module ────────────────────────────────────────── */
.decide-module-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 8px;
  border-radius: 8px;
}

.decide-module-name {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-600);
  line-height: 1;
}

.decide-module-sub {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-200, #aeb3bc);
  line-height: 1.4;
}

.decide-capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.decide-capability-list li {
  position: relative;
  padding-left: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-200, #aeb3bc);
  line-height: 1.35;
}

.decide-capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-600);
  opacity: 0.78;
}

.decide-capability-nowrap {
  white-space: nowrap;
}

.module-name-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.module-name-brand svg {
  display: block;
  height: 0.82em;
  width: auto;
  transform: translateY(0.02em);
}

.module-name-tail {
  display: inline-block;
}

/* ── Respond scene ────────────────────────────────────────── */
.respond-scene {
  position: relative;
  width: 460px;
  height: 460px;
  flex-shrink: 0;
}

.respond-radar-disk {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transform: scale(2.5) translate(-103.5px, 115px);
  border-radius: 50%;
  background: radial-gradient(circle at center, #07120a 0%, #050505 68%);
  overflow: hidden;
}

.respond-sweep-cone {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    transparent 0deg,
    rgba(43, 123, 97, 0.00) 230deg,
    rgba(43, 123, 97, 0.08) 265deg,
    rgba(43, 123, 97, 0.30) 345deg,
    rgba(43, 123, 97, 0.75) 358deg,
    rgba(43, 123, 97, 0.00) 360deg
  );
  animation: radarSpin 3s linear infinite;
}

.respond-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Threat neutralize animations */
.respond-scene.is-responding .respond-threat-dot {
  animation: respondNeutralizeDot 1.6s ease 1.0s forwards;
}

.respond-scene.is-responding .respond-threat-ring {
  animation: respondNeutralizeRing 1.6s ease 1.0s forwards;
}

@keyframes respondNeutralizeDot {
  0%   { fill: #f43f5e; opacity: 1;   transform: translate(0,    0);    }
  10%  { fill: #f43f5e; opacity: 0.3; transform: translate(3px,  -3px); }
  20%  { fill: #f43f5e; opacity: 1;   transform: translate(-2px, 2px);  }
  32%  { fill: #f43f5e; opacity: 0.4; transform: translate(3px,  -2px); }
  44%  { fill: #26735b; opacity: 1;   transform: translate(0,    0);    }
  58%  { fill: #26735b; opacity: 0.85;transform: translate(10px, -10px);}
  100% { fill: #26735b; opacity: 0;   transform: translate(80px, -80px);}
}

@keyframes respondNeutralizeRing {
  0%   { stroke: #f43f5e; opacity: 1;   transform: translate(0,    0);    }
  10%  { stroke: #f43f5e; opacity: 0.3; transform: translate(3px,  -3px); }
  20%  { stroke: #f43f5e; opacity: 1;   transform: translate(-2px, 2px);  }
  32%  { stroke: #f43f5e; opacity: 0.4; transform: translate(3px,  -2px); }
  44%  { stroke: #26735b; opacity: 1;   transform: translate(0,    0);    }
  58%  { stroke: #26735b; opacity: 0.85;transform: translate(10px, -10px);}
  100% { stroke: #26735b; opacity: 0;   transform: translate(80px, -80px);}
}

/* Status overlay */
.respond-overlay {
  position: absolute;
  top: calc(50% + 106px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

.respond-status-wrap {
  position: relative;
  height: 1.5em;
  width: 100%;
  text-align: center;
}

.respond-executing,
.respond-neutralized {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}

.respond-executing  { color: rgba(244, 63, 94, 0.75); }
.respond-neutralized { color: var(--primary-600); }

.respond-inc-label,
.respond-sector-clear {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
}

.respond-inc-label    { font-size: 9px; color: rgba(200, 230, 220, 0.4); }
.respond-sector-clear { font-size: 13px; color: var(--primary-600); font-weight: 600; }

/* Animation sequence */
.respond-scene.is-responding .respond-executing {
  animation: idFadeIn 0.4s ease 0.4s forwards, idFadeOut 0.35s ease 2.0s forwards;
}
.respond-scene.is-responding .respond-neutralized {
  animation: idFadeIn 0.4s ease 2.2s forwards;
}
.respond-scene.is-responding .respond-inc-label {
  animation: idFadeIn 0.4s ease 2.6s forwards;
}
.respond-scene.is-responding .respond-sector-clear {
  animation: idFadeIn 0.5s ease 3.0s forwards;
}

/* ── Timeline row ──────────────────────────────────────────── */
.system-timeline {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 22px; /* sized so tile marker centers (top:-29px + 6px half-height) land on the 1px rail */
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-bottom: 80px;
}

.timeline-rail {
  width: 100%;
  height: 1px;
  background: var(--neutral-700);
}

.timeline-tiles {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  overflow: visible;
}

/* ── Timeline tile component ───────────────────────────────── */
.timeline-tile {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.timeline-tile:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.03);
}
.timeline-tile.is-active {
  background: var(--primary-bg);
  border-color: var(--primary-600);
}

/* Marker dot sitting on the rail */
.tile-marker-wrap {
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.tile-marker {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: var(--brand-bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.timeline-tile.is-active .tile-marker {
  border-color: var(--primary-600);
  background: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(43, 123, 97, 0.25);
}

.tile-num {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  transition: color 0.3s ease;
}
.timeline-tile.is-active .tile-num { color: var(--primary-600); }

.tile-title {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease;
}
.timeline-tile.is-active .tile-title { color: var(--neutral-50); }

.tile-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.3s ease;
}
.timeline-tile.is-active .tile-desc { color: var(--neutral-400); }

.tile-module {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--primary-600);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.timeline-tile.is-active .tile-module {
  max-height: 64px;
  opacity: 1;
}

.animated-text .char {
  display: inline-block;
}

/* ── System section mobile ───────────────────────────────────── */
@media (max-width: 767px) {
  /* Fix side padding — sticky/scroll behavior unchanged */
  .system-sticky {
    padding: 84px 20px 0;
  }

  .system-heading {
    margin-bottom: 16px;
  }

  /* Stack text + visual vertically so both fit in 100dvh */
  .sys-panel {
    flex-direction: column;
    gap: 14px;
    padding: 14px 0 0;
    align-items: stretch;
    justify-content: space-between;
  }

  .sys-text {
    max-width: 100%;
    gap: 10px;
    flex: 0 0 auto;
  }

  .sys-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .sys-module-name {
    font-size: 15px;
  }

  .sys-visual {
    width: 100%;
    min-height: 250px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
  }

  .system-dynamic,
  .sys-panel {
    overflow: visible;
  }

  /* Scale visuals to fit */
  .radar-wrap,
  .id-scene,
  .respond-scene {
    width: min(280px, calc(100vw - 48px));
    height: min(280px, calc(100vw - 48px));
  }

  .id-scene,
  .respond-scene {
    overflow: visible;
  }

  .respond-radar-disk {
    transform: none;
  }

  /* Keep timeline section padding intact while giving Decide more horizontal room */
  .decide-scene {
    width: 100%;
    max-width: calc(100vw - 40px);
    aspect-ratio: 1 / 1;
    height: auto;
  }

  /* Adjust zoom translate for smaller id-scene size */
  .id-scene.is-zoomed .id-radar {
    transform: none;
  }

  .id-classify {
    left: 50%;
    top: 82%;
    width: min(320px, calc(100vw - 40px));
  }

  .id-classify-name {
    font-size: 18px;
  }

  .id-classify-unknown,
  .id-classify-result {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .decide-incpanel {
    left: 50%;
    right: auto;
    top: 50%;
    width: min(336px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    gap: 10px;
    padding: 14px 16px;
    transform: translate(-50%, -50%);
  }

  .decide-inc-header,
  .decide-eval-label,
  .decide-response-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .decide-inc-row {
    font-size: 11px;
    padding: 7px 9px;
  }

  .decide-inc-active-status,
  .decide-inc-active-meta {
    font-size: 10px;
  }

  .decide-response-method {
    font-size: 9px;
    letter-spacing: 0;
  }

  .respond-overlay {
    top: calc(50% + 74px);
  }

  /* Compact respond module grid — keep 2×2 */
  .respond-module-grid {
    gap: 6px;
  }

  .respond-module-item {
    padding: 8px 6px;
    gap: 10px;
  }

  .respond-module-name {
    font-size: 13px;
  }

  .respond-module-sub {
    font-size: 10px;
  }

  /* Timeline — compact horizontal strip */
  .system-timeline {
    gap: 10px;
    padding-bottom: 16px;
  }

  .timeline-tiles {
    gap: 6px;
  }

  .timeline-rail {
    display: none;
  }

  .timeline-tile {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    gap: 3px;
  }

  .tile-marker-wrap {
    display: none;
  }

  .tile-desc,
  .tile-module {
    display: none;
  }

  .tile-num {
    font-size: 10px;
  }

  .tile-title {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* ── Deployment: premium split showcase ───────────────────── */
.deploy-section {
  padding: 124px 0 136px;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  background: radial-gradient(1200px 520px at 85% 0%, rgba(79, 166, 136, 0.2), transparent 60%),
              radial-gradient(860px 440px at 8% 18%, rgba(210, 241, 226, 0.08), transparent 65%),
              linear-gradient(180deg, #0a0f0d 0%, #0d1411 100%);
}

.deploy-frame {
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--content-gutter);
}

.deploy-heading {
  max-width: 980px;
  margin-bottom: 54px;
}

@media (min-width: 1400px) {
  .deploy-heading {
    max-width: none;
  }
}

.deploy-layout {
  display: grid;
  grid-template-columns: minmax(280px, 25%) minmax(0, 1fr);
  gap: 32px;
  min-height: 700px;
}

.deploy-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(165deg, rgba(17, 24, 21, 0.95) 0%, rgba(12, 18, 15, 0.95) 100%);
  border: 1px solid rgba(205, 234, 221, 0.2);
  border-radius: 14px;
  overflow: hidden;
  padding: 18px;
}

.deploy-nav-tree {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  height: 100%;
}

.deploy-nav-item {
  position: relative;
  width: 100%;
  border: 1px solid rgba(219, 239, 230, 0.16);
  background: transparent;
  color: rgba(237, 246, 242, 0.9);
  padding: 18px 18px 18px 22px;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-radius: 10px;
}

.deploy-nav-item:hover {
  background: rgba(83, 168, 139, 0.18);
}

.deploy-nav-item:focus-visible {
  outline: 1px solid rgba(43, 123, 97, 0.55);
  outline-offset: -1px;
}

.deploy-nav-accent {
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: transparent;
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.deploy-nav-status {
  position: absolute;
  top: 30px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.deploy-nav-icon {
  color: rgba(193, 220, 209, 0.9);
  align-self: center;
}

.deploy-nav-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.deploy-nav-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deploy-nav-index {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(169, 212, 195, 0.95);
}

.deploy-nav-name {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: inherit;
}

.deploy-nav-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(212, 229, 222, 0.84);
}

.deploy-nav-item.is-active {
  color: #f8fdfa;
  background: linear-gradient(90deg, rgba(74, 165, 133, 0.32) 0%, rgba(74, 165, 133, 0.12) 46%, transparent 100%);
  border-color: rgba(143, 210, 186, 0.48);
}

.deploy-nav-item.is-active .deploy-nav-accent {
  background: #2f8f72;
  box-shadow: 0 0 16px rgba(47, 143, 114, 0.6);
}

.deploy-nav-item.is-active .deploy-nav-status {
  background: #2f8f72;
  box-shadow: 0 0 12px rgba(47, 143, 114, 0.55);
}

.deploy-nav-item.is-active .deploy-nav-icon {
  color: #93c7b4;
}

.deploy-nav-item--root {
  flex: 1;
  min-height: 220px;
  align-content: start;
  position: relative;
  left: -18px;
  width: calc(100% + 36px);
  margin: -18px 0 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  border-color: rgba(156, 206, 186, 0.36);
  background: linear-gradient(145deg, rgba(74, 165, 133, 0.26) 0%, rgba(74, 165, 133, 0.12) 48%, rgba(16, 30, 24, 0.34) 100%);
  box-shadow: inset 0 0 0 1px rgba(150, 216, 192, 0.08);
}

.deploy-nav-item--root .deploy-nav-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.deploy-nav-item--root .deploy-nav-desc {
  margin-top: 6px;
  max-width: 22ch;
  color: rgba(220, 237, 230, 0.9);
}

.deploy-nav-item--root .deploy-nav-status {
  width: 9px;
  height: 9px;
}

.deploy-nav-item--root.is-active {
  background: linear-gradient(90deg, rgba(43, 123, 97, 0.28) 0%, rgba(43, 123, 97, 0.1) 55%, rgba(43, 123, 97, 0.02) 100%);
}

.deploy-nav-item--root.is-active .deploy-nav-accent {
  box-shadow: 0 0 22px rgba(47, 143, 114, 0.75);
}

.deploy-nav-children {
  position: relative;
  margin-left: 18px;
  padding-left: 20px;
  border-left: 1px dashed rgba(148, 201, 180, 0.36);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deploy-nav-children::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -12px;
  height: 12px;
  border-left: 1px dashed rgba(148, 201, 180, 0.36);
}

.deploy-nav-item--child::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 50%;
  width: 18px;
  border-top: 1px dashed rgba(148, 201, 180, 0.36);
  transform: translateY(-50%);
}

.deploy-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(211, 236, 225, 0.22);
  background: #111814;
  min-height: 700px;
}

.deploy-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.deploy-view.is-active {
  opacity: 1;
  pointer-events: auto;
}

.deploy-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.deploy-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 16, 13, 0.66) 8%, rgba(9, 17, 14, 0.34) 40%, rgba(9, 17, 14, 0.1) 64%, rgba(9, 17, 14, 0.3) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.deploy-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 72px 64px 150px;
}

.deploy-kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #b8e0cf;
}

.deploy-headline {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fbfffd;
}

.deploy-headline--integrated .deploy-headline-line {
  display: block;
}

@media (min-width: 1024px) {
  .deploy-copy {
    max-width: 660px;
  }

  .deploy-headline {
    font-size: clamp(1.86rem, 3vw, 2.85rem);
    max-width: 24ch;
  }

  .deploy-headline--integrated .deploy-headline-line {
    white-space: nowrap;
  }
}

.deploy-description {
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(236, 245, 241, 0.95);
}

.deploy-feature-grid {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.deploy-feature-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 245, 241, 0.94);
}

.deploy-feature-icon {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(141, 211, 184, 0.95);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(74, 165, 133, 0.36);
}

.deploy-capability-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  border-top: 1px solid rgba(211, 236, 225, 0.26);
  background: linear-gradient(180deg, rgba(11, 18, 15, 0.5) 0%, rgba(12, 20, 16, 0.76) 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deploy-cap-item {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid rgba(211, 236, 225, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 244, 240, 0.95);
}

.deploy-cap-item:last-child {
  border-right: 0;
}

.deploy-cap-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(140, 196, 175, 0.9);
  box-shadow: 0 0 8px rgba(43, 123, 97, 0.38);
}

@media (max-width: 1080px) {
  .deploy-frame {
    padding: 0 28px;
  }

  .deploy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .deploy-nav {
    display: flex;
    height: auto;
    padding: 16px;
  }

  .deploy-nav-tree {
    height: auto;
    gap: 10px;
  }

  .deploy-nav-item {
    padding: 14px 16px;
  }

  .deploy-nav-item--root {
    flex: 0;
    min-height: auto;
    left: -16px;
    width: calc(100% + 32px);
    margin: 0;
    border-radius: 8px;
    padding: 16px 18px;
  }

  .deploy-nav-item--root .deploy-nav-name {
    font-size: 1.2rem;
  }

  .deploy-nav-children {
    margin-left: 14px;
    padding-left: 16px;
    gap: 8px;
  }

  .deploy-nav-item--child::before {
    left: -17px;
    width: 14px;
  }

  .deploy-stage {
    min-height: 640px;
  }
}

@media (max-width: 767px) {
  .deploy-section {
    padding: 80px 0 0;
  }

  .deploy-frame {
    padding: 0 16px;
  }

  .deploy-heading {
    margin-bottom: 28px;
  }

  .deploy-layout {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    height: calc(100svh - 64px);
    min-height: 0;
  }

  .deploy-nav {
    order: 2;
    height: auto;
    min-height: 0;
    padding: 0;
    background: rgba(8, 14, 11, 0.92);
    border-radius: 8px;
    overflow: hidden;
  }

  .deploy-nav-tree {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: auto;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .deploy-nav-tree::-webkit-scrollbar {
    display: none;
  }

  .deploy-nav-item {
    flex: 0 0 92px;
    min-width: 92px;
    min-height: 58px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 0 1px 0 0;
    border-color: rgba(219, 239, 230, 0.13);
    border-radius: 0;
    font-size: 0.78rem;
    text-align: center;
  }

  .deploy-nav-item:hover {
    background: rgba(83, 168, 139, 0.22);
  }

  .deploy-nav-icon,
  .deploy-nav-status {
    display: none;
  }

  .deploy-nav-meta {
    align-items: center;
    gap: 2px;
    min-width: 0;
  }

  .deploy-nav-name {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .deploy-nav-desc {
    display: none;
  }

  .deploy-nav-index {
    display: block;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    color: rgba(169, 212, 195, 0.72);
  }

  .deploy-nav-icon svg {
    width: 16px;
    height: 16px;
  }

  .deploy-nav-accent {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 2px;
  }

  .deploy-nav-item--root {
    flex-basis: 108px;
    min-width: 108px;
    min-height: auto;
    align-content: auto;
    position: static;
    left: auto;
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 1px solid rgba(219, 239, 230, 0.13);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 9px 10px;
  }

  .deploy-nav-item--root .deploy-nav-name {
    font-size: 0.66rem;
    font-weight: 600;
  }

  .deploy-nav-item--root .deploy-nav-desc {
    display: none;
  }

  .deploy-nav-item--root.is-active {
    background: rgba(43, 123, 97, 0.28);
    border-color: rgba(143, 210, 186, 0.5);
  }

  .deploy-nav-children {
    display: contents;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .deploy-nav-children::before {
    display: none;
  }

  .deploy-nav-item--child {
    padding: 9px 10px;
    min-width: 92px;
    border-radius: 0;
  }

  .deploy-nav-item--child::before {
    display: none;
  }

  .deploy-nav-item--child .deploy-nav-meta {
    gap: 2px;
    min-width: 0;
  }

  .deploy-nav-item--child .deploy-nav-name {
    font-size: 0.68rem;
  }

  .deploy-stage {
    order: 1;
    min-height: 0;
    height: auto;
    border-radius: 10px;
  }

  .deploy-stage-image {
    object-position: center;
  }

  .deploy-stage-overlay {
    background: linear-gradient(180deg, rgba(8, 16, 13, 0.22) 0%, rgba(8, 16, 13, 0.68) 43%, rgba(8, 16, 13, 0.94) 100%);
  }

  .deploy-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    padding: 0 16px 58px;
  }

  .deploy-copy .deploy-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .deploy-copy .deploy-headline {
    font-size: clamp(1.28rem, 6vw, 1.72rem);
    line-height: 1.08;
    margin-top: 8px;
  }

  .deploy-copy .deploy-description {
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .deploy-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 14px;
  }

  .deploy-feature-grid li {
    gap: 7px;
    font-size: 0.58rem;
    line-height: 1.25;
    letter-spacing: 0.05em;
  }

  .deploy-feature-icon {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
  }

  .deploy-capability-strip {
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: auto;
    border-top: 0;
    background: transparent;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .deploy-cap-item {
    min-height: 22px;
    padding: 4px 5px;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(211, 236, 225, 0.12);
    border-radius: 999px;
    background: rgba(5, 9, 8, 0.5);
    backdrop-filter: blur(6px);
    font-size: 0.45rem;
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-align: center;
    color: rgba(236, 244, 240, 0.72);
  }

  .deploy-cap-item:nth-child(2n) {
    border-right: 1px solid rgba(211, 236, 225, 0.12);
  }

  .deploy-cap-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(211, 236, 225, 0.12);
  }

  .deploy-cap-icon {
    width: 4px;
    height: 4px;
    border: 0;
    background: rgba(140, 196, 175, 0.78);
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .about-container {
    gap: 32px;
  }

  .about-copy {
    gap: 18px;
  }

  .about-copy p {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .about-copy .about-statement {
    font-size: 0.76rem;
  }
}

/* ── Desktop layout overrides ────────────────────────────────── */
@media (min-width: 768px) {
  /* Header: 3-column grid so nav is truly centred */
  .nav-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav-links {
    display: flex;
    justify-content: center;
  }

  .nav-row .btn-secondary {
    justify-self: end;
  }

  .sys-text {
    padding: 0 32px;
    box-sizing: border-box;
  }

  /* Footer top: brand+desc left, links right */
  .footer-top {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(34rem, 1.1fr);
    gap: 72px;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 56px;
    justify-content: end;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .footer-link-group {
    min-width: 0;
  }

  /* Footer bottom: copyright left, links right */
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
  }

  .footer-bottom span:last-child {
    max-width: 38rem;
    text-align: right;
  }
}

/* ────────────────────────────────────────────────────────────────── */
/* Navbar styling */
/* ────────────────────────────────────────────────────────────────── */

.navbar-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--content-gutter);
  height: 100%;
}

.navbar-logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.logo-image {
  height: 24px;
  display: flex;
  align-items: center;
}

.logo-image img {
  height: 100%;
  width: auto;
}

.logo-aethon {
  height: 24px;
}

.logo-subtext {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5.6px;
  font-size: 12px;
  line-height: 18px;
}

.by-text {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  font-family: "IBM Plex Sans", sans-serif;
}

.xcerus-text {
  font-weight: 600;
  color: var(--brand-cyan);
  font-family: "IBM Plex Sans", sans-serif;
}

.logo-xcerus-wrapper {
  display: inline-flex;
  align-items: center;
  height: 8px;
}

.logo-xcerus-wrapper svg {
  height: 8px;
  width: auto;
}

.navbar-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 40px;
  align-items: center;
}

.navbar-nav a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav a:hover {
  color: var(--brand-cyan);
}

.navbar-nav a.is-active {
  color: var(--brand-cyan);
}

.navbar-nav a.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: currentColor;
}

.navbar-btn {
  grid-column: 3;
  justify-self: end;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--brand-text);
  background: transparent;
  color: var(--brand-text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar-btn:hover {
  background: var(--brand-text);
  color: var(--brand-bg);
}

/* ── Hamburger button ─────────────────────────────────────── */
.hamburger {
  display: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  appearance: none;
  line-height: 0;
}

.hamburger span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brand-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.hamburger span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.hamburger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

/* Animated X state */
.hamburger.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ── Mobile nav drawer ────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  background: rgba(5, 5, 5, 0.97);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 40px 28px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  margin-bottom: 32px;
}

.mobile-nav-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s ease;
  letter-spacing: 0.04em;
  text-align: right;
  width: 100%;
}

.mobile-nav-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav-link:hover {
  color: var(--brand-cyan);
}

.mobile-nav-link.is-active {
  color: var(--brand-cyan);
}

.mobile-nav-cta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid var(--brand-text);
  background: transparent;
  color: var(--brand-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav-cta:hover {
  background: var(--brand-text);
  color: var(--brand-bg);
}

/* ── Show hamburger / hide nav on mobile ─────────────────── */
@media (max-width: 1120px) {
  .navbar-nav,
  .navbar-btn {
    display: none;
  }

  .hamburger {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }

  .mobile-nav {
    display: flex;
  }

  .navbar-container {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .logo-image,
  .logo-aethon {
    height: 20px;
  }

  .brand-mark {
    width: 182px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 48px 0 28px;
  }

  .footer-copy {
    font-size: 0.92rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer h5 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    margin-top: 38px;
  }
}
