:root {
  --ink: #180a2e;
  --ink-2: #4a3d5f;
  --ink-3: #786b8b;
  --line: #ebe6f1;
  --soft: #f8f6fb;
  --navy: #170338;
  --hero: linear-gradient(105deg, #3f0a78 0%, #4d0bb8 34%, #3815d2 62%, #3463d9 100%);
  --iri: linear-gradient(90deg, #7ca7f3, #af8fff 25%, #c5a6ff 50%, #ffb0d4 72%, #ffe18c 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #ffffff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }
p { margin: 0; }
canvas { display: block; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.iri { height: 4px; background: var(--iri); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 500; font-size: 15px; letter-spacing: -.1px; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #2c1b46; }
.btn-ghost-dark { color: var(--ink); }
.btn-ghost-dark:hover { background: rgba(24, 10, 46, .06); }
.btn-light { background: #ffffff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.btn-outline { color: #ffffff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* header */
.hdr { position: absolute; top: 16px; left: 0; right: 0; z-index: 30; padding: 0 var(--gut); }
.hdr-in { max-width: var(--wrap); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 18px; border-radius: 16px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 30px rgba(23, 3, 56, .12); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; letter-spacing: -.3px; }
.links { display: flex; gap: 2px; margin-left: 28px; }
.links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.links a:hover { color: var(--ink); background: rgba(24, 10, 46, .05); }
.hdr-cta { margin-left: auto; display: flex; gap: 4px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; padding: 12px 10px; cursor: pointer; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; }
.sheet { max-width: var(--wrap); margin: 8px auto 0; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; box-shadow: 0 8px 30px rgba(23, 3, 56, .12); }
.sheet[hidden] { display: none; }
.sheet a { padding: 13px 14px; border-radius: 10px; font-weight: 500; }
.sheet a:hover { background: var(--soft); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--hero); color: #ffffff; }
.hero .contours, .dark .contours, .final .contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 168px var(--gut) 120px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 500; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #7ca7f3; box-shadow: 0 0 0 3px rgba(124, 167, 243, .25); }
.hero h1 { margin: 22px 0 20px; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; background: linear-gradient(100deg, #ffffff 0%, #e6fff6 50%, #9ef2cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-copy > p { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 500px; margin-bottom: 34px; }

/* hero product window */
.hero-art { position: relative; padding: 24px 28px 40px 36px; }
.app { position: relative; background: #ffffff; color: var(--ink); border-radius: 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 40px 80px -20px rgba(23, 3, 56, .55), 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; }
.app-bar { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fcfbfd; }
.app-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e8e3ee; }
.app-bar b { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.app-body { padding: 20px 22px 10px; }
.bal { display: flex; justify-content: space-between; align-items: flex-start; }
.bal small { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.bal strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bal em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.spark { width: 100%; height: 54px; margin: 10px 0 14px; }
.tx-h { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.tx { display: grid; grid-template-columns: 32px 1fr auto 64px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f2f0f6; font-size: 13.5px; }
.tx:last-child { border-bottom: 0; }
.tx b { font-weight: 500; display: block; }
.tx small { color: var(--ink-3); font-size: 12px; }
.tx .payer { font-size: 11.5px; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); padding: 3px 7px; border-radius: 6px; }
.tx .amt { text-align: right; font-variant-numeric: tabular-nums; }
.av { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 13px; color: #ffffff; }
.av1 { background: linear-gradient(135deg, #0e23a5, #0f2576); }
.av2 { background: linear-gradient(135deg, #db63f1, #c238ca); }
.av3 { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.av4 { background: linear-gradient(135deg, #f59e0b, #d9480f); }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: #e6f7f0; color: #0b3a7a; }
.tag-violet { background: #f1eafe; color: #6d28d9; }
.tag-rose { background: #fdecf3; color: #b0245e; }
.float { position: absolute; z-index: 3; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 12px; box-shadow: 0 20px 50px -10px rgba(23, 3, 56, .45), 0 0 0 1px rgba(24, 10, 46, .04); }
.f-proof { top: 0; right: 0; display: flex; gap: 10px; align-items: center; padding: 11px 14px 11px 11px; }
.f-proof b { display: block; font-size: 13px; font-weight: 600; }
.f-proof small { font-size: 12px; color: var(--ink-3); }
.ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.ic svg { width: 16px; height: 16px; }
.ic-ok { background: #e6f7f0; color: #0b3a7a; }
.f-pay { left: 0; bottom: 0; padding: 14px 16px; width: 210px; }
.f-pay small { display: block; font-size: 11.5px; color: #0b3a7a; font-weight: 600; margin-bottom: 4px; font-family: var(--mono); }
.f-pay b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.f-pay .bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 12px; overflow: hidden; }
.f-pay .bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #3463d9, #3815d2); }

/* built-on row */
.built { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gut); display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.built span { font-size: 13px; color: var(--ink-3); }
.built b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #958aa6; }

/* sections */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 128px var(--gut); }
.sec-head { max-width: 680px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.sec-head p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-3); }

/* product cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { display: block; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #ffffff; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -24px rgba(23, 3, 56, .25); border-color: #e0d9ea; }
.panel { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; }
.panel .silk { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-teal { background: radial-gradient(120% 100% at 50% 120%, #365ec2 0%, #0e2a85 45%, #07155a 100%); }
.p-violet { background: radial-gradient(120% 100% at 30% 120%, #c56cf2 0%, #8b44e4 45%, #b825a2 100%); }
.p-rose { background: radial-gradient(120% 100% at 80% 110%, #ef6b95 0%, #c2306f 45%, #74299f 100%); }
.p-green { background: radial-gradient(120% 100% at 50% 120%, #4cc98d 0%, #168a57 45%, #0a2d5a 100%); }
.ui { position: relative; z-index: 2; width: min(300px, 80%); background: #ffffff; border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .4); font-size: 13px; }
.ui-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.ui-amt { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.ui-amt em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.ui-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #f1eef6; color: var(--ink-3); }
.ui-row b { color: var(--ink); font-weight: 500; }
.msg { padding: 10px 12px; border-radius: 12px; background: #fbf1f9; line-height: 1.45; margin-bottom: 8px; }
.msg.me { background: #6d28d9; color: #ffffff; margin-left: 48px; }
.ui-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.cipher { height: 58px; overflow: hidden; background: #fdf4f8; color: #b0245e; border-radius: 8px; padding: 9px 10px; font-size: 10.5px; line-height: 1.55; word-break: break-all; margin-bottom: 6px; }
.card-txt { padding: 26px 28px 28px; }
.card-txt h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.card-txt p { font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 15px; font-weight: 500; color: #4d0bb8; }
.more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }

/* dark flow */
.dark { position: relative; overflow: hidden; background: var(--navy); color: #ffffff; }
.dark-in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 128px var(--gut); }
.dark .sec-head p { color: rgba(255, 255, 255, .7); }
.flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: center; }
.node { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px 24px; height: 100%; }
.node .n { font-family: var(--mono); font-size: 12px; color: #7ca7f3; }
.node h4 { font-size: 19px; letter-spacing: -.02em; margin: 14px 0 8px; }
.node p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .68); }
.pill-mono { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(124, 167, 243, .08); border: 1px solid rgba(124, 167, 243, .2); color: #bfd5f8; }
.link { height: 1px; position: relative; }
.link i { position: absolute; left: 6px; right: 6px; top: 0; height: 1px; background: linear-gradient(90deg, rgba(124, 167, 243, .2), #7ca7f3); }
.link i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid #7ca7f3; border-right: 1px solid #7ca7f3; transform: rotate(45deg); }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 34px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #eee8ff, #e6effb); color: #4d0bb8; margin-bottom: 20px; }
.fi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h4 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.feat p { font-size: 15px; line-height: 1.55; color: var(--ink-3); }

/* numbers */
.numbers { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 128px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.num { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -.02em; background: linear-gradient(120deg, #4d0bb8, #ed5cf0 60%, #3815d2); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.numbers span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-3); }

/* developer card */
.devsec { padding: 0 var(--gut) 128px; }
.dev-card { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 56px; border-radius: 24px; color: #ffffff; background: radial-gradient(70% 90% at 100% 100%, rgba(237, 92, 240, .45), transparent 60%), radial-gradient(60% 80% at 0% 0%, rgba(56, 21, 210, .25), transparent 60%), #270a2a; box-shadow: 0 40px 100px -40px rgba(197, 60, 200, .6); }
.dev-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; }
.dev-copy p { margin: 16px 0 28px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.term { background: #28102b; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; overflow: hidden; min-width: 0; }
.tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.tabs button { font: 500 12.5px var(--mono); color: rgba(255, 255, 255, .55); background: none; border: 0; padding: 7px 12px; border-radius: 8px; cursor: pointer; }
.tabs button.on { background: rgba(255, 255, 255, .08); color: #ffffff; }
.term pre { margin: 0; padding: 22px 24px 26px; font: 13.5px/1.75 var(--mono); color: #efdaf4; overflow-x: auto; min-height: 200px; }
.term pre[hidden] { display: none; }
.k { color: #ff9df6; } .s { color: #7ce8c4; } .f { color: #bd8fff; } .c { color: #8b6c96; }

/* final cta */
.final { position: relative; overflow: hidden; background: var(--hero); color: #ffffff; text-align: center; }
.final-in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 128px var(--gut); }
.final h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.final p { margin: 18px auto 34px; max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .85); }

/* footer */
.ftr { background: #ffffff; border-top: 1px solid var(--line); padding: 72px var(--gut) 32px; }
.ftr-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.ftr-brand p { margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: 260px; line-height: 1.6; }
.ftr h5 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.ftr-in > div > a, .ftr-in > div > span { display: block; font-size: 14px; color: var(--ink-3); padding: 5px 0; }
.ftr-in > div > a:hover { color: var(--ink); }
.ftr-bottom { max-width: var(--wrap); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* responsive */
@media (max-width: 1040px) {
  .links, .hdr-cta { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 140px; gap: 40px; }
  .hero-art { max-width: 560px; }
  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .link { height: 36px; width: 1px; margin-left: 36px; }
  .link i { left: 0; right: auto; top: 4px; bottom: 4px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(124, 167, 243, .2), #7ca7f3); }
  .link i::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .feats { grid-template-columns: 1fr 1fr; }
  .dev-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-grid { padding-bottom: 80px; }
  .hero-copy > p { font-size: 17px; }
  .hero-art { padding: 34px 0 44px; }
  .tx { grid-template-columns: 30px 1fr 56px; }
  .tx .payer { display: none; }
  .f-proof { right: 6px; }
  .f-pay { left: 6px; width: 190px; }
  .sec, .dark-in { padding-top: 88px; padding-bottom: 88px; }
  .panel { height: 270px; }
  .feats { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; row-gap: 44px; padding-bottom: 88px; }
  .term pre { font-size: 12px; padding: 18px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

/* fixes */
.ftr-in > div > a.brand { display: inline-flex; padding: 0; color: var(--ink); }
.hero-art { padding-bottom: 76px; }

/* ---------- inner pages ---------- */
.hero.sub .hero-grid { padding: 150px var(--gut) 96px; grid-template-columns: 1.1fr .9fr; }
.hero.sub h1 { font-size: clamp(38px, 4.6vw, 58px); }
.hero-ui { display: grid; place-items: center; }
.hero-ui .ui { width: min(340px, 100%); box-shadow: 0 40px 80px -20px rgba(23, 3, 56, .55); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; background: #ffffff; }
.step .n { font-family: var(--mono); font-size: 12px; color: #4d0bb8; }
.step h4 { font-size: 17px; letter-spacing: -.01em; margin: 12px 0 6px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.step .vis { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #e6f7f0; color: #0b3a7a; }
.step .vis.pub { background: #fff4e5; color: #a8590a; }
.soft { background: var(--soft); }
.soft .sec { padding-top: 112px; padding-bottom: 112px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs { border-radius: 16px; padding: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.vs h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vs h3 small { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 120, 120, .16); color: #ffb3b3; }
.vs.good h3 small { background: rgba(124, 167, 243, .14); color: #9fbdf5; }
.vs .tx { grid-template-columns: 1fr auto 1fr auto; border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: 14px; }
.vs .tx .mono { color: #ffffff; }
.vs .tx .arrow { color: rgba(255, 255, 255, .4); }
.vs .tx .amt { color: #9fbdf5; text-align: right; }
.vs.bad .same { color: #ffb3b3; }
.dark .note { margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .6); max-width: 640px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--soft); padding: 12px 20px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tbl .mono { font-size: 13px; word-break: break-all; }
.after { margin-top: 20px; font-size: 15px; color: var(--ink-3); max-width: 720px; line-height: 1.6; }
.docs { max-width: var(--wrap); margin: 0 auto; padding: 96px var(--gut) 128px; display: grid; grid-template-columns: 200px 1fr; gap: 56px; }
.docs > * { min-width: 0; }
.toc { position: sticky; top: 24px; align-self: start; display: grid; gap: 2px; }
.toc a { padding: 7px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.toc a:hover { background: var(--soft); color: var(--ink); }
.doc h2 { font-size: 26px; letter-spacing: -.02em; margin: 56px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.doc code { font-family: var(--mono); font-size: 13px; background: var(--soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.doc .term pre { min-height: 0; }
@media (max-width: 1040px) {
  .hero.sub .hero-grid { grid-template-columns: 1fr; }
  .hero-ui { justify-items: start; }
  .versus { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .vs .tx { grid-template-columns: 1fr auto; }
  .vs .tx .arrow { display: none; }
  .tbl td:first-child { white-space: normal; }
  .soft .sec { padding-top: 88px; padding-bottom: 88px; }
}
.ui { color: var(--ink); }

/* ---------- v5: motion and depth ---------- */
.hero-art { padding: 0; }
.app-bar .live { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 600; color: #0b3a7a; display: inline-flex; align-items: center; gap: 6px; }
.app-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, .18); } }
.bal strong span { display: inline-block; transition: color .3s; }
.bal strong span.tick { color: #4d0bb8; }
.run { margin: 16px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); overflow: hidden; }
.run-req { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #ffffff; font: 500 12.5px var(--mono); }
.run-req .verb { color: #4d0bb8; font-weight: 600; }
.run-req .code { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #fff1e6; color: #b25a0a; transition: background .3s, color .3s; }
.run-req .code.ok { background: #e6f7f0; color: #0b3a7a; }
.run-steps { list-style: none; margin: 0; padding: 6px 14px 8px; }
.run-steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; color: var(--ink-3); opacity: .35; transition: opacity .35s, color .35s; }
.run-steps li.on { opacity: 1; color: var(--ink); }
.run-steps li i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cfc8dc; position: relative; transition: all .3s; }
.run-steps li.done i { border-color: #10b981; background: #10b981; }
.run-steps li.done i::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 6px; border: solid #ffffff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.run-steps li.on:not(.done) i { border-color: #4d0bb8; border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.run-steps b { font-weight: 500; font-size: 12.5px; }
.prog { width: 90px; height: 5px; border-radius: 5px; background: #e7e3ef; overflow: hidden; display: block; }
.prog u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3463d9, #4d0bb8); text-decoration: none; transition: width 1.3s cubic-bezier(.4, 0, .2, 1); }
#demo-list .tx { animation: slidein .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); background: #f4f0ff; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bx { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: #ffffff; overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.bx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.bx:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -30px rgba(23, 3, 56, .3); border-color: #ddd6e8; }
.bx > * { position: relative; }
.bx-pay { grid-column: span 4; }
.bx-ai { grid-column: span 2; }
.bx-wire { grid-column: span 2; }
.bx-seal { grid-column: span 4; }
.bx-pay::before { background: radial-gradient(60% 80% at 100% 0%, rgba(52, 99, 217, .14), transparent 70%); }
.bx-ai::before { background: radial-gradient(80% 70% at 100% 0%, rgba(139, 68, 228, .13), transparent 70%); }
.bx-wire::before { background: radial-gradient(80% 70% at 100% 0%, rgba(194, 48, 111, .11), transparent 70%); }
.bx-seal::before { background: radial-gradient(60% 80% at 100% 0%, rgba(22, 138, 87, .12), transparent 70%); }
.bx-k { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); margin-bottom: 14px; }
.bx h3 { font-size: 24px; letter-spacing: -.025em; line-height: 1.2; }
.bx-txt p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-3); max-width: 520px; }
.bx-pay, .bx-seal { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 32px; }
.ledger { border: 1px solid var(--line); border-radius: 14px; background: #ffffff; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(23, 3, 56, .25); }
.lg-h, .lg { display: grid; grid-template-columns: 1fr 1fr 74px 56px; gap: 10px; align-items: center; padding: 11px 16px; font-size: 13px; }
.lg-h { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--soft); border-bottom: 1px solid var(--line); }
.lg { border-bottom: 1px solid #f2f0f6; }
.lg:last-child { border-bottom: 0; }
.lg .mono { font-size: 12px; color: var(--ink-2); }
.lg b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.lg-h span:last-child { text-align: right; }
.age { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e6f7f0; color: #0b3a7a; }
.chat { display: grid; gap: 8px; margin-top: auto; }
.chat .msg { font-size: 14px; min-height: 42px; }
.caret { display: inline-block; width: 7px; height: 15px; vertical-align: -2px; margin-left: 2px; background: #6d28d9; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scramble { margin-top: auto; display: grid; gap: 10px; }
.sc-row { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #ffffff; }
.sc-row small { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 4px; }
.sc { font-size: 13px; color: #b0245e; white-space: nowrap; overflow: hidden; display: block; text-overflow: clip; }
.bx-wire:hover .sc { color: var(--ink); }
.hint { font-size: 12.5px; color: var(--ink-3); }
.job { border: 1px solid var(--line); border-radius: 14px; background: #ffffff; padding: 20px; box-shadow: 0 20px 50px -30px rgba(23, 3, 56, .25); }
.job-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.job-top b { color: var(--ink); }
.stepper { position: relative; display: flex; justify-content: space-between; padding-top: 22px; font-size: 12.5px; color: var(--ink-3); }
.stepper span { position: relative; z-index: 2; transition: color .3s; }
.stepper span::before { content: ""; position: absolute; top: -22px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #ffffff; border: 2px solid #d6cfe1; transition: all .3s; }
.stepper span:first-child::before { left: 6px; } .stepper span:last-child::before { left: auto; right: 0; }
.stepper span.on { color: var(--ink); font-weight: 500; }
.stepper span.on::before { border-color: #10b981; background: #10b981; }
.stepper .track { position: absolute; top: 5px; left: 6px; right: 6px; height: 2px; background: #e7e3ef; }
.stepper .track u { display: block; height: 100%; width: 0; background: #10b981; transition: width .8s ease; }
.job-file { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 13px; }
.job-file em { margin-left: auto; font-style: normal; font-size: 12px; color: #0b3a7a; }
.lockico { width: 14px; height: 12px; border-radius: 3px; background: var(--ink-2); position: relative; margin-top: 4px; flex: none; }
.lockico::before { content: ""; position: absolute; left: 3px; top: -6px; width: 8px; height: 7px; border: 2px solid var(--ink-2); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }

/* graph */
.graph svg { width: 100%; height: auto; display: block; overflow: visible; }
.gt { fill: #ffffff; font: 600 15px var(--font); text-anchor: middle; }
.gt.big { font-size: 18px; }
.gt.dim { fill: rgba(255, 255, 255, .55); font-size: 12px; font-weight: 500; }
.gt.mono-t { font: 500 12.5px var(--mono); fill: #bfd5f8; text-anchor: start; }
.gt.left { text-anchor: start; }
.nodebox { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .25); }
.ring { fill: none; stroke: #7ca7f3; stroke-opacity: .22; stroke-dasharray: 3 7; transform-origin: 470px 220px; animation: rot 40s linear infinite; }
.ring.r2 { animation-duration: 70s; animation-direction: reverse; stroke-opacity: .14; }
@keyframes rot { to { transform: rotate(360deg); } }
.edge { fill: none; stroke: url(#gl); stroke-width: 1.4; }
.flowdash { fill: none; stroke: #7ca7f3; stroke-width: 2; stroke-dasharray: 2 18; stroke-linecap: round; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.sbox { fill: #20064d; stroke: rgba(124, 167, 243, .45); }
.mbox { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .18); }

/* reveal */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in-view { opacity: 1; transform: none; }
.bento .rv:nth-child(2) { transition-delay: .08s; } .bento .rv:nth-child(3) { transition-delay: .12s; } .bento .rv:nth-child(4) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .flowdash, .ring { animation: none; } }

@media (max-width: 1040px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bx-pay, .bx-seal { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .bx-ai, .bx-wire { grid-column: span 1; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .bx-ai, .bx-wire { grid-column: 1 / -1; }
  .bx { padding: 24px; }
  .lg-h, .lg { grid-template-columns: 1fr 1fr 52px; }
  .lg-h span:nth-child(3), .lg span:nth-child(3) { display: none; }
  .graph svg { min-width: 0; }
}
.bx-wire, .scramble, .sc-row { min-width: 0; }
.sc-row { overflow: hidden; }
.lg-h, .lg { grid-template-columns: 1fr 1fr 90px 60px; }
.lg-h span { white-space: nowrap; }
@media (max-width: 700px) { .lg-h, .lg { grid-template-columns: 1fr 1fr 56px; } }
