:root {
  color-scheme: dark;
  --bg: #09090d;
  --panel: #0f0f17;
  --panel-strong: #171823;
  --ink: #f4f1f4;
  --muted: #9c98aa;
  --line: #252634;
  --cyan: #7de9f0;
  --cyan-soft: #355a63;
  --success: #a9d8c4;
  --warning: #d2bea1;
  --danger: #d4a2a2;
  --dim: #676372;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(125, 233, 240, 0.08), transparent 32%),
    radial-gradient(circle at 50% 72%, rgba(125, 233, 240, 0.035), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: pageIn 520ms ease-out both;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #101018;
  color: var(--muted);
  font-size: 13px;
}

.announcement a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(125, 233, 240, 0.45);
}

.announcement button {
  border: 0;
  background: transparent;
  color: #5d5a69;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 13, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(125, 233, 240, 0.24));
}

.brand-k {
  color: var(--cyan);
}

.brand-muted {
  color: #666171;
}

.menu-toggle {
  display: none;
}

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

.nav a:hover {
  color: var(--ink);
}

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.nav-buy {
  border-color: rgba(125, 233, 240, 0.34);
  background: rgba(125, 233, 240, 0.08);
}

.nav-token-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 64px 6vw 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(100%, 1180px);
  text-align: center;
}

.hero-ascii {
  margin: 0 0 28px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(11px, 1.4vw, 19px);
  font-weight: 800;
  line-height: 1.02;
  text-align: left;
  text-shadow: 0 0 28px rgba(125, 233, 240, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-ascii,
  .ascii {
    animation: cyanPulse 4.8s ease-in-out infinite;
  }
}

@keyframes cyanPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(125, 233, 240, 0));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(125, 233, 240, 0.22));
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 1220px;
  font-size: clamp(54px, 7.4vw, 108px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.mobile-break {
  display: none;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
}

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

.lede {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0 18px;
}

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

.button.primary {
  background: var(--cyan);
  color: #071012;
  border-color: var(--cyan);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.command-pill,
.access-strip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.command-pill {
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
}

.command-pill span {
  color: var(--cyan);
}

.command-pill small {
  color: #575361;
  font-size: 14px;
}

.access-strip {
  gap: 16px;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.access-strip button {
  border: 0;
  background: transparent;
  color: #696473;
  cursor: pointer;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.hero-badges span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
}

.hero-badges li:nth-child(1) span { background: var(--cyan); }
.hero-badges li:nth-child(2) span { background: var(--cyan-soft); }
.hero-badges li:nth-child(3) span { background: var(--dim); }

.terminal-shell,
.console-panel,
.command-block,
.access-columns article,
.proof-tile {
  border: 1px solid var(--line);
  background: var(--panel);
}

.terminal-shell {
  width: min(100%, 960px);
  margin-top: 88px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.42),
    0 0 80px rgba(125, 233, 240, 0.06);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 20px;
  background: #141521;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.terminal-top span:nth-child(1) { background: #5f626e; }
.terminal-top span:nth-child(2) { background: #747988; }
.terminal-top span:nth-child(3) { background: var(--cyan); }

.terminal-top strong {
  flex: 1;
  margin-left: 8px;
  font-weight: 600;
  text-align: center;
}

.ascii {
  margin: 0;
  padding: 34px 32px 14px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(10px, 1.35vw, 16px);
  line-height: 1.05;
  overflow-x: auto;
}

.terminal-lines {
  padding: 12px 32px 34px;
  color: #d9e3e0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

.terminal-lines p {
  margin: 7px 0;
}

@media (prefers-reduced-motion: no-preference) {
  .terminal-lines p {
    opacity: 0;
    animation: terminalLine 520ms ease-out forwards;
  }

  .terminal-lines p:nth-child(1) { animation-delay: 160ms; }
  .terminal-lines p:nth-child(2) { animation-delay: 430ms; }
  .terminal-lines p:nth-child(3) { animation-delay: 700ms; }
  .terminal-lines p:nth-child(4) { animation-delay: 970ms; }
  .terminal-lines p:nth-child(5) { animation-delay: 1240ms; }
  .terminal-lines p:nth-child(6) { animation-delay: 1510ms; }
}

@keyframes terminalLine {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt,
.ok {
  color: var(--success);
}

.warn {
  color: var(--warning);
}

.muted {
  color: var(--muted);
}

.band {
  padding: 84px 6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0.72;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-section {
  background: #09090d;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 18px;
}

.demo-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.demo-tabs button.active {
  border-color: rgba(125, 233, 240, 0.5);
  color: var(--cyan);
  background: rgba(125, 233, 240, 0.08);
}

.demo-stage {
  max-width: 1050px;
  margin: 0 auto;
}

.demo-panel {
  display: none;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.demo-panel.active {
  display: grid;
}

.demo-panel p:not(.eyebrow),
.flow p {
  color: var(--muted);
}

.demo-panel dl {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
}

.demo-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.demo-panel dt {
  color: var(--muted);
}

.demo-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.demo-panel pre {
  margin: 0;
  min-height: 100%;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #080a0f;
  color: #d8e3de;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.7;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.entry-points {
  background: #0c0c12;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 38px auto 0;
}

.protocol-grid,
.command-matrix,
.tier-grid,
.quota-type-grid {
  display: grid;
  max-width: 1120px;
  margin: 38px auto 0;
  gap: 14px;
}

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

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

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

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

.entry-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.protocol-grid article,
.command-matrix article,
.tier-card,
.quota-type-grid article,
.safety-table {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent),
    rgba(255, 255, 255, 0.02);
}

.tier-card {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.tier-head {
  min-height: 160px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.tier-head span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tier-head h3 {
  margin: 22px 0 8px;
  font-size: 28px;
}

.tier-head p,
.tier-head small {
  display: block;
  color: var(--muted);
}

.tier-quota-block {
  padding: 0 24px;
}

.tier-quota-block + .tier-quota-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tier-quota-block:last-child {
  padding-bottom: 24px;
}

.tier-quota-block h4 {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tier-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.tier-card dl div,
.safety-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-card dl div:last-child,
.safety-table div:last-child {
  border-bottom: 0;
}

.tier-card dt,
.safety-table span {
  color: var(--muted);
  font-weight: 700;
}

.tier-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.quota-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.safety-table {
  min-height: auto;
}

.safety-table strong {
  text-align: right;
}

.quota-type-grid article {
  min-height: 210px;
}

.quota-type-grid p {
  color: var(--muted);
}

.entry-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.protocol-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.entry-grid p {
  color: var(--muted);
}

.protocol-grid p,
.command-matrix span {
  color: var(--muted);
}

.protocol-grid code,
.command-matrix strong {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.command-matrix strong,
.command-matrix span {
  display: block;
}

.command-matrix span {
  margin-top: 12px;
}

.entry-grid code {
  display: block;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.8;
}

.proof-band {
  background: #151a21;
}

.tiers-hero {
  min-height: auto;
  padding: 56px 6vw 42px;
}

.tiers-hero h1 {
  font-size: clamp(48px, 6vw, 84px);
}

.tiers-band {
  padding-top: 56px;
}

.tiers-band h2 {
  font-size: clamp(32px, 4.4vw, 58px);
}

.section-copy {
  max-width: 860px;
}

.section-copy p:not(.eyebrow) {
  color: #c0cbca;
  font-size: 18px;
}

.narrow {
  max-width: 660px;
}

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

.proof-tile {
  min-height: 230px;
  padding: 22px;
}

.tile-index {
  display: block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.proof-tile p,
.access-columns p,
.access-columns li {
  color: var(--muted);
}

.proof-tile,
.entry-grid article,
.access-columns article,
.flow article {
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.proof-tile:hover,
.entry-grid article:hover,
.access-columns article:hover,
.flow article:hover {
  border-color: rgba(125, 233, 240, 0.45);
  background: rgba(125, 233, 240, 0.035);
  transform: translateY(-2px);
}

.how-section {
  background: #0b0d12;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px;
  margin: 42px auto 0;
  border: 1px solid var(--line);
}

.flow article {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.flow article:last-child {
  border-right: 0;
}

.flow span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 44px;
  place-items: center;
  border: 1px solid rgba(125, 233, 240, 0.38);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.split {
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.console-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.console-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #0b0c12;
}

.console-sidebar strong {
  margin-bottom: 14px;
  color: var(--ink);
}

.console-item {
  padding: 10px;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.console-item.active {
  border-color: rgba(125, 233, 240, 0.28);
  color: var(--cyan);
  background: rgba(125, 233, 240, 0.045);
}

.console-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.console-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.console-header span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.message {
  max-width: 82%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: #d7dfdf;
}

.user-message {
  align-self: flex-end;
  background: rgba(125, 233, 240, 0.045);
}

.agent-message {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.025);
}

.message code {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.proof-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-card div {
  padding: 14px;
  background: #0b0d12;
}

.proof-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.proof-card strong {
  color: var(--cyan);
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #090a10;
}

.composer button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(125, 233, 240, 0.4);
  background: rgba(125, 233, 240, 0.08);
  color: var(--cyan);
  cursor: pointer;
}

.command-block pre {
  margin: 0;
  overflow-x: auto;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.access {
  background: #121820;
}

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

.access-columns article {
  padding: 26px;
}

.access-columns ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.console-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.console-strip div {
  padding: 22px;
  background: #0e1118;
}

.console-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.console-strip strong {
  font-size: 18px;
}

.start {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
}

.command-block {
  position: relative;
  padding: 28px;
}

.copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--ink);
  cursor: pointer;
}

.site-footer {
  min-height: 76px;
  padding: 0 6vw;
  color: var(--muted);
  background: #0d1117;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #0b0d10 0%, #09090d 34%, #0b0c12 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 233, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 233, 240, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 74%);
}

.site-header {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.nav-pill,
.nav-social,
.button,
.command-pill,
.access-strip,
.terminal-shell,
.demo-panel,
.demo-panel pre,
.entry-grid article,
.proof-tile,
.flow,
.flow article,
.console-panel,
.console-item,
.message,
.proof-card,
.proof-card div,
.composer,
.access-columns article,
.console-strip,
.console-strip div,
.command-block,
.copy-button {
  border-radius: 8px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(125, 233, 240, 0.075) 18% 18.2%, transparent 18.2% 100%),
    linear-gradient(245deg, transparent 0 23%, rgba(255, 255, 255, 0.06) 23% 23.15%, transparent 23.15% 100%);
  opacity: 0.78;
}

.hero::after {
  left: 50%;
  top: 165px;
  width: min(760px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 233, 240, 0.42), transparent);
  transform: translateX(-50%);
}

.hero-copy,
.terminal-shell,
.band > * {
  position: relative;
}

.hero-ascii {
  margin-bottom: 34px;
}

.hero-actions .button.secondary,
.command-pill {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 12px 34px rgba(0, 0, 0, 0.18);
}

.hero-trace {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-trace span {
  padding: 8px 10px;
  border: 1px solid rgba(125, 233, 240, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.hero-trace i {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 233, 240, 0.12), rgba(125, 233, 240, 0.56));
}

.terminal-shell {
  border-color: rgba(125, 233, 240, 0.19);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
    #0b0a10;
}

.terminal-shell::before {
  content: "";
  position: absolute;
  inset: 50px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 233, 240, 0.42), transparent);
}

.terminal-lines {
  padding-bottom: 24px;
}

.terminal-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.terminal-foot div {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.018);
}

.terminal-foot span {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.terminal-foot strong {
  color: var(--cyan);
  font-size: 18px;
}

.band {
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0 6vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 233, 240, 0.18), transparent);
}

.demo-panel,
.entry-grid article,
.proof-tile,
.access-columns article,
.tier-card,
.quota-type-grid article,
.safety-table,
.command-block {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 54px rgba(0, 0, 0, 0.18);
}

.demo-panel {
  border-color: rgba(125, 233, 240, 0.14);
  background:
    linear-gradient(135deg, rgba(125, 233, 240, 0.055), transparent 38%),
    rgba(255, 255, 255, 0.026);
}

.entry-grid article,
.protocol-grid article,
.command-matrix article,
.tier-card,
.quota-type-grid article,
.proof-tile,
.access-columns article {
  position: relative;
  overflow: hidden;
}

.entry-grid article::before,
.protocol-grid article::before,
.command-matrix article::before,
.tier-card::before,
.quota-type-grid article::before,
.proof-tile::before,
.access-columns article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 233, 240, 0.65), transparent 72%);
}

.proof-band,
.access,
.entry-points,
.how-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    #0b0d12;
}

.proof-band {
  background:
    linear-gradient(135deg, rgba(125, 233, 240, 0.045), transparent 32%),
    #11161d;
}

.access {
  background:
    linear-gradient(180deg, rgba(125, 233, 240, 0.035), transparent),
    #10151b;
}

.flow {
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.flow article {
  border-right: 0;
}

.flow span {
  border-radius: 8px;
  background: rgba(125, 233, 240, 0.055);
}

.console-panel {
  border-color: rgba(125, 233, 240, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.message,
.composer {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.composer button,
.copy-button,
.demo-tabs button,
.access-strip button {
  border-radius: 8px;
}

@media (max-width: 680px) {
  .hero-trace i {
    display: none;
  }

  .terminal-foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .split,
  .start {
    grid-template-columns: 1fr;
  }

  .terminal-shell,
  .console-panel,
  .command-block {
    min-width: 0;
  }

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

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

  .protocol-grid,
  .command-matrix,
  .tier-grid,
  .quota-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quota-layout {
    grid-template-columns: 1fr;
  }

  .demo-panel,
  .flow,
  .console-strip,
  .console-panel {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow article:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: clamp(46px, 9vw, 78px);
  }
}

@media (max-width: 680px) {
  .announcement {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }

  .nav {
    width: 100%;
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    font-size: 13px;
    padding-bottom: 4px;
  }

  .hero,
  .band {
    padding: 38px 20px;
  }

  .proof-grid,
  .access-columns,
  .protocol-grid,
  .command-matrix,
  .tier-grid,
  .quota-type-grid,
  .quota-layout {
    grid-template-columns: 1fr;
  }

  .hero-ascii {
    max-width: 100%;
    overflow-x: auto;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-actions,
  .access-strip,
  .hero-badges {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .command-pill,
  .button,
  .access-strip {
    justify-content: center;
    width: 100%;
  }

  .terminal-shell {
    margin-top: 44px;
    border-radius: 12px;
  }

  .ascii {
    font-size: 9px;
    padding: 16px 16px 2px;
  }

  .terminal-lines,
  .console-chat,
  .command-block {
    padding: 16px;
  }

  .terminal-lines p:nth-of-type(4),
  .terminal-lines p:nth-of-type(5),
  .terminal-lines p:nth-of-type(6) {
    display: none;
  }

  .demo-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-tabs button {
    width: 100%;
  }

  .demo-panel {
    padding: 18px;
  }

  .proof-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

/* Unified visual pass: quieter, no grid background, shared product typography. */
:root {
  --font-sans: "SF Pro Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "SF Pro Display", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    linear-gradient(180deg, #08090d 0%, #0b0d12 46%, #09090d 100%),
    #09090d;
  font-family: var(--font-sans);
}

body::before {
  display: none;
}

h1,
h2,
h3,
.brand,
.button,
.nav,
.terminal-top strong {
  font-family: var(--font-display);
}

.announcement {
  min-height: 32px;
  background: rgba(9, 10, 14, 0.94);
}

.site-header {
  min-height: 66px;
  background: rgba(8, 9, 13, 0.86);
}

.brand {
  font-size: 19px;
  letter-spacing: 0;
}

.nav {
  gap: 18px;
}

.hero {
  min-height: calc(100vh - 98px);
  padding-top: 70px;
  background:
    linear-gradient(120deg, rgba(125, 233, 240, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%);
}

.protocol-hero {
  min-height: min(680px, calc(100vh - 66px));
  padding-bottom: 58px;
}

.tiers-hero {
  min-height: auto;
  padding: 56px 6vw 42px;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-ascii {
  margin-bottom: 30px;
}

h1 {
  max-width: 1120px;
  font-size: clamp(52px, 7vw, 98px);
}

.lede {
  max-width: 720px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.hero-actions {
  margin-top: 32px;
}

.access-strip,
.hero-badges,
.hero-trace,
.terminal-foot {
  display: none;
}

.terminal-shell {
  width: min(100%, 900px);
  margin-top: 80px;
  border-color: rgba(125, 233, 240, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    #0b0b11;
}

.terminal-lines {
  padding-bottom: 34px;
}

.terminal-lines p {
  opacity: 1;
  animation: none;
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 14px;
    overflow: visible;
    padding: 14px 16px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .brand {
    position: relative;
    z-index: 34;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 34;
    display: inline-grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(125, 233, 240, 0.46);
    border-radius: 8px;
    background: rgba(125, 233, 240, 0.08);
    color: var(--ink);
    transform: translateY(-50%);
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 30;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: auto;
    min-height: calc(100vh - 96px);
    padding: 72px 24px 96px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 10, 0.985);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    font-size: 19px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-social,
  .nav-pill {
    min-height: 46px;
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding: 38px 20px 52px;
  }

  .hero-center,
  .hero-copy {
    max-width: 100%;
    overflow: hidden;
  }

  h1 {
    max-width: 300px;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .mobile-break {
    display: block;
  }

  .lede {
    max-width: 260px;
    font-size: 15px;
  }
}

.band {
  background: #090a0f;
}

.band::before {
  opacity: 0.55;
}
