/* ==========================================================================
   Clear Money — base system.
   Every section builds on this file. Sections may ADD rules in their own
   css/<section>.css, scoped under their section id. Nobody edits this file
   except the lead; ask for a change in your report instead.
   ========================================================================== */

@font-face { font-family: "Bricolage"; src: url("../static/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../static/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../static/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../static/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../static/fonts/plex-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------------------------------------------------- */
:root {
  /* ground */
  --paper:   #DFE3DE;   /* page */
  --paper-2: #E9ECE7;   /* raised paper: stickers, panels */
  --paper-3: #F2F4F1;   /* highest paper, used sparingly */
  --ink:     #16211D;   /* text, rules, dark bands */
  --ink-2:   #1E2C27;   /* raised surface on ink */
  --ink-3:   #2A3934;

  /* ink at strength (on paper) */
  --ink-70: #525B57;
  --ink-50: #5A635F;    /* smallest text allowed on paper */
  --ink-28: #A7ADA8;    /* rules, never text */
  --ink-13: #C5CAC5;    /* hairlines, never text */

  /* on-ink text */
  --on-ink:    #DFE3DE;
  --on-ink-70: #ABB1AC;
  --on-ink-50: #939995;
  --on-ink-line: rgba(223,227,222,.16);

  /* accents (one family per section, not all at once) */
  --cobalt:   #24409E;  --cobalt-light: #7C8CC5;  --cobalt-tint: #C9D1EE;
  --green:    #0E6B4E;  --green-light:  #6FCB9F;
  --amber:    #8A5512;  --amber-light:  #E3B667;

  /* type */
  --f-display: "Bricolage", system-ui, sans-serif;
  --f-text:    "Instrument", system-ui, sans-serif;
  --f-mono:    "Plex Mono", ui-monospace, monospace;

  /* type scale — fluid between 390px and 1440px */
  --t-hero:  clamp(52px, 10.4vw, 156px);
  --t-d1:    clamp(44px, 7vw, 108px);
  --t-d2:    clamp(34px, 4.6vw, 68px);
  --t-d3:    clamp(24px, 2.4vw, 34px);
  --t-lead:  clamp(18px, 1.55vw, 22px);
  --t-body:  17px;
  --t-small: 14.5px;
  --t-label: 11.5px;

  /* space */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --section: clamp(104px, 12vw, 184px);   /* vertical rhythm between sections */

  /* shape */
  --r-pill: 999px;
  --r-object: 22px;     /* physical / app objects: widgets, panels that are "things" */
  --r-ui: 14px;         /* app UI tiles inside a phone */

  /* depth — two systems, never mixed on one element
     sticker: a hard ink offset, for annotations laid on the page
     object:  a soft lifted shadow, for physical things (phone, card) */
  --sh-sticker: 5px 5px 0 var(--ink);
  --sh-sticker-lg: 8px 8px 0 var(--ink);
  --sh-object: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 4px rgba(22,33,29,.10), 0 24px 48px -12px rgba(22,33,29,.38), 0 60px 90px -40px rgba(22,33,29,.45);
  --sh-object-on-ink: 0 2px 4px rgba(0,0,0,.25), 0 30px 60px -20px rgba(0,0,0,.6);

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .9s;
}

/* ---------- Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink ::selection { background: var(--on-ink); color: var(--ink); }

/* ---------- Type ------------------------------------------------------ */
.display { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.045em; line-height: .9; text-wrap: balance; }
.t-hero { font-size: var(--t-hero); line-height: .88; letter-spacing: -0.05em; }
.t-d1 { font-size: var(--t-d1); }
.t-d2 { font-size: var(--t-d2); line-height: .94; letter-spacing: -0.04em; }
.t-d3 { font-size: var(--t-d3); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-70); max-width: 34ch; text-wrap: balance; }
.band-ink .lead { color: var(--on-ink-70); }
.label { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.fig { font-family: var(--f-text); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.accent-green { color: var(--green); }  .band-ink .accent-green { color: var(--green-light); }
.accent-cobalt { color: var(--cobalt); } .band-ink .accent-cobalt { color: var(--cobalt-light); }

/* Section opener: an eyebrow, then the headline. Support copy is one line, two at most. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.band-ink .eyebrow { color: var(--on-ink-50); }

/* ---------- Controls -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--cobalt); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--green-light); }
.btn-ghost { border-color: var(--ink-28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }

/* The live dot: a pulse that says "this is open". */
.live { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 6px 1px rgba(111,203,159,.55); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: live-ping 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes live-ping { 0% { transform: scale(1); opacity: .6; } 75%, 100% { transform: scale(3.2); opacity: 0; } }
.btn-paper .live, .chip .live { background: var(--green); box-shadow: none; }

/* Chips: pills for status. */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid rgba(14,107,78,.32); background: rgba(14,107,78,.07);
  color: var(--green); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
}

/* Waitlist form: pill input + button, one unit. */
.waitlist { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--paper-2); border: 1.5px solid var(--ink); max-width: 480px; width: 100%; }
.waitlist input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px 0 18px; border: 0; background: transparent; font-size: 16px; outline: none; }
.waitlist input::placeholder { color: var(--ink-50); }
.waitlist .btn { min-height: 44px; padding: 0 20px; }
.waitlist:focus-within { box-shadow: 0 0 0 4px rgba(36,64,158,.18); }
.band-ink .waitlist { background: var(--ink-2); border-color: var(--on-ink-70); }
.band-ink .waitlist input::placeholder { color: var(--on-ink-50); }
@media (max-width: 420px) {
  .waitlist { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; }
  .waitlist input { height: 48px; }
  .waitlist .btn { width: 100%; min-height: 48px; }
}

/* ---------- Stickers (annotations laid on paper: sharp, hard ink offset) */
.sticker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--paper-2); color: var(--ink);
  border: 1.5px solid var(--ink); box-shadow: var(--sh-sticker);
  font-size: 14.5px; line-height: 1.25; white-space: nowrap;
}
.sticker b { font-weight: 600; }
.sticker .sticker-big { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.sticker--green { background: var(--green-light); }
.sticker--amber { background: var(--amber-light); }
.sticker--ink { background: var(--ink); color: var(--on-ink); box-shadow: 5px 5px 0 var(--cobalt); }
.sticker .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--paper); }
.sticker .ico svg { width: 16px; height: 16px; }
.band-ink .sticker { box-shadow: 5px 5px 0 rgba(223,227,222,.85); }

/* ---------- Phone (a physical object: soft corners, soft shadow) ------
   Markup:
   <div class="phone" style="--pw: clamp(260px, 24vw, 340px)">
     <div class="phone-screen app"> …app UI authored at 390 x 844… </div>
   </div>
   The device is 412 x 866 design units (11px bezel). js/base.js measures the
   phone and sets --k = width / 412, so the screen is ALWAYS authored at real
   phone size (390 x 844 px) and scaled as one picture. Never hand-scale text. */
.phone {
  --k: .78;
  position: relative; width: var(--pw, 320px); aspect-ratio: 412 / 866; flex: none;
  border-radius: calc(60px * var(--k)); padding: calc(11px * var(--k));
  background: linear-gradient(155deg, #33413B 0%, #141D1A 38%, #0B110F 100%);
  box-shadow: var(--sh-object), inset 0 0 0 calc(1.5px * var(--k)) rgba(255,255,255,.10);
}
.phone::before { /* inner screen edge */
  content: ""; position: absolute; inset: calc(11px * var(--k)); border-radius: calc(49px * var(--k));
  box-shadow: 0 0 0 1px rgba(0,0,0,.6); pointer-events: none; z-index: 4;
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; left: 50%; top: calc(24px * var(--k)); width: calc(112px * var(--k)); height: calc(32px * var(--k));
  transform: translateX(-50%); border-radius: 999px; background: #040706; z-index: 5;
}
.phone-screen {
  position: absolute; left: calc(11px * var(--k)); top: calc(11px * var(--k));
  width: 390px; height: 844px; overflow: hidden; border-radius: 49px;
  transform: scale(var(--k)); transform-origin: 0 0;
}
.band-ink .phone { box-shadow: var(--sh-object-on-ink), inset 0 0 0 1px rgba(255,255,255,.12); }

/* ---------- App UI (inside a phone: the real app's dark ground) -------- */
.app { background: var(--ink); color: var(--on-ink); font-family: var(--f-text); font-size: 15px; line-height: 1.4; }
.app .a-status { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; font-size: 15px; font-weight: 600; }
.app .a-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.app .a-brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -0.035em; }
.app .a-ava { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--on-ink-line); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--on-ink-70); }
.app .a-body { padding: 8px 18px 120px; display: grid; gap: 12px; }
.app .a-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-50); }
.app .a-big { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; font-size: 44px; line-height: 1.05; }
.app .a-tile { background: var(--ink-2); border: 1px solid var(--on-ink-line); border-radius: var(--r-ui); padding: 16px; }
.app .a-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app .a-muted { color: var(--on-ink-70); }
.app .a-green { color: var(--green-light); }
.app .a-amber { color: var(--amber-light); }
.app .a-pillbtn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--on-ink); color: var(--ink); font-weight: 500; font-size: 14.5px; }
.app .a-pillbtn--ghost { background: transparent; color: var(--on-ink); border: 1px solid var(--on-ink-line); }
/* Nav: two floating elements. A 4-item pill and a separate action button, both 50px tall, 17px radius. */
.app .a-nav { position: absolute; left: 18px; right: 18px; bottom: 24px; height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 2; }
.app .a-navpill { position: relative; display: flex; gap: 2px; height: 50px; padding: 4px; border-radius: 17px; background: rgba(32,46,41,.94); border: 1px solid rgba(223,227,222,.14); box-shadow: 0 14px 30px -12px rgba(0,0,0,.65); }
.app .a-navpill span { height: 40px; min-width: 60px; padding: 0 13px; display: grid; place-items: center; border-radius: 12px; font-size: 14px; line-height: 1; color: var(--on-ink-70); }
.app .a-navpill span.on { background: var(--on-ink); color: var(--ink); font-weight: 600; }
.app .a-navpill.tier-a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 1.5px; border-radius: 1px; background: var(--amber-light); }
.app .a-navpill.tier-g::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 1.5px; border-radius: 1px; background: var(--green-light); }
.app .a-fab { flex: none; width: 50px; height: 50px; border-radius: 17px; background: var(--on-ink); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.65); }
.app .a-fab svg { width: 18px; height: 18px; }
.app .a-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 3px; height: 8px; }
.app .a-seg i { border-radius: 2px; background: var(--ink-3); }
.app .a-seg i.on { background: var(--green-light); }

/* ---------- App screens: shared parts ---------------------------------
   Used by the hero Home screen and the four story screens (all carry .hx).
   Authored at 390 x 844. Every component is HEADER / MAIN / FOOTER with
   full-width rules between them: padding lives on the sections, so a rule
   runs edge to edge. Standing account cells share seams (.ax-slab). */
.hx { --ax-r: 12px; --ax-line: rgba(223,227,222,.13); --ax-px: 16px; --ax-panel: #1C2924; }
.hx .a-status { padding: 0 32px 0 36px; }
.hx-sys { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.hx .a-bar { height: 52px; padding: 0 18px 0 20px; }
.hx .a-ava { width: 34px; height: 34px; background: var(--ink-3); border-color: transparent; color: var(--on-ink); font-size: 12px; letter-spacing: .02em; }
.hx .a-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 18px 0; }
.hx .a-label { font-size: 10.5px; letter-spacing: .11em; line-height: 1; }
.hx .a-pillbtn { gap: 7px; height: 38px; padding: 0 15px; font-size: 14px; white-space: nowrap; }
.hx .a-pillbtn svg { width: 14px; height: 14px; flex: none; }
.ax-bar-r { display: flex; align-items: center; gap: 10px; }

/* numbers: Bricolage for the big ones, cents set back */
.ax-num { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--on-ink); white-space: nowrap; }
.ax-num small { font-size: .55em; font-weight: 600; letter-spacing: -0.01em; color: var(--on-ink-70); margin-left: .03em; }

/* component anatomy */
.ax-card { display: flex; flex-direction: column; background: var(--ax-panel); border: 1px solid var(--ax-line); border-radius: var(--ax-r); overflow: hidden; }
.ax-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 var(--ax-px); border-bottom: 1px solid var(--ax-line); }
.ax-m { flex: 1; padding: 16px var(--ax-px); }
.ax-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 var(--ax-px); border-top: 1px solid var(--ax-line); font-size: 13px; color: var(--on-ink-70); white-space: nowrap; }
.ax-f b { color: var(--on-ink); font-weight: 500; }
/* his split footer: one line per half, symmetric either side of a centred hairline */
.ax-f--split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
.ax-f--split > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 100%; padding: 0 14px; min-width: 0; }
.ax-f--split > span + span { border-left: 1px solid var(--ax-line); }
.ax-go { display: inline-flex; align-items: center; gap: 4px; color: var(--on-ink-70); font-size: 13px; white-space: nowrap; }
.ax-go svg, .ax-chev { width: 12px; height: 12px; flex: none; color: var(--on-ink-50); }
.ax-link { font-size: 13px; color: var(--on-ink-70); }
.ax-mask { letter-spacing: .14em; }

/* status: a square. live: a dot. */
.ax-st { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--on-ink); white-space: nowrap; }
.ax-sq { flex: none; width: 8px; height: 8px; border-radius: 1.5px; background: var(--on-ink-50); }
.ax-sq.g { background: var(--green-light); } .ax-sq.a { background: var(--amber-light); } .ax-sq.c { background: var(--cobalt-light); }
.ax-sq.o { background: transparent; box-shadow: inset 0 0 0 1.25px var(--on-ink-50); }
.hx .live { width: 6px; height: 6px; }
.ax-on { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-ink-70); white-space: nowrap; }

/* small interactive pill (direct deposit, card on) */
.ax-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; border: 1px solid var(--ax-line); background: rgba(223,227,222,.04); font-size: 12.5px; font-weight: 500; color: var(--on-ink); white-space: nowrap; }
.ax-pill svg { width: 14px; height: 14px; color: var(--green-light); }
.ax-tog { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--green-light); }
.ax-tog::after { content: ""; position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); }

/* the cycle: two rows. label never changes; the border carries the state. */
.ax-cyc .ax-m { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 12px; align-items: baseline; padding: 16px var(--ax-px) 14px; }
.ax-cyc-amt { font-size: 40px; }
.ax-cyc-n { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: .8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; text-align: right; }
.ax-cyc .ax-m > .a-label:nth-child(2) { text-align: right; }
.ax-cyc.is-clear { border-color: rgba(111,203,159,.62); }
.ax-cyc.is-clear .ax-f { border-top-color: rgba(111,203,159,.22); }
.ax-cyc.is-clear .ax-cyc-n { color: var(--on-ink); }

/* connected bento: shared seams, no gutters */
.ax-slab { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ax-line); border: 1px solid var(--ax-line); border-radius: var(--ax-r); overflow: hidden; }
.ax-slab > * { background: var(--ax-panel); min-width: 0; display: flex; flex-direction: column; }
.ax-slab > .w2 { grid-column: 1 / -1; }
.ax-kv { padding: 14px var(--ax-px) 14px; display: grid; gap: 10px; }
.ax-kv .ax-num { font-size: 26px; letter-spacing: -0.03em; }
.ax-kv .ax-on { font-size: 12.5px; }

/* the brand's 15-segment home bar (points toward 15,000) */
.hx .a-seg { height: 8px; gap: 3px; }
.hx .a-seg i { background: #34443E; }
.hx .a-seg i.half { background: linear-gradient(90deg, var(--green-light) 0 81%, #34443E 81%); }
.ax-cr { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--on-ink-70); }
.ax-cr b { color: var(--on-ink); font-weight: 600; }

/* section header */
.ax-sec { display: flex; justify-content: space-between; align-items: center; height: 20px; padding: 0 2px; margin-top: 4px; }
.ax-sec .ax-link { font-size: 13px; }

/* list rows */
.ax-list { display: grid; padding: 0 2px; margin-top: -4px; }
.ax-li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; height: 60px; border-bottom: 1px solid var(--ax-line); }
.ax-li:last-child { border-bottom: 0; }
.ax-ico { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ax-panel); border: 1px solid var(--ax-line); color: var(--on-ink-70); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.ax-ico svg { width: 18px; height: 18px; }
.ax-ico.mono { color: var(--on-ink); }
.ax-ico.g { color: var(--green-light); background: rgba(111,203,159,.08); border-color: rgba(111,203,159,.22); }
.ax-ico.a { color: var(--amber-light); background: rgba(227,182,103,.08); border-color: rgba(227,182,103,.24); }
.ax-ico.pend { border-style: dashed; border-color: rgba(223,227,222,.28); background: transparent; }
.ax-t { display: grid; gap: 3px; min-width: 0; }
.ax-t b { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--on-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-t > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.25; color: var(--on-ink-70); white-space: nowrap; overflow: hidden; }
.ax-t > span .ax-sq { width: 7px; height: 7px; }
.ax-a { display: grid; gap: 3px; justify-items: end; text-align: right; }
.ax-a b { font-size: 15px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--on-ink); white-space: nowrap; }
.ax-a > span { font-size: 12.5px; line-height: 1.25; color: var(--on-ink-50); white-space: nowrap; }
.ax-a b.g, .ax-t .g { color: var(--green-light); }
.ax-a b.a, .ax-t .a { color: var(--amber-light); }
.ax-a b.m { color: var(--on-ink-70); }
.ax-rate { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--on-ink); }

.hx-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; background: linear-gradient(180deg, rgba(22,33,29,0), rgba(22,33,29,.92) 55%, var(--ink)); pointer-events: none; }
/* Home (hero) */
.hx-spend .ax-m { padding-top: 14px; padding-bottom: 16px; }
.hx-hero { font-size: 48px; margin-top: 12px; }
.hx-acts { display: flex; gap: 8px; margin-top: 16px; }
.hx-cred { padding: 14px var(--ax-px) 13px; display: grid; gap: 10px; }
/* ---------- /App screens ----------------------------------------------- */


/* ---------- The Clear Visa (a physical card) ---------------------------
   Markup: see components.html. Sized by its own width (container query),
   so every detail scales with the card. */
.ccard {
  position: relative; width: 100%; aspect-ratio: 1.586; container-type: inline-size;
  border-radius: 4.4% / 7%; overflow: hidden; color: #EEF1EC; isolation: isolate;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(145deg, #3253C2 0%, #24409E 48%, #172C78 100%);
  box-shadow: var(--sh-object), inset 0 0 0 1px rgba(255,255,255,.14);
}
.ccard::before { /* fine linen texture so it reads as a printed object */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.5) 0 1px, transparent 1px 4px);
}
.ccard-mark { position: absolute; right: -17%; top: 8%; width: 64%; height: auto; aspect-ratio: 1; color: #fff; opacity: .06; z-index: -1; }
.ccard-in { position: absolute; inset: 0; padding: 7cqw 7.4cqw; display: flex; flex-direction: column; justify-content: space-between; }
.ccard-top { display: flex; justify-content: space-between; align-items: center; }
.ccard-brand { display: flex; align-items: center; gap: 2cqw; font-family: var(--f-display); font-weight: 800; font-size: 7.2cqw; letter-spacing: -0.035em; }
.ccard-brand svg { width: 1.05em; height: 1.05em; }
.ccard-nfc { width: 7.4cqw; height: 7.4cqw; opacity: .9; }
.ccard-chip { width: 13.5cqw; height: auto; filter: drop-shadow(0 .4cqw .6cqw rgba(0,0,0,.25)); }
.ccard-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; }
.ccard-name { font-family: var(--f-mono); font-size: 3.6cqw; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.ccard-num { font-family: var(--f-mono); font-size: 5cqw; letter-spacing: .12em; margin-top: 1.4cqw; }
.ccard-type { font-family: var(--f-mono); font-size: 3.4cqw; letter-spacing: .14em; text-transform: uppercase; text-align: right; opacity: .78; line-height: 1.35; }

/* Phones: no text under 12.5px. */
@media (max-width: 560px) { :root { --t-label: 12.5px; } .chip { font-size: 12px; } }

/* ---------- Reveal (scroll-in) — js/base.js drives these -------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live::after { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* A line break only on wide screens. */
@media (max-width: 899.98px) { .br-lg { display: none; } }

/* Icons are IBM Carbon (32px grid, filled glyphs). They override any stroke styling a section sets on its icons. */
svg.ci { fill: currentColor !important; stroke: none !important; }
svg.ci * { stroke: none !important; fill: currentColor; }
