/* RingBank — private bank on Helius Privacy Rings. Dark glass + soft Helius light (refs: user's 3 images, 11-24). Font: Gantari. */
:root {
  --bg: #070505;
  --frame: rgba(14, 10, 9, .34);
  --panel: rgba(20, 14, 12, .68);
  --panel-2: rgba(28, 20, 18, .9);
  --well: rgba(255, 236, 228, .035);
  --stroke: rgba(255, 228, 216, .085);
  --stroke-2: rgba(255, 228, 216, .15);
  --stroke-3: rgba(255, 228, 216, .26);
  --text: #FFF8F4;
  --dim: rgba(255, 240, 233, .64);
  --mute: rgba(255, 240, 233, .42);
  --h0: #E35930;
  --h1: #E84125;
  --field: #E64C2A;
  --glow: #FF6A3D;
  --peach: #FF9A6B;
  --cream: #FFD6C2;
  --up: #5EDB98;
  --down: #FF7466;
  --r-frame: 36px;
  --r-panel: 26px;
  --r-in: 18px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: 'Gantari', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background:
  radial-gradient(60% 45% at 10% 92%, rgba(232, 65, 37, .30), transparent 70%) fixed,
  radial-gradient(55% 45% at 90% 12%, rgba(255, 140, 96, .22), transparent 72%) fixed, var(--bg); }
body {
  margin: 0; min-height: 100vh; background: transparent; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
::selection { background: rgba(232, 65, 37, .45); color: #fff; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.up { color: var(--up); }
.down { color: var(--down); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the light (WebGL, fixed) + first-paint fallback ---------- */
#light {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none;
}
#grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* ---------- shared atoms ---------- */
.mark { width: 30px; height: 30px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand .mark { width: 32px; height: 32px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--stroke-3); color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.pill:hover { background: rgba(255, 236, 228, .06); border-color: rgba(255, 228, 216, .38); }
.pill.on, .pill[aria-pressed="true"] {
  border-color: rgba(255, 170, 135, .55); color: #fff;
  background: linear-gradient(180deg, rgba(255, 128, 88, .42), rgba(232, 65, 37, .26));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 24px -10px rgba(255, 106, 61, .8);
}
.pill.sm { height: 32px; padding: 0 13px; font-size: 13.5px; }
.pill.icon { width: 40px; padding: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), opacity .2s;
}
.btn.hot {
  color: #fff; background: linear-gradient(180deg, #F57449 0%, #E84125 55%, #D9381C 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 14px 38px -14px rgba(255, 90, 50, .95), 0 0 0 1px rgba(255, 140, 100, .35);
}
.btn.hot:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 18px 46px -14px rgba(255, 90, 50, 1), 0 0 0 1px rgba(255, 160, 120, .5); }
.btn.ghost { color: var(--text); border: 1px solid var(--stroke-3); background: rgba(255, 240, 233, .03); }
.btn.ghost:hover { background: rgba(255, 240, 233, .07); }
.btn.sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .i, .pill .i { width: 18px; height: 18px; }
.i { width: 20px; height: 20px; stroke-width: 1.7; flex: none; }
.helius-row { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: 15px; font-weight: 500; }
.helius-row img { height: 17px; width: auto; }

.panel {
  position: relative; border-radius: var(--r-panel); background: var(--panel); border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 40px 80px -50px rgba(0, 0, 0, .9); overflow: hidden; isolation: isolate;
}
.panel > .glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(48px); }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.ph h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.ph .sub { font-size: 14px; color: var(--mute); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.big { font-size: 46px; font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.chg { font-size: 14px; font-weight: 600; }
.av {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 650; letter-spacing: .02em;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid var(--stroke-2); color: #fff;
}
.av.add { border-style: dashed; color: var(--dim); }
.avs { display: flex; gap: 14px; }
.avs .who { display: grid; justify-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); }

/* ---------- top float nav (after the hero) ---------- */
.float-nav {
  position: fixed; top: 16px; left: 50%; z-index: 60; transform: translate(-50%, -140%); opacity: 0;
  display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(18, 12, 11, .72); border: 1px solid var(--stroke-2); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .9); transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.float-nav.show { transform: translate(-50%, 0); opacity: 1; }
.float-nav .brand { font-size: 17px; margin-right: 10px; }
.float-nav .brand .mark { width: 24px; height: 24px; }
.float-nav a.l { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; color: var(--dim); transition: color .2s, background .2s; }
.float-nav a.l:hover, .float-nav a.l.on { color: #fff; background: rgba(255, 236, 228, .07); }
.float-nav .btn { height: 38px; padding: 0 16px; font-size: 14.5px; margin-left: 6px; }

/* ---------- the dashboard frame (hero = the bank in guest mode; /app = the bank) ---------- */
.frame-wrap { padding: 22px 22px 0; }
.frame {
  position: relative; max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: 248px 1fr; gap: 0;
  border-radius: var(--r-frame); background: var(--frame); border: 1px solid var(--stroke);
  backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.rail {
  position: relative; margin: 12px 0 12px 12px; border-radius: 28px; background: rgba(9, 6, 6, .58); border: 1px solid var(--stroke);
  display: flex; flex-direction: column; padding: 26px 16px 20px; min-height: calc(100vh - 70px);
}
.rail .brand { padding: 0 10px 26px; }
.rail nav { display: grid; gap: 4px; }
.rail nav a {
  display: flex; align-items: center; gap: 13px; height: 50px; padding: 0 16px; border-radius: 16px; color: var(--dim); font-size: 16px; font-weight: 500;
  transition: color .2s, background .25s var(--ease);
}
.rail nav a:hover { color: #fff; background: rgba(255, 236, 228, .045); }
.rail nav a.on {
  color: #fff; background: linear-gradient(90deg, rgba(255, 118, 78, .34), rgba(232, 65, 37, .10) 70%, rgba(232, 65, 37, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 150, 110, .14);
}
.rail nav a.on .i { color: #FFB394; }
.rail .foot { margin-top: auto; display: grid; gap: 4px; padding-top: 18px; }
.rail .note {
  margin: 18px 4px 6px; padding: 16px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 100%, rgba(232, 65, 37, .32), rgba(232, 65, 37, 0) 60%), rgba(255, 236, 228, .035);
  border: 1px solid var(--stroke); font-size: 14px; color: var(--dim); line-height: 1.45;
}
.rail .note b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.main { min-width: 0; padding: 12px 12px 12px 18px; }
.top { display: flex; align-items: center; gap: 16px; height: 84px; padding: 0 6px 0 8px; }
.top .hello { min-width: 0; }
.top .hello b { display: block; font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.top .hello b em { font-style: normal; color: #FFB394; }
.top .hello span { font-size: 14.5px; color: var(--mute); }
.search {
  margin-left: auto; display: flex; align-items: center; gap: 10px; height: 52px; width: min(420px, 34vw); padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(8, 5, 5, .7); border: 1px solid var(--stroke-2); color: var(--dim); font-size: 15.5px;
}
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; }
.search input::placeholder { color: var(--mute); }
.search .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 236, 228, .07); color: #fff; }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 5, 5, .7); border: 1px solid var(--stroke-2); color: #fff; flex: none; position: relative; }
.round .dot { position: absolute; top: 13px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.me { display: flex; align-items: center; gap: 12px; padding-left: 6px; }
.me .av { width: 48px; height: 48px; font-size: 14px; background: linear-gradient(145deg, #F26A43, #B42E14); border: 0; }
.me b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.2; }
.me span { font-size: 13px; color: var(--mute); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding: 6px 6px 8px; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; }
.c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }

/* hero panel */
.p-hero { padding: 40px 42px 38px; min-height: 470px; display: flex; flex-direction: column; }
.p-hero h1 { margin: 22px 0 18px; font-size: clamp(46px, 4.9vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 700; max-width: 11.5em; }
.p-hero h1 .w { color: #FFB394; }
.p-hero p.lead { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.5; color: var(--dim); }
.p-hero .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.p-hero .feats { margin-top: auto; padding-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.p-hero .feats span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 236, 228, .045); border: 1px solid var(--stroke); font-size: 14px; color: var(--dim); }
.p-hero .feats .i { width: 16px; height: 16px; color: #FFB394; }
.p-hero > .glow.a { width: 520px; height: 300px; right: -120px; bottom: -150px; background: radial-gradient(closest-side, rgba(255, 106, 61, .55), rgba(232, 65, 37, .18) 60%, transparent); }
.p-hero > .glow.b { width: 380px; height: 220px; left: 30%; top: -140px; background: radial-gradient(closest-side, rgba(255, 150, 110, .16), transparent); }

/* card panel */
.p-card { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 470px; }
.p-card .stage { flex: 1; display: grid; place-items: center; perspective: 1400px; min-height: 230px; }
.p-card .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.p-card > .glow { width: 420px; height: 260px; left: 50%; top: 46%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 106, 61, .34), transparent); }
.p-card[data-finish="pearl"] > .glow { background: radial-gradient(closest-side, rgba(255, 214, 194, .26), transparent); }
.p-card[data-finish="obsidian"] > .glow { background: radial-gradient(closest-side, rgba(232, 65, 37, .22), transparent); }

/* market chart panel */
.p-chart { padding: 26px 26px 18px; }
.p-chart .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 12px; }
.p-chart .val { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.chart { position: relative; height: 236px; margin-top: 12px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip {
  position: absolute; transform: translate(-50%, -100%); padding: 10px 14px; border-radius: 14px; background: rgba(24, 17, 15, .96); border: 1px solid var(--stroke-2);
  font-size: 13px; color: var(--dim); white-space: nowrap; pointer-events: none; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .9);
}
.chart .tip b { display: block; color: #fff; font-size: 17px; font-weight: 650; margin-top: 2px; }
.axis text { fill: var(--mute); font-size: 12.5px; font-family: var(--font); }

/* send panel */
.p-send { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.amount { display: flex; align-items: baseline; gap: 10px; font-size: 48px; font-weight: 650; letter-spacing: -.035em; }
.amount small { font-size: 18px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.field {
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border-radius: 16px; background: rgba(8, 5, 5, .62); border: 1px solid var(--stroke-2);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: rgba(255, 150, 110, .55); box-shadow: 0 0 0 4px rgba(232, 65, 37, .14); }
.field input, .field textarea { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field .unit { color: var(--mute); font-size: 15px; }
.field.area { height: auto; padding: 14px 16px; align-items: flex-start; }
.field.area textarea { resize: none; min-height: 74px; line-height: 1.45; }
label.lbl { display: block; font-size: 14px; color: var(--dim); margin: 0 0 8px 2px; }

/* ring panel (live) */
.p-ring { padding: 26px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(94, 219, 152, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 219, 152, .55); } 70% { box-shadow: 0 0 0 10px rgba(94, 219, 152, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 219, 152, 0); } }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 132px; margin-top: 18px; }
.bars span {
  flex: 1; border-radius: 9px; min-height: 8px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 236, 228, .16), rgba(255, 236, 228, .04)); border: 1px solid rgba(255, 228, 216, .1);
  transition: height .8s var(--ease);
}
.bars span.hi { background: linear-gradient(180deg, #FFB394, #E84125 70%, rgba(232, 65, 37, .55)); border-color: rgba(255, 180, 150, .6); box-shadow: 0 0 24px -4px rgba(255, 106, 61, .7); }
.bars-x { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); margin-top: 10px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 10px 0; border-top: 1px solid var(--stroke); color: var(--dim); }
.kv b { color: #fff; font-weight: 600; }

/* savings donut */
.p-save { padding: 26px; }
.donut { position: relative; width: 170px; height: 170px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .mid b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.donut .mid span { font-size: 12.5px; color: var(--mute); }
.legend { display: grid; gap: 12px; font-size: 14.5px; }
.legend div { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.legend i { width: 14px; height: 14px; border-radius: 5px; flex: none; }

/* coins list */
.p-coins { padding: 26px; }
.rows { display: grid; }
.rowi { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-top: 1px solid var(--stroke); }
.rowi:first-child { border-top: 0; }
.rowi .ic { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: rgba(255, 236, 228, .06); border: 1px solid var(--stroke); }
.rowi .ic img { width: 100%; height: 100%; object-fit: cover; }
.rowi .ic .i { width: 18px; height: 18px; }
.rowi .t { min-width: 0; flex: 1; }
.rowi .t b { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowi .t span { font-size: 13px; color: var(--mute); }
.rowi .v { text-align: right; font-size: 15px; font-weight: 600; }
.rowi .v span { display: block; font-size: 12.5px; color: var(--mute); font-weight: 500; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 26px 10px 10px; color: var(--dim); font-size: 15px; }
.empty .i { width: 28px; height: 28px; color: #FFB394; }

/* ---------- the card ---------- */
.rbcard { --w: 380px; width: var(--w); aspect-ratio: 1.586; position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; }
.rbcard .in {
  position: absolute; inset: 0; border-radius: calc(var(--w) * .055); overflow: hidden; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 calc(var(--w) * .09) calc(var(--w) * .16) calc(var(--w) * -.05) rgba(0, 0, 0, .75), 0 calc(var(--w) * .02) calc(var(--w) * .04) rgba(0, 0, 0, .35);
  isolation: isolate; color: #fff;
}
.rbcard .bg { position: absolute; inset: 0; z-index: -3; }
.rbcard .arcs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; mix-blend-mode: screen; }
.rbcard .grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
.rbcard .sheen { position: absolute; inset: -1px; z-index: 3; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(70% 90% at var(--mx) var(--my), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); }
.rbcard .edge { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.rbcard .seal { position: absolute; right: 7.5%; top: 10%; width: 17%; aspect-ratio: 1; opacity: .96; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25)); }
.rbcard .wm { position: absolute; left: 7.2%; top: 11%; font-weight: 700; letter-spacing: -.02em; font-size: calc(var(--w) * .062); }
.rbcard .chip { position: absolute; left: 7.4%; top: 39%; width: 13.2%; aspect-ratio: 1.3; border-radius: calc(var(--w) * .014);
  background: linear-gradient(135deg, #F3E2B3 0%, #C9A45C 35%, #F1DCA4 52%, #A57E3A 100%); box-shadow: inset 0 0 0 1px rgba(80, 50, 10, .35), 0 1px 1px rgba(0, 0, 0, .3); overflow: hidden; }
.rbcard .chip::before, .rbcard .chip::after { content: ''; position: absolute; border: 1px solid rgba(90, 60, 20, .45); }
.rbcard .chip::before { inset: 26% 30%; border-radius: 3px; }
.rbcard .chip::after { left: 0; right: 0; top: 50%; border-width: 1px 0 0; }
.rbcard .nfc { position: absolute; left: 23.5%; top: 41%; width: 6.5%; opacity: .8; }
.rbcard .no { position: absolute; left: 7.4%; bottom: 23%; font-size: calc(var(--w) * .052); letter-spacing: .12em; font-weight: 500; font-variant-numeric: tabular-nums; opacity: .92; }
.rbcard .nm { position: absolute; left: 7.4%; bottom: 9.5%; font-size: calc(var(--w) * .038); letter-spacing: .14em; font-weight: 600; text-transform: uppercase; opacity: .92; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbcard .kd { position: absolute; right: 7.5%; bottom: 9.5%; font-size: calc(var(--w) * .036); letter-spacing: .12em; font-weight: 600; text-transform: uppercase; opacity: .78; }
.rbcard[data-finish="ember"] .bg { background:
  radial-gradient(90% 120% at 0% 0%, rgba(255, 190, 150, .55), rgba(255, 190, 150, 0) 50%),
  radial-gradient(80% 100% at 100% 100%, rgba(90, 16, 4, .75), rgba(90, 16, 4, 0) 60%),
  linear-gradient(135deg, #F36A3E 0%, #E84125 42%, #B92F14 78%, #7E1E0B 100%); }
.rbcard[data-finish="obsidian"] .bg { background:
  radial-gradient(70% 90% at 100% 0%, rgba(255, 106, 61, .36), rgba(255, 106, 61, 0) 55%),
  radial-gradient(60% 80% at 0% 100%, rgba(232, 65, 37, .22), rgba(232, 65, 37, 0) 60%),
  linear-gradient(140deg, #1B1210 0%, #0C0807 55%, #120B0A 100%); }
.rbcard[data-finish="obsidian"] .edge { box-shadow: inset 0 0 0 1px rgba(255, 140, 100, .32), inset 0 1px 0 rgba(255, 190, 160, .5); }
.rbcard[data-finish="pearl"] .in { color: #2A1712; }
.rbcard[data-finish="pearl"] .bg { background:
  radial-gradient(80% 110% at 15% 0%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%),
  radial-gradient(70% 90% at 100% 100%, rgba(255, 170, 130, .55), rgba(255, 170, 130, 0) 60%),
  linear-gradient(135deg, #FBF5F1 0%, #F1E3DA 50%, #E9D2C5 100%); }
.rbcard[data-finish="pearl"] .arcs { mix-blend-mode: multiply; opacity: .35; }
.rbcard[data-finish="pearl"] .edge { box-shadow: inset 0 0 0 1px rgba(120, 60, 40, .16); }
.rbcard[data-finish="sunset"] .bg { background:
  radial-gradient(90% 120% at 100% 0%, rgba(255, 228, 190, .7), rgba(255, 228, 190, 0) 52%),
  linear-gradient(120deg, #D93A1C 0%, #F0683C 38%, #FF9A5E 70%, #FFC28A 100%); }
.rbcard.float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- landing sections ---------- */
.sec { position: relative; max-width: 1360px; margin: 0 auto; padding: 150px 28px 0; }
.sec-h { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.sec-h h2 { margin: 0; font-size: clamp(40px, 4.4vw, 68px); line-height: 1.0; letter-spacing: -.042em; font-weight: 700; max-width: 12.5em; }
.sec-h h2 .w { color: #FFB394; }
.sec-h p { margin: 0; font-size: 19px; color: var(--dim); max-width: 32em; line-height: 1.55; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.kicker .i { width: 18px; height: 18px; color: #FFB394; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pad { padding: 30px; }
.tile h4 { margin: 18px 0 8px; font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.55; }
.tile .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255, 140, 100, .26), rgba(232, 65, 37, .08)); border: 1px solid rgba(255, 160, 120, .22); color: #FFC2A8; }
.tile .ico .i { width: 22px; height: 22px; }

/* send section: ledger vs chain */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--stroke); }
.split > div { padding: 22px 26px 26px; min-height: 210px; }
.split > div + div { border-left: 1px solid var(--stroke); }
.split h5 { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--dim); }
.split h5 img { height: 16px; width: auto; }
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 236, 228, .04); border: 1px solid var(--stroke); margin-bottom: 8px; }
.tx .t { flex: 1; min-width: 0; }
.tx .t b { display: block; font-size: 15px; font-weight: 600; }
.tx .t span { font-size: 12.5px; color: var(--mute); }
.tx .v { font-weight: 650; font-size: 15px; }
.tx.new { animation: txin .7s var(--ease) both; }
@keyframes txin { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.explorer { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 13px; color: var(--mute); }
.explorer .q { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(0, 0, 0, .45); border: 1px solid var(--stroke); color: var(--dim); }
.explorer .res { margin-top: 12px; padding: 18px; border-radius: 12px; border: 1px dashed var(--stroke-2); text-align: center; line-height: 1.6; }
.explorer .res b { display: block; font-family: var(--font); font-size: 17px; color: #fff; font-weight: 600; }
.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 61, .0); } 30% { box-shadow: 0 0 0 6px rgba(255, 106, 61, .22); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0); } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keypad button { height: 50px; border-radius: 14px; background: rgba(255, 236, 228, .045); border: 1px solid var(--stroke); font-size: 19px; font-weight: 600; transition: background .15s; }
.keypad button:hover { background: rgba(255, 236, 228, .09); }
.keypad button:active { transform: scale(.97); }

/* cards section */
.studio { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.studio .stage { min-height: 520px; display: grid; place-items: center; perspective: 1600px; position: relative; }
.studio .stage > .glow { width: 760px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 106, 61, .38), rgba(232, 65, 37, .1) 60%, transparent); }
.studio .ctrl { padding: 34px; display: flex; flex-direction: column; gap: 24px; }
.finishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.finishes button { display: grid; justify-items: center; gap: 10px; padding: 14px 6px 12px; border-radius: 18px; border: 1px solid var(--stroke); background: rgba(255, 236, 228, .03); font-size: 13.5px; color: var(--dim); transition: border-color .2s, background .2s; }
.finishes button i { width: 46px; height: 30px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 14px -6px rgba(0, 0, 0, .8); }
.finishes button.on { border-color: rgba(255, 160, 120, .55); background: rgba(255, 120, 80, .1); color: #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(8, 5, 5, .6); border: 1px solid var(--stroke-2); }
.seg button { height: 42px; border-radius: 999px; color: var(--dim); font-weight: 500; transition: background .25s, color .25s; }
.seg button.on { color: #fff; background: linear-gradient(180deg, rgba(255, 128, 88, .4), rgba(232, 65, 37, .24)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

/* launch flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.flow .step { padding: 26px; min-height: 300px; display: flex; flex-direction: column; }
.flow .step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 650; border: 1px solid var(--stroke-2); color: #fff; }
.flow .step h4 { margin: 18px 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.flow .step p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.flow .step .vis { margin-top: auto; padding-top: 22px; }
.flow::before { content: ''; position: absolute; left: 6%; right: 6%; top: 43px; height: 2px; z-index: 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 106, 61, 0), rgba(255, 106, 61, .7) 15%, rgba(255, 180, 150, .9) 50%, rgba(255, 106, 61, .7) 85%, rgba(255, 106, 61, 0)); filter: drop-shadow(0 0 8px rgba(255, 106, 61, .8)); }
.flow .step { z-index: 1; }
.coinform { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(8, 5, 5, .55); border: 1px solid var(--stroke); }
.coinform .img { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #2a1c18, #150e0c); border: 1px dashed var(--stroke-3); color: var(--dim); }
.coinform b { display: block; font-size: 16px; }
.coinform span { font-size: 13px; color: var(--mute); }
.feeline { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: rgba(94, 219, 152, .06); border: 1px solid rgba(94, 219, 152, .2); font-size: 14.5px; }
.feeline b { color: var(--up); font-weight: 650; }

/* privacy table */
.ptable { display: grid; }
.prow { display: grid; grid-template-columns: 1.1fr 1.4fr 1.6fr; gap: 0; border-top: 1px solid var(--stroke); }
.prow:first-child { border-top: 0; }
.prow > div { padding: 22px 26px; font-size: 16px; line-height: 1.5; }
.prow > div + div { border-left: 1px solid var(--stroke); }
.prow .a { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17.5px; }
.prow .a .ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 236, 228, .05); border: 1px solid var(--stroke); color: #FFC2A8; flex: none; }
.prow .b { color: var(--dim); }
.prow .c { color: var(--dim); }
.prow .c code { display: block; margin-top: 8px; font: 13px/1.6 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--mute); background: rgba(0, 0, 0, .35); border: 1px solid var(--stroke); border-radius: 10px; padding: 9px 12px; overflow-wrap: anywhere; }
.prow.head > div { padding: 16px 26px; font-size: 14px; color: var(--mute); font-weight: 500; }
.prow.head > div:first-child { padding-left: 26px; }
.tag { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag.ok { color: var(--up); background: rgba(94, 219, 152, .08); border: 1px solid rgba(94, 219, 152, .22); }
.tag.pub { color: #FFC2A8; background: rgba(255, 140, 100, .08); border: 1px solid rgba(255, 140, 100, .22); }

/* final CTA + footer */
.cta { position: relative; max-width: 1360px; margin: 150px auto 0; padding: 0 28px; }
.cta .panel { padding: 90px 40px 84px; text-align: center; display: grid; justify-items: center; }
.cta .seal-big { width: 132px; height: 132px; margin-bottom: 30px; filter: drop-shadow(0 18px 40px rgba(232, 65, 37, .55)); }
.cta h2 { margin: 0; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 700; max-width: 13em; }
.cta p { margin: 20px 0 34px; color: var(--dim); font-size: 19px; max-width: 34em; }
.cta .panel > .glow { width: 900px; height: 420px; left: 50%; bottom: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 106, 61, .5), rgba(232, 65, 37, .14) 60%, transparent); }
footer.foot { max-width: 1360px; margin: 0 auto; padding: 60px 28px 46px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; color: var(--dim); font-size: 15px; }
footer.foot h6 { margin: 0 0 14px; color: #fff; font-size: 15px; font-weight: 600; }
footer.foot a { display: block; padding: 4px 0; color: var(--dim); }
footer.foot a:hover { color: #fff; }
footer.foot .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--stroke); font-size: 13.5px; color: var(--mute); }
.ca { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-radius: 999px; border: 1px solid var(--stroke-2); background: rgba(8, 5, 5, .6); font-size: 14px; }
.ca code { font: 13px ui-monospace, Consolas, monospace; color: var(--dim); }
.ca button { height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 236, 228, .08); font-size: 12.5px; }

/* ---------- app views ---------- */
#app { display: none; }
body.in-app #app { display: block; }
body.in-app #landing { display: none; }
.view { display: none; }
.view.on { display: block; animation: vin .5s var(--ease) both; }
@keyframes vin { from { opacity: 0; transform: translateY(6px); } }
.signin { min-height: 560px; display: grid; place-items: center; text-align: center; padding: 50px 30px; }
.signin h2 { margin: 26px 0 10px; font-size: 44px; letter-spacing: -.04em; line-height: 1.02; }
.signin p { margin: 0 auto 30px; color: var(--dim); max-width: 30em; }
.wallets { display: grid; gap: 10px; width: min(380px, 100%); margin: 0 auto; }
.wallets button { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; border-radius: 18px; background: rgba(255, 236, 228, .045); border: 1px solid var(--stroke-2); font-size: 16.5px; font-weight: 600; text-align: left; }
.wallets button:hover { background: rgba(255, 236, 228, .08); }
.wallets button img { width: 32px; height: 32px; border-radius: 9px; }
.wallets button span { margin-left: auto; color: var(--mute); font-size: 13.5px; font-weight: 500; }
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 13.5px; color: var(--mute); }
.err { font-size: 14px; color: var(--down); min-height: 20px; }
.ok-note { font-size: 14px; color: var(--up); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 500; color: var(--mute); font-size: 13.5px; padding: 12px 14px; border-bottom: 1px solid var(--stroke); }
.table td { padding: 14px; border-bottom: 1px solid var(--stroke); color: var(--dim); }
.table td b { color: #fff; font-weight: 600; }
.health { height: 10px; border-radius: 999px; background: rgba(255, 236, 228, .07); overflow: hidden; }
.health i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--up), #F5C25B 70%, var(--down)); transition: width .6s var(--ease); }
.upload { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px dashed var(--stroke-3); background: rgba(8, 5, 5, .5); cursor: pointer; }
.upload .img { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 236, 228, .05); overflow: hidden; flex: none; }
.upload .img img { width: 100%; height: 100%; object-fit: cover; }
.upload b { display: block; font-size: 15.5px; }
.upload span { font-size: 13px; color: var(--mute); }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(4, 2, 2, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .box { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border-radius: 28px; background: #140E0C; border: 1px solid var(--stroke-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95); transform: translateY(10px) scale(.98); transition: transform .4s var(--ease); }
.modal.open .box { transform: none; }
.modal h3 { margin: 0 0 6px; font-size: 25px; letter-spacing: -.02em; }
.modal .x { position: absolute; }
.steps { display: grid; gap: 10px; margin: 18px 0; }
.steps div { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 15px; }
.steps div i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--stroke-3); flex: none; display: grid; place-items: center; }
.steps div.on { color: #fff; }
.steps div.on i { border-color: var(--glow); border-top-color: transparent; animation: spin 1s linear infinite; }
.steps div.done { color: var(--dim); }
.steps div.done i { border-color: var(--up); background: rgba(94, 219, 152, .15); }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 30px); opacity: 0; padding: 14px 20px; border-radius: 16px; background: #1B1311; border: 1px solid var(--stroke-2); font-size: 15px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); transition: transform .4s var(--ease), opacity .3s; max-width: calc(100vw - 40px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* mobile brand row (rail hidden) */
.mob-brand { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 6px 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .frame { grid-template-columns: 216px 1fr; }
  .c7 { grid-column: span 12; } .c5 { grid-column: span 12; }
  .p-card { min-height: 0; }
  .c4.wrap-6 { grid-column: span 6; }
  .search { width: min(340px, 30vw); }
  .me div { display: none; }
}
@media (max-width: 1080px) {
  .frame { grid-template-columns: 1fr; }
  .rail { display: none; }
  .main { padding: 12px; }
  .mob-brand { display: flex; }
  .c8, .c6, .c4, .c3 { grid-column: span 12; }
  .c4.wrap-6 { grid-column: span 12; }
  .sec-h, .studio, .two, .three { grid-template-columns: 1fr; gap: 16px; }
  .sec-h { gap: 18px; }
  .four, .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .prow { grid-template-columns: 1fr; }
  .prow > div + div { border-left: 0; border-top: 1px dashed var(--stroke); }
  .prow.head { display: none; }
  footer.foot { grid-template-columns: 1fr 1fr; }
  .float-nav a.l { display: none; }
  .float-nav .brand { margin-right: 4px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .frame-wrap { padding: 10px 10px 0; }
  .frame { border-radius: 28px; }
  .top { height: auto; flex-wrap: wrap; padding: 8px 4px 4px; gap: 10px; }
  .top .hello { flex: 1 1 100%; }
  .search { width: 100%; margin-left: 0; flex: 1; }
  .top .round, .me { display: none; }
  .p-hero { padding: 28px 24px 26px; min-height: 0; }
  .p-hero h1 { font-size: 44px; }
  .p-hero p.lead { font-size: 17px; }
  .p-hero .ctas .btn { flex: 1 1 100%; }
  .rbcard { --w: min(330px, 78vw); }
  .p-card .ph { flex-direction: column; align-items: flex-start; }
  .p-card .row { flex-direction: column; align-items: stretch; }
  .p-card .row .btn { width: 100%; }
  .sec { padding: 104px 16px 0; }
  .sec-h h2 { font-size: 38px; }
  .four, .flow { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; border-top: 1px solid var(--stroke); }
  .studio .stage { min-height: 340px; }
  .finishes { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 0 12px; margin-top: 104px; }
  .cta .panel { padding: 60px 22px 56px; }
  footer.foot { grid-template-columns: 1fr; padding: 44px 20px 36px; }
  .big { font-size: 38px; }
  .amount { font-size: 40px; }
  .float-nav { top: 10px; }
  .form .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* styled range */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 10px 0 0; cursor: pointer; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #E84125 0%, #FF9A6B var(--p, 5%), rgba(255, 236, 228, .1) var(--p, 5%)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255, 236, 228, .1); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #E84125, #FF9A6B); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(232, 65, 37, .28), 0 6px 16px rgba(0, 0, 0, .6); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(232, 65, 37, .28), 0 6px 16px rgba(0, 0, 0, .6); }

/* ring art behind the card (hero + studio): a tilted Helius ring with a travelling light */
.ringart { position: absolute; left: 50%; top: 50%; width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-16deg); pointer-events: none; z-index: 0; }
.ringart svg { width: 100%; height: 100%; overflow: visible; }
.ringart .comet { animation: comet 9s linear infinite; }
@keyframes comet { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
.stage > .rbcard, .p-card .stage > .rbcard { z-index: 2; }
.p-card .stage { position: relative; }

/* the Helius Privacy Rings lockup (real Helius logo) */
.hxbadge { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 13px; border-radius: 999px; border: 1px solid rgba(255, 170, 135, .32);
  background: linear-gradient(180deg, rgba(232, 65, 37, .16), rgba(232, 65, 37, .05)); color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; flex: none; }
.hxbadge img { height: 15px; width: auto; }
.hxbadge.sm { height: 34px; font-size: 13px; margin-left: 6px; }
.hxbadge.sm img { height: 13px; }
.top .hxbadge { margin-left: 18px; }
.rail .note .hx { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #fff; font-weight: 600; font-size: 13.5px; }
.rail .note .hx img { height: 14px; }
@media (max-width: 1280px) { .top .hxbadge { display: none; } }
@media (max-width: 1080px) { .float-nav .hxbadge { display: none; } }

/* card extras: expiry, frozen state, my-cards grid */
.rbcard .no .ex { margin-left: 1.1em; font-size: .72em; letter-spacing: .08em; opacity: .8; }
.rbcard.frozen .in { filter: saturate(.25) brightness(.8); }
.rbcard.frozen .in::after { content: 'FROZEN'; position: absolute; inset: auto 7% 40% auto; padding: .4em .8em; border-radius: 999px; font-size: calc(var(--w) * .036); font-weight: 700; letter-spacing: .14em; color: #fff; background: rgba(10, 8, 8, .7); border: 1px solid rgba(255, 255, 255, .25); z-index: 5; }
.mycards { display: grid; gap: 14px; }
.mycard { display: grid; grid-template-columns: 232px 1fr; gap: 22px; align-items: center; padding: 16px; border-radius: 22px; background: rgba(255, 236, 228, .03); border: 1px solid var(--stroke); }
.mycard .meta b { display: block; font-size: 17px; font-weight: 650; }
.mycard .meta .sub2 { font-size: 14px; color: var(--mute); margin-top: 2px; }
.mycard .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.mycard .lim { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: rgba(8, 5, 5, .6); border: 1px solid var(--stroke-2); }
.mycard .lim input { width: 74px; background: none; border: 0; outline: 0; color: #fff; font-size: 14.5px; }
.paywith { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 680px) { .mycard { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- motion layer (js/motion.js) ---------- */
.panel::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(520px circle at var(--px, 50%) var(--py, 50%), rgba(255, 140, 100, .11), transparent 42%); }
.panel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 50%), rgba(255, 190, 160, .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.panel:hover::before, .panel:hover::after { opacity: 1; }
.btn.hot { transition: transform .25s var(--ease), box-shadow .25s var(--ease), translate .18s ease-out; }
.wd { display: inline-block; }
.words-in .wd, body:not(.enter) .wd { animation: wdin .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
.sec-h h2:not(.words-in) .wd, .cta h2:not(.words-in) .wd { opacity: 0; }
@keyframes wdin { from { opacity: 0; transform: translateY(.42em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
body.enter .frame .rail, body.enter .frame .top, body.enter .frame .grid > .panel { opacity: 0; transform: translateY(22px) scale(.985); }
body.entered .frame .rail, body.entered .frame .top, body.entered .frame .grid > .panel { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }
body.entered .frame .top { transition-delay: .08s; }
body.entered .frame .grid > .panel:nth-child(1) { transition-delay: .14s; } body.entered .frame .grid > .panel:nth-child(2) { transition-delay: .22s; }
body.entered .frame .grid > .panel:nth-child(3) { transition-delay: .30s; } body.entered .frame .grid > .panel:nth-child(4) { transition-delay: .36s; }
body.entered .frame .grid > .panel:nth-child(5) { transition-delay: .42s; } body.entered .frame .grid > .panel:nth-child(6) { transition-delay: .48s; }
body.entered .frame .grid > .panel:nth-child(7) { transition-delay: .54s; }
.keypad button.press, .btn.press { transform: scale(.94); background: rgba(255, 140, 100, .22); }
.btn.hot.press { transform: scale(.97); }
/* flip card */
.rbcard.flippable { cursor: pointer; }
.rbcard.flippable .in { backface-visibility: hidden; }
.rbcard .back { position: absolute; inset: 0; border-radius: calc(var(--w) * .055); overflow: hidden; backface-visibility: hidden; transform: rotateY(180deg); transition: transform .9s var(--ease);
  background: linear-gradient(140deg, #1d1311, #0b0706 60%, #1a100e); box-shadow: inset 0 0 0 1px rgba(255, 150, 110, .28), 0 30px 60px -30px rgba(0, 0, 0, .8); color: #fff; }
.rbcard.flippable .in { transition: transform .9s var(--ease) !important; }
.rbcard.flipped .in { transform: rotateY(-180deg) !important; }
.rbcard.flipped .back { transform: rotateY(0deg); }
.rbcard .back .stripe { position: absolute; left: 0; right: 0; top: 13%; height: 19%; background: linear-gradient(90deg, #050303, #1a1210 50%, #050303); }
.rbcard .back .sig { position: absolute; left: 7%; right: 7%; top: 43%; height: 14%; border-radius: 6px; background: repeating-linear-gradient(45deg, rgba(255, 236, 228, .12) 0 6px, rgba(255, 236, 228, .06) 6px 12px); display: flex; align-items: center; justify-content: space-between; padding: 0 4%; font-size: calc(var(--w) * .036); }
.rbcard .back .sig b { font-variant-numeric: tabular-nums; letter-spacing: .2em; background: #fff; color: #111; padding: .2em .5em; border-radius: 4px; font-size: .9em; }
.rbcard .back .bk-foot { position: absolute; left: 7%; bottom: 10%; display: flex; align-items: center; gap: .5em; font-size: calc(var(--w) * .032); color: rgba(255, 240, 233, .75); }
.rbcard .back .bk-foot img { height: 1.05em; }
.rbcard .back .bk-seal { position: absolute; right: 7.5%; top: 61%; width: 11%; opacity: .9; }
.fliphint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 13.5px; color: var(--mute); z-index: 4; pointer-events: none; }
/* launch flow pulse + ticking fee */
.flow::after { content: ''; position: absolute; top: 40px; left: 6%; width: 120px; height: 8px; border-radius: 8px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, #FFF1E8, rgba(255, 154, 107, .8) 45%, transparent); filter: blur(1px); animation: flowpulse 3.6s cubic-bezier(.45, .05, .35, 1) infinite; }
@keyframes flowpulse { from { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateX(calc(88vw - 160px)); opacity: 0; } }
@media (min-width: 1360px) { @keyframes flowpulse { from { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateX(1080px); opacity: 0; } } }
.feeline b.tick { animation: tick .6s var(--ease); }
@keyframes tick { 0% { text-shadow: 0 0 0 rgba(94, 219, 152, 0); } 30% { text-shadow: 0 0 14px rgba(94, 219, 152, .9); } 100% { text-shadow: 0 0 0 rgba(94, 219, 152, 0); } }
@media (max-width: 1080px) { .flow::after { display: none; } }
