/* ZeroLeft help site. Identity from the app icon: sky blue field, leather tan, strap cream.
   Signature: the balance check is a luggage tag; a clean result gets a green 0 stamp. */
:root {
  --sky: #1D5BE0; --sky-2: #2F7BF2; --sky-ink: #0B2A73;
  --leather: #A9592A; --strap: #F4E7CF; --strap-2: #E7D3AE;
  --ink: #0F1A2E; --ink-2: #4A5672; --paper: #F5F7FB; --card: #FFFFFF; --line: #DCE2EE;
  --ok: #0F7A45; --warn: #9A4B0B; --link: #1748B8;
  --sys: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --r: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #E9EEF8; --ink-2: #A6B1C8; --paper: #0B1222; --card: #121B2F; --line: #24304A; --link: #8DB2FF; --ok: #3FCB84; --warn: #F0A35C; --sky: #1747B8; --sky-2: #2160D8; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sys); }
a { color: var(--link); text-underline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 9; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #FFB547; outline-offset: 2px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--sky); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 8px; }
.lang select { font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 6px 10px; max-width: 46vw; }
.lang select option { color: #000; }
.hint { display: flex; justify-content: center; gap: 12px; align-items: center; background: var(--sky-ink); color: #fff; padding: 8px 16px; font-size: 15px; }
.hint a { color: #fff; font-weight: 600; }
.hint button { background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); color: #fff; padding: 28px 0 96px; }
.eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; opacity: .85; }
h1 { margin: 0; font-size: clamp(30px, 7.4vw, 46px); line-height: 1.12; font-weight: 800; text-wrap: balance; }
html[data-script="latin"] h1 { letter-spacing: -.02em; }
.lead { margin: 14px 0 0; font-size: 18px; opacity: .95; max-width: 34em; }

/* the tag */
.tag { --ok: #0F7A45; --warn: #9A4B0B; --link: #1748B8; position: relative; margin: -72px 0 40px; background: var(--strap); color: #2A1E10; border-radius: 18px 18px 18px 18px; padding: 34px 20px 22px; box-shadow: 0 1px 0 var(--strap-2), 0 18px 40px -18px rgba(11, 42, 115, .45); border: 1px solid var(--strap-2); }
.tag::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(169, 89, 42, .35); border-radius: 12px; pointer-events: none; }
.tag-hole { position: absolute; top: 12px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--leather); }
.tag-title { margin: 6px 0 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--leather); text-align: center; }
.f { display: block; margin: 0 0 14px; }
.f > span:first-child { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.f small { display: block; margin-top: 6px; font-size: 13px; color: #6B5636; }
.f select, .amount { width: 100%; font: inherit; color: #1B140B; background: #FFFDF8; border: 1.5px solid #D9C39B; border-radius: 12px; padding: 12px 14px; }
.amount { display: flex; align-items: center; gap: 8px; padding: 6px 14px; }
.amount.after { flex-direction: row-reverse; }
.amount .cur { font: 600 22px var(--mono); color: #6B5636; }
.amount input { flex: 1; min-width: 0; border: 0; background: none; font: 700 30px/1.3 var(--mono); color: #1B140B; padding: 4px 0; outline: none; font-variant-numeric: tabular-nums; }
.amount:focus-within { border-color: var(--leather); box-shadow: 0 0 0 3px rgba(169, 89, 42, .2); }
.err { color: #A0260F; font-weight: 600; margin: 0 0 12px; }
.btn { display: block; width: 100%; text-align: center; font: 700 18px var(--sys); color: #fff; background: var(--sky); border: 0; border-radius: 14px; padding: 15px 18px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sky-ink); }
.btn-store { background: #0F1A2E; margin-top: 14px; }
.btn-store::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-inline-end: 8px; vertical-align: -2px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1v9m0 0L4.5 6.5M8 10l3.5-3.5M2 14h12' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* result: receipt + stamp */
.out { margin-top: 18px; border-top: 2px dashed rgba(169, 89, 42, .45); padding-top: 18px; }
.out h3 { margin: 16px 0 4px; font-size: 21px; }
.out p { margin: 6px 0; }
.out .alt { background: #FFF6E6; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.out .note { font-size: 13px; color: #6B5636; }
.rc { position: relative; background: #fff; color: #17202F; border-radius: 6px; padding: 14px 16px; font: 15px/1.5 var(--sys); font-variant-numeric: tabular-nums; box-shadow: 0 1px 2px rgba(0,0,0,.08); overflow: hidden;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; padding-bottom: 70px; }
.rc .r { display: flex; justify-content: space-between; gap: 12px; }
.rc .r span { color: #4A5672; }
.rc .r b { font-family: var(--mono); white-space: nowrap; unicode-bidi: isolate; }
.rc .total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #B9C2D3; font-size: 19px; }
.rc .total span { color: #17202F; font-weight: 700; }
.rc .n span { font-size: 13px; }
.stamp { position: absolute; left: 50%; bottom: 20px; white-space: nowrap; direction: ltr; font: 800 26px var(--mono); padding: 2px 10px; border: 3px solid; border-radius: 8px; transform: translateX(-50%) rotate(-9deg); opacity: 0; }
.out.ok .stamp { color: var(--ok); opacity: .85; animation: thud .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.out.ok h3 { color: var(--ok); }
.out.warn h3 { color: var(--warn); }
@keyframes thud { from { transform: translateX(-50%) rotate(-9deg) scale(1.9); opacity: 0; } to { transform: translateX(-50%) rotate(-9deg) scale(1); opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .out.ok .stamp { animation: none; } }

/* content */
main section { margin: 0 0 34px; }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 10px; }
.ways { display: grid; gap: 12px; }
@media (min-width: 640px) { .ways { grid-template-columns: repeat(2, 1fr); } }
.way { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.way svg { width: 28px; height: 28px; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way h3 { margin: 8px 0 4px; font-size: 17px; }
.way p { margin: 0; font-size: 15px; color: var(--ink-2); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .steps li { padding: 10px 44px 10px 0; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--strap); color: var(--leather); font: 700 15px/30px var(--mono); text-align: center; }
.dots { padding-inline-start: 20px; margin: 0; }
.dots li { margin: 6px 0; }
.src { font-size: 14px; }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 0 0 34px; }
.cta .btn { margin: 0; }
.cta p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 12px 0; font-weight: 600; list-style-position: outside; }
.qa p { margin: 0 0 14px; color: var(--ink-2); }
.tbl { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: start; padding: 8px 12px; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; background: var(--card); font-size: 13px; color: var(--ink-2); }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: end; white-space: nowrap; }
tr.me td { background: rgba(29, 91, 224, .08); font-weight: 700; }
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--ink-2); }
.langs { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; }
.langs a { color: var(--ink-2); }
