/* ================= Tokens ================= */
:root{
  --bg: #0B0912;
  --bg-panel: #15111F;
  --bg-panel-2: #1D1730;
  --bg-panel-3: #241C3A;
  --line: rgba(242,238,250,0.10);
  --line-strong: rgba(242,238,250,0.18);
  --text: #F2EEFA;
  --text-dim: #A79FC4;
  --text-dimmer: #786F94;
  --gold: #C9A961;
  --gold-soft: rgba(201,169,97,0.16);
  --violet: #8177E8;
  --violet-soft: rgba(129,119,232,0.18);
  --green: #6FBF9A;
  --red: #D9755E;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --wrap: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(129,119,232,0.20), transparent 60%),
    radial-gradient(900px 500px at 8% 0%, rgba(201,169,97,0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

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

h1,h2,h3{
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

p{ margin: 0; color: var(--text-dim); }

/* subtle film grain overlay */
.grain{
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- ambient dusk light drifting behind everything ---- */
.ambient{
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.ambient span{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.ambient span:nth-child(1){
  width: 46vw; height: 46vw; top: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(129,119,232,0.55), transparent 70%);
  animation: driftA 26s ease-in-out infinite;
}
.ambient span:nth-child(2){
  width: 38vw; height: 38vw; top: 30vh; left: -12vw;
  background: radial-gradient(circle, rgba(201,169,97,0.4), transparent 70%);
  animation: driftB 32s ease-in-out infinite;
}
.ambient span:nth-child(3){
  width: 30vw; height: 30vw; bottom: -10vh; right: 8vw;
  background: radial-gradient(circle, rgba(111,191,154,0.28), transparent 70%);
  animation: driftC 22s ease-in-out infinite;
}
@keyframes driftA{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 5vh) scale(1.12); }
}
@keyframes driftB{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(7vw, -4vh) scale(1.08); }
}
@keyframes driftC{
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4vw, -6vh) scale(1.15); }
}

/* ================= Buttons ================= */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0px) scale(0.98); }
.btn-solid{
  background: linear-gradient(180deg, #D9BC7D, var(--gold));
  color: #241A08;
  box-shadow: 0 0 0 rgba(201,169,97,0);
}
.btn-solid:hover{ filter: brightness(1.06); box-shadow: 0 10px 26px -8px rgba(201,169,97,0.65); }
.btn-solid::after{
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-solid:hover::after{ left: 130%; }
.btn-ghost{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 20px -10px rgba(201,169,97,0.4); }
.btn-text{
  color: var(--text-dim);
  padding-left: 4px; padding-right: 4px;
}
.btn-text:hover{ color: var(--gold); transform: translateY(-1px); }
.btn-text:hover span{ transform: translateY(3px); }
.btn-text span{ display: inline-block; transition: transform 0.25s ease; }
.btn-lg{ padding: 14px 26px; font-size: 15.5px; }

/* ================= Header ================= */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,9,18,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em;
}
.logo-mark{
  width: 26px; height: 26px; border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(37,42,245,0.45));
  animation: glowPulse 3.6s ease-in-out infinite;
}
@keyframes glowPulse{
  0%, 100% { filter: drop-shadow(0 0 6px rgba(37,42,245,0.35)); }
  50% { filter: drop-shadow(0 0 14px rgba(37,42,245,0.75)); }
}
.nav{ display: flex; gap: 32px; }
.nav a{
  font-size: 14.5px; color: var(--text-dim); font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover{ color: var(--text); }
.header-actions{ display: flex; align-items: center; gap: 10px; }
.nav-toggle{
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-strong);
  cursor: pointer;
}
.nav-toggle span{
  display: block; width: 18px; height: 1.5px; margin: 0 auto;
  background: var(--text);
}

/* ================= Hero ================= */
.hero{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 28px 110px;
}
.hero-copy h1{
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.06;
  opacity: 0; transform: translateY(18px);
  animation: riseIn 0.9s cubic-bezier(.16,.8,.24,1) 0.05s forwards;
}
.hero-sub{
  margin-top: 22px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--text-dim);
  opacity: 0; transform: translateY(18px);
  animation: riseIn 0.9s cubic-bezier(.16,.8,.24,1) 0.22s forwards;
}
.hero-actions{
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 34px;
  opacity: 0; transform: translateY(18px);
  animation: riseIn 0.9s cubic-bezier(.16,.8,.24,1) 0.36s forwards;
}
.hero-stats{
  display: flex; gap: 40px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  opacity: 0; transform: translateY(18px);
  animation: riseIn 0.9s cubic-bezier(.16,.8,.24,1) 0.5s forwards;
}
.hero-stats > div{ display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num{
  font-family: var(--serif); font-size: 26px; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.hero-stats .label{ font-size: 13px; color: var(--text-dimmer); max-width: 16ch; }

@keyframes riseIn{
  to { opacity: 1; transform: translateY(0); }
}

/* ---- ledger card (hero visual) ---- */
.hero-visual{
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(24px) scale(0.97);
  animation: cardIn 1s cubic-bezier(.16,.8,.24,1) 0.15s forwards;
  perspective: 900px;
}
@keyframes cardIn{
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ledger-card{
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: 26px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.ledger-head{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.ledger-title{
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--text-dim); font-weight: 500;
}
.dot{ width: 7px; height: 7px; border-radius: 50%; }
.dot-live{
  background: var(--green); box-shadow: 0 0 8px rgba(111,191,154,0.8);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot{
  0%, 100% { box-shadow: 0 0 6px rgba(111,191,154,0.7); opacity: 1; }
  50% { box-shadow: 0 0 14px rgba(111,191,154,1); opacity: 0.7; }
}
.ledger-toggle{
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  user-select: none;
}
.toggle-track{
  width: 38px; height: 21px; border-radius: 999px;
  background: var(--violet-soft); border: 1px solid var(--violet);
  position: relative; display: block;
}
.toggle-thumb{
  position: absolute; top: 2px; left: 2px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--violet);
  transition: left 0.32s cubic-bezier(.34,1.56,.64,1);
}
.ledger-toggle[aria-pressed="false"] .toggle-track{
  background: rgba(217,117,94,0.15); border-color: var(--red);
}
.ledger-toggle[aria-pressed="false"] .toggle-thumb{
  left: 19px; background: var(--red);
}
.toggle-label{ font-size: 13px; font-weight: 600; color: var(--text); min-width: 42px; }

.ledger-rows{ display: flex; flex-direction: column; gap: 10px; }
.ledger-row{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--radius-s);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  opacity: 0; transform: translateX(-10px);
  animation: rowIn 0.6s cubic-bezier(.16,.8,.24,1) forwards;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.ledger-row:hover{
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.045);
  transform: translateX(2px);
}
.ledger-row:nth-child(1){ animation-delay: 0.55s; }
.ledger-row:nth-child(2){ animation-delay: 0.68s; }
.ledger-row:nth-child(3){ animation-delay: 0.81s; }
.ledger-row:nth-child(4){ animation-delay: 0.94s; }
@keyframes rowIn{
  to { opacity: 1; transform: translateX(0); }
}
.ledger-row .change{
  transition: color 0.4s ease, transform 0.3s ease;
}
.ledger-row .change.flash{ transform: scale(1.15); }
.ledger-row .asset{
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
}
.ledger-row .asset-dot{ width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ledger-row .size, .ledger-row .change{
  font-family: var(--mono); font-size: 13.5px; text-align: right;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.ledger-row .change.up{ color: var(--green); }
.ledger-row .change.down{ color: var(--red); }

.ledger-rows.is-private .size{
  filter: blur(6px);
  opacity: 0.85;
}
.ledger-foot{
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-dimmer);
}
.ledger-foot strong{ color: var(--text-dim); font-weight: 600; }

.ledger-caption{
  font-size: 12.5px; color: var(--text-dimmer); text-align: center;
}
.try-arrow{
  display: none;
  position: absolute; top: 2px; right: 84px;
  width: 66px; height: 44px;
  transform: rotate(4deg);
  opacity: 0; animation: fadeInDelayed 0.6s ease 1.4s forwards;
}
.try-label{
  display: none;
  position: absolute; top: 40px; right: 34px;
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--gold);
  transform: rotate(-3deg);
  opacity: 0; animation: fadeInDelayed 0.6s ease 1.5s forwards;
}
@keyframes fadeInDelayed{ to { opacity: 1; } }
@media (min-width: 981px){
  .try-arrow, .try-label{ display: block; }
}

/* ================= Scroll reveal ================= */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1), filter 0.9s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.compare-panel.reveal:nth-child(2){ transition-delay: 0.12s; }
.feature-row.reveal:nth-child(2){ transition-delay: 0.1s; }
.feature-row.reveal:nth-child(3){ transition-delay: 0.2s; }
.step.reveal:nth-child(2){ transition-delay: 0.12s; }
.step.reveal:nth-child(3){ transition-delay: 0.24s; }

/* ================= Sections (generic) ================= */
.section{ padding: 108px 0; border-top: 1px solid var(--line); }
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
}
.section-head p{
  margin-top: 16px;
  font-size: 16.5px;
}

/* ================= Problem / compare ================= */
.compare{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-panel{
  border-radius: var(--radius-m);
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.compare-panel:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,0.55);
}
.compare-gloam:hover{ border-color: rgba(129,119,232,0.6); }
.compare-public:hover{ border-color: rgba(217,117,94,0.4); }
.compare-public{ background: rgba(217,117,94,0.06); }
.compare-gloam{
  background: linear-gradient(180deg, rgba(129,119,232,0.10), rgba(129,119,232,0.03));
  border-color: rgba(129,119,232,0.35);
}
.compare-panel h3{ font-size: 19px; margin-bottom: 20px; }
.compare-visual{
  position: relative;
  height: 130px;
  border-radius: var(--radius-s);
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 22px;
}
.watch-icon{
  position: absolute; top: 12px; right: 14px;
  font-size: 14px; color: var(--red); opacity: 0.85;
}
.watch-blocked{ color: var(--violet); }
.bars{ display: flex; align-items: flex-end; gap: 10px; height: 100%; }
.bar{
  width: 16px; height: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #E39B85, var(--red));
  transition: height 0.9s cubic-bezier(.16,.8,.24,1);
}
.is-visible .bar{ height: var(--h); }
.bar-flag{ box-shadow: 0 0 14px rgba(217,117,94,0.7); animation: flagPulse 1.8s ease-in-out infinite; }
@keyframes flagPulse{
  0%, 100% { box-shadow: 0 0 10px rgba(217,117,94,0.55); }
  50% { box-shadow: 0 0 20px rgba(217,117,94,0.95); }
}
.bars-blurred .bar{
  background: linear-gradient(180deg, #A59CEE, var(--violet));
  filter: blur(5px);
  opacity: 0.75;
}
.compare-list{
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.compare-list li{
  font-size: 14.5px; color: var(--text-dim);
  padding-left: 20px; position: relative;
}
.compare-public .compare-list li::before{
  content: "×"; position: absolute; left: 0; color: var(--red); font-weight: 700;
}
.compare-gloam .compare-list li::before{
  content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700;
}

/* ================= Solution ================= */
.feature-rows{
  display: flex; flex-direction: column;
}
.feature-row{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(.2,.8,.2,1), background 0.35s ease;
}
.feature-row:last-child{ border-bottom: 1px solid var(--line); }
.feature-row:hover{
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(201,169,97,0.05), transparent 60%);
}
.feature-num{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
  padding-top: 4px;
  transition: transform 0.35s ease;
}
.feature-row:hover .feature-num{ transform: translateX(2px); }
.feature-body h3{
  font-size: 22px; margin-bottom: 10px;
}
.feature-body p{
  max-width: 58ch; font-size: 15.5px;
}

/* ================= How it works ================= */
.steps{
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  background: rgba(255,255,255,0.015);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.step:hover{
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.6);
}
.step-index{
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dimmer);
  margin-bottom: 20px;
  transition: color 0.35s ease;
}
.step:hover .step-index{ color: var(--gold); }
.step h3{ font-size: 19px; margin-bottom: 10px; }
.step p{ font-size: 14.5px; }

/* ================= MCP ================= */
.mcp-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mcp-copy h2{ font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.mcp-copy p{ font-size: 16px; margin-bottom: 30px; max-width: 46ch; }

.code-window{
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0F0B18;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.65);
}
.code-window::after{
  content: "";
  position: absolute; left: 0; right: 0; top: -20%;
  height: 40%;
  background: linear-gradient(180deg, rgba(129,119,232,0.18), transparent);
  opacity: 0;
  pointer-events: none;
}
.is-visible .code-window::after{
  opacity: 1;
  animation: scan 2.6s ease-in-out 0.3s 1;
}
@keyframes scan{
  0% { transform: translateY(0); opacity: 0.9; }
  85% { opacity: 0.5; }
  100% { transform: translateY(340%); opacity: 0; }
}
.code-titlebar{
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--line);
}
.code-dot{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.code-filename{
  margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-dimmer);
}
.copy-btn{
  margin-left: auto;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.copy-btn:hover{ color: var(--text); border-color: var(--gold); }
.copy-btn.copied{ color: var(--green); border-color: var(--green); }
.code-window pre{
  margin: 0; padding: 22px 20px;
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  color: var(--text-dim);
  overflow-x: auto;
}
.tok-key{ color: var(--violet); }
.tok-str{ color: var(--gold); }
.tok-brace{ color: var(--text-dimmer); }

/* ================= Waitlist ================= */
.waitlist{
  text-align: center;
}
.waitlist-inner{ max-width: 560px; }
.waitlist h2{ font-size: clamp(28px, 3.4vw, 40px); }
.waitlist p{ margin-top: 14px; font-size: 16px; }
.waitlist-form{
  margin-top: 34px;
  display: flex; gap: 10px;
  justify-content: center;
}
.waitlist-form input{
  flex: 1; max-width: 320px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: var(--sans); font-size: 14.5px;
}
.waitlist-form input::placeholder{ color: var(--text-dimmer); }
.waitlist-form input:focus{ outline: 2px solid var(--gold); outline-offset: 2px; }
.waitlist .btn-solid{ animation: waitlistGlow 2.8s ease-in-out infinite; }
@keyframes waitlistGlow{
  0%, 100% { box-shadow: 0 0 0 rgba(201,169,97,0); }
  50% { box-shadow: 0 0 26px rgba(201,169,97,0.45); }
}
.waitlist-note{
  margin-top: 16px; font-size: 12.5px; color: var(--text-dimmer);
}

/* ================= Footer ================= */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-row{
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand{
  display: flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 17px;
}
.footer-tag{ font-size: 13.5px; color: var(--text-dimmer); }
.footer-links{ display: flex; gap: 24px; }
.footer-links a{ font-size: 13.5px; color: var(--text-dim); }
.footer-links a:hover{ color: var(--gold); }
.footer-copyright{
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-dimmer);
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ================= Responsive ================= */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; padding-top: 64px; }
  .hero-visual{ order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
  .compare{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .mcp-grid{ grid-template-columns: 1fr; }
  .mcp-code{ order: -1; }
  .feature-row{ grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 760px){
  .nav{ display: none; }
  .header-actions{ display: none; }
  .nav-toggle{ display: flex; }
  .header-row{ height: 66px; }

  .site-header.is-open .nav{
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px;
  }
  .site-header.is-open .nav a{ padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.is-open .header-actions{
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(66px + 190px); left: 0; right: 0;
    padding: 0 28px 18px; background: var(--bg-panel);
    gap: 10px;
  }
  .site-header.is-open .btn{ width: 100%; }

  .hero{ padding: 48px 20px 72px; gap: 40px; }
  .hero-stats{ gap: 26px; }
  .section{ padding: 72px 0; }
  .wrap{ padding: 0 20px; }
  .waitlist-form{ flex-direction: column; align-items: stretch; }
  .waitlist-form input{ max-width: none; }
}

@media (max-width: 480px){
  .hero-copy h1{ font-size: 34px; }
  .ledger-card{ padding: 20px; }
}
