@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-italic.woff2") format("woff2");
}

/* Sunny pop lilac inclined (alt): lilac paper, purple CTAs, pink Done bar, skewed hero mock. */
:root {
  color-scheme: light;
  --bg: #ebe6ff;
  --bg-2: #ddd4ff;
  --paper: #ffffff;
  --ink: #17153b;
  --ink-2: #4a4766;
  --ink-3: #5c5872;
  --cta: #6848d9;
  --cta-ink: #ffffff;
  --red-text: #c22f0f;
  --brand-tld: #5a40c8;
  --yellow: #ffce3a;
  --yellow-soft: #fff0bf;
  --blue: #3b6cff;
  --blue-soft: #dfe7ff;
  --green: #1fc97f;
  --green-soft: #d4f7e6;
  --pink: #ff8fc7;
  --pink-soft: #ffc8e4;
  --pink-shadow: #ff8fc7;
  --lilac: #9b7bff;
  --lilac-deep: #7a5cff;
  --done-bar: #ffb3dc;
  --band: #ddd4ff;
  --band-ink: #17153b;
  --edge: var(--ink);
  --bw: 2.5px;
  --sh: 5px 5px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);
  --radius: 20px;
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(23, 21, 59, 0.09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 em, h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  background: var(--done-bar);
  padding: 0.02em 0.12em 0.1em;
  border-radius: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 50; background: var(--paper); color: var(--ink); padding: 8px 12px; border: 2px solid var(--edge); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: var(--bw) solid transparent; }
.nav.is-scrolled { background: var(--bg); border-bottom-color: var(--edge); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; box-shadow: var(--sh-sm); }
.brand-tld { color: var(--brand-tld); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { background: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border: var(--bw) solid var(--edge);
  border-radius: 16px;
  background: var(--cta);
  color: var(--cta-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sh);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lg); }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn-ghost { background: var(--paper); }
.btn-small { gap: 0; min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 15px; box-shadow: var(--sh-sm); white-space: nowrap; }
.btn:disabled { background: var(--bg-2); color: var(--ink-2); border-style: dashed; box-shadow: none; transform: none; cursor: not-allowed; }

/* Hero */
.hero { position: relative; padding: 20px 0 104px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 56px; align-items: center; }
.deco { position: absolute; inset: 0; pointer-events: none; }
.deco img { position: absolute; height: auto; }
.deco-star { width: 64px; left: 47%; top: 6%; transform: rotate(-12deg); }
.deco-squiggle { width: 120px; right: 3%; top: 2%; }
.deco-blob { width: 150px; left: -54px; bottom: 30px; }
.deco-coin { width: 72px; left: 40%; bottom: 40px; transform: rotate(10deg); }
.deco-dot { width: 26px; right: 44%; top: 46%; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 7px 14px 7px 10px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--sh-sm);
}
.dot { width: 12px; height: 12px; border: 2px solid var(--edge); border-radius: 50%; background: var(--yellow); }
.hero h1 { font-size: clamp(44px, 4.1vw, 60px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.lede { margin: 26px 0 0; max-width: 540px; color: var(--ink-2); font-size: 19px; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.fine { margin: 18px 0 0; color: var(--ink-3); font-size: 14px; }
.fine .status { margin-right: 6px; vertical-align: 1px; }
.also { max-width: 540px; margin: 18px 0 0; padding: 10px 14px; border: 2px solid var(--edge); border-radius: 12px; background: var(--blue-soft); color: var(--ink-2); font-size: 14px; }
.also strong { color: var(--ink); }

/* Demo chat — inclined shell with pink offset layer (bright-2d alt) */
.demo { position: relative; margin: 0; padding: 12px 0 8px; }
.demo-shell {
  position: relative;
  transform: rotate(-6deg);
  transform-origin: 50% 42%;
}
.demo-shadow {
  position: absolute;
  inset: 14px -10px -14px 18px;
  z-index: 0;
  border: var(--bw) solid var(--edge);
  border-radius: 28px;
  background: var(--pink-shadow);
  box-shadow: none;
}
.demo-window {
  position: relative;
  z-index: 1;
  border: var(--bw) solid var(--edge);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: var(--bw) solid var(--edge); font-size: 14px; }
.demo-title { color: var(--ink); font-size: 16px; font-weight: 700; }
.demo-tag { margin-left: auto; padding: 3px 10px; border: 2px solid var(--edge); border-radius: 999px; background: var(--green-soft); color: var(--ink); font-size: 12px; font-weight: 700; }
.demo-body { display: grid; gap: 8px; padding: 14px 16px 4px; align-content: start; }
.reply { margin: 2px 0 0; color: var(--ink); font-size: 15px; }
.composer { display: flex; align-items: center; gap: 10px; margin: 6px 14px 14px; padding: 8px 8px 8px 14px; border: 2px solid var(--edge); border-radius: 999px; }
.composer-plus { color: var(--ink-2); font-size: 18px; line-height: 1; }
.composer-text { flex: 1; color: var(--ink-3); font-size: 14px; }
.composer-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; }
.bubble-you { justify-self: end; max-width: 82%; margin: 0; padding: 11px 16px; border-radius: 18px 18px 6px 18px; background: var(--lilac); color: var(--cta-ink); font-weight: 600; }
.chip-ok { justify-self: center; margin: 0; padding: 4px 12px; border: 2px solid var(--edge); border-radius: 999px; background: var(--green-soft); color: var(--ink); font-size: 13px; font-weight: 700; }
.card { padding: 10px 14px; border: 2px solid var(--edge); border-radius: 16px; background: var(--paper); box-shadow: var(--sh-sm); }
.card p { margin: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-kicker { color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card-badge { padding: 2px 9px; border: 2px solid var(--edge); border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; }
.card-badge-ok { background: var(--green); }
.card-title { margin-top: 6px !important; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.card-note { margin-top: 4px !important; color: var(--ink-2); font-size: 14px; }
.card-alt { margin-top: 8px !important; color: var(--ink-2); font-size: 13px; text-align: center; text-decoration: underline; text-decoration-color: var(--cta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rows { margin: 8px 0 0; display: grid; gap: 3px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.rows dt { color: var(--ink-3); }
.rows dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.card-preview { padding: 0; overflow: hidden; background: var(--paper); }
.card-preview-top {
  position: relative;
  padding: 12px 14px 10px;
  border-bottom: 2px solid var(--edge);
  background: var(--yellow-soft);
}
.card-preview-top .card-badge { position: absolute; top: 10px; right: 12px; }
.card-brand { margin: 0; color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.card-sub { margin: 4px 0 0 !important; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.card-preview-body { padding: 10px 14px; border-bottom: 2px solid var(--edge); }
.card-section-label { margin: 0 0 6px; color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card-checklist { margin: 0; padding: 0 0 0 1.1em; color: var(--ink-2); font-size: 13px; display: grid; gap: 4px; }
.card-preview-meta { margin: 0; padding: 10px 14px; background: var(--bg); border-bottom: 2px solid var(--edge); }
.card-preview .card-action { margin: 0 !important; padding: 10px 14px 12px; border: 0; border-radius: 0; background: transparent; color: var(--ink); }
.card-preview .card-action span {
  display: block;
  padding: 9px 0;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.card-wallet { background: var(--blue-soft); margin: 0 14px; }
.card-receipt { background: var(--green-soft); margin: 0 14px 8px; }
.card-action { margin-top: 10px !important; padding: 8px 0; border: 2px solid var(--edge); border-radius: 10px; background: var(--cta); color: var(--cta-ink); font-size: 14px; font-weight: 700; text-align: center; }
.confirm-buttons { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 10px; }
.c-btn { padding: 7px 0; border: 2px solid var(--edge); border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; }
.c-cancel { background: var(--paper); }
.c-confirm { background: var(--cta); }
.c-approve { background: var(--green); }
.demo-caption { max-width: 420px; margin: 20px auto 0; padding: 6px 14px; border: 2px solid var(--edge); border-radius: 14px; background: var(--paper); color: var(--ink-2); font-size: 13px; text-align: center; }

.demo.is-animated [data-step] { transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.demo.is-animated[data-stage="0"] [data-step],
.demo.is-animated[data-stage="1"] [data-step]:not([data-step="1"]),
.demo.is-animated[data-stage="2"] [data-step="3"],
.demo.is-animated[data-stage="2"] [data-step="4"],
.demo.is-animated[data-stage="3"] [data-step="4"] { opacity: 0; transform: translateY(14px) scale(0.96); }

/* Status chips */
.status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border: 2px solid var(--edge); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-live { background: var(--green); }
.status-testing { background: var(--yellow); }
.status-building { background: var(--pink); }
.status-soon { background: var(--paper); border-style: dashed; color: var(--ink-2); }

/* Sections */
.section { padding: 104px 0; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--sh-sm);
}
.section h2 { max-width: 780px; font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; }
.section-lede { margin: 18px 0 0; max-width: 640px; color: var(--ink-2); font-size: 18px; }

/* How it works */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 24px 22px 26px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--paper); box-shadow: var(--sh); }
.step-art { display: grid; place-items: center; height: 120px; margin: 0 0 18px; border: 2px solid var(--edge); border-radius: 14px; }
.step-art img { width: 92px; height: 92px; }
.step:nth-child(1) .step-art { background: var(--pink-soft); }
.step:nth-child(2) .step-art { background: var(--yellow-soft); }
.step:nth-child(3) .step-art { background: var(--paper); }
.step:nth-child(4) .step-art { background: var(--green-soft); }
.step-key { background: var(--yellow); }
.step-num { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--edge); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.step-key p { color: var(--ink); }
.step .status { margin-top: 12px; }
.step-key .status-building { background: var(--paper); }

/* Chains */
.chains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.chain { position: relative; padding: 0 26px 26px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--paper); box-shadow: var(--sh); overflow: hidden; }
.chain-top { height: 74px; margin: 0 -26px; border-bottom: var(--bw) solid var(--edge); }
.chain-top img { width: 100%; height: 100%; object-fit: cover; }
.chain-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.chain h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.chain-sub { margin: 10px 0 0; color: var(--ink-2); }
.chain-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.chain-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px solid var(--edge); border-radius: 14px; background: var(--bg); color: var(--ink); font-weight: 600; }
.chain-order li > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.order { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--edge); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chain-note { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; }

/* Network fees */
.fees { margin-top: 20px; padding: 30px 28px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--paper); box-shadow: var(--sh); }
.fees-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.fees-head h3 { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.fees-head h3::before { content: ""; width: 30px; height: 30px; border: 2px solid var(--edge); border-radius: 50%; background: radial-gradient(circle, var(--yellow) 40%, #e0b02a 42% 54%, var(--yellow) 56%); }
.fees-head p { margin: 0; padding: 4px 12px; border: 2px dashed var(--edge); border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.fees-lede { margin: 12px 0 0; max-width: 800px; color: var(--ink-2); }
.fees-paid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 800px; margin: 14px 0 0; padding: 10px 14px; border: 2px solid var(--edge); border-radius: 12px; background: var(--pink-soft); color: var(--ink); font-weight: 600; }
.fee-table { width: 100%; margin-top: 22px; border: 2px solid var(--edge); border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; font-size: 15px; }
.fee-table th, .fee-table td { padding: 14px 16px; border-bottom: 2px solid var(--edge); text-align: left; vertical-align: top; }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table thead th { background: var(--blue-soft); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fee-table tbody tr:nth-child(even) { background: var(--bg); }
.fee-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.fee-table td { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fee-table td span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.fees-note, .fees-sources { margin: 16px 0 0; max-width: 880px; font-size: 14px; }
.fees-note { padding: 12px 16px; border: 2px solid var(--edge); border-radius: 12px; background: var(--yellow-soft); color: var(--ink); }
.fees-sources { margin-top: 12px; color: var(--ink-3); font-size: 13px; }
.fees a, .faq a { color: var(--ink); text-decoration-color: var(--cta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.later { margin: 28px 0 0; color: var(--ink-2); font-size: 15px; }

/* Connect */
.section-connect { background: var(--paper); border-top: var(--bw) solid var(--edge); border-bottom: var(--bw) solid var(--edge); }
.connect-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.connect-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: c; }
.connect-steps li { position: relative; padding-left: 58px; counter-increment: c; }
.connect-steps li::before { content: counter(c); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--edge); border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 17px; font-weight: 700; box-shadow: var(--sh-sm); }
.connect-steps li:nth-child(2)::before { background: var(--pink); }
.connect-steps li:nth-child(3)::before { background: var(--green); }
.connect-steps h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.connect-steps p { margin: 6px 0 0; color: var(--ink-2); }
.connect-steps .fine { color: var(--ink-3); }
.host-alt { margin-top: 36px; padding: 20px 22px; border: 2px solid var(--edge); border-radius: 16px; background: var(--blue-soft); box-shadow: var(--sh-sm); }
.host-alt h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.host-alt p { margin: 6px 0 0; color: var(--ink-2); }
.host-alt .fine { margin-top: 10px; color: var(--ink-2); }
.link-box { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 12px; padding: 6px 6px 6px 16px; border: 2px solid var(--edge); border-radius: 14px; background: var(--paper); box-shadow: var(--sh-sm); }
.link-slot { flex: 1; min-width: 0; color: var(--ink); font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connect-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.connect-steps .connect-actions + p { margin-top: 10px; }
.btn-small.is-copied { background: var(--green-soft); border-color: var(--edge); }
.prompts { padding: 28px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--lilac); box-shadow: var(--sh); }
.prompts-title { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.prompts ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.prompts li { padding: 14px 16px; border: 2px solid var(--edge); border-radius: 16px 16px 16px 4px; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 600; box-shadow: var(--sh-sm); }
.prompts li:nth-child(2) { margin-left: 22px; }
.prompts li:nth-child(3) { margin-left: 8px; }
.prompts .fine { color: var(--ink); }
.q { color: var(--red-text); font-weight: 700; }

/* Safety */
.safety { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.tile { padding: 26px 22px; border: var(--bw) solid var(--edge); border-radius: var(--radius); box-shadow: var(--sh); }
.tile:nth-child(1) { background: var(--yellow-soft); }
.tile:nth-child(2) { background: var(--green-soft); }
.tile:nth-child(3) { background: var(--blue-soft); }
.tile:nth-child(4) { background: var(--pink-soft); }
.tile-icon { width: 54px; height: 54px; padding: 12px; border: 2px solid var(--edge); border-radius: 16px; background: var(--paper); fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--sh-sm); }
.tile h3 { margin-top: 20px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.faq-art { width: 220px; margin-top: 36px; }
.faq { display: grid; gap: 12px; align-content: start; }
.faq details { border: 2px solid var(--edge); border-radius: 16px; background: var(--paper); box-shadow: var(--sh-sm); }
.faq details[open] { background: var(--yellow-soft); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--edge); border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 18px; font-weight: 700; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--paper); }
.faq details p { max-width: 640px; margin: -4px 18px 18px; color: var(--ink-2); }

/* Closer + footer */
.closer { text-align: center; }
.closer-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 72px 24px; border: var(--bw) solid var(--edge); border-radius: 36px; background: var(--band); box-shadow: var(--sh-lg); overflow: hidden; }
.closer-deco { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.closer h2, .closer .section-lede, .closer .cta-row { position: relative; }
.closer h2 { color: var(--band-ink); font-size: clamp(40px, 5.4vw, 76px); }
.closer h2 em { color: var(--ink); background: var(--done-bar); }
.closer .section-lede { color: var(--band-ink); }
.closer .cta-row { justify-content: center; }
.footer { padding: 40px 0 56px; border-top: var(--bw) solid var(--edge); background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.footer p { margin: 0; color: var(--ink-2); font-size: 14px; }
.footer .brand { margin-right: auto; font-size: 17px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--cta); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.live-stats-band { padding: 28px 0; border-top: var(--bw) solid var(--edge); border-bottom: var(--bw) solid var(--edge); background: var(--paper); }
.live-stats-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; align-items: end; }
.stat-label { margin: 0; color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.stat-value { margin: 6px 0 0; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-note { grid-column: 1 / -1; margin: 0; color: var(--ink-3); font-size: 13px; }

.section-tight { padding: 72px 0 96px; }
.subpage .section h1 { font-size: clamp(36px, 4.8vw, 56px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; }
.prose h2 { margin: 40px 0 0; font-size: 28px; letter-spacing: -0.03em; }
.prose h3 { margin: 24px 0 0; font-size: 20px; }
.prose p, .prose li { color: var(--ink-2); }
.prose .inline-code { padding: 2px 7px; border: 2px solid var(--edge); border-radius: 8px; background: var(--bg); font-family: var(--mono); font-size: 0.92em; }
.pill-warn { background: var(--yellow-soft); }

.docs-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.connect-steps-docs { margin-top: 24px; }
.docs-flow, .docs-list { margin: 16px 0 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 10px; }
.docs-faq { margin-top: 12px; border: 2px solid var(--edge); border-radius: 14px; background: var(--paper); padding: 0 16px 12px; }
.docs-faq summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.docs-aside { position: sticky; top: 92px; padding: 22px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--yellow-soft); box-shadow: var(--sh-sm); }
.docs-toc { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.docs-toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.docs-toc a:hover { text-decoration: underline; text-decoration-color: var(--cta); }
.legal { max-width: 720px; }

.explore-panel { margin-top: 36px; padding: 24px; border: var(--bw) solid var(--edge); border-radius: var(--radius); background: var(--paper); box-shadow: var(--sh); }
.explore-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tab-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 42px; padding: 0 16px; border: 2px solid var(--edge); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: var(--sh-sm); }
.tab.is-active { background: var(--lilac); color: var(--cta-ink); }
.search-box { flex: 1 1 220px; max-width: 360px; }
.search-box input { width: 100%; min-height: 42px; padding: 0 14px; border: 2px solid var(--edge); border-radius: 12px; background: var(--bg); font: inherit; font-size: 15px; }
.explore-status { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; }
.table-wrap { margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.explore-table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; border: 2px solid var(--edge); border-radius: 16px; overflow: hidden; font-size: 15px; }
.explore-table th, .explore-table td { padding: 14px 16px; border-bottom: 2px solid var(--edge); text-align: left; vertical-align: top; }
.explore-table tbody tr:last-child th, .explore-table tbody tr:last-child td { border-bottom: 0; }
.explore-table thead th { background: var(--blue-soft); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.explore-table tbody tr:nth-child(even) { background: var(--bg); }
.coin-name { display: block; font-weight: 700; color: var(--ink); }
.coin-meta { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.explore-empty { margin: 20px 0 0; padding: 16px; border: 2px dashed var(--edge); border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: 15px; }

@media (max-width: 1020px) {
  .hero-grid, .connect-grid, .faq-wrap, .docs-grid { grid-template-columns: 1fr; gap: 56px; }
  .docs-aside { position: static; }
  .live-stats-inner { grid-template-columns: 1fr 1fr; }
  .steps, .safety { grid-template-columns: 1fr 1fr; }
  .demo { max-width: 560px; }
  .faq-art { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-inner { height: 64px; justify-content: space-between; }
  .hero { padding: 28px 0 80px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .deco-star { left: auto; right: 4%; top: 1%; width: 46px; }
  .deco-squiggle, .deco-dot, .deco-coin, .deco-blob { display: none; }
  .demo-shell { transform: rotate(-4deg); }
  .demo-shadow { inset: 10px -6px -10px 12px; }
  .demo-body { padding: 16px; }
  .section { padding: 72px 0; }
  .section h2 { font-size: clamp(32px, 8.8vw, 42px); }
  .steps, .safety, .chains { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .step { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 16px; }
  .step-art { grid-row: span 3; height: 96px; margin: 0; }
  .step-art img { width: 72px; height: 72px; }
  .step-num { top: 8px; left: 8px; width: 28px; height: 28px; font-size: 12px; }
  .step h3 { align-self: end; font-size: 20px; }
  .step p { font-size: 15px; }
  .step .status { justify-self: start; }
  .tile { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding: 20px; }
  .tile-icon { grid-row: span 2; }
  .tile h3 { margin-top: 0; align-self: center; }
  .tile p { margin-top: 6px; }
  .chain { padding: 0 18px 22px; }
  .chain-top { margin: 0 -18px; }
  .chain-list li { flex-wrap: wrap; }
  .fees { padding: 22px 18px; }
  .fee-table { border: 0; border-radius: 0; overflow: visible; }
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; }
  .fee-table tbody tr, .fee-table tbody tr:nth-child(even) { margin-top: 12px; padding: 14px; border: 2px solid var(--edge); border-radius: 14px; background: var(--bg); }
  .fee-table th, .fee-table td { padding: 0; border: 0; }
  .fee-table tbody th { margin-bottom: 8px; font-size: 18px; }
  .fee-table td { display: grid; grid-template-columns: 7.5em 1fr; gap: 0 12px; padding: 4px 0; }
  .fee-table td::before { content: attr(data-label); color: var(--ink-3); font-size: 13px; font-weight: 600; }
  .fee-table td span { grid-column: 2; }
  .prompts li:nth-child(2), .prompts li:nth-child(3) { margin-left: 0; }
  .faq summary { font-size: 17px; }
  .closer-inner { padding: 52px 18px; border-radius: 28px; }
  .footer .brand { flex-basis: 100%; }
  .footer-nav { flex-basis: 100%; }
  .live-stats-inner { grid-template-columns: 1fr; }
  .explore-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .explore-table { min-width: 0; border: 0; border-radius: 0; }
  .explore-table thead { display: none; }
  .explore-table, .explore-table tbody, .explore-table tr, .explore-table th, .explore-table td { display: block; }
  .explore-table tbody tr { margin-top: 12px; padding: 14px; border: 2px solid var(--edge); border-radius: 14px; background: var(--bg); }
  .explore-table th, .explore-table td { padding: 4px 0; border: 0; }
  .explore-table td::before { content: attr(data-label); display: block; color: var(--ink-3); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active { transform: none; }
  .demo-shell { transform: rotate(-6deg); }
}
