/* ============================================================
   Grantor — landing. Instrument-panel dark. Dual-signal accents:
   cyan-mint = machine / agent / on-chain, amber = the human path.
   ============================================================ */

:root {
  --bg:        #08090b;
  --bg-2:      #0b0d10;
  --surface:   #101318;
  --surface-2: #14181e;
  --line:      rgba(255,255,255,.075);
  --line-2:    rgba(255,255,255,.13);

  --text:      #e9ebef;
  --dim:       #949aa5;
  --faint:     #5b616c;

  --signal:    #5ef2c9;   /* cyan-mint — machine / verified / on-chain */
  --signal-lo: #2ba589;
  --human:     #ffb347;   /* amber — the human path */

  --font-display: "Clash Display", "Satoshi", sans-serif;
  --font-body:    "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01","cv01";
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--signal); color: #04140f; }

/* ---------- ambient textures ---------- */
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 25%, transparent 78%);
  opacity: .55;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-glow {
  position: fixed; top: -22%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 720px; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(94,242,201,.11), transparent 68%);
  filter: blur(10px);
}
main, .nav, .foot { position: relative; z-index: 2; }

/* ---------- layout primitives ---------- */
section { padding: clamp(54px,7.5vw,105px) clamp(20px,5vw,64px); max-width: var(--maxw); margin: 0 auto; }
.mono { font-family: var(--font-mono); }
.dim { color: var(--dim); }

.section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 22px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
h2 { font-size: clamp(30px,4.6vw,54px); margin-bottom: 14px; }
.accent-word { color: var(--signal); }
.hl { color: var(--human); }
em { font-style: normal; color: var(--signal); }
strong { font-weight: 700; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  --pad: 12px 20px;
  display: inline-flex; align-items: center; gap: .5em;
  padding: var(--pad); border-radius: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .01em;
  background: var(--signal); color: #04140f; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 0 0 rgba(94,242,201,0);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -12px rgba(94,242,201,.55); background: #7ff6d6; }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lg { --pad: 15px 26px; font-size: 14px; border-radius: 12px; }
.btn-sm { --pad: 9px 15px; font-size: 12.5px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.04); border-color: var(--signal); box-shadow: none; color: #fff; }
.btn-ghost .mono { color: var(--signal); }

.link-mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); transition: color .2s; }
.link-mono:hover { color: var(--signal); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(20px,5vw,64px);
  max-width: var(--maxw); margin: 0 auto;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(8,9,11,.72); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-size: 14px; color: var(--dim); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-5px; width:0; height:1px; background:var(--signal); transition:width .25s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,4vw,56px);
  align-items: center; padding-top: clamp(48px,7vw,96px); padding-bottom: clamp(56px,8vw,110px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.015); margin-bottom: 26px;
}
.eyebrow .amp { color: var(--faint); }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-signal { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.dot-human  { background: var(--human);  box-shadow: 0 0 8px var(--human); }
h1 { font-size: clamp(42px,6.6vw,64px); font-weight: 700; margin-bottom: 24px; }
.kicker { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px,2.3vw,28px); line-height: 1.15; letter-spacing: -.01em; color: var(--text); margin: -14px 0 22px; max-width: 18em; }
.lede { font-size: clamp(16px,1.5vw,19px); color: var(--dim); max-width: 33em; margin-bottom: 32px; }
.lede strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.machine-strip {
  border-top: 1px solid var(--line); padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.ms-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.machine-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.machine-strip li a {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--dim);
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px;
  background: rgba(255,255,255,.02); transition: all .18s var(--ease); display: inline-block;
}
.machine-strip li a:hover { color: var(--signal); border-color: var(--signal-lo); transform: translateY(-1px); background: rgba(94,242,201,.05); }

/* ---------- handshake diagram ---------- */
.handshake { position: relative; }
.hs-svg { width: 100%; height: auto; overflow: visible; }
.wire { fill: none; stroke: var(--line-2); stroke-width: 1.4; }
.wire-thin { stroke-width: 1.2; stroke-dasharray: 3 4; }
/* Denser and brighter than the original: at 40% opacity with a 2-5 dash these
   read as decoration rather than connection, and whether the registry is
   actually wired to both routes is the one thing this diagram must convey. */
.anchor { fill: none; stroke: rgba(94,242,201,.6); stroke-width: 1.3; stroke-dasharray: 2 3.5; animation: anchorpulse 3s linear infinite; }
.anchor-node { fill: var(--signal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes anchorpulse { to { stroke-dashoffset: -28; } }

.bypass { fill: none; stroke: var(--human); stroke-width: 1.4; stroke-dasharray: 6 5; opacity: .75; }
.bypass-label { font-family: var(--font-mono); font-size: 8.5px; fill: var(--human); text-anchor: middle; letter-spacing: .06em; opacity: .9; }
/* the deed line's arrowhead + the spine junction the deed leaves from */
.bypass-head { fill: none; stroke: var(--human); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.junction { fill: var(--line-2); }

/* The holder-side chain touch: authenticate() / ZkAgent.mintDeed check the
   origin vouch before signing or proving. Reuses .wire-thin (already
   defined, previously unused) at the line's own faint --line-2 — a one-shot
   read, so it's static (no animation) and lighter than the pulsing .anchor
   line below it, which is the verifier's own, separate chain read. */
.vouch-node { fill: var(--line-2); }
.vouch-label { font-family: var(--font-mono); font-size: 7.5px; fill: var(--faint); text-anchor: middle; letter-spacing: .03em; }

.flow { fill: none; stroke: url(#flowSignal); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 26 400; }
.flow-a { animation: flow 2.6s var(--ease) infinite; }
.flow-b { animation: flow 2.6s var(--ease) .5s infinite; }
.flow-c { animation: flow 2.6s var(--ease) 1s infinite; }
@keyframes flow { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.wire-out { stroke: var(--line-2); }

.node rect { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.node .n-title { font-family: var(--font-mono); font-size: 11px; fill: var(--text); font-weight: 500; text-anchor: middle; }
.node .n-sub { font-family: var(--font-mono); font-size: 8px; fill: var(--faint); text-anchor: middle; letter-spacing: .04em; }
.node-human rect { stroke: rgba(255,179,71,.55); }
.node-human .n-title { fill: var(--human); }
.node-agent rect { stroke: rgba(94,242,201,.5); }
.node-agent .n-title { fill: var(--signal); }
.node-issuer rect { fill: var(--surface-2); stroke: var(--signal); filter: drop-shadow(0 0 18px rgba(94,242,201,.16)); }
.node-issuer .n-issuer { font-family: var(--font-display); font-size: 15px; fill: #fff; font-weight: 600; text-anchor: middle; letter-spacing: .02em; }
.node-token rect { stroke: var(--line-2); }
.node-token .n-title { fill: var(--text); }
.node-app .dashed { stroke-dasharray: 4 3; fill: transparent; stroke: var(--line-2); }
/* The registry: the anchor both routes touch. Drawn wide and low so it reads as
   ground rather than as another hop in the flow. */
.node-registry rect { fill: var(--bg-2); stroke: rgba(94,242,201,.32); }
.node-registry .n-title { fill: var(--signal); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hs-caption { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 6px; }
.hs-k { padding: 1px 6px; border-radius: 5px; }
.hs-human { color: var(--human); background: rgba(255,179,71,.1); }
.hs-agent { color: var(--signal); background: rgba(94,242,201,.1); }

/* ---------- cost of the status quo ---------- */
.cost-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 44px 0 36px; }
.cost-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.017), transparent); position: relative; overflow: hidden; }
.cost-card::before { content:""; position:absolute; left:0; top:0; width:2px; height:0; background:var(--human); transition:height .5s var(--ease); }
.cost-card:hover::before { height: 100%; }
.cost-card h3 { font-size: 19px; margin-bottom: 12px; }
.cost-card p { color: var(--dim); font-size: 15px; }
.cost-close { font-family: var(--font-display); font-size: clamp(22px,2.8vw,34px); font-weight: 500; letter-spacing: -.01em; max-width: 24em; }

/* ---------- deploy + absorbed how-it-works ---------- */
.how-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .25s var(--ease), border-color .25s; }
.how-card:hover { transform: translateY(-4px); }
.how-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.how-card h3 { font-size: 22px; }
.tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tag-human { color: var(--human); background: rgba(255,179,71,.11); border: 1px solid rgba(255,179,71,.3); }
.tag-agent { color: var(--signal); background: rgba(94,242,201,.1); border: 1px solid rgba(94,242,201,.3); }
.tag-mode { color: var(--text); background: var(--line-2); border: 1px solid var(--line-2); }
.how-card code { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); background: rgba(255,255,255,.05); padding: 1px 6px; border-radius: 5px; }
.how-note { font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 14px; }
.how-out { display: flex; align-items: center; gap: 22px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(100deg, rgba(94,242,201,.04), transparent 60%); }
.out-token { font-size: 14px; color: var(--signal); white-space: nowrap; padding: 10px 14px; border: 1px dashed var(--signal-lo); border-radius: 8px; }
.out-arrow { color: var(--faint); font-size: 20px; }
.how-out p { color: var(--dim); font-size: 15px; }

/* deploy */
.deploy-lede { color: var(--dim); font-size: 17px; max-width: 46em; margin-top: 14px; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 46px 0 22px; align-items: stretch; }
.deploy-card { display: flex; flex-direction: column; }
.deploy-what { color: var(--dim); font-size: 15px; margin-bottom: 18px; }
.deploy-what code { font-family: var(--font-mono); font-size: 12.5px; color: var(--signal); background: rgba(94,242,201,.07); padding: 1px 6px; border-radius: 5px; }
.deploy-feats { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 18px; flex: 1; }
.deploy-feats li { position: relative; padding-left: 22px; color: var(--dim); font-size: 14.5px; }
.deploy-feats li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--signal-lo); font-size: 13px; }
.deploy-feats code { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); background: rgba(255,255,255,.05); padding: 1px 6px; border-radius: 5px; }

/* the 2x2 proof */
.matrix { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; min-width: 520px; }
.matrix caption { caption-side: bottom; text-align: left; padding: 0 22px 18px; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); }
.matrix th, .matrix td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: none; }
.matrix thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); font-weight: 500; }
.matrix .mx-corner { color: var(--faint); }
.matrix tbody th { font-weight: 400; }
.matrix td { color: var(--text); font-size: 14.5px; }
.matrix td .dim { font-size: 12px; }

/* ---------- agents ---------- */
.agents-head { max-width: 40em; }
.agents-lede { color: var(--dim); font-size: 17px; margin-top: 16px; }
.agents-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; margin: 46px 0 34px; align-items: start; }
.loop { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.loop li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 16px; border-radius: 12px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.loop li:hover { border-color: var(--line); background: rgba(255,255,255,.015); }
.loop-n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--signal-lo); color: var(--signal); font-family: var(--font-mono); font-size: 13px; }
.loop li div { font-size: 15px; }
.loop .dim { font-size: 12px; }

.terminal { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0a0c0f; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-bar span:first-child { background: #ff5f56aa; }
.term-bar em { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--faint); font-style: normal; }
.term-bar .dev-tab { padding: 4px 12px; font-size: 11.5px; border-radius: 7px; }
.term-bar .dev-tab:first-of-type { margin-left: auto; }
.term-bar .dev-tab.is-active { color: var(--signal); background: rgba(94,242,201,.08); }
.term-bar .dev-tab.is-active::after { display: none; }
.term-body { padding: 18px 18px; overflow-x: auto; }
.term-body code { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.85; color: var(--text); white-space: pre; }
.c-com { color: var(--faint); }
.c-cmd { color: var(--human); font-weight: 500; }
.c-path { color: var(--signal); }
.c-str { color: #b6f09c; }
.c-kw { color: #ff9fb2; }

.agent-callout {
  display: flex; align-items: center; gap: 16px; margin-top: 6px;
  padding: 18px 22px; border: 1px solid var(--signal-lo); border-radius: 14px;
  background: linear-gradient(100deg, rgba(94,242,201,.07), transparent);
  transition: transform .2s var(--ease), box-shadow .3s;
}
.agent-callout:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -20px rgba(94,242,201,.5); }
.ac-badge { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--signal); border: 1px solid var(--signal-lo); padding: 4px 8px; border-radius: 6px; }
.ac-text { font-size: 16px; }
.ac-text .mono { color: var(--signal); }
.ac-arrow { margin-left: auto; color: var(--signal); font-size: 18px; transition: transform .2s var(--ease); }
.agent-callout:hover .ac-arrow { transform: translate(3px,-3px); }

/* MCP flagship sub-block — inside #agents (04), not a numbered section of its own */
.agents-mcp { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.agents-mcp h3 { font-size: clamp(22px,2.8vw,30px); margin-bottom: 12px; }
.agents-mcp-lede { color: var(--dim); font-size: 15.5px; max-width: 54em; margin-bottom: 24px; }
.mcp-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.mcp-doors .how-card { padding: 20px 22px; }
.mcp-doors .how-card header { margin-bottom: 10px; }
.mcp-doors .how-card h4 { font-size: 16px; font-family: var(--font-display); font-weight: 600; }
.mcp-doors .how-card p { color: var(--dim); font-size: 14px; }
.agents-mcp .terminal { margin-bottom: 20px; }
.agents-mcp-foot { font-size: 14.5px; color: var(--dim); }
.agents-mcp-foot a { color: var(--signal); }
.agents-mcp-foot .arr { display: inline-block; }
.agents-mcp-scope { font-size: 13px; color: var(--faint); margin-top: 6px; }
@media (max-width: 720px) { .mcp-doors { grid-template-columns: 1fr; } }

/* ---------- moat ---------- */
.moat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 46px; }
.card { padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); margin-bottom: 20px; color: var(--signal); font-size: 18px; background: rgba(94,242,201,.04); }
.card-i::before { content: attr(data-i); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 14.5px; }
.card::after { content:""; position:absolute; right:-40px; top:-40px; width:120px; height:120px; background: radial-gradient(circle, rgba(94,242,201,.12), transparent 70%); opacity:0; transition:opacity .3s; }
.card:hover::after { opacity: 1; }

/* ---------- quickcode: the integration, before the argument ---------- */
/* Sits immediately after the hero on purpose. The page used to run four prose
   sections before its first line of code; this is the correction. */
.quickcode { padding-top: clamp(28px,4.5vw,56px); }
.qc-head { max-width: 62ch; }
.qc-lede { color: var(--dim); font-size: 16px; margin-top: 14px; max-width: 56ch; }
.quickcode .dev-wrap { margin-top: 26px; }
.qc-foot { margin-top: 16px; color: var(--faint); font-size: 14px; }
.qc-foot .mono { color: var(--dim); }

/* ---------- doors ---------- */
.doors { padding-top: clamp(24px,4vw,48px); }
.doors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 26px; }
.door { display: flex; flex-direction: column; padding: 24px 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.door:hover { transform: translateY(-4px); border-color: var(--signal-lo); background: var(--surface-2); }
.door-q { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.22; letter-spacing: -.01em; color: var(--text); margin-bottom: 12px; }
.door-a { color: var(--dim); font-size: 14.5px; flex: 1; margin-bottom: 16px; }
.door-go { font-family: var(--font-mono); font-size: 12px; color: var(--signal); display: inline-flex; align-items: center; gap: .4em; }
.door:hover .arr { transform: translateX(4px); }
.door .arr { transition: transform .18s var(--ease); }
@media (max-width: 1040px) { .doors-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px)  { .doors-grid { grid-template-columns: 1fr; } }

/* ---------- developers ---------- */
.dev-lede { color: var(--dim); font-size: 15.5px; max-width: 46em; margin: 14px 0 26px; }
.cap-matrix table { min-width: 0; }
.cap-matrix th, .cap-matrix td { padding: 12px 18px; }
.cap-matrix th[scope="col"]:not(:first-child), .cap-matrix td:not(:first-child) { text-align: center; }
.cap-matrix td:not(:first-child) { font-size: 15px; }
.cap-yes { color: var(--signal); }
.cap-no { color: var(--faint); }
@media (max-width: 560px) {
  .cap-matrix th, .cap-matrix td { padding: 10px 8px; }
  .cap-matrix th[scope="col"]:not(:first-child), .cap-matrix td:not(:first-child) { font-size: 12px; }
}
.dev-wrap { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #0a0c0f; margin-top: 36px; }
.dev-tabs { display: flex; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.dev-tab { background: none; border: none; color: var(--dim); font-family: var(--font-mono); font-size: 13px; padding: 15px 22px; cursor: pointer; position: relative; transition: color .2s; }
.dev-tab:hover { color: var(--text); }
.dev-tab.is-active { color: var(--signal); }
.dev-tab.is-active::after { content:""; position:absolute; left:0; bottom:-1px; width:100%; height:2px; background:var(--signal); box-shadow: 0 0 12px var(--signal); }
.dev-panel { position: relative; }
.js .dev-panel { display: none; }
.js .dev-panel.is-active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dev-panel pre { padding: 26px 26px; overflow-x: auto; }
.dev-panel code { font-family: var(--font-mono); font-size: 13px; line-height: 1.9; white-space: pre; color: var(--text); }
.copy { position: absolute; top: 16px; right: 16px; z-index: 3; font-family: var(--font-mono); font-size: 11px; color: var(--dim); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 11px; cursor: pointer; transition: all .18s; }
.copy:hover { color: var(--signal); border-color: var(--signal-lo); }
.copy.done { color: var(--signal); }

/* ---------- pricing ---------- */
.pricing-lede { color: var(--dim); font-size: 17px; max-width: 46em; margin-top: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 46px 0 26px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 28px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); position: relative; transition: transform .25s var(--ease), border-color .25s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price-card.featured { border-color: var(--signal); background: linear-gradient(180deg, rgba(94,242,201,.06), transparent 55%), var(--surface-2); box-shadow: 0 30px 80px -46px rgba(94,242,201,.5); }
.price-badge { position: absolute; top: -11px; left: 28px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #04140f; background: var(--signal); padding: 4px 11px; border-radius: 100px; }
.price-card header { margin-bottom: 6px; }
.price-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.price-card.featured .price-tag { color: var(--signal); }
.price { display: flex; align-items: baseline; gap: 9px; margin-top: 12px; }
.price .amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1; }
.price .per { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.price-sub { color: var(--dim); font-size: 14.5px; margin: 6px 0 20px; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-feats li { position: relative; padding-left: 26px; color: var(--dim); font-size: 14.5px; }
.price-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--signal); font-weight: 700; font-size: 13px; }
.price-feats em { color: var(--signal); }
.price-card .btn { justify-content: center; width: 100%; }
.pricing-fine { font-size: 12.5px; color: var(--faint); text-align: center; max-width: 54em; margin: 0 auto; }
.pricing-fine::before { content: "◆ "; color: var(--signal-lo); }
@media (max-width: 1040px) { .price-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- access ---------- */
.access { max-width: 900px; }
.access-inner { text-align: center; padding: clamp(40px,6vw,72px) clamp(24px,5vw,64px); border: 1px solid var(--line-2); border-radius: 24px; background: radial-gradient(120% 130% at 50% 0%, rgba(94,242,201,.08), transparent 60%), var(--surface); position: relative; overflow: hidden; }
.access-inner .section-eyebrow, .access-inner h2 { text-align: center; }
.access-lede { color: var(--dim); font-size: 17px; max-width: 30em; margin: 8px auto 30px; }
.start-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 auto 16px; }
.access-fine { font-size: 12px; color: var(--faint); }
.access-fine a { color: var(--signal); }

/* ---------- footer ---------- */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 56px clamp(20px,5vw,64px) 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.foot-brand .brand-word { font-size: 22px; font-family: var(--font-display); font-weight: 600; }
.foot-brand p { color: var(--faint); font-size: 14px; margin-top: 10px; max-width: 26em; }
.foot-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 500; }
.foot-col a { display: block; color: var(--dim); font-size: 14px; padding: 4px 0; transition: color .18s; }
.foot-col a:hover { color: var(--signal); }
.foot-fine { grid-column: 1 / -1; margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d,0s), transform .7s var(--ease) var(--d,0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .handshake { max-width: 460px; margin-top: 8px; }
  .cost-grid { grid-template-columns: 1fr; }
  .moat-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .agents-body { grid-template-columns: 1fr; }
  .how-out { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: rgba(8,9,11,.96); border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .moat-grid { grid-template-columns: 1fr; }
  .start-actions { flex-direction: column; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

/* ---------- proof ---------- */
.proof-lede { color: var(--dim); font-size: 17px; max-width: 44em; margin: 14px 0 40px; }
.proof .matrix { margin-bottom: 18px; }
.proof-close { color: var(--dim); font-size: 15.5px; max-width: 46em; margin-top: 22px; border-left: 2px solid var(--signal-lo); padding-left: 16px; }

/* ---------- objections ---------- */
.obj-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.obj { padding: 26px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.obj h3 { font-size: 17px; line-height: 1.25; margin-bottom: 12px; color: var(--signal); }
.obj p { color: var(--dim); font-size: 14.5px; }
@media (max-width: 900px) { .obj-list { grid-template-columns: 1fr; } }

/* Nested language tabs inside a mode panel (e.g. Verify (sovereign) → TS/Py/Go/Rust).
   Subordinate to the mode tabs above them: smaller, no top border of their own. */
.dev-sub { border-top: 1px solid var(--line); }
.dev-sub .dev-tabs { background: transparent; border-bottom: 1px solid var(--line); }
.dev-sub .dev-tab { padding: 7px 14px; font-size: 12px; }


/* ---------- the exchange (proof section) ----------
   Replaced a test transcript. Reads left-to-right as the actual protocol:
   caller mints → a deed crosses the wire → you verify. The middle panel is
   emphasised because the credential is the product's whole idea. */
.exchange {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto minmax(0, 1.05fr) auto 1fr;
  align-items: stretch;
  gap: 0;
}
.exchange figure { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.exchange figcaption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 9px;
}
.ex-who { color: var(--signal); }
.ex-deed .ex-who { color: var(--human); }

.exchange pre {
  margin: 0; padding: 16px 17px; overflow-x: auto; flex: 1; height: auto;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-family: var(--font-mono); font-size: 12px; line-height: 1.72; color: var(--text);
}
.ex-deed pre { border-color: rgba(255,179,71,.26); background: var(--bg-2); }
.c-key { color: var(--signal); }
.ex-note { margin: 9px 0 0; font-size: 12px; color: var(--faint); text-align: center; }

/* the connector: a hairline with the wire's actual header name on it */
.ex-wire {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; padding: 26px 12px 0; min-width: 92px;
}
.ex-wire span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  color: var(--faint); white-space: nowrap;
}
.ex-wire i {
  display: block; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
  position: relative;
}
.ex-wire i::after {
  content: ""; position: absolute; right: 0; top: -3px;
  border-left: 6px solid var(--line-2);
  border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

@media (max-width: 1080px) {
  .exchange { grid-template-columns: 1fr; gap: 4px; }
  /* Stacked, the connectors become vertical rules rather than arrows. */
  .ex-wire { flex-direction: row; padding: 10px 0; min-width: 0; }
  .ex-wire i { width: 40px; }
  .ex-wire i::after { display: none; }
  .exchange pre { height: auto; }
}


/* ---------- pricing: the refund fact ----------
   Called out rather than buried in fine print: "can we get our money back" is
   the objection that stops a prepay purchase, and the answer is unusually good. */
.price-refund {
  margin-top: 22px; padding: 20px 22px;
  border: 1px solid rgba(94,242,201,.22); border-radius: 13px;
  background: rgba(94,242,201,.045);
}
.price-refund h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 550;
  letter-spacing: -.012em; margin: 0 0 9px; color: var(--signal);
}
.price-refund p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.65; max-width: 78ch; }
.price-refund .mono { color: var(--text); }
