/* ===== Vantra: tokens ===== */
:root {
  --ink: #0B1220;
  --ink-2: #1A2333;
  --blue: #003EA0;
  --blue-2: #0A6CFF;
  --blue-3: #5B9BFF;
  --sky: #EEF4FF;
  --sky-2: #DCE8FF;
  --muted: #5B6170;
  --muted-2: #8A90A0;
  --line: #E6E9F0;
  --soft: #F6F8FC;
  --bg: #FFFFFF;
  --green: #0E9F6E;
  --green-bg: #E7F7F0;
  --amber: #B7791F;
  --amber-bg: #FFF6E5;
  --red: #D93A3F;
  --red-bg: #FDECEC;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 32, .35);
  --max: 1180px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { 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; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 26px; height: 26px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #222c40; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0049BD; }
.btn-bright { background: var(--blue-2); color: #fff; }
.btn-bright:hover { background: #2a7fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--sky); }
.btn-line-white { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-line-white:hover { border-color: #fff; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.3px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center;
  transform: rotate(-12deg); font-weight: 800; font-size: 19px; line-height: 1; box-shadow: 0 6px 14px -6px rgba(0,62,160,.6);
}
.logo-mark span { transform: rotate(12deg) translateY(-1px); }
.logo.white { color: #fff; }
.logo.white .logo-mark { background: #fff; color: var(--blue); }

/* ===== Marketing header ===== */
.mhead { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.mhead.scrolled { border-bottom-color: var(--line); }
.mhead .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }
.seg { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 999px; }
.seg a { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg a:hover { color: var(--ink); }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12); }
.mnav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.mnav a { color: var(--ink); opacity: .8; }
.mnav a:hover, .mnav a.on { opacity: 1; }
.mhead .grow { flex: 1; }
.mhead .actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; place-items: center; }
.burger:hover { background: var(--soft); }
.drawer { display: none; }

@media (max-width: 960px) {
  .mnav, .mhead .seg { display: none; }
  .burger { display: grid; }
  .mhead .actions .btn-ghost-text { display: none; }
  .drawer.open {
    display: block; position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 39; padding: 20px 24px 40px; overflow-y: auto;
    animation: fadeIn .2s ease;
  }
  .drawer a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; }
  .drawer .btns { display: grid; gap: 10px; margin-top: 24px; }
}
@media (max-width: 480px) {
  .mhead .actions .btn-ink { padding: 0 16px; }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section.tight { padding: 72px 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 14px; letter-spacing: .2px; }
.eyebrow.caps { text-transform: uppercase; letter-spacing: 1.6px; font-size: 12.5px; }
.h-display { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.h-display .b, .h2 .b { color: var(--blue); }
.h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero */
.hero { padding: 64px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: calc(100vh - 160px); }
.hero .lead { max-width: 500px; margin-top: 28px; }
.hero .row { margin-top: 36px; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.avatars span:first-child { margin-left: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero { padding-top: 48px; }
}

/* Store badges */
.badge {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 12px; background: #000; color: #fff;
  border: 1px solid #3a3a3a; transition: transform .15s;
}
.badge:hover { transform: translateY(-2px); }
.badge small { display: block; font-size: 10.5px; line-height: 1; opacity: .85; }
.badge b { display: block; font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.2px; }

/* Phone mockup */
.stage { position: relative; display: grid; place-items: center; padding: 30px 0; min-height: 560px; }
.tile {
  position: absolute; width: 74%; aspect-ratio: 1; max-width: 400px; border-radius: 44px; background: var(--blue);
  transform: rotate(-10deg); box-shadow: 0 40px 80px -30px rgba(0,62,160,.6);
}
.tile.alt { transform: rotate(8deg); background: linear-gradient(145deg, #0A4FC4, var(--blue)); }
.tile-chip {
  position: absolute; z-index: 3; background: var(--blue); color: #fff; font-weight: 800; border-radius: 22px; padding: 14px 18px;
  font-size: 22px; line-height: .95; transform: rotate(-24deg); box-shadow: var(--shadow-lg); letter-spacing: -.5px;
}
.phone {
  position: relative; z-index: 2; width: 280px; height: 572px; border-radius: 46px; background: #0E0E10; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2b30;
}
.phone::before { content: ""; position: absolute; left: -3px; top: 120px; width: 3px; height: 60px; background: #1d1d20; border-radius: 3px 0 0 3px; box-shadow: 0 80px 0 #1d1d20; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 36px; background: #F7F8FB; overflow: hidden; font-size: 11px; }
.phone .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; background: #0E0E10; border-radius: 20px; z-index: 5; }
.phone .sbar { display: flex; justify-content: space-between; padding: 12px 22px 0; font-weight: 600; font-size: 11.5px; height: 40px; }
.phone .sbar .sicons { display: inline-flex; align-items: center; gap: 4px; height: 14px; color: var(--ink); margin-right: -4px; }
.phone .sbar .sicons svg { display: block; fill: currentColor; }
.ps { padding: 4px 14px 14px; }
.ps-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ps-ava { width: 26px; height: 26px; border-radius: 50%; background: #F2C185; display: grid; place-items: center; font-size: 11px; }
.ps-card {
  border-radius: 16px; padding: 14px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, #1B5FD6 0%, var(--blue) 45%, #002B73 100%);
}
.ps-card::after {
  content: ""; position: absolute; right: -24px; top: -10px; width: 110px; height: 110px; border-radius: 22px;
  background: rgba(255,255,255,.12); transform: rotate(40deg);
}
.ps-card small { opacity: .8; font-size: 10px; display: block; }
.ps-card .nm { font-weight: 600; font-size: 12px; margin-bottom: 10px; }
.ps-card .amt { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.ps-card .amt em { font-style: normal; font-size: 11px; font-weight: 500; margin-right: 3px; }
.ps-pill { margin-top: 8px; border: 1.2px solid var(--blue); color: var(--blue); text-align: center; border-radius: 8px; padding: 6px; font-weight: 600; font-size: 10.5px; }
.ps-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.ps-btns span { background: var(--blue); color: #fff; text-align: center; border-radius: 8px; padding: 7px; font-weight: 600; font-size: 10.5px; }
.ps-h { display: flex; justify-content: space-between; margin: 14px 0 6px; font-weight: 700; font-size: 12px; }
.ps-h a { color: var(--blue); font-weight: 600; font-size: 10.5px; }
.ps-tx { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 8px; margin-bottom: 5px; }
.ps-tx .d { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--sky); color: var(--blue); flex: none; }
.ps-tx .d .ic { width: 13px; height: 13px; }
.ps-tx b { display: block; font-size: 10.5px; font-weight: 600; }
.ps-tx small { color: var(--muted-2); font-size: 9.5px; }
.ps-tx .v { margin-left: auto; font-weight: 700; font-size: 10.5px; }
.ps-tx .v.pos { color: var(--green); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-gc { border-radius: 10px; aspect-ratio: 1.45; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.3px; }
.ps-label { font-size: 9.5px; color: var(--muted); text-align: center; margin-top: 3px; }
.ps-field { background: #fff; border-radius: 10px; padding: 9px 10px; margin-bottom: 6px; border: 1px solid var(--line); }
.ps-field small { color: var(--muted-2); font-size: 9px; display: block; }
.ps-field b { font-size: 13px; }
.ps-tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 54px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; color: var(--muted-2); }
.ps-tabbar .on { color: var(--blue); }
.ps-tabbar .ic { width: 16px; height: 16px; }
@media (max-width: 520px) {
  .stage { min-height: 500px; }
  .phone { transform: scale(.88); }
}

/* Marquee strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.strip-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; font-size: 15px; }
.strip-track span .blogo { width: 22px; height: 22px; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 70px 0; }
.feature.flip .feature-copy { order: 2; }
.feature-copy .lead { margin-top: 20px; max-width: 470px; }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks li .tick .ic { width: 13px; height: 13px; stroke-width: 3; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
  .feature.flip .feature-copy { order: 0; }
}

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card.soft { background: var(--soft); border-color: transparent; }
.card .icbox { width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card.hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.split-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.split-2.dev { grid-template-columns: 1.3fr 1fr; gap: 40px; }
.split-2 > * { min-width: 0; }
@media (max-width: 900px) { .split-2, .split-2.dev { grid-template-columns: 1fr; gap: 40px; } }

/* Dark security section */
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: #A8B0C2; }
.dark .eyebrow { color: var(--blue-3); }
.dark .card { background: var(--ink-2); border-color: #263046; }
.dark .card .icbox { background: rgba(91,155,255,.14); color: var(--blue-3); }
.dark .card h3 { color: #fff; }

/* Blue CTA */
.bluecta { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.bluecta::before, .bluecta::after { content: ""; position: absolute; border-radius: 60px; background: rgba(255,255,255,.07); transform: rotate(-14deg); }
.bluecta::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.bluecta::after { width: 300px; height: 300px; left: -100px; bottom: -150px; }
.bluecta .wrap { position: relative; z-index: 1; }
.bluecta .lead { color: #C9DAFF; }
.bluecta .badge { border-color: #000; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 14px;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px;
}

/* How it works: visual step cards */
.hiw { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.hiw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.hiw-head .h2 { max-width: 560px; }
.hiw-grid { display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; }
.hiw-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.hiw-card.rv.in:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,30,90,.35); }
.hiw-arrow { align-self: center; justify-self: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; position: relative; z-index: 2; margin: 0 -20px; box-shadow: 0 0 0 6px var(--soft); }
.hiw-body { padding: 26px 28px 30px; }
.hiw-body .h3 { margin: 12px 0 8px; font-size: 24px; }
.hiw-step { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 5px 12px; border-radius: 999px; }
.hiw-art { position: relative; height: 250px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 120% at 100% 0%, #1B5FD6 0%, var(--blue) 50%, #002B73 100%); }
.hiw-art::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 48px; background: rgba(255,255,255,.07); transform: rotate(32deg); right: -60px; top: -80px; }
.hiw-art.a2 { background: radial-gradient(120% 120% at 0% 0%, #1A2C5A 0%, var(--ink) 60%); }
.hiw-art.a3 { background: radial-gradient(120% 120% at 50% 0%, #DCE8FF 0%, var(--sky) 60%); }
.hiw-art.a3::before { background: rgba(0,62,160,.06); }

/* step 1: fanned gift cards + mini virtual card */
.hiw-fan { position: absolute; width: 128px; top: 50%; left: 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hiw-fan .gcard { box-shadow: 0 18px 30px -14px rgba(0,0,0,.6); border-radius: 12px; }
.hiw-fan.f0 { transform: translate(-115%, -62%) rotate(-14deg); }
.hiw-fan.f1 { transform: translate(-50%, -78%) rotate(0deg); z-index: 2; }
.hiw-fan.f2 { transform: translate(15%, -62%) rotate(14deg); }
.hiw-card:hover .hiw-fan.f0 { transform: translate(-125%, -66%) rotate(-18deg); }
.hiw-card:hover .hiw-fan.f2 { transform: translate(25%, -66%) rotate(18deg); }
.hiw-mini-vcard { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); width: 190px; height: 58px; border-radius: 14px; padding: 0 14px; display: flex; align-items: center; gap: 10px; color: #fff; background: linear-gradient(135deg, #0B1220, #1A2C5A); box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); font-size: 13px; }
.hiw-mini-vcard .logo-mark { width: 22px; height: 22px; font-size: 13px; border-radius: 7px; background: #fff; color: var(--blue); box-shadow: none; }
.hiw-mini-vcard .no { flex: 1; letter-spacing: 1.5px; font-weight: 600; }
.hiw-mini-vcard b { font-style: italic; font-weight: 800; }

/* step 2: payment picker */
.hiw-pay { width: min(260px, 82%); background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); position: relative; }
.hiw-total { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 10px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.hiw-total b { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.hiw-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
.hiw-opt + .hiw-opt { margin-top: 8px; }
.hiw-opt.on { border-color: var(--blue-2); background: #F3F8FF; }
.hiw-opt .logos { display: inline-flex; gap: 4px; align-items: center; width: 52px; }
.hiw-opt .logos i { display: inline-flex; font-size: 17px; }
.hiw-opt .logos .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; margin-right: -6px; }
.hiw-opt > span:nth-child(2) { flex: 1; }
.hiw-opt .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-2); color: #fff; display: grid; place-items: center; }
.hiw-opt .tick .ic { width: 13px; height: 13px; stroke-width: 3; }
.hiw-opt .ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }

/* step 3: code ready */
.hiw-ready { width: min(250px, 84%); background: #fff; border-radius: 18px; padding: 14px 14px 12px; text-align: center; box-shadow: 0 24px 40px -22px rgba(0,30,90,.45); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hiw-ready .okc { width: 38px; height: 38px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; }
.hiw-ready .okc .ic { width: 20px; height: 20px; stroke-width: 3; }
.hiw-ready b { font-size: 16px; }
.hiw-ready .code { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: space-between; background: var(--soft); border-radius: 10px; padding: 9px 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: 13px; color: var(--ink); }
.hiw-ready .code .ic { color: var(--blue); }
.hiw-ready .pill { font-size: 11.5px; white-space: nowrap; }

@media (max-width: 960px) {
  .hiw-grid { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .hiw-arrow { margin: -20px auto; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .hiw-card, .hiw-fan { transition: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.stat span { color: var(--muted); font-weight: 500; display: block; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Quotes */
.quote { display: flex; flex-direction: column; gap: 20px; }
.quote p { color: var(--ink); font-size: 18px; line-height: 1.55; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.quote .who small { display: block; color: var(--muted); }
.stars { color: #F5A524; letter-spacing: 2px; font-size: 15px; }

/* Checkout-button showcase (PayPal-inspired) */
.co-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.co-box { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px; max-width: 420px; margin: 0 auto; width: 100%; }
.co-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.co-line.total { border: 0; font-weight: 700; font-size: 18px; }
.paybtn {
  width: 100%; height: 52px; border-radius: 999px; background: var(--blue-2); color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: -.2px; transition: filter .15s, transform .15s;
}
.paybtn:hover { filter: brightness(1.08); }
.paybtn:active { transform: scale(.99); }
.paybtn .logo-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 15px; background: #fff; color: var(--blue-2); box-shadow: none; }
.paybtn.dark { background: var(--ink); }
.paybtn.dark .logo-mark { color: var(--ink); }
.paybtn.alt { background: #fff; color: var(--ink); border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; }
.co-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .co-showcase { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: transform .2s; flex: none; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }

/* Forms */
.field { display: block; }
.field > span { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field.plain > span { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16px;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235B6170' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(10,108,255,.14); }
.input.big { height: 72px; font-size: 32px; font-weight: 700; letter-spacing: -.5px; }
.input-wrap { position: relative; }
.input-wrap .pre { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); }
.input-wrap .input { padding-left: 64px; }
.err { color: var(--red); font-size: 14px; margin-top: 8px; min-height: 0; }
.hint { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.form-grid { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-2 { grid-template-columns: 1fr; } }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.pin { letter-spacing: 18px; text-align: center; font-size: 28px; font-weight: 700; height: 64px; padding-left: 18px; }

/* Choice chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--muted-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 14px; overflow-x: auto; }
.tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; height: 40px; border-radius: 10px; font-weight: 500; font-size: 14px; color: var(--muted); white-space: nowrap; padding: 0 12px; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,18,32,.12); }

/* Pricing / fees table */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td b { font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap .table tr:last-child td { border-bottom: 0; }
.price { position: relative; }
.price.pop { border: 2px solid var(--blue); }
.price .tag { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -.04em; margin: 12px 0 2px; }
.price .amt small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price ul { margin: 22px 0 26px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; color: var(--ink); font-size: 15px; }
.price li .ic { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.6; }

/* Code */
.code {
  background: var(--ink); color: #D6DEEE; border-radius: var(--radius); padding: 24px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13.5px; line-height: 1.7; overflow-x: auto; white-space: pre;
}
.code .k { color: #7FB0FF; } .code .s { color: #8BE3B5; } .code .c { color: #6B7590; } .code .n { color: #FFC48A; }
.code-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.code-tabs button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft); }
.code-tabs button.on { background: var(--ink); color: #fff; }

/* Footer */
.foot { background: var(--soft); padding: 72px 0 36px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.foot ul { display: grid; gap: 10px; }
.foot ul a { color: var(--ink); opacity: .85; font-size: 15px; }
.foot ul a:hover { opacity: 1; color: var(--blue); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.socials a:hover { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Auth pages */
.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--blue); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; }
.auth-side::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 80px; background: rgba(255,255,255,.08); transform: rotate(-14deg); top: -140px; right: -180px; }
.auth-side h2 { font-size: 44px; font-weight: 800; letter-spacing: -.04em; position: relative; }
.auth-side p { color: #C9DAFF; margin-top: 14px; max-width: 380px; position: relative; font-size: 17px; }
.auth-art { position: relative; flex: 1; min-height: 360px; margin-bottom: 40px; }
.auth-art .tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; backdrop-filter: blur(6px); }
.auth-gift { position: absolute; left: 0; top: 4%; width: 54%; max-width: 300px; transform: rotate(-7deg); z-index: 1; animation: floatA 7s ease-in-out infinite; }
.auth-gift .gcard.big { border-radius: 20px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.55); }
.auth-gift .gc-row { display: flex; gap: 8px; margin-top: 10px; }
.auth-gift .gc-row > .gcard { flex: 1; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
.auth-vcard { position: absolute; right: 0; top: 30%; width: 58%; max-width: 330px; transform: rotate(6deg); z-index: 2; animation: floatB 8s ease-in-out infinite; }
.auth-vcard .vcard { padding: 18px; box-shadow: 0 34px 60px -24px rgba(0,0,0,.6); }
.auth-vcard .vcard .no { font-size: clamp(13px, 1.4vw, 17px); }
.auth-vcard .vcard .bot { font-size: 14px; }
@keyframes floatA { 50% { transform: rotate(-7deg) translateY(-10px); } }
@keyframes floatB { 50% { transform: rotate(6deg) translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .auth-gift, .auth-vcard { animation: none; } }
@media (max-height: 760px) { .auth-art { min-height: 300px; } }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 36px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--blue); }
.note-hint { background: var(--amber-bg); color: #7A5310; border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ===== App (dashboard) ===== */
.ahead { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.ahead .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.anav { display: flex; gap: 4px; }
.anav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #B4BCCD; display: inline-flex; align-items: center; gap: 8px; }
.anav a:hover { color: #fff; }
.anav a.on { color: #fff; background: rgba(255,255,255,.1); }
.ahead .grow { flex: 1; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; color: #fff; }
.iconbtn:hover { background: rgba(255,255,255,.1); }
.iconbtn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #FF5A5F; border: 2px solid var(--ink); }
.me { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-2); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.menu { position: absolute; right: 0; top: 52px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); width: 300px; padding: 8px; display: none; border: 1px solid var(--line); }
.menu.open { display: block; animation: pop .15s ease; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 10px; font-size: 15px; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--soft); }
.menu .mhd { padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu .mhd small { color: var(--muted); display: block; }
.note-item { padding: 12px; border-radius: 10px; display: flex; gap: 10px; font-size: 14px; }
.note-item small { display: block; color: var(--muted-2); font-size: 12px; }
.note-item.unread { background: var(--sky); }
.abottom { display: none; }
@media (max-width: 860px) {
  .anav { display: none; }
  .abottom {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
    justify-content: space-around; padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .abottom a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--muted-2); padding: 4px 8px; }
  .abottom a.on { color: var(--blue); }
  .app-main { padding-bottom: 100px !important; }
}

.app-main { background: var(--soft); min-height: calc(100vh - 68px); padding: 36px 0 72px; }
.app-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.app-grid > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .req { flex-wrap: wrap; }
  .panel .req .t { flex: 1 1 calc(100% - 56px); }
  .panel .req .btn { flex: 1; }
  .panel { padding: 20px 16px; }
  .wrap { padding: 0 16px; }
  .qa { gap: 8px; }
  .qa button { padding: 12px 2px; }
  .card-actions button { font-size: 12px; }
  .tx { gap: 10px; padding: 12px 4px; }
  .tx .d { width: 40px; height: 40px; }
}
.panel { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.panel + .panel { margin-top: 24px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.panel-h h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.hello { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.hello small { display: block; font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-bottom: 4px; }

.bal {
  border-radius: 24px; padding: 28px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(130% 140% at 100% 0%, #1B5FD6 0%, var(--blue) 45%, #002867 100%);
}
.bal::after { content: ""; position: absolute; right: -40px; top: -30px; width: 220px; height: 220px; border-radius: 44px; background: rgba(255,255,255,.08); transform: rotate(40deg); }
.bal::before { content: ""; position: absolute; right: 70px; bottom: -90px; width: 160px; height: 160px; border-radius: 34px; background: rgba(255,255,255,.06); transform: rotate(20deg); }
.bal > * { position: relative; z-index: 1; }
.bal .lbl { display: flex; align-items: center; gap: 8px; color: #C9DAFF; font-weight: 500; }
.bal .lbl button { color: #C9DAFF; }
.bal .num { font-size: clamp(38px, 5vw, 52px); font-weight: 800; letter-spacing: -.04em; margin: 6px 0 4px; line-height: 1.05; }
.bal .num em { font-style: normal; font-size: 20px; font-weight: 600; margin-right: 6px; letter-spacing: 0; }
.bal .sub { color: #C9DAFF; font-size: 14px; }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.qa button { background: rgba(255,255,255,.12); border-radius: 16px; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; transition: background .15s; }
.qa button:hover { background: rgba(255,255,255,.22); }
.qa button .q { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; }
@media (max-width: 420px) { .qa button { font-size: 12.5px; } .bal { padding: 22px; } }

.acct { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.acct + .acct { margin-top: 10px; }
.acct .flag { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.acct b { display: block; font-weight: 600; }
.acct small { color: var(--muted); }
.acct .right { margin-left: auto; text-align: right; }
.acct .right b { font-size: 18px; }

.people { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.people::-webkit-scrollbar { display: none; }
.person { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 64px; font-size: 13px; font-weight: 500; }
.person .av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; transition: transform .15s; }
.person:hover .av { transform: scale(1.06); }
.person .av.add { background: var(--soft); color: var(--ink); border: 1.5px dashed var(--muted-2); }

.tx { display: flex; align-items: center; gap: 14px; padding: 14px 8px; border-radius: 14px; width: 100%; text-align: left; transition: background .12s; }
.tx:hover { background: var(--soft); }
.tx + .tx { border-top: 1px solid var(--line); }
.tx:hover + .tx { border-top-color: transparent; }
.tx .d { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); flex: none; }
.tx .d.in { background: var(--green-bg); color: var(--green); }
.tx .d.pend { background: var(--amber-bg); color: var(--amber); }
.tx .t { min-width: 0; flex: 1; }
.tx .t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .t small { color: var(--muted); font-size: 13.5px; }
.tx .v { text-align: right; font-weight: 700; white-space: nowrap; }
.tx .v.pos { color: var(--green); }
.tx .v small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted-2); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.pill.ok { background: var(--green-bg); color: var(--green); }
.pill.wait { background: var(--amber-bg); color: var(--amber); }
.pill.bad { background: var(--red-bg); color: var(--red); }
.pill.blue { background: var(--sky); color: var(--blue); }
.date-h { font-size: 13px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--muted-2); font-weight: 600; margin: 22px 8px 6px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .ic { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--muted-2); }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border-radius: 16px; font-size: 13px; font-weight: 600; text-align: center; transition: background .12s; }
.svc button:hover { background: var(--soft); }
.svc .q { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }

.req { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--amber-bg); }
.req + .req { margin-top: 10px; }
.req .t { flex: 1; min-width: 0; font-size: 14.5px; }
.req .t b { font-weight: 700; }

/* Virtual card */
.vcard {
  aspect-ratio: 1.586; border-radius: 20px; padding: 22px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #0B1220 0%, #1A2C5A 55%, #003EA0 100%); box-shadow: 0 20px 40px -18px rgba(0,30,90,.6);
}
.vcard.blue { background: linear-gradient(135deg, #003EA0 0%, #0A6CFF 100%); }
.vcard.frozen { filter: grayscale(.85) brightness(.9); }
.vcard::after { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 40px; background: rgba(255,255,255,.08); transform: rotate(35deg); }
.vcard .top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.vcard .chip-g { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #E9C46A, #B98A2F); margin-top: 18px; position: relative; z-index: 1; }
.vcard .no { font-size: clamp(16px, 2.4vw, 21px); letter-spacing: 2.5px; font-weight: 600; margin-top: auto; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.vcard .bot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; font-size: 13px; position: relative; z-index: 1; }
.vcard .bot small { display: block; opacity: .7; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.vcard .net { font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: -.5px; }
.vcard .frz { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font-weight: 700; background: rgba(11,18,32,.35); }
.card-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.card-actions button { padding: 12px 4px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.card-actions button:hover { background: var(--sky); color: var(--blue); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; word-break: break-all; display: inline-flex; gap: 8px; align-items: center; }
.copy { color: var(--blue); }

/* Gift card faces (brand logo on brand colours) */
.gcard {
  position: relative; aspect-ratio: 1.586; border-radius: 14px; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  container-type: inline-size; color: var(--a); background: linear-gradient(135deg, var(--c2) 0%, var(--c) 70%);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -14px rgba(11,18,32,.55);
}
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.2), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); }
.gcard::after { content: ""; position: absolute; right: -16%; bottom: -34%; width: 62%; aspect-ratio: 1; border-radius: 28%; background: rgba(255,255,255,.07); transform: rotate(30deg); z-index: -1; }
.gcard .glogo { width: 40%; height: 38%; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.gcard .gword { font-weight: 800; font-size: 15cqw; letter-spacing: -.04em; line-height: 1; display: inline-flex; flex-direction: column; align-items: center; }
.gcard .gword.amazon { font-size: 14cqw; letter-spacing: -.05em; }
.gcard .gword.amazon svg { width: 72%; margin-top: 1cqw; align-self: flex-end; }
.gcard .gword.xbox { letter-spacing: .12em; font-size: 13cqw; }
.gcard .gword.nintendo { font-size: 11cqw; letter-spacing: -.02em; padding: 2.4cqw 6cqw; border: 1.6cqw solid currentColor; border-radius: 99px; }
.gcard .gword.walmart { flex-direction: row; gap: 1.5cqw; font-size: 12.5cqw; }
.gcard .gword.walmart i { color: #FFC220; font-style: normal; font-size: 14cqw; }
.gcard .gfoot { position: absolute; left: 7%; bottom: 8%; font-size: 5cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.gcard .gval { position: absolute; right: 7%; bottom: 6.5%; font-size: 8cqw; font-weight: 800; letter-spacing: -.02em; }
.gcard.sm .gfoot { display: none; }
.gcard.sm { border-radius: 8px; }
.gcard.photo { background: #fff; outline: 1px solid rgba(11,18,32,.08); outline-offset: -1px; }
.gcard.photo::before, .gcard.photo::after { display: none; }
.gcard.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard.photo .gval { color: #fff; background: rgba(11,18,32,.72); padding: 1.2cqw 3.4cqw; border-radius: 99px; font-size: 6.5cqw; backdrop-filter: blur(4px); }
.blogo { display: inline-block; width: 1.2em; height: 1.2em; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; vertical-align: -.2em; }

.code-row { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.code-row:last-child { border-bottom: 0; }
.code-row .meta { min-width: 0; }
.code-row .meta b { display: block; font-weight: 600; }
.code-row .meta small { color: var(--muted); font-size: 13px; }
.code-row .code { display: flex; align-items: center; gap: 8px; margin-top: 6px; background: var(--soft); border-radius: 8px; padding: 6px 10px; }
.code-row .code span { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Shop tiles */
.gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gc { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; text-align: left; transition: transform .15s, box-shadow .15s; }
.gc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gc { padding: 10px; }
.gc .gcard { transition: transform .2s; }
.gc:hover .gcard { transform: translateY(-2px) rotate(-1deg); }
.gc .inf { padding: 12px 4px 4px; }
.gc .inf b { display: block; font-weight: 600; }
.gc .inf small { color: var(--muted); }
.qr { width: 160px; height: 160px; margin: 0 auto; border-radius: 12px; padding: 10px; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(21, 1fr); }
.qr i { display: block; }
.qr i.f { background: var(--ink); }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(11,18,32,.55); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fadeIn .18s ease; backdrop-filter: blur(3px); }
.modal { background: #fff; border-radius: 26px; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; animation: pop .2s ease; position: relative; }
.modal.wide { max-width: 640px; }
.modal-h { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; gap: 12px; }
.modal-h h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.modal-x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); flex: none; }
.modal-x:hover { background: var(--line); }
.modal-b { padding: 20px 24px 26px; }
.sumbox { background: var(--soft); border-radius: 16px; padding: 4px 16px; }
.success { text-align: center; padding: 10px 0 4px; }
.success .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .35s cubic-bezier(.2,1.6,.4,1); }
.success .ok .ic { width: 38px; height: 38px; stroke-width: 3; }
.success h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.success p { color: var(--muted); margin-top: 6px; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--sky-2); border-top-color: var(--blue); animation: spin .8s linear infinite; margin: 10px auto 18px; }
.quote-box { background: var(--sky); border-radius: 16px; padding: 4px 16px; margin-top: 16px; }
.quote-box .kv { border-color: var(--sky-2); }
.co-head { background: var(--blue-2); color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-radius: 26px 26px 0 0; }
@media (max-width: 520px) {
  .modal-back { place-items: end center; padding: 0; }
  .modal { border-radius: 26px 26px 0 0; max-height: 92vh; }
  .co-head { border-radius: 26px 26px 0 0; }
}

/* Toast */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; z-index: 200; opacity: 0; pointer-events: none; transition: all .25s ease; display: flex; gap: 8px; align-items: center; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) { #toast { bottom: 90px; } }

/* Page hero (inner pages) */
.phero { padding: 80px 0 40px; }
.phero .lead { max-width: 640px; margin-top: 22px; }
.search-big { position: relative; max-width: 620px; margin-top: 32px; }
.search-big .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-big input { height: 64px; border-radius: 999px; padding-left: 54px; font-size: 18px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
  html { scroll-behavior: auto; }
}

@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-24deg); } }
.tile-chip { animation: float 5s ease-in-out infinite; }

/* ===== Account area: phone-app style (body.appx) ===== */
body.appx { background: var(--soft); }
.atop { position: sticky; top: 0; z-index: 40; background: rgba(246,248,252,.88); backdrop-filter: saturate(1.4) blur(12px); }
.atop-in { position: relative; max-width: 560px; margin: 0 auto; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.atop-ava { width: 42px; height: 42px; border-radius: 50%; background: #F2C185; color: #5a3a12; font-weight: 700; font-size: 14px; display: grid; place-items: center; justify-self: start; box-shadow: 0 0 0 3px #fff, 0 4px 10px -4px rgba(11,18,32,.3); }
.atop-mark .logo-mark { width: 38px; height: 38px; font-size: 22px; border-radius: 11px; }
.atop-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.atop .iconbtn { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(11,18,32,.08); }
.atop .iconbtn:hover { background: var(--sky); }
.atop .iconbtn .dot { border-color: #fff; }
.atop .pill { font-size: 11px; }
.atop #meMenu { left: 20px; right: auto; top: 64px; }
.atop #bellMenu { right: 20px; top: 64px; }
@media (max-width: 400px) { .atop .pill { display: none; } }

.appx .app-main { background: transparent; min-height: calc(100vh - 70px); padding: 6px 0 130px !important; }
.appx .app-main > .wrap { max-width: 560px; padding: 0 20px; }
.appx .app-grid, .appx .grid-2 { grid-template-columns: 1fr !important; gap: 16px; }
.appx .panel { border: 0; border-radius: 22px; box-shadow: 0 1px 2px rgba(11,18,32,.05), 0 12px 30px -24px rgba(11,18,32,.3); }
.appx .panel + .panel { margin-top: 16px; }
.appx .hello { font-size: 28px; margin: 8px 2px 18px; }
.appx #toast { bottom: 110px; }

/* Home */
.hcard { border-radius: 24px; padding: 22px 22px 26px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(130% 140% at 100% 0%, #2B6BE0 0%, var(--blue) 45%, #002867 100%); box-shadow: 0 24px 40px -26px rgba(0,40,103,.8); }
.hcard::after { content: ""; position: absolute; right: -34px; top: -24px; width: 180px; height: 180px; border-radius: 38px; background: rgba(255,255,255,.1); transform: rotate(40deg); }
.hcard > * { position: relative; z-index: 1; }
.hcard small { display: block; color: #C9DAFF; font-size: 14.5px; }
.hcard .nm { display: block; font-size: 19px; font-weight: 700; margin: 2px 0 20px; }
.hcard .lbl { display: flex; align-items: center; gap: 8px; color: #C9DAFF; font-size: 14.5px; }
.hcard .lbl button { color: #C9DAFF; display: inline-flex; }
.hcard .amt { font-size: clamp(36px, 9vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 4px; }
.hcard .amt em { font-style: normal; font-size: 17px; font-weight: 600; margin-right: 6px; letter-spacing: 0; }
.hpill { display: block; text-align: center; margin-top: 12px; border: 1.5px solid var(--blue); color: var(--blue); background: #fff; border-radius: 14px; padding: 11px; font-weight: 600; font-size: 15px; transition: background .15s; }
.hpill:hover { background: var(--sky); }
.hbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.hbtns button { height: 54px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; transition: background .15s, transform .15s; }
.hbtns button:hover { background: #0049BD; }
.hbtns button:active { transform: scale(.98); }
.hmini { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.hmini::-webkit-scrollbar { display: none; }
.hmini > * { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 12px; background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ink); white-space: nowrap; padding: 0 12px; box-shadow: 0 1px 2px rgba(11,18,32,.06); transition: background .15s, color .15s; }
.hmini > *:hover { background: var(--sky); color: var(--blue); }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 2px 12px; }
.sec-h h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.sec-h a { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.rlist .tx { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 8px; border-top: 0 !important; box-shadow: 0 1px 2px rgba(11,18,32,.05); }
.rlist .tx:hover { background: #fff; box-shadow: 0 10px 22px -16px rgba(11,18,32,.4); }
.rlist .tx .d { border-radius: 12px; }
.rlist .tx .t small, .appx .tx .t small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appx .gc-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.appx .gc { padding: 8px; border-radius: 16px; }
.empty-card { width: 100%; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 18px; color: var(--muted); text-align: left; box-shadow: 0 1px 2px rgba(11,18,32,.05); font-size: 15px; }
.empty-card .ic { width: 28px; height: 28px; color: var(--blue); flex: none; }
.empty-card.add { border: 1.5px dashed var(--sky-2); }
.empty-card.add:hover { border-color: var(--blue-3); }
.empty-card b { color: var(--ink); }
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 12px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hs-card { flex: 0 0 240px; scroll-snap-align: start; }
.hs-card .vcard { padding: 16px; border-radius: 16px; }
.hs-card .vcard .no { font-size: 15px; letter-spacing: 1.5px; }
.hs-card .vcard .bot { font-size: 11px; }
.hs-card .vcard .bot small { font-size: 8px; }
.hs-card .vcard .chip-g { width: 30px; height: 22px; margin-top: 10px; }
.hs-card .cap { display: flex; justify-content: space-between; margin-top: 8px; padding: 0 4px; font-size: 14px; }
.hs-card .cap span { font-weight: 700; }
.hs-add { flex: 0 0 120px; height: 151px; border-radius: 16px; border: 1.5px dashed var(--muted-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-weight: 600; }
.hs-add:hover { border-color: var(--blue); color: var(--blue); }
.hs-gift { flex: 0 0 150px; scroll-snap-align: start; text-align: left; font-weight: 600; font-size: 14px; }
.hs-gift span { display: block; margin-top: 8px; padding-left: 2px; }
.hs-gift:hover .gcard { transform: translateY(-2px); }
.hs-gift .gcard { transition: transform .2s; }

/* Bottom tab bar */
.abar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 0 12px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; }
.abar-in { pointer-events: auto; max-width: 536px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(11,18,32,.35); display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 6px; }
.abar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 14px; color: var(--muted-2); font-size: 11.5px; font-weight: 600; transition: color .15s, background .15s; }
.abar a .ic { width: 22px; height: 22px; }
.abar a.on { color: var(--blue); background: var(--sky); }
.abar a:hover { color: var(--ink); }
.abar a.on:hover { color: var(--blue); }
@media (max-width: 520px) {
  .abar { padding: 0; }
  .abar-in { border-radius: 0; box-shadow: 0 -1px 0 var(--line); max-width: none; padding-bottom: calc(7px + env(safe-area-inset-bottom)); }
  .appx .app-main { padding-bottom: 110px !important; }
}
