/* plo.cash marketing site — no build step. */

:root {
  --ink: #0c0f0d;
  --ink-2: #151a17;
  --ink-3: #222a25;
  --paper: #f5f4ee;
  --paper-2: #ecebe3;
  --white: #ffffff;
  --text: #121614;
  --text-2: #4a524d;
  --text-3: #7b847e;
  --on-dark: #eef1ec;
  --on-dark-2: #a3aca6;
  --line: #dcdbd2;
  --line-dark: #2a332d;
  --lime: #c8f53c;
  --lime-deep: #9ccf12;
  --ok: #1d8a4a;
  --ok-bg: #e4f7e9;
  --fail: #d1343f;
  --fail-bg: #fdecee;
  --warn: #b7791f;
  --radius: 14px;
  --radius-lg: 22px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
code, pre, .mono { font-family: var(--mono); }
.muted { color: var(--text-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  font: 500 14px/1 var(--sans); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d4fa5a; }
.btn-outline { border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.btn-outline:hover { border-color: rgba(255,255,255,.5); }
.btn-ghost { color: var(--on-dark-2); }
.btn-ghost:hover { color: var(--on-dark); }

/* ── Nav ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,15,13,.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--on-dark);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 2px; font: 700 20px/1 var(--sans); letter-spacing: -0.04em; }
.logo-mark {
  width: 22px; height: 22px; margin-right: 8px; border-radius: 7px;
  background: var(--lime);
  box-shadow: inset -7px -7px 0 0 var(--ink-3);
}
.logo-tld { color: var(--lime); font-weight: 500; }
.logo-sm { font-size: 18px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--on-dark-2); }
.nav-links a:hover { color: var(--on-dark); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(200,245,60,.13), transparent 60%), var(--ink);
  color: var(--on-dark);
  padding: 96px 0 112px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--mono); color: var(--on-dark-2);
  padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200,245,60,.15); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; margin: 28px 0 24px; }
.hero h1 em { color: var(--lime); font-size: 1.06em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--on-dark-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-dark-2); }
.hero-points li::before { content: "✓"; color: var(--lime); margin-right: 8px; }

/* Receive / pay demo */
.demo {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.demo-head { display: flex; justify-content: space-between; align-items: center; }
.demo-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); }
.demo-tab { font: 500 12px/1 var(--mono); padding: 7px 12px; border-radius: 999px; color: var(--on-dark-2); transition: all .3s ease; }
.demo-tab.on { background: var(--lime); color: var(--ink); }
.status-pill {
  font: 500 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--on-dark-2); transition: all .3s ease;
}
.status-pill[data-state="working"] { background: rgba(255,186,73,.14); color: #ffc46b; }
.status-pill[data-state="done"] { background: rgba(200,245,60,.16); color: var(--lime); }

.demo-code {
  margin: 18px 0 0; padding: 18px 20px; min-height: 166px; border-radius: 14px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.06);
  font: 400 14px/1.75 var(--mono); color: var(--on-dark); white-space: pre; overflow: hidden;
}
.demo-code .fn { color: var(--lime); }
.demo-code .obj { color: var(--on-dark); font-weight: 500; }
.demo-code .key { color: #8fd3ff; }
.demo-code .num { color: #ffb86b; }
.demo-code .str { color: #d7f58c; }
.demo-code .pun { color: var(--on-dark-2); }
.caret { display: inline-block; width: 8px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--lime); animation: blink 1s steps(1) infinite; }

.flowviz {
  display: grid; grid-template-columns: minmax(0,120px) 1fr 40px 1fr minmax(0,120px); align-items: center;
  margin-top: 18px; padding: 18px 14px; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.fnode { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; min-width: 0; transition: opacity .3s ease; }
.fnode strong { font-size: 13px; font-weight: 600; }
.fnode .mono { font-size: 11px; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fnode-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 4px; background: rgba(255,255,255,.08); color: var(--on-dark); }
.fnode-ic.ic-wallet { background: rgba(39,117,202,.2); color: #8fc1ff; }
.fnode-ic.ic-card { background: rgba(255,255,255,.1); }
.fnode-ic.ic-biz { background: rgba(200,245,60,.14); color: var(--lime); }
.fnode-amt { font-size: 13px !important; font-weight: 500; min-height: 18px; transition: color .3s ease; }
.fnode-amt.plus { color: var(--lime) !important; }
.fnode-amt.minus { color: #ffb0b0 !important; }
.fhub { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); border: 1px solid rgba(200,245,60,.35); transition: box-shadow .3s ease; }
.fhub .logo-mark { margin: 0; width: 18px; height: 18px; border-radius: 6px; box-shadow: inset -6px -6px 0 0 var(--ink-3); }
.flowviz.go .fhub { box-shadow: 0 0 0 6px rgba(200,245,60,.08), 0 0 24px rgba(200,245,60,.25); }
.ftrack { position: relative; height: 2px; margin: 0 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 4px, transparent 4px 8px); }
.coin-p {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 12px 1px rgba(200,245,60,.6); opacity: 0;
}
.flowviz.usdc .ftrack-2 .coin-p, .flowviz.usdc-out .ftrack:not(.ftrack-2) .coin-p { background: #5aa2f0; box-shadow: 0 0 12px 1px rgba(90,162,240,.6); }
.flowviz.go .ftrack .coin-p { animation: coin 0.8s cubic-bezier(.5,0,.3,1) both; }
.flowviz.go .ftrack .coin-p:nth-child(2) { animation-delay: .14s; }
.flowviz.go .ftrack .coin-p:nth-child(3) { animation-delay: .28s; }
.flowviz.go .ftrack-2 .coin-p { animation-delay: .6s; }
.flowviz.go .ftrack-2 .coin-p:nth-child(2) { animation-delay: .74s; }
.flowviz.go .ftrack-2 .coin-p:nth-child(3) { animation-delay: .88s; }
@keyframes coin { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }

.demo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); }
.demo-bal { font-size: 15px; font-weight: 500; transition: color .3s ease; }
.demo-bal.bump { color: var(--lime); }
.demo-bal.dip { color: #ffb0b0; }

/* ── Strip ───────────────────────────────── */
.strip { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-inner > div { padding: 36px 32px; border-left: 1px solid var(--line-dark); }
.strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.strip h3 { font-size: 16px; margin-bottom: 8px; }
.strip p { font-size: 14px; color: var(--on-dark-2); }

/* ── Sections ────────────────────────────── */
.section { padding: 120px 0; background: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.kicker { font: 500 13px/1 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--lime-deep); margin-right: 10px; vertical-align: 1px; }
.kicker-lime { color: var(--on-dark-2); }
.kicker-lime::before { background: var(--lime); }
.section h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.04; }
.sub { font-size: 18px; color: var(--text-2); margin-top: 20px; max-width: 620px; }
.section-dark .sub { color: var(--on-dark-2); }

/* Flow steps */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.flow-step { padding: 28px 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; }
.flow-step:first-child { border-left: 0; }
.flow-n { font: 500 12px/1 var(--mono); color: var(--text-3); }
.flow-step h4 { font-size: 20px; }
.flow-step p { font-size: 14px; color: var(--text-2); flex: 1; }
.flow-step code { font-size: 12px; color: var(--text); background: var(--paper); border: 1px solid var(--line); padding: 6px 8px; border-radius: 6px; align-self: flex-start; word-break: break-all; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 96px; }
.split h3 { font-size: 28px; letter-spacing: -0.025em; margin-bottom: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); font-size: 15px; }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23c8f53c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -28px rgba(20,30,20,.25); }
.attempts { padding: 8px 0 0; overflow: hidden; }
.attempts-head { display: flex; justify-content: space-between; padding: 14px 22px; font-weight: 600; font-size: 14px; }
.attempts-head .muted { font: 400 12px/1.6 var(--mono); }
.attempt { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.attempt div { display: flex; flex-direction: column; gap: 2px; }
.attempt .muted { font-size: 12px; }
.attempts-foot { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; gap: 8px 12px; padding: 16px 22px; background: var(--paper); border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.attempts-foot span:nth-child(even) { color: var(--text); }
.attempts-foot .ok { color: var(--ok) !important; }

.badge { display: inline-flex; align-items: center; justify-content: center; font: 500 12px/16px var(--sans); padding: 2px 8px; border-radius: 6px; border: 1px solid; white-space: nowrap; justify-self: start; }
.badge-ok { color: var(--ok); background: var(--ok-bg); border-color: #b7e8c5; }
.badge-fail { color: var(--fail); background: var(--fail-bg); border-color: #f7c6cb; }
.badge-neutral { color: var(--text-2); background: var(--paper); border-color: var(--line); }

/* ── Bento ───────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 280px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -30px rgba(20,30,20,.35); }
.tile-k { font: 500 12px/1 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.tile h3 { font-size: 22px; letter-spacing: -0.025em; margin-top: 4px; }
.tile p { font-size: 14px; color: var(--text-2); }
.tile > :last-child:not(p) { margin-top: auto; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: center; }
.tile-copy { display: flex; flex-direction: column; gap: 10px; }
.tile-dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.tile-dark p { color: var(--on-dark-2); }
.tile-dark .tile-k { color: var(--lime); }

.mock-checkout { background: var(--white); color: var(--text); border-radius: 16px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); transform: rotate(-1.5deg); }
.mc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.mc-total { color: var(--text); font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mc-input { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; display: flex; align-items: center; font-size: 13px; color: var(--text-3); }
.mc-card { justify-content: space-between; font-family: var(--mono); color: var(--text); }
.mc-btn { height: 42px; border-radius: 8px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 600; font-size: 14px; }

.link-chip { align-self: flex-start; font-size: 13px; padding: 10px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.mini-code { margin: 0; font-size: 12px; background: var(--ink); color: var(--lime); padding: 12px 14px; border-radius: 10px; overflow-x: auto; white-space: pre; }
.mini-code-lg { font-size: 13px; margin-top: 20px; }
.otp { display: flex; gap: 6px; }
.otp span { width: 36px; height: 44px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font: 600 18px/1 var(--mono); background: var(--paper); }
.otp .blink { border-color: var(--ink); background: var(--white); position: relative; }
.otp .blink::after { content: ""; width: 2px; height: 20px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rule { font-size: 13px; line-height: 1.8; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.rule .kw { color: #6a43d9; font-weight: 500; }
.rule .tag { background: #fff3d6; color: var(--warn); padding: 1px 6px; border-radius: 4px; }
.id-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }

.mock-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; background: var(--white); }
.mt-h, .mt-r { display: grid; grid-template-columns: 72px 96px minmax(96px,1fr) minmax(72px,1fr); white-space: nowrap; align-items: center; gap: 8px; padding: 0 14px; }
.mt-h { height: 36px; font-size: 11px; font-weight: 600; color: var(--text-3); background: var(--paper); border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
.mt-r { height: 44px; border-top: 1px solid var(--line); }
.mt-r:first-of-type { border-top: 0; }
.mt-r span:first-child { font-weight: 600; }
.mt-r .mono { font-size: 12px; color: var(--text-2); }

/* ── Developers ──────────────────────────── */
.dev { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.dev-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.dev-list li { padding: 16px 0; border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-2); display: grid; gap: 6px; }
.dev-list li .mono { color: var(--lime); font-size: 13px; }
.card-dark { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line-dark); overflow-x: auto; }
.code-tabs button { font: 500 12px/1 var(--mono); color: var(--on-dark-2); background: none; border: 0; padding: 10px 12px 12px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.code-tabs button[aria-selected="true"] { color: var(--on-dark); border-bottom-color: var(--lime); }
.code-tabs .copy { margin-left: auto; border: 1px solid var(--line-dark); border-radius: 6px; padding: 6px 10px; margin-bottom: 8px; }
.code-tabs .copy:hover { color: var(--on-dark); }
.code-body { margin: 0; padding: 24px; font-size: 13px; line-height: 1.75; color: var(--on-dark); overflow-x: auto; min-height: 300px; }
.code-body .c { color: #6b766f; }
.code-body .s { color: var(--lime); }
.code-body .n { color: #ffb86b; }
.code-body .k { color: #b69cff; }
.code-body .p { color: #8fd3ff; }

/* ── Platforms ───────────────────────────── */
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.plat-card { padding: 32px; }
.plat-tree { font-size: 15px; }
.pt-root { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pt-root .muted, .pt-child .muted { font-size: 12px; font-weight: 400; margin-left: auto; }
.pt-children { margin: 8px 0 0 5px; padding-left: 24px; border-left: 2px solid var(--line); display: grid; gap: 4px; }
.pt-child { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; position: relative; }
.pt-child::before { content: ""; position: absolute; left: -24px; top: 50%; width: 18px; height: 2px; background: var(--line); }
.pt-child:nth-child(2) { background: var(--paper); outline: 1px solid var(--lime-deep); }
.pt-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--ink); }
.pt-dot-sm { width: 8px; height: 8px; border-radius: 3px; background: var(--lime-deep); }
.plat-points { display: grid; gap: 32px; }
.plat-points h4 { font-size: 18px; margin-bottom: 6px; }
.plat-points p { color: var(--text-2); font-size: 15px; }

/* ── CTA ─────────────────────────────────── */
.cta {
  background: radial-gradient(900px 400px at 50% 120%, rgba(200,245,60,.18), transparent 60%), var(--ink);
  color: var(--on-dark); padding: 128px 0; text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -0.04em; line-height: 1.0; }
.cta h2 em { color: var(--lime); }
.cta p { color: var(--on-dark-2); font-size: 18px; max-width: 520px; margin-top: 24px; }
.cta-form { display: flex; gap: 8px; margin-top: 40px; width: 100%; max-width: 480px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.cta-form input { flex: 1; min-width: 0; background: none; border: 0; color: var(--on-dark); font: 400 16px/1 var(--sans); padding: 0 18px; outline: none; }
.cta-form input::placeholder { color: rgba(255,255,255,.4); }
.cta-form .btn-lg { height: 46px; }
.cta-note { font-size: 14px !important; margin-top: 16px !important; min-height: 20px; color: var(--lime) !important; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--on-dark-2); flex-wrap: wrap; }
.footer-links a:hover { color: var(--on-dark); }
.footer .muted { margin-left: auto; font-size: 13px; color: var(--on-dark-2); }


/* ── Stablecoin settlement ───────────────── */
.split-flush { margin-top: 0; }
.section-dark h2 em { color: var(--lime); }
.muted-d { color: var(--on-dark-2); font-size: 13px; }
.coin { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: rgba(39,117,202,.16); color: #8fc1ff; }
.coin-dot { width: 12px; height: 12px; border-radius: 50%; background: #2775ca; box-shadow: inset 0 0 0 2px #8fc1ff; }
.wallet { padding: 28px; }
.wallet-head { display: flex; justify-content: space-between; align-items: center; }
.wallet-bal { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 20px; font-size: 48px; font-weight: 600; letter-spacing: -0.035em; }
.wallet-cur { font-size: 16px; color: var(--on-dark-2); font-weight: 500; letter-spacing: 0; }
.wallet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wallet-actions span { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.wallet-actions span:first-child { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.wallet-list { list-style: none; margin: 0; padding: 0; }
.wallet-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.wallet-list li div { display: flex; flex-direction: column; font-size: 14px; }
.wallet-list li div span { font-size: 12px; color: var(--on-dark-2); }
.wl-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; background: rgba(255,255,255,.06); color: var(--on-dark-2); }
.wl-icon.in { background: rgba(200,245,60,.12); color: var(--lime); }
.wl-amt { font: 500 14px/1 var(--mono); }
.wl-amt.pos { color: var(--lime); }

/* ── Agents ──────────────────────────────── */
.split-rev { grid-template-columns: 1fr 1fr; }
.split .sub + .checks { margin-top: 32px; }
.agent-chat, .ops-chat { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head div { display: flex; flex-direction: column; font-size: 14px; }
.chat-head .muted { font-size: 12px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 600 12px/1 var(--mono); }
.bubble { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.bubble.user { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 6px; }
.bubble.agent { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.tool { align-self: flex-start; display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 8px 12px; border-radius: 10px; background: var(--white); border: 1px dashed var(--line); color: var(--text-2); flex-wrap: wrap; }
.tool-k { color: #6a43d9; font-weight: 500; }
.attrib { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.attrib span:last-child { color: var(--text); }

.ops { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.ops-chat .bubble { max-width: 100%; }
.ops-suggest { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 500; }
.ops-btns { display: flex; gap: 8px; margin-top: 10px; }
.ops-btns span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.ops-btns .ops-yes { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ops-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ops-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 16px; margin-bottom: 6px; }
.ops-card h4 { font-size: 17px; }
.ops-card p { font-size: 14px; color: var(--text-2); }

/* ── Reveal on scroll ────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1020px) {
  .hero-inner, .dev, .plat, .split, .split-rev, .ops { grid-template-columns: 1fr; gap: 48px; }
  .split-rev > :first-child { order: 2; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(3) { border-left: 0; }
  .flow-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav-toggle { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { width: 18px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hide-sm { display: none !important; }
  .nav-cta .btn-lime { height: 36px; padding: 0 14px; font-size: 13px; }

  .hero { padding: 56px 0 72px; }
  .lede { font-size: 16px; }
  .demo { padding: 16px; }
  .demo-code { font-size: 12.5px; padding: 14px 16px; min-height: 150px; }
  .flowviz { grid-template-columns: minmax(0,104px) 1fr 36px 1fr minmax(0,104px); padding: 16px 8px; }
  .ftrack { margin: 0 3px; }
  .fhub { width: 36px; height: 36px; }
  .fnode-amt { font-size: 11px !important; overflow: visible !important; }

  .strip-inner { grid-template-columns: 1fr; }
  .strip-inner > div { border-left: 0; border-top: 1px solid var(--line-dark); padding: 24px 0; }
  .strip-inner > div:first-child { border-top: 0; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .sub { font-size: 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-left: 0 !important; border-top: 1px solid var(--line); }
  .flow-step:first-child { border-top: 0; }
  .split { margin-top: 64px; }
  .attempt { grid-template-columns: auto 1fr; }
  .attempt > :last-child { grid-column: 2; }
  .attempts-foot { grid-template-columns: auto 1fr; }

  .bento { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .wallet { padding: 20px; }
  .wallet-bal { font-size: 36px; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 24px; }
  .mt-h, .mt-r { grid-template-columns: 68px 92px 1fr; }
  .mock-checkout { transform: none; }

  .code-body { font-size: 12px; padding: 18px; min-height: 0; }
  .cta { padding: 88px 0; }
  .cta-form { flex-direction: column; border-radius: 18px; padding: 8px; }
  .cta-form input { height: 48px; }
  .cta-form .btn-lg { justify-content: center; }
  .footer .muted { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
