:root {
  color-scheme: dark;
  --bg: #050609;
  --panel: rgba(12, 15, 20, 0.78);
  --panel-solid: #0c0f14;
  --text: #f7f7f2;
  --muted: #a5abb7;
  --line: rgba(255, 255, 255, 0.13);
  --green: #24f08b;
  --amber: #ffb238;
  --red: #ff4d5b;
  --blue: #6bb8ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(5, 6, 9, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.brand, nav, .hero-actions, .hero-status, footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
}

nav {
  gap: clamp(14px, 3vw, 28px);
  color: rgba(247, 247, 242, 0.72);
  font-size: 13px;
}

nav a:hover, footer a:hover { color: var(--green); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 7vw, 88px) 88px;
  border-bottom: 1px solid var(--line);
}

.smtp-backdrop, .hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.smtp-backdrop {
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(36, 240, 139, 0.14), transparent 32%),
    radial-gradient(circle at 84% 72%, rgba(107, 184, 255, 0.11), transparent 34%),
    radial-gradient(circle at 58% 46%, rgba(255, 178, 56, 0.08), transparent 28%),
    linear-gradient(180deg, #050609 0%, #07090d 58%, #040507 100%);
}

.smtp-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 100%);
}

.smtp-stream {
  position: absolute;
  inset: 10% -3% 8% 36%;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) 58px minmax(275px, 1.08fr) 58px minmax(220px, 0.95fr);
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  transform: rotate(-5deg);
  opacity: 1;
  filter:
    drop-shadow(0 0 34px rgba(36, 240, 139, 0.24))
    drop-shadow(0 0 90px rgba(107, 184, 255, 0.08));
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.76) 5%, #000 13%, #000 91%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 5%, #000 94%, transparent 100%);
  mask-composite: intersect;
}

.protocol-stage {
  position: relative;
  min-width: 0;
  padding: 16px 16px 18px;
  border: 1px solid rgba(36, 240, 139, 0.18);
  background:
    linear-gradient(180deg, rgba(10, 18, 18, 0.78), rgba(4, 8, 10, 0.58)),
    rgba(3, 5, 7, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.24),
    0 18px 60px rgba(0, 0, 0, 0.28);
  animation: protocol-float 13s ease-in-out infinite;
}

.protocol-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 7px;
  mix-blend-mode: screen;
}

.protocol-stage::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(36, 240, 139, 0.48);
  box-shadow: 0 0 28px rgba(36, 240, 139, 0.18);
  transition: opacity 260ms ease;
}

.protocol-stage[data-state="active"]::after {
  opacity: 0.8;
}

.protocol-stage[data-state="idle"] {
  opacity: 0.56;
}

.protocol-stage[data-state="complete"] {
  opacity: 0.86;
}

.protocol-stage.json {
  animation-delay: -4s;
}

.protocol-stage.nip17 {
  animation-delay: -8s;
}

.protocol-stage-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font: 13px/1.75 "Courier New", Courier, ui-monospace, monospace;
  color: rgba(247, 247, 242, 0.7);
}

.protocol-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(36, 240, 139, 0.78);
}

.protocol-stage-top strong {
  color: rgba(247, 247, 242, 0.94);
  font-size: 11px;
  letter-spacing: 0;
}

.protocol-stage-top em {
  margin-left: auto;
  color: rgba(165, 171, 183, 0.56);
  font-style: normal;
  font-size: 10px;
}

.protocol-code {
  margin: 0;
  overflow: hidden;
  font: 13px/1.58 "Courier New", Courier, ui-monospace, monospace;
  white-space: pre;
}

.protocol-line {
  display: block;
  min-height: 1.58em;
  color: rgba(157, 218, 184, 0.46);
  text-shadow: none;
  transition: color 360ms ease, opacity 360ms ease, text-shadow 360ms ease;
}

.json .protocol-line {
  color: rgba(132, 188, 235, 0.43);
}

.nip17 .protocol-line {
  color: rgba(218, 178, 101, 0.43);
}

.protocol-line[data-hot="1"] {
  color: rgba(154, 221, 183, 0.48);
}

.protocol-line[data-hot="2"] {
  color: rgba(184, 244, 209, 0.66);
}

.protocol-line[data-hot="3"] {
  color: rgba(211, 255, 229, 0.86);
}

.protocol-line[data-hot="4"] {
  color: rgba(238, 255, 246, 1);
  text-shadow:
    0 0 12px rgba(36, 240, 139, 0.64),
    0 0 34px rgba(36, 240, 139, 0.28);
}

.protocol-line[data-typing="true"] {
  color: rgba(245, 255, 249, 1);
  text-shadow:
    0 0 16px rgba(36, 240, 139, 0.76),
    0 0 42px rgba(36, 240, 139, 0.32);
}

.json .protocol-line[data-hot="4"] {
  color: rgba(219, 239, 255, 1);
  text-shadow:
    0 0 12px rgba(107, 184, 255, 0.58),
    0 0 34px rgba(107, 184, 255, 0.22);
}

.json .protocol-line[data-typing="true"] {
  color: rgba(235, 247, 255, 1);
  text-shadow:
    0 0 16px rgba(107, 184, 255, 0.68),
    0 0 42px rgba(107, 184, 255, 0.28);
}

.nip17 .protocol-line[data-hot="4"] {
  color: rgba(255, 235, 194, 1);
  text-shadow:
    0 0 12px rgba(255, 178, 56, 0.58),
    0 0 34px rgba(255, 178, 56, 0.22);
}

.nip17 .protocol-line[data-typing="true"] {
  color: rgba(255, 242, 210, 1);
  text-shadow:
    0 0 16px rgba(255, 178, 56, 0.68),
    0 0 42px rgba(255, 178, 56, 0.28);
}

.protocol-line[data-cursor="true"]::after {
  content: "";
  display: inline-block;
  width: 0.58em;
  height: 1.12em;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: rgba(238, 255, 246, 0.9);
  box-shadow: 0 0 14px rgba(36, 240, 139, 0.72);
}

.json .protocol-line[data-cursor="true"]::after {
  background: rgba(219, 239, 255, 0.88);
  box-shadow: 0 0 14px rgba(107, 184, 255, 0.62);
}

.nip17 .protocol-line[data-cursor="true"]::after {
  background: rgba(255, 235, 194, 0.88);
  box-shadow: 0 0 14px rgba(255, 178, 56, 0.62);
}

.protocol-connector {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  font: 10px/1 "Courier New", Courier, ui-monospace, monospace;
  color: rgba(247, 247, 242, 0.44);
  text-transform: uppercase;
}

.protocol-connector span {
  display: block;
  width: 46px;
  height: 2px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(36, 240, 139, 0.68), transparent);
  animation: protocol-link 4.8s ease-in-out infinite;
}

.protocol-connector strong {
  font-weight: 700;
  letter-spacing: 0;
}

.protocol-connector:nth-of-type(4) span {
  background: linear-gradient(90deg, transparent, rgba(255, 178, 56, 0.66), transparent);
  animation-delay: -0.7s;
}

@keyframes protocol-float {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(5px); }
}

@keyframes protocol-link {
  0%, 100% {
    opacity: 0.34;
    transform: scaleX(0.9);
  }
  50% {
    opacity: 0.66;
    transform: scaleX(1);
  }
}

.hero-vignette {
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.99) 0%, rgba(5, 6, 9, 0.82) 38%, rgba(5, 6, 9, 0.14) 100%),
    linear-gradient(0deg, rgba(5, 6, 9, 0.96) 0%, rgba(5, 6, 9, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font: 700 12px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(247, 247, 242, 0.78);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.35;
}

.lede strong {
  color: var(--text);
  white-space: nowrap;
}

.subclaim {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(165, 171, 183, 0.88);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  background: var(--text);
  color: #050609;
  border-color: var(--text);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.agent-button {
  border-color: rgba(36, 240, 139, 0.34);
  color: rgba(213, 255, 232, 0.96);
}

.demo-address {
  display: grid;
  gap: 8px;
  width: min(560px, 100%);
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(69, 255, 176, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
}

.demo-address span {
  color: var(--green);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.demo-address strong {
  color: var(--text);
  font: 700 clamp(19px, 3vw, 30px)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.demo-address p {
  margin: 0;
  color: rgba(247, 247, 242, 0.72);
  font-size: 14px;
}

.hero-status {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 7vw, 88px);
  right: clamp(18px, 7vw, 88px);
  bottom: 26px;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(247, 247, 242, 0.7);
  padding: 7px 10px;
  border-radius: 999px;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.band {
  padding: 82px clamp(18px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.agents {
  background:
    linear-gradient(180deg, rgba(36, 240, 139, 0.05), rgba(107, 184, 255, 0.04)),
    #07090d;
}

.agent-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  margin-top: 32px;
}

.agent-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  color: rgba(247, 247, 242, 0.74);
  font-size: clamp(16px, 1.6vw, 19px);
}

.agent-copy p {
  margin: 0;
}

.agent-copy a {
  color: var(--green);
  font-weight: 700;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agent-steps article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 15, 20, 0.72);
}

.agent-steps span {
  color: var(--green);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.agent-steps strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
}

.agent-steps p {
  margin: 0;
  color: rgba(165, 171, 183, 0.86);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 7vw, 86px);
  background: #f4f5f1;
  color: #0c0f14;
}

.intro .eyebrow { color: #126f44; }

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.copy-grid {
  display: grid;
  gap: 18px;
  color: #363c46;
  font-size: clamp(17px, 2vw, 21px);
}

.copy-grid p { margin: 0; }

.protocol {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    #080a0f;
}

.route-panel,
.terminal-panel,
.bot-card,
.command-grid article,
.status-card,
.mitigation-grid article,
.feature-grid article,
.instance-panel,
.price-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.route-panel {
  min-height: 440px;
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  align-items: center;
  gap: 0;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.route-node {
  position: relative;
  z-index: 2;
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 9, 0.7);
}

.route-node span, .timeline span, .num, .price-grid span {
  color: var(--green);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.route-node strong {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1;
}

.route-line {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  box-shadow: 0 0 24px rgba(36, 240, 139, 0.45);
}

.route-line.encrypted { background: linear-gradient(90deg, var(--amber), var(--blue)); }
.route-line.exit { background: linear-gradient(90deg, var(--blue), var(--red)); }

.terminal-panel {
  min-height: 440px;
  overflow: hidden;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.terminal-top span:nth-child(2) { background: var(--amber); }
.terminal-top span:nth-child(3) { background: var(--green); }
.terminal-top p {
  margin: 0 0 0 8px;
  color: var(--muted);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
  margin: 0;
  padding: 26px;
  white-space: pre-wrap;
  color: #d8ffe9;
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.commands {
  background:
    linear-gradient(90deg, rgba(36, 240, 139, 0.08), rgba(255, 178, 56, 0.04) 52%, rgba(107, 184, 255, 0.08)),
    #0b0d12;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 16px;
  margin-top: 34px;
}

.bot-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
}

.bot-card span,
.command-grid span,
.status-card span,
.mitigation-grid strong {
  color: var(--green);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.bot-card strong {
  color: #d8ffe9;
  font: 700 clamp(16px, 2.1vw, 24px)/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.bot-card p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.command-grid article {
  min-height: 158px;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 22px;
  border-radius: 8px;
}

.command-grid span {
  color: var(--text);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 0.95;
  text-transform: none;
}

.command-grid p {
  margin: 0;
  color: var(--muted);
}

.security {
  background: #f4f5f1;
  color: #0c0f14;
}

.security .eyebrow,
.security .mitigation-grid strong,
.security .status-card span {
  color: #126f44;
}

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

.status-card {
  min-height: 310px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  color: #0c0f14;
  border-color: #d7dad4;
}

.status-card h3 {
  margin: 28px 0 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.status-card p {
  margin: 0;
  color: #3c424c;
  font-size: 18px;
}

.status-card.live {
  background: #0c0f14;
  color: var(--text);
  border-color: rgba(36, 240, 139, 0.28);
}

.status-card.live p {
  color: var(--muted);
}

.status-card.guarded {
  background:
    linear-gradient(180deg, rgba(36, 240, 139, 0.12), rgba(255, 255, 255, 0)),
    #fff;
}

.mitigation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mitigation-grid article {
  min-height: 190px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  border-color: #d7dad4;
}

.mitigation-grid p {
  margin: 18px 0 0;
  color: #3c424c;
}

.stack {
  background: #10131a;
}

.stack .section-head {
  margin-bottom: 32px;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 22px;
  border-radius: 8px;
}

.feature-grid h3 {
  margin: 28px 0 10px;
  font-size: 22px;
  line-height: 1.05;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  background:
    linear-gradient(180deg, rgba(107, 184, 255, 0.06), rgba(255, 255, 255, 0)),
    #080a0f;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-top: 34px;
}

.instance-panel {
  min-height: 430px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
}

.instance-panel h3 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.instance-panel p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.address-map {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.address-map span, .address-map strong {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 14px;
  border-radius: 8px;
}

.address-map span {
  color: #d8ffe9;
  background: rgba(36, 240, 139, 0.07);
  font: 700 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.address-map strong {
  color: rgba(247, 247, 242, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

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

.price-grid article {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
}

.price-grid article:first-child {
  grid-column: span 2;
  min-height: 190px;
  background: rgba(247, 247, 242, 0.92);
  color: #07090d;
}

.price-grid article:first-child p {
  color: #414853;
}

.price-grid strong {
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.price-grid p {
  margin: 0;
  color: var(--muted);
}

.roadmap {
  background: #f4f5f1;
  color: #0c0f14;
}

.roadmap .eyebrow { color: #126f44; }

.timeline {
  display: grid;
  gap: 1px;
  margin-top: 36px;
  border: 1px solid #d7dad4;
  background: #d7dad4;
}

.timeline div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 22px;
  background: #fff;
}

.timeline strong {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.18;
}

footer {
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px clamp(18px, 7vw, 88px);
  color: var(--muted);
}

@media (max-width: 900px) {
  .intro, .protocol, .agent-layout, .command-layout, .security-layout, .pricing-layout { grid-template-columns: 1fr; }
  .agent-steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mitigation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-panel { grid-template-columns: 1fr; gap: 10px; }
  .route-line { width: 2px; height: 30px; justify-self: center; }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 12px;
  }
  .brand span:last-child { display: none; }
  .hero { padding: 96px 16px 110px; }
  .smtp-stream {
    inset: 16% -78% 7% 6%;
    grid-template-columns: minmax(205px, 1fr) 34px minmax(230px, 1.1fr) 34px minmax(205px, 1fr);
    gap: 10px;
    transform: rotate(-8deg);
    opacity: 0.9;
  }
  .protocol-stage {
    padding: 12px 13px 13px;
  }
  .protocol-stage-top {
    margin-bottom: 7px;
  }
  .protocol-code {
    font-size: 11px;
    line-height: 1.56;
  }
  .protocol-connector {
    gap: 5px;
  }
  .protocol-connector span {
    width: 28px;
    height: 2px;
  }
  h1 { font-size: clamp(44px, 15vw, 64px); }
  .lede { font-size: 17px; }
  .subclaim { font-size: 14px; }
  .band { padding: 58px 16px; }
  .feature-grid, .command-grid, .mitigation-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-grid article:first-child { grid-column: auto; }
  .timeline div { grid-template-columns: 1fr; gap: 10px; }
  pre { padding: 20px; font-size: 12px; }
}
