/* Cloak Cards landing page styles */

:root {
  --ink: #0a0a0c;
  --ink-2: #111114;
  --ink-3: #18181c;
  --ink-4: #222228;
  --line: rgba(242, 238, 230, .08);
  --line-2: rgba(242, 238, 230, .14);
  --bone: #f2eee6;
  --bone-2: #c9c4ba;
  --mute: #8d8983;
  --mute-2: #5e5b57;
  --ember: #ff5b2e;
  --ember-2: #ff7a4f;
  --ok: #5be49b;
  --warn: #ffc34d;
  --bad: #ff5470;
  --r: 18px;
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; flex: none; }
::selection { background: var(--ember); color: var(--ink); }

.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--mute); }

/* Icons */
.ic { width: 18px; height: 18px; stroke-width: 1.8; }
.ic-sm { width: 14px; height: 14px; }
.ic-lg { width: 22px; height: 22px; }
.bi { width: 18px; height: 18px; fill: currentColor; }
.bi-sm { width: 14px; height: 14px; }
.bi-lg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-primary { background: var(--ember); color: #170803; }
.btn-primary:hover { background: var(--ember-2); }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: rgba(242, 238, 230, .32); background: var(--ink-3); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 16px; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--bone-2); padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--bone); background: var(--ink-3); }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; align-items: center; justify-content: center; }
.mmenu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 49;
  background: var(--ink); border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px; display: none; flex-direction: column;
}
.mmenu.open { display: flex; }
.mmenu a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 80px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.lead { font-size: 18px; color: var(--bone-2); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin: 32px 0 40px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); max-width: 560px; }
.fact { padding: 18px 16px 0 0; }
.fact b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.fact span { font-size: 13.5px; color: var(--mute); }

/* Card visuals */
.cards-stage { position: relative; height: 420px; }
.ccard {
  position: absolute; width: 350px; aspect-ratio: 1.586; border-radius: 18px;
  padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; color: var(--bone);
  background: linear-gradient(140deg, #24242a 0%, #111114 60%, #18181c 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.ccard.ember { background: linear-gradient(140deg, #ff7a45 0%, #ff5b2e 40%, #b42d12 100%); border-color: rgba(255, 190, 150, .3); color: #fff; }
.ccard.bone { background: linear-gradient(140deg, #f4f0e8 0%, #dcd5c9 65%, #cbc3b5 100%); border-color: rgba(255, 255, 255, .5); color: #141416; }
.ccard .row { display: flex; justify-content: space-between; align-items: center; }
.ccard .brand { font-family: var(--f-display); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.ccard .chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #e9d6a8, #b39253); position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.ccard .chip::after { content: ""; position: absolute; inset: 8px 0; border-top: 1px solid rgba(0, 0, 0, .22); border-bottom: 1px solid rgba(0, 0, 0, .22); }
.ccard .num { font-family: var(--f-mono); font-size: 18px; letter-spacing: .1em; }
.ccard .meta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; opacity: .7; text-transform: uppercase; }
.ccard .net { width: 46px; height: 30px; opacity: .95; }
.ccard .nfc { width: 22px; height: 22px; opacity: .65; }
.cards-stage .c1 { left: 2%; top: 4%; transform: rotate(-10deg); }
.cards-stage .c2 { left: 14%; top: 20%; transform: rotate(-3deg); }
.cards-stage .c3 { left: 26%; top: 38%; transform: rotate(5deg); }

/* Works with */
.works { margin-top: 80px; padding: 26px 0; border-block: 1px solid var(--line); display: flex; align-items: center; gap: 40px; }
.works > span { font-size: 13px; color: var(--mute); white-space: nowrap; }
.works ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.works li { display: flex; align-items: center; gap: 9px; color: var(--bone-2); font-size: 14px; font-weight: 500; }
.works li .bi { width: 20px; height: 20px; }

/* Dashboard preview */
.console { margin-top: 64px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--ink-2); overflow: hidden; }
.console-top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.console-top .live { margin-left: auto; display: flex; gap: 7px; align-items: center; color: var(--ok); }
.console-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpi { padding: 22px 24px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi label { font-size: 12.5px; color: var(--mute); display: block; margin-bottom: 6px; }
.kpi b { font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.kpi .d { font-family: var(--f-mono); font-size: 11.5px; margin-left: 8px; color: var(--ok); }
.kpi svg { margin-top: 10px; width: 100%; height: 28px; }
.feed-row {
  display: grid; grid-template-columns: 100px 1.4fr 1.2fr 110px 120px; gap: 14px; align-items: center;
  padding: 12px 24px; font-size: 13.5px; border-bottom: 1px solid var(--line);
}
.feed-row:last-child { border-bottom: 0; }
.feed-row .mono { font-size: 12px; color: var(--mute); }
.feed-row .amt { text-align: right; font-family: var(--f-mono); }
.feed-row.new { animation: rowin .5s ease; }
.feed-head { color: var(--mute-2); font-size: 11.5px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
@keyframes rowin { from { opacity: 0; background: rgba(255, 91, 46, .07); } }

.merch { display: flex; align-items: center; gap: 10px; }
.mi {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: var(--ink-4); border: 1px solid var(--line-2); color: var(--bone);
}
.mi .bi, .mi .ic { width: 15px; height: 15px; }
.st { font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; width: max-content; }
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--ok); background: rgba(91, 228, 155, .08); }
.st.pend { color: var(--warn); background: rgba(255, 195, 77, .08); }
.st.bad { color: var(--bad); background: rgba(255, 84, 112, .08); }

/* Sections */
section { padding-top: 120px; }
.sh { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sh.single { grid-template-columns: 1fr; max-width: 720px; }
h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.sub { color: var(--bone-2); font-size: 17px; max-width: 520px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2);
  padding: 26px; overflow: hidden; display: flex; flex-direction: column; min-height: 300px;
}
.tile-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tile-h .ic { color: var(--ember); }
.tile h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.tile p { color: var(--mute); font-size: 14.5px; max-width: 440px; }
.tile .vis { flex: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; min-height: 170px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }

.panel { background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; }
.panel-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.field {
  border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; background: var(--ink-2);
  font-family: var(--f-mono); font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.field .lft { display: flex; align-items: center; gap: 8px; }
.flabel { font-size: 11px; color: var(--mute); margin: 10px 0 5px; }

/* Issue demo */
.issue { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; width: 100%; }
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mini { aspect-ratio: 1.586; border-radius: 9px; border: 1px dashed var(--line-2); position: relative; overflow: hidden; }
.mini.on { border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(140deg, #26262c, #111114); animation: pop .35s ease-out both; }
.mini.on.e { background: linear-gradient(140deg, #ff7a45, #c0340f); }
.mini.on.b { background: linear-gradient(140deg, #f2eee6, #cfc7b9); color: #141416; }
.mini span { position: absolute; left: 8px; bottom: 6px; font-family: var(--f-mono); font-size: 9.5px; opacity: 0; }
.mini.on span { opacity: .85; }
.mini .bi { position: absolute; right: 7px; top: 6px; width: 16px; height: 16px; opacity: 0; }
.mini.on .bi { opacity: .9; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.issue-btn { width: 100%; margin-top: 14px; }

/* Balance */
.bal-big { font-family: var(--f-display); font-size: 34px; font-weight: 500; letter-spacing: -.03em; }
.linked { display: flex; margin-top: 14px; }
.linked i { width: 34px; height: 22px; border-radius: 5px; margin-left: -8px; border: 1px solid rgba(0, 0, 0, .45); background: linear-gradient(140deg, #2a2a30, #101013); }
.linked i:first-child { margin-left: 0; }
.linked i:nth-child(3n) { background: linear-gradient(140deg, #ff7a45, #c0340f); }
.linked i:nth-child(4n) { background: linear-gradient(140deg, #f2eee6, #cfc7b9); }

/* BIN list */
.bins { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 7px; }
.bin { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink-3); font-size: 12.5px; cursor: pointer; text-align: left; }
.bin .net { width: 30px; height: 20px; color: var(--bone); }
.bin b { font-family: var(--f-mono); font-weight: 500; }
.bin em { font-style: normal; color: var(--mute); font-size: 11.5px; }
.bin .ck { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.bin .ck .ic { width: 11px; height: 11px; stroke-width: 3; }
.bin.sel { border-color: rgba(255, 91, 46, .55); background: rgba(255, 91, 46, .06); }
.bin.sel .ck { background: var(--ember); border-color: var(--ember); color: #170803; }

/* Flip card */
.flip { width: 250px; aspect-ratio: 1.586; perspective: 1000px; cursor: pointer; position: relative; }
.flip-in { position: relative; width: 100%; height: 100%; transition: transform .6s ease; transform-style: preserve-3d; }
.flip.on .flip-in { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .face.ccard { width: 100%; padding: 16px 18px; }
.flip .back { transform: rotateY(180deg); }
.flip .ccard .num { font-size: 14px; }
.flip .ccard .net { width: 38px; height: 24px; }
.lim { font-size: 11.5px; }
.lim-row { display: flex; justify-content: space-between; font-family: var(--f-mono); margin-bottom: 4px; }
.bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 10px; }
.bar i { display: block; height: 100%; background: var(--ember); border-radius: inherit; }
.flip-hint { position: absolute; bottom: -34px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); }
.flip-hint .ic { width: 13px; height: 13px; }

/* Transfer */
.xfer { display: flex; gap: 14px; align-items: flex-start; width: 100%; justify-content: center; }
.who { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; margin-bottom: 6px; }
.who.sel { border-color: rgba(91, 228, 155, .4); background: rgba(91, 228, 155, .05); }
.who .ic { margin-left: auto; color: var(--ok); width: 15px; height: 15px; }
.av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--ink-4); flex: none; }
.steps { list-style: none; font-size: 13px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--mute-2); transition: color .3s; }
.steps .sc { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--mute-2); display: grid; place-items: center; color: transparent; transition: .3s; }
.steps .sc .ic { width: 11px; height: 11px; stroke-width: 3; }
.steps li.done { color: var(--bone); }
.steps li.done .sc { background: var(--ok); border-color: var(--ok); color: #06140c; }
.steps .t { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--mute-2); }

/* Activity log */
.log { font-family: var(--f-mono); font-size: 12px; }
.log > div { display: grid; grid-template-columns: 44px 18px 1fr auto; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px dashed var(--line); }
.log > div:last-child { border: 0; }
.log .tm { color: var(--mute-2); }
.log .ic { width: 14px; height: 14px; color: var(--mute); }
.log .by { color: var(--mute); }
.log .new { animation: rowin .6s; }

/* Accounts */
.dep { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; width: 100%; }
.ring-wrap { position: relative; width: 150px; height: 150px; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-wrap .rc { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--mute); }
.ring-wrap .rc b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 500; color: var(--bone); }
.dep-info .field { margin-bottom: 8px; }
.dep-status { font-family: var(--f-mono); font-size: 12px; color: var(--mute); margin-top: 12px; display: flex; gap: 8px; align-items: center; min-height: 18px; }
.dep-status.ok { color: var(--ok); }
.dep-status .ic { width: 14px; height: 14px; }
.accts { width: 100%; max-width: 360px; }
.acct { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.acct:last-child { border: 0; }
.acct .n { flex: 1; }
.acct .n small { display: block; color: var(--mute); font-size: 11.5px; font-family: var(--f-mono); }
.acct b { font-family: var(--f-mono); font-weight: 500; }
.toggle { width: 36px; height: 20px; border-radius: 20px; background: var(--ink-4); position: relative; border: 1px solid var(--line-2); cursor: pointer; transition: .2s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--mute); transition: .2s; }
.toggle.on { background: rgba(255, 91, 46, .25); border-color: rgba(255, 91, 46, .5); }
.toggle.on::after { left: 18px; background: var(--ember); }
.mv { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 380px; }
.mv .box { flex: 1; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--ink-3); }
.mv .box small { color: var(--mute); font-size: 11.5px; display: block; }
.mv .box b { font-family: var(--f-mono); font-weight: 500; font-size: 16px; }
.mv .arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; color: #170803; flex: none; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--mute-2); text-transform: uppercase; letter-spacing: .06em; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
.r { text-align: right; }
.ppl { display: flex; align-items: center; gap: 10px; }
.ppl small { color: var(--mute); font-size: 11.5px; display: block; }
.dr { font-family: var(--f-mono); font-size: 12.5px; }
.dr.g { color: var(--ok); } .dr.y { color: var(--warn); }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix .ic { margin: 0 auto; width: 16px; height: 16px; }
.yes { color: var(--ember); } .part { color: var(--warn); } .no { color: var(--mute-2); }
.role { font-family: var(--f-display); font-size: 13px; font-weight: 500; }
.role small { display: block; font-family: var(--f-body); font-size: 11.5px; color: var(--mute); font-weight: 400; }

.team-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.team-grid .tile { min-height: 0; }

/* Control */
.ctrl { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.stat-stack { display: grid; gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--ink-2); }
.stat label { color: var(--mute); font-size: 13px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 30px; letter-spacing: -.03em; margin: 4px 0 12px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.bars i { flex: 1; background: var(--ink-4); border-radius: 3px 3px 0 0; }
.bars i.hi { background: var(--ember); }
.donut { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.donut svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.legend { font-size: 12.5px; display: grid; gap: 5px; }
.legend span { display: flex; gap: 8px; align-items: center; color: var(--bone-2); }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.tx-head { padding: 24px 24px 8px; display: flex; justify-content: space-between; align-items: center; }
.tx-head .filter { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 10px; }

/* Integrations */
.int { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; }
.tg { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.tg-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.tg-head .mi { background: #229ed9; border: 0; color: #fff; border-radius: 50%; }
.tg-head small { display: block; font-weight: 400; color: var(--mute); font-size: 11.5px; }
.bub { background: var(--ink-3); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 13px; max-width: 94%; }
.bub .code { font-family: var(--f-mono); font-size: 20px; letter-spacing: .18em; margin: 4px 0; }
.bub .line { display: flex; align-items: center; gap: 7px; }
.bub .line .ic { width: 14px; height: 14px; }
.bub small { font-family: var(--f-mono); color: var(--mute-2); font-size: 10.5px; display: block; text-align: right; margin-top: 2px; }
.code-card { width: 100%; background: #0c0c0f; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { font-family: var(--f-mono); font-size: 12px; padding: 10px 14px; color: var(--mute); border-bottom: 1.5px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--bone); border-color: var(--ember); }
pre { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; padding: 16px 18px; overflow-x: auto; color: var(--bone-2); min-height: 230px; }
pre .k { color: var(--ember-2); } pre .s { color: #b8e3a8; } pre .c { color: var(--mute-2); } pre .n { color: #9cc7ff; }
.exports { display: grid; gap: 10px; width: 100%; }
.exp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-3); font-size: 14px; }
.exp:hover { border-color: var(--line-2); }
.exp .mi { width: 32px; height: 32px; }
.exp .go { margin-left: auto; color: var(--mute); }
.exp .go .ic { width: 16px; height: 16px; }

/* Migration */
.mig { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mstep { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--ink-2); }
.mstep .mi { width: 40px; height: 40px; border-radius: 11px; color: var(--ember); margin-bottom: 40px; }
.mstep .mi .ic { width: 19px; height: 19px; }
.mstep .step { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); margin-bottom: 6px; }
.mstep h4 { font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.mstep p { color: var(--mute); font-size: 14.5px; }

/* Pricing */
.calc { border: 1px solid var(--line-2); border-radius: var(--r); padding: 32px; background: var(--ink-2); margin-bottom: 16px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.calc label { font-size: 14px; color: var(--mute); }
.calc .vol { font-family: var(--f-display); font-size: 40px; font-weight: 500; letter-spacing: -.03em; margin: 6px 0 20px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ember) var(--p, 30%), var(--ink-4) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); border: 5px solid var(--ember); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bone); border: 5px solid var(--ember); cursor: grab; }
input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--bone); outline-offset: 2px; }
.ticks { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--mute-2); margin-top: 10px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--ink); }
.co small { color: var(--mute); font-size: 12px; display: block; }
.co b { font-family: var(--f-display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.co.hl { border-color: rgba(255, 91, 46, .45); }
.co.hl b { color: var(--ember); }
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tier { border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; background: var(--ink-2); transition: border-color .2s, background .2s; }
.tier.act { border-color: var(--ember); background: #150c09; }
.tier .tn { font-family: var(--f-display); font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.tier .badge { font-family: var(--f-mono); font-size: 10px; background: var(--ember); color: #170803; padding: 3px 7px; border-radius: 6px; }
.tier .rng { font-family: var(--f-mono); font-size: 12px; color: var(--mute); margin: 4px 0 18px; }
.tier .pc { font-family: var(--f-display); font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.tier .pc .from { font-size: .5em; margin-right: 4px; color: var(--bone-2); }
.tier .pc small { display: block; font-size: 12.5px; color: var(--mute); font-family: var(--f-body); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.tier ul { list-style: none; margin-top: 16px; font-size: 13px; color: var(--bone-2); display: grid; gap: 8px; }
.tier li { display: flex; gap: 8px; align-items: flex-start; }
.tier li .ic { width: 15px; height: 15px; color: var(--ember); margin-top: 2px; }
.fine { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 26px; font-size: 13.5px; color: var(--mute); }
.fine span { display: flex; gap: 8px; align-items: center; }
.fine .ic { width: 16px; height: 16px; color: var(--bone-2); }
.fine b { color: var(--bone); font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .2s, border-color .2s, color .2s; }
summary .pm .ic { width: 15px; height: 15px; }
details[open] summary .pm { transform: rotate(45deg); border-color: var(--ember); color: var(--ember); }
details .ans { color: var(--bone-2); padding: 0 60px 24px 0; font-size: 15.5px; }
details .ans b { color: var(--bone); }
.faq-cta { margin-top: 32px; }

/* Use cases */
.scen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sc-card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--ink-2); min-height: 240px; display: flex; flex-direction: column; transition: border-color .2s; }
.sc-card:hover { border-color: rgba(255, 91, 46, .45); }
.sc-card .mi { width: 46px; height: 46px; border-radius: 12px; margin-bottom: auto; }
.sc-card .mi .bi { width: 22px; height: 22px; }
.sc-card h4 { font-family: var(--f-display); font-weight: 500; font-size: 18px; margin: 28px 0 8px; letter-spacing: -.02em; }
.sc-card p { color: var(--mute); font-size: 14px; }
.sc-card .more { margin-top: 18px; font-size: 13.5px; color: var(--ember); display: flex; gap: 6px; align-items: center; font-weight: 600; }
.sc-card .more .ic { width: 15px; height: 15px; }

/* Services */
.svc { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: var(--ink-2); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--bone-2); }
.cat .ic { width: 15px; height: 15px; }
.cat:hover { border-color: rgba(242, 238, 230, .3); }
.cat.on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cat.more { border-style: dashed; color: var(--mute); cursor: default; }
.merchants { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mc { border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; background: var(--ink); }
.mc .mi { width: 32px; height: 32px; }
.mc .mi .bi { width: 17px; height: 17px; }

/* Final call to action */
.final { margin-top: 120px; border: 1px solid var(--line-2); border-radius: 24px; padding: 56px; background: var(--ink-2); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.final .sub { margin-top: 16px; }
.final ul { list-style: none; display: grid; gap: 12px; }
.final li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--bone-2); }
.final li .mi { color: var(--ember); }
.final .hero-cta { margin: 28px 0 0; }

/* Footer */
footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 56px 0 36px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
.foot h5 { font-size: 13px; font-weight: 600; color: var(--bone); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--mute); }
.foot ul a:hover { color: var(--bone); }
.foot p { color: var(--mute); font-size: 14px; margin-top: 14px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--bone-2); }
.socials a:hover { color: var(--bone); border-color: rgba(242, 238, 230, .3); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--mute-2); }
.legal .disc { max-width: 720px; }
.legal a:hover { color: var(--bone-2); }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .cards-stage { height: 360px; max-width: 520px; width: 100%; }
  .works { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sh { grid-template-columns: 1fr; gap: 14px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .s2, .s3, .s4, .s6 { grid-column: span 2; }
  .team-grid, .ctrl, .calc, .int, .final { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .scen, .mig { grid-template-columns: repeat(2, 1fr); }
  .merchants { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .nav-right .btn-ghost { display: none; }
  .nav .wrap { gap: 12px; }
  .hero { padding-top: 48px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .fact b { font-size: 20px; }
  .fact span { font-size: 12px; }
  .ccard { width: 270px; padding: 16px 18px; }
  .ccard .num { font-size: 14px; }
  .cards-stage { height: 290px; }
  .cards-stage .c1 { left: 0; } .cards-stage .c2 { left: 6%; } .cards-stage .c3 { left: 12%; }
  .issue { grid-template-columns: 1fr; }
  .issue .mini-grid { grid-template-columns: repeat(4, 1fr); }
  .dep { grid-template-columns: 1fr; justify-items: center; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 19px; }
  .kpi .d { display: none; }
  .console-top span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .feed-row { grid-template-columns: 1fr auto auto; padding: 12px 16px; }
  .feed-row > :nth-child(1), .feed-row > :nth-child(3) { display: none; }
  .feed-head { display: none; }
  .tiers, .scen, .mig { grid-template-columns: 1fr; }
  .merchants { grid-template-columns: repeat(2, 1fr); }
  .calc { padding: 22px; }
  .final { padding: 28px 22px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: span 2; }
  section { padding-top: 88px; }
  .tile { padding: 22px; }
  .xfer { flex-direction: column; align-items: stretch; }
  .xfer .panel { width: 100% !important; }
  details .ans { padding-right: 0; }
  .hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
