/* =========================================================
   VendCard — design system
   "Acid editorial fintech": warm ink + paper, lime + coral,
   grotesk display, mono numerals. Deliberately not the
   default SaaS purple-gradient look.
   ========================================================= */

:root {
  --ink: #100f0c;
  --ink-2: #191813;
  --ink-3: #24231c;
  --paper: #f3eee1;
  --paper-2: #e8e1cd;
  --line: #d8d0ba;
  --line-dark: rgba(243, 238, 225, 0.14);
  --lime: #c8f24a;
  --lime-deep: #a9d62f;
  --coral: #ff5a36;
  --blue: #2b3bff;
  --muted-ink: #6f6a5a;
  --muted-paper: rgba(243, 238, 225, 0.6);

  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* faint grain so flat areas don't read as sterile */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }

/* ---------- section scaffolding ---------- */
.sec { padding: 96px 0; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--tight { padding: 64px 0; }

.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.kicker::before { content: attr(data-n); color: var(--coral); font-weight: 600; }
.sec--paper .kicker { color: var(--muted-ink); }
.sec--ink .kicker { color: var(--muted-paper); }

.h-lead { font-size: clamp(30px, 5vw, 58px); max-width: 15ch; }
.h-lead .u { color: var(--coral); font-style: italic; }
.h-lead .box { background: var(--lime); color: var(--ink); padding: 0 .12em; }
.sub { font-size: 18px; max-width: 46ch; line-height: 1.55; }
.sec--ink .sub { color: rgba(243,238,225,.72); }
.sec--paper .sub { color: var(--muted-ink); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--lime); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--ink); border-radius: 2px;
  padding: 14px 24px; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--coral { --bg: var(--coral); --fg: #fff; }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--paper); border-color: var(--line-dark); box-shadow: none; }
.btn--ghost:hover { border-color: var(--lime); box-shadow: none; }
.sec--paper .btn--ghost { --fg: var(--ink); border-color: var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

/* on-ink buttons need an ink shadow that still shows -> use lime border trick */
.sec--ink .btn, .authwrap .btn, .nav .btn { border-color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.55); }

/* ---------- marquee ticker ---------- */
.ticker {
  background: var(--lime); color: var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase;
}
.ticker__track { display: inline-flex; gap: 34px; padding: 9px 0; animation: slide 26s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 34px; }
.ticker__track span::after { content: "✦"; color: var(--coral); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brandmark { display: inline-flex; align-items: center; gap: 11px; }
.brandmark svg { width: 30px; height: 30px; }
.brandmark__word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 14.5px; color: rgba(243,238,225,.66); position: relative; padding: 4px 0;
  font-family: var(--mono); letter-spacing: .02em;
}
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--lime); transition: width .18s; }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__login { font-family: var(--mono); font-size: 14px; color: var(--paper); }

/* ---------- hero ---------- */
.hero { background: var(--ink); padding: 78px 0 88px; position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: .92; letter-spacing: -0.04em; }
.hero h1 .box { background: var(--lime); color: var(--ink); padding: 0 .08em; box-decoration-break: clone; }
.hero h1 .u { color: var(--coral); font-style: italic; }
.hero__sub { margin: 26px 0 32px; font-size: 18px; max-width: 44ch; color: rgba(243,238,225,.74); }
.hero__cta { display: flex; gap: 12px; max-width: 480px; }
.hero__cta input {
  flex: 1; min-width: 0; background: var(--ink-2); border: 1.5px solid var(--line-dark);
  color: var(--paper); border-radius: 2px; padding: 15px 18px; font-family: var(--mono); font-size: 14px;
}
.hero__cta input:focus { outline: none; border-color: var(--lime); }
.hero__meta { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: rgba(243,238,225,.6); }
.hero__meta b { color: var(--lime); }

/* card mockup */
.hero__art { position: relative; display: grid; place-items: center; }
.vcard {
  position: relative; width: 350px; height: 220px; border-radius: 14px;
  background: linear-gradient(150deg, #1c1b16 0%, #262418 60%, #322f1e 100%);
  border: 1px solid rgba(200,242,74,.25);
  box-shadow: 0 30px 50px -22px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 24px; color: var(--paper); overflow: hidden;
  transform: rotate(-5deg); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:rotate(-5deg) translateY(0)} 50%{transform:rotate(-5deg) translateY(-12px)} }
.vcard::after { content: ""; position: absolute; top: -40%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(200,242,74,.28), transparent 70%); }
.vcard__row { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.vcard__brand { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.vcard__chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg,var(--lime),var(--lime-deep)); }
.vcard__no { font-family: var(--mono); font-size: 19px; letter-spacing: 2px; margin: 34px 0 26px; position: relative; z-index: 1; }
.vcard__foot { display: flex; align-items: flex-end; gap: 20px; position: relative; z-index: 1; }
.vcard__lab { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.vcard__val { font-family: var(--mono); font-size: 13px; }
.vcard__net { margin-left: auto; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 22px; color: var(--lime); }

.sticker {
  position: absolute; z-index: 2;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-family: var(--display); font-weight: 700; line-height: 1;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.5);
  transform: rotate(-14deg);
}
.sticker b { font-size: 30px; display: block; }
.sticker span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.sticker--tr { top: -14px; right: 4px; }
.sticker--bl { bottom: -10px; left: -6px; background: var(--lime); color: var(--ink); }

/* ---------- works / brand marquee (typographic, no logos) ---------- */
.brands__note { font-family: var(--mono); font-size: 12px; color: var(--muted-ink); margin-top: 30px; max-width: 62ch; line-height: 1.6; }
.wordwall { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 8px; }
.chip {
  font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2.4vw, 26px);
  color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 7px 20px; transition: background .15s, color .15s, transform .15s;
  cursor: default;
}
.chip:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.chip[data-slot]::before { content: "▢ "; color: var(--muted-ink); }

/* payment row */
.pay { margin-top: 42px; padding-top: 30px; border-top: 1.5px dashed var(--line); }
.pay__lab { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 16px; }
.pay__row { display: flex; flex-wrap: wrap; gap: 12px; }
.paychip {
  font-family: var(--mono); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--ink); border-radius: 2px; padding: 10px 16px;
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
}
.paychip--visa { color: #1a1f71; font-style: italic; letter-spacing: .05em; }
.paychip--usdt { color: #26a17b; }

/* ---------- feature list (editorial rows) ---------- */
.flist { border-top: 1.5px solid var(--line-dark); }
.frow {
  display: grid; grid-template-columns: 60px 1fr 1.4fr; gap: 24px; align-items: baseline;
  padding: 30px 0; border-bottom: 1.5px solid var(--line-dark);
  transition: padding-left .2s ease;
}
.frow:hover { padding-left: 12px; }
.frow__n { font-family: var(--mono); color: var(--coral); font-size: 14px; }
.frow__t { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); }
.frow__d { color: rgba(243,238,225,.66); font-size: 16px; max-width: 40ch; }

/* ---------- how (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stepc { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; padding: 28px; box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.stepc__n { font-family: var(--mono); font-size: 13px; color: var(--coral); }
.stepc h3 { font-size: 24px; margin: 14px 0 8px; }
.stepc p { color: var(--muted-ink); font-size: 15.5px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); background: var(--ink); }
.statc { padding: 34px 24px; border-right: 1.5px solid var(--line-dark); }
.statc:last-child { border-right: 0; }
.statc__n { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 60px); color: var(--lime); line-height: 1; }
.statc__l { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(243,238,225,.6); margin-top: 8px; }

/* ---------- pricing receipt ---------- */
.receipt {
  max-width: 420px; margin: 0 auto; background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); padding: 32px 30px 36px; position: relative;
  box-shadow: 8px 8px 0 var(--coral);
}
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background-image: radial-gradient(circle at 6px -2px, transparent 6px, var(--paper) 6px); background-size: 16px 10px; }
.receipt::before { top: -10px; transform: rotate(180deg); }
.receipt::after { bottom: -10px; }
.receipt__h { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-ink); border-bottom: 1.5px dashed var(--line); padding-bottom: 14px; }
.receipt__price { font-family: var(--display); font-weight: 700; font-size: 78px; letter-spacing: -0.04em; margin: 18px 0 4px; }
.receipt__price sup { font-size: 34px; vertical-align: super; }
.receipt__price small { font-family: var(--mono); font-size: 15px; font-weight: 400; color: var(--muted-ink); letter-spacing: 0; }
.receipt__list { list-style: none; font-family: var(--mono); font-size: 14px; margin: 22px 0; }
.receipt__list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted var(--line); }
.receipt__list li span:last-child { color: var(--lime-deep); font-weight: 600; }
.receipt__note { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted-ink); margin-top: 14px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1.5px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px,2.4vw,23px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-family: var(--mono); font-size: 26px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: rgba(243,238,225,.66); padding: 0 0 22px; max-width: 62ch; font-size: 16px; }

/* ---------- big cta ---------- */
.bigcta { background: var(--lime); color: var(--ink); padding: 90px 0; text-align: center; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.bigcta h2 { font-size: clamp(38px, 7vw, 88px); line-height: .95; }
.bigcta p { font-family: var(--mono); margin: 18px auto 30px; max-width: 44ch; color: rgba(16,15,12,.7); }

/* ---------- footer ---------- */
.foot { background: var(--ink); padding: 70px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot p { color: rgba(243,238,225,.6); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.foot h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin-bottom: 16px; }
.foot a.fl { display: block; color: rgba(243,238,225,.72); font-size: 14.5px; margin-bottom: 10px; }
.foot a.fl:hover { color: var(--paper); }
.foot__word { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 16vw, 220px); line-height: .8; letter-spacing: -0.05em; color: var(--ink-3); margin-top: 56px; user-select: none; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 12px; color: rgba(243,238,225,.45); }

/* ---------- auth pages ---------- */
.authwrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.authside { background: var(--ink); color: var(--paper); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border-right: 2px solid var(--lime); }
.authside__art { display: grid; place-items: center; flex: 1; }
.authside h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 16ch; margin-top: 20px; }
.authside__tag { font-family: var(--mono); font-size: 13px; color: rgba(243,238,225,.6); margin-top: 16px; max-width: 40ch; }
.authside ul { list-style: none; font-family: var(--mono); font-size: 13.5px; margin-top: 22px; display: grid; gap: 10px; }
.authside li::before { content: "→ "; color: var(--lime); }

.authmain { background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 48px; }
.authcard { width: 100%; max-width: 400px; }
.authcard__k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.authcard h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 6px; }
.authcard__sub { color: var(--muted-ink); font-size: 15px; margin-bottom: 30px; }

.field { display: block; margin-bottom: 18px; }
.field__l { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 8px; }
.field__i {
  width: 100%; background: #fff; border: 1.5px solid var(--ink); border-radius: 2px;
  padding: 14px 15px; font-family: var(--body); font-size: 15px; color: var(--ink);
  box-shadow: 3px 3px 0 rgba(16,15,12,.12); transition: box-shadow .12s, transform .12s;
}
.field__i:focus { outline: none; box-shadow: 3px 3px 0 var(--lime-deep); }
.field__i::placeholder { color: #a7a08c; }
select.field__i { appearance: none; cursor: pointer; }
.field__err { display: block; color: var(--coral); font-family: var(--mono); font-size: 12px; margin-top: 6px; min-height: 0; }

.authrow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-family: var(--mono); font-size: 13px; }
.authrow a { color: var(--ink); border-bottom: 1.5px solid var(--lime); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted-ink); margin-bottom: 22px; cursor: pointer; font-family: var(--mono); }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--coral); }
.authcard__alt { text-align: center; font-family: var(--mono); font-size: 13.5px; color: var(--muted-ink); margin-top: 26px; }
.authcard__alt a { color: var(--ink); border-bottom: 1.5px solid var(--coral); }
.authback { position: absolute; top: 26px; left: 26px; font-family: var(--mono); font-size: 13px; color: rgba(243,238,225,.7); z-index: 2; }
.authback:hover { color: var(--lime); }

/* ---------- dashboard ---------- */
.dash { min-height: 100vh; background: var(--paper); color: var(--ink); }
.dashnav { background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--lime); }
.dashnav__in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.dashnav__r { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.dashgrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; padding: 40px 0; }
.panel { background: #fff; border: 1.5px solid var(--ink); border-radius: 3px; padding: 26px; box-shadow: 6px 6px 0 rgba(16,15,12,.2); }
.panel h3 { font-size: 20px; margin-bottom: 4px; }
.panel__k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); }
.balance { font-family: var(--display); font-weight: 700; font-size: 56px; letter-spacing: -0.03em; margin: 6px 0 18px; }
.dashactions { display: flex; gap: 12px; flex-wrap: wrap; }
.txns { list-style: none; font-family: var(--mono); font-size: 14px; margin-top: 8px; }
.txns li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.txns .neg { color: var(--coral); }
.txns .pos { color: var(--lime-deep); }
.dashcard { transform: none; margin: 0 auto; }

/* ---------- card network variants ---------- */
.vcard--mc { background: linear-gradient(150deg, #201812 0%, #2b2016 60%, #3a2a18 100%); border-color: rgba(255,90,54,.3); }
.vcard--mc::after { background: radial-gradient(circle, rgba(255,90,54,.3), transparent 70%); }
.vcard--mc .vcard__chip { background: linear-gradient(135deg, #ffb27a, #ff5a36); }
.vcard--mc .vcard__net { color: var(--coral); }
.mcmark { margin-left: auto; display: inline-flex; align-items: center; }
.mcmark i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.mcmark i:first-child { background: var(--coral); }
.mcmark i:last-child { background: #f4b53f; margin-left: -9px; mix-blend-mode: screen; }
.vcard__kind { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-top: 4px; }
.vcard--mc .vcard__kind { color: var(--coral); }
.vcard.is-frozen { filter: grayscale(.7) brightness(.8); }
#cardStage .vcard { transform: none; animation: none; width: 100%; max-width: 360px; margin: 0 auto; }
#cardStage { min-height: 200px; }

/* ---------- card switcher (thumbnails) ---------- */
.cardswitch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cardpill {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 3px; background: #fff;
  padding: 9px 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  transition: box-shadow .12s, transform .12s;
}
.cardpill:hover { transform: translateY(-2px); }
.cardpill.is-active { box-shadow: 3px 3px 0 var(--lime-deep); }
.cardpill__dot { width: 22px; height: 15px; border-radius: 3px; background: var(--ink); }
.cardpill__dot--mc { background: linear-gradient(90deg, var(--coral) 55%, #f4b53f 55%); }
.cardpill__empty { font-family: var(--mono); font-size: 13px; color: var(--muted-ink); }

/* ---------- segmented controls ---------- */
.pickgroup { margin-bottom: 16px; }
.pick__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 8px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; flex-wrap: wrap; }
.seg__b {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff; border: 0; border-right: 1.5px solid var(--ink); padding: 10px 16px; cursor: pointer;
  transition: background .12s;
}
.seg__b:last-child { border-right: 0; }
.seg__b:hover { background: var(--paper-2); }
.seg__b.is-on { background: var(--ink); color: var(--paper); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,15,12,.66); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px;
  box-shadow: 10px 10px 0 var(--coral); padding: 30px;
}
.modal__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1.5px solid var(--ink); background: #fff; border-radius: 3px; cursor: pointer; font-family: var(--mono); }
.modal__x:hover { background: var(--ink); color: var(--paper); }
.modal h2 { font-size: 26px; }
.modal__k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }

/* crypto picker */
.coinsearch { width: 100%; margin: 18px 0 14px; background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; padding: 12px 14px; font-family: var(--mono); font-size: 14px; box-shadow: 3px 3px 0 rgba(16,15,12,.12); }
.coinsearch:focus { outline: none; box-shadow: 3px 3px 0 var(--lime-deep); }
.coingrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.coin {
  display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 3px; background: #fff; padding: 14px 8px;
  transition: transform .12s, box-shadow .12s;
}
.coin:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.coin__ic { width: 38px; height: 38px; }
.coin__code { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.coin__name { font-family: var(--mono); font-size: 10px; color: var(--muted-ink); }

/* deposit step */
.deposit { text-align: center; }
.netrow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 18px; }
.netchip { font-family: var(--mono); font-size: 12px; border: 1.5px solid var(--ink); border-radius: 2px; padding: 7px 12px; cursor: pointer; background: #fff; }
.netchip.is-on { background: var(--ink); color: var(--paper); }
.qr-code { width: 168px; height: 168px; margin: 8px auto 16px; padding: 10px; background: #fff; border: 1.5px solid var(--ink); display: grid; }
.qr-code svg, .qr-code img, .qr-code canvas { width: 100%; height: 100%; }
.addr { display: flex; gap: 8px; align-items: stretch; margin: 6px 0 4px; }
.addr code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; padding: 12px; font-family: var(--mono); font-size: 12.5px; text-align: left; }
.addr button { border: 1.5px solid var(--ink); background: var(--lime); border-radius: 2px; padding: 0 14px; cursor: pointer; font-family: var(--mono); font-weight: 600; }
.deposit__meta { font-family: var(--mono); font-size: 12px; color: var(--muted-ink); margin-top: 10px; line-height: 1.7; }
.deposit__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; margin: 14px 0 4px; }
.dot-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: pulse2 1.4s infinite; }
@keyframes pulse2 { 0%,100%{opacity:1} 50%{opacity:.25} }
.amountrow { display: flex; gap: 8px; margin: 4px 0 16px; }
.amountrow input { flex: 1; background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; padding: 12px; font-family: var(--mono); font-size: 14px; box-shadow: 3px 3px 0 rgba(16,15,12,.12); }
.amountrow input:focus { outline: none; box-shadow: 3px 3px 0 var(--lime-deep); }
.backlink { font-family: var(--mono); font-size: 12.5px; color: var(--ink); cursor: pointer; border-bottom: 1.5px solid var(--coral); display: inline-block; margin-bottom: 14px; }

.txns__empty { color: var(--muted-ink); font-size: 13.5px; border: 0 !important; padding: 6px 0 !important; }

/* ---------- dashboard header + polish ---------- */
.dashhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 34px 0 8px; }
.dashhead__title { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; }
.panel--balance { background: linear-gradient(160deg, #ffffff, var(--paper)); }
.deposit__coin { display: flex; align-items: center; justify-content: center; gap: 10px; }

/* card action buttons */
.cardacts { display: flex; gap: 10px; margin-top: 16px; }
.cardact { font-family: var(--mono); font-size: 12.5px; font-weight: 600; border: 1.5px solid var(--ink); background: #fff; border-radius: 2px; padding: 9px 14px; cursor: pointer; transition: background .12s, color .12s; }
.cardact:hover { background: var(--ink); color: var(--paper); }
.cardact--danger:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* issue-a-card panel */
.issue__hint { font-size: 13.5px; color: var(--muted-ink); margin: 10px 0 20px; line-height: 1.55; }
.issue__foot { font-family: var(--mono); font-size: 11.5px; color: var(--muted-ink); margin-top: 12px; line-height: 1.6; }
.pick__hint { text-transform: none; letter-spacing: 0; color: var(--muted-ink); font-weight: 400; }

/* BIN region options */
.binlist { display: grid; gap: 8px; max-height: 268px; overflow-y: auto; padding-right: 3px; }
.binopt { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; border-radius: 3px; padding: 11px 12px;
  transition: border-color .12s, box-shadow .12s, transform .12s; }
.binopt:hover { transform: translateX(2px); border-color: var(--ink); }
.binopt.is-on { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime-deep); }
.binopt__flag { font-size: 22px; line-height: 1; }
.binopt__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.binopt__main b { font-family: var(--display); font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.binopt__main small { font-size: 11.5px; color: var(--muted-ink); }
.binopt__rec { font-family: var(--mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 2px 6px; border-radius: 2px; }
.binopt__rate { font-family: var(--mono); font-size: 11px; font-weight: 600; white-space: nowrap; padding: 5px 9px; border-radius: 999px; }
.rate--good { background: rgba(168,214,47,.22); color: #4f6b06; }
.rate--mid { background: rgba(244,181,63,.24); color: #8a5a00; }
.rate--high { background: rgba(255,90,54,.16); color: #b5320f; }

/* ---------- toasts + top-up banner ---------- */
.toasts { position: fixed; top: 18px; right: 18px; z-index: 2000; display: grid; gap: 10px; max-width: calc(100vw - 36px); }
.toast { font-family: var(--mono); font-size: 13px; line-height: 1.4; background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--lime); border-radius: 4px; padding: 12px 16px; box-shadow: 6px 6px 0 rgba(0,0,0,.4);
  opacity: 0; transform: translateX(16px); transition: opacity .25s, transform .25s; max-width: 340px; }
.toast.in { opacity: 1; transform: none; }
.toast--warn { border-color: var(--coral); }
.toast--ok { border-color: var(--lime); }
.topup-banner { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; background: rgba(255,90,54,.12);
  color: #b5320f; border: 1.5px solid var(--coral); border-radius: 3px; padding: 10px 12px; margin-bottom: 16px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { order: -1; }
  .frow { grid-template-columns: 40px 1fr; }
  .frow__d { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .statc:nth-child(2) { border-right: 0; }
  .statc:nth-child(1), .statc:nth-child(2) { border-bottom: 1.5px solid var(--line-dark); }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .authwrap { grid-template-columns: 1fr; }
  .authside { display: none; }
  .dashgrid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 68px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .vcard { width: 300px; height: 190px; }
  .stats { grid-template-columns: 1fr; }
  .statc { border-right: 0; border-bottom: 1.5px solid var(--line-dark); }
}
