:root {
  --bg: #07100e;
  --panel: #0d1a17;
  --panel-2: #10231f;
  --text: #f5f7f3;
  --muted: #afbab3;
  --line: rgba(245, 247, 243, 0.14);
  --green: #44f0a4;
  --cyan: #58d9ff;
  --amber: #ffc567;
  --rose: #ff6f91;
  --ink: #111814;
  --paper: #edf4ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.mini-icon,
.feature-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.mini-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.feature-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--green);
  stroke-width: 1.8;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 14, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(68, 240, 164, 0.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(68, 240, 164, 0.16), rgba(88, 217, 255, 0.12));
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(72px, 11vw, 144px) clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(0deg, var(--bg), rgba(7, 16, 14, 0));
  pointer-events: none;
}

#helix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-inner,
.status-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(64px, 13vw, 164px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
}

.hero-actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  border-color: rgba(68, 240, 164, 0.5);
  background: var(--green);
  color: #06110d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.status-panel,
.terminal-card,
.timeline article,
.metrics article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.status-panel {
  padding: 18px;
  backdrop-filter: blur(18px);
}

.status-panel > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.status-panel small,
.metrics p,
.timeline p,
.section-head + .split p,
.proof-copy p,
.cta p {
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 5vw, 72px) 72px;
}

.metrics article {
  padding: 20px;
}

.metrics span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.metrics p {
  margin-bottom: 0;
  font-size: 14px;
}

.devnet-band {
  padding-top: 72px;
}

.devnet-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(0, 0.72fr));
  gap: 12px;
}

.devnet-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.devnet-card span,
.devnet-card small {
  display: block;
  color: var(--muted);
}

.devnet-card > span {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.devnet-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.devnet-card small {
  overflow-wrap: anywhere;
}

.live-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.live-card > div:first-child {
  display: grid;
  gap: 8px;
}

.live-card h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

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

.status-dot[data-state="offline"] {
  background: var(--amber);
  box-shadow: 0 0 20px var(--amber);
}

.band {
  padding: 86px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.band.light {
  background: var(--paper);
  color: var(--ink);
}

.band.light .eyebrow {
  color: #177b55;
}

.band.light .proof-copy p,
.band.light .proof-steps li {
  color: #42514a;
}

.section-head {
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 28px;
  align-items: start;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.check-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 14px;
}

.terminal-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #050908;
}

.terminal-card code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--green);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 34px;
}

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

.proof-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 20, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
}

.proof-steps span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--green);
  font-weight: 900;
}

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

.timeline article {
  min-height: 220px;
  padding: 20px;
}

.timeline .feature-icon {
  margin-bottom: 16px;
}

.paper-grid .feature-icon {
  margin-bottom: 14px;
}

.timeline span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.timeline .done {
  border-color: rgba(68, 240, 164, 0.44);
}

.timeline .active {
  border-color: rgba(88, 217, 255, 0.54);
}

.cta {
  align-items: center;
  justify-content: space-between;
  padding: 76px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(68, 240, 164, 0.13), rgba(255, 111, 145, 0.09));
}

.cta > div {
  max-width: 760px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.paper {
  background: var(--paper);
  color: var(--ink);
}

.tool-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #07100e 0%, #091714 52%, #07100e 100%);
}

.verifier-shell {
  padding: 54px clamp(18px, 5vw, 72px) 72px;
}

.verifier-intro {
  max-width: 920px;
  margin-bottom: 34px;
}

.verifier-intro h1 {
  max-width: 840px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
}

.verifier-intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
}

.verifier-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 14px;
  align-items: stretch;
}

.verifier-panel {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-head .feature-icon {
  margin: 0;
}

.panel-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.drop-zone {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  border: 1px dashed rgba(68, 240, 164, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.drop-zone input {
  width: 100%;
}

.drop-zone strong {
  font-size: 18px;
}

.drop-zone span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.tool-actions button {
  cursor: pointer;
  font: inherit;
}

.tool-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.result-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.result-list div {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.result-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-list code {
  min-height: 24px;
  color: var(--green);
  overflow-wrap: anywhere;
}

#proof-json {
  flex: 1 1 auto;
  min-height: 390px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050908;
  color: var(--green);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.verify-status {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.verify-status strong {
  font-size: 18px;
}

.verify-status span {
  color: var(--muted);
}

.verify-status[data-state="success"] {
  border-color: rgba(68, 240, 164, 0.62);
  background: rgba(68, 240, 164, 0.12);
}

.verify-status[data-state="warning"] {
  border-color: rgba(255, 197, 103, 0.62);
  background: rgba(255, 197, 103, 0.12);
}

.verify-status[data-state="danger"],
.verify-status[data-state="invalid"] {
  border-color: rgba(255, 111, 145, 0.62);
  background: rgba(255, 111, 145, 0.12);
}

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

.verifier-flow div {
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.verifier-flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-weight: 900;
}

.verifier-flow strong,
.verifier-flow small {
  display: block;
}

.verifier-flow small {
  margin-top: 8px;
  color: var(--muted);
}

.explorer-shell {
  padding: 54px clamp(18px, 5vw, 72px) 72px;
}

.explorer-hero {
  max-width: 920px;
  margin-bottom: 28px;
}

.explorer-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
}

.explorer-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
}

.explorer-search {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.82);
}

.explorer-search label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.explorer-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.explorer-search input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050908;
  color: var(--text);
  font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

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

.explorer-grid article,
.explorer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.explorer-grid article {
  min-height: 150px;
  padding: 18px;
}

.explorer-grid span,
.explorer-grid small {
  display: block;
  color: var(--muted);
}

.explorer-grid span {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.explorer-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.explorer-grid small {
  overflow-wrap: anywhere;
}

.explorer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.explorer-panel {
  padding: 20px;
}

.block-list {
  display: grid;
  gap: 10px;
}

.block-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.block-row:hover {
  border-color: rgba(68, 240, 164, 0.5);
}

.block-row span {
  color: var(--cyan);
  font-weight: 900;
}

.block-row strong,
.block-row small {
  overflow-wrap: anywhere;
}

.block-row small,
.muted-line {
  color: var(--muted);
}

.explorer-output pre {
  min-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050908;
  color: var(--green);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.faucet-shell {
  padding: 54px clamp(18px, 5vw, 72px) 72px;
}

.faucet-hero {
  max-width: 920px;
  margin-bottom: 28px;
}

.faucet-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
}

.faucet-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
}

.faucet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.faucet-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.faucet-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.faucet-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.faucet-form input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050908;
  color: var(--text);
  font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

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

.faucet-results {
  margin-top: 0;
}

.faucet-link {
  align-self: flex-start;
  margin-top: auto;
}

.wallet-shell {
  padding: 54px clamp(18px, 5vw, 72px) 72px;
}

.wallet-hero {
  max-width: 920px;
  margin-bottom: 28px;
}

.wallet-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
}

.wallet-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 22px);
}

.wallet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 14px;
}

.wallet-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 470px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 26, 23, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.wallet-link {
  align-self: flex-start;
  margin-top: auto;
}

.wallet-transfer {
  margin-top: 14px;
  min-height: auto;
}

.transfer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.45fr) minmax(220px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
}

.transfer-grid label {
  display: grid;
  gap: 8px;
}

.transfer-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.transfer-grid input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050908;
  color: var(--text);
  font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.paper .topbar {
  color: var(--text);
}

.paper-hero,
.paper-section,
.paper-grid {
  padding-inline: clamp(18px, 5vw, 72px);
}

.paper-hero {
  padding-top: 86px;
  padding-bottom: 54px;
  background: #07100e;
  color: var(--text);
}

.paper-hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 0.96;
  margin-bottom: 22px;
}

.paper-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 58px;
  background: #07100e;
}

.paper-grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.paper-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.paper-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--text);
  font-size: 20px;
}

.paper-grid p {
  color: var(--muted);
  font-size: 14px;
}

.paper-section {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid rgba(17, 24, 20, 0.12);
}

.paper-section .eyebrow {
  color: #177b55;
}

.paper-section p {
  max-width: 880px;
  color: #42514a;
}

.paper-section pre {
  max-width: 880px;
  overflow: auto;
  padding: 18px;
  border-radius: 8px;
  background: #0a1210;
  color: var(--green);
}

.paper-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.paper-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(17, 24, 20, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.paper .timeline article {
  border-color: rgba(17, 24, 20, 0.14);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

.paper .timeline h3 {
  color: var(--ink);
}

.paper .timeline p {
  color: #42514a;
}

.paper .timeline span {
  color: #177b55;
}

.paper .timeline .done {
  border-color: rgba(23, 123, 85, 0.45);
}

.paper .timeline .active {
  border-color: rgba(28, 109, 145, 0.45);
}

.paper-table {
  width: min(100%, 980px);
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.paper-table th,
.paper-table td {
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 20, 0.14);
  text-align: left;
  vertical-align: top;
}

.paper-table th {
  color: #14231c;
  font-weight: 900;
}

.diagram-stack {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 22px 0;
}

.diagram-stack div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(17, 24, 20, 0.14);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(68, 240, 164, 0.18), rgba(255, 255, 255, 0.56));
}

.diagram-stack div + div::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 38px;
  width: 2px;
  height: 10px;
  background: #177b55;
}

.diagram-stack strong {
  color: #123f31;
}

.diagram-stack span,
.flow-row span,
.allocation-chart span {
  color: #42514a;
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
}

.diagram-grid article {
  padding: 18px;
  border: 1px solid rgba(17, 24, 20, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-row span {
  position: relative;
  padding: 9px 12px;
  border-radius: 6px;
  background: #0a1210;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.flow-row span:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #177b55;
}

.allocation-chart {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 22px 0;
}

.allocation-chart div {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
}

.allocation-chart div::after {
  content: "";
  display: block;
  width: calc(var(--value) * 2.2%);
  max-width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #44f0a4, #58d9ff);
}

.allocation-chart strong {
  color: #123f31;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .proof-layout,
  .diagram-grid,
  .verifier-grid,
  .devnet-grid,
  .explorer-grid,
  .explorer-columns,
  .faucet-layout,
  .wallet-layout,
  .transfer-grid {
    grid-template-columns: 1fr;
  }

  .metrics,
  .timeline,
  .paper-grid,
  .verifier-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-panel {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

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

  h1 {
    font-size: clamp(54px, 18vw, 92px);
  }

  .verifier-shell {
    padding-top: 38px;
  }

  .verifier-intro h1 {
    font-size: clamp(40px, 13vw, 68px);
  }

  .verifier-panel {
    min-height: auto;
  }

  .explorer-search div {
    grid-template-columns: 1fr;
  }

  .faucet-form {
    grid-template-columns: 1fr;
  }

  .block-row {
    grid-template-columns: 1fr;
  }

  .paper-hero {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .paper-hero h1 {
    font-size: clamp(36px, 11vw, 58px);
    line-height: 1;
  }

  .metrics,
  .timeline,
  .check-grid,
  .paper-grid,
  .verifier-flow {
    grid-template-columns: 1fr;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .diagram-stack div,
  .allocation-chart div {
    grid-template-columns: 1fr;
  }
}
