/* VLYU website: shared styles for every page (layout "B · Wallet", render 042/043, VLYU-099).
   Brand: docs/STYLE-GUIDE.md §3 colours, §4 Manrope 400/600/800, §7 motion curves, §13 neutral shadows.
   Strict CSP (style-src 'self'): no inline styles anywhere; scripts only set CSS variables and classes. */

@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ground: #E3F0E8; --inset: #D3E6DA; --panel: #F3F8F5; --panel2: #EAF3EE;
  --ink: #10241D; --ink2: #2E4A40; --gray: #55665F; --track: #CFE0D6;
  --forest: #0F4D38; --ivory: #F4F7F5; --peach: #FEB192; --peachdeep: #BB5A3C;
  --green: #2F9E6E; --mint: #6CCB98; --bloom: #B7EBCD; --gtext: #1B7049;
  --dine: #C2703E; --groc: #5F8C57; --trav: #4E6E9E;
  --gut: clamp(20px, 4.4vw, 64px);
  --padl: max(var(--gut), env(safe-area-inset-left));
  --padr: max(var(--gut), env(safe-area-inset-right));
  --max: 1400px;
  --sec: clamp(104px, 13vw, 200px);
  --forest-grad: linear-gradient(165deg, #155C43 0%, #0F4D38 48%, #0B3A2A 100%);
  --arrive: cubic-bezier(.16,1,.3,1); --glide: cubic-bezier(.22,.9,.3,1); --spring: cubic-bezier(.3,1.05,.35,1); --exit: cubic-bezier(.4,0,.6,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: Manrope, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-weight: 400;
  font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
b, strong { font-weight: 800; }
::selection { background: var(--forest); color: var(--ivory); }
.on-forest ::selection { background: var(--peach); color: var(--forest); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.on-forest :focus-visible, .on-forest:focus-visible { outline-color: var(--peach); }
.vh, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; background: var(--forest); color: var(--ivory); padding: 10px 16px; border-radius: 12px; z-index: 60; font-weight: 600; text-decoration: none; transition: top 200ms var(--arrive); }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nb { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--padl) var(--padr); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h3 { letter-spacing: -.025em; }
p { text-wrap: pretty; }

/* ---------- header: sticky, gains a quiet ground once the page scrolls ---------- */
.bar { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); }
.bar::before { content: ""; position: absolute; inset: 0; background: var(--ground); opacity: 0; box-shadow: 0 1px 0 rgba(16,36,29,.08); transition: opacity 240ms var(--arrive); }
.bar.scrolled::before { opacity: 1; }
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.top .home { display: block; width: 44px; height: 44px; margin-left: -4px; flex: none; border-radius: 10px; transition: transform 240ms var(--arrive); }
.top .home svg { width: 100%; height: 100%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .top .home:hover { transform: rotate(-6deg) scale(1.04); } }
.top .home:active { transform: scale(.94); }
.top nav { display: flex; gap: clamp(14px, 2.6vw, 36px); }
.top nav a { font-size: 16px; font-weight: 600; padding-block: 11px; white-space: nowrap; }
/* on small screens the mark draws smaller, but its tap area stays 44px */
@media (max-width: 420px) { .top nav a { font-size: 15px; } .top .home { padding: 2px; } }
@media (max-width: 359px) { .top nav { gap: 11px; } .top nav a { font-size: 14px; padding-block: 12px; } .top .home { padding: 4px; } }

/* ---------- links: an underline that draws in ---------- */
.ul { text-decoration: none; position: relative; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--arrive); }
a.ul[href]:focus-visible::after, .ul[aria-current="page"]::after { transform: none; }
@media (hover: hover) { a.ul[href]:hover::after { transform: none; transform-origin: left; } }
.top nav .ul::after { bottom: 7px; }
.go.ul::after { bottom: 5px; }
.foot-cols .ul::after { bottom: 8px; }
.go { display: inline-block; font-weight: 800; font-size: 18px; padding-block: 9px; }
.go .ch { display: inline-block; transition: transform 240ms var(--arrive); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .go:hover .ch { transform: translateX(4px); } }
/* links inside running text stay underlined: readability first */
.prose a, .txt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(16,36,29,.4); transition: text-decoration-color 200ms linear; }
@media (hover: hover) { .prose a:hover, .txt a:hover { text-decoration-color: currentColor; } }

/* ---------- buttons (pill; one fill) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer;
  background: var(--forest); color: var(--peach); transition: transform 150ms var(--arrive), background-color 180ms linear; }
.btn.alt { background: var(--panel); color: var(--ink); }
@media (hover: hover) { .btn:hover { background: #0B3A2A; } .btn.alt:hover { background: var(--inset); } }
.btn:active, .press:active { transform: scale(.97); }
.press { transition: transform 150ms var(--arrive); }

/* ---------- "Example data" label ---------- */
.ex { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--gray); letter-spacing: 0; }
.on-forest .ex { color: var(--bloom); }

/* ---------- card art (app recipe: gradient + sheen; issuer line as printed). Size with font-size: the card is 20em wide ---------- */
.card { position: relative; width: 20em; aspect-ratio: 1.586; border-radius: .95em; overflow: hidden; color: #fff; flex: none;
  box-shadow: 0 .5em 1.3em -.5em rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.18); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 18% 0%, rgba(255,255,255,.22), transparent 45%),
              linear-gradient(115deg, transparent 30%, rgba(255,255,255,.09) 44%, transparent 56%); }
.card .ci { position: absolute; inset: 0; padding: 1.15em 1.3em; display: flex; flex-direction: column; justify-content: space-between; z-index: 1; }
.card .ct { display: flex; justify-content: space-between; align-items: flex-start; gap: .6em; }
.card .is { display: block; font-size: .78em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .94; line-height: 1.2; }
.card .pr { display: block; font-size: .92em; font-weight: 600; opacity: .9; margin-top: .25em; line-height: 1.2; }
.card .nw { font-size: .7em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; line-height: 1.2; }
.card .cb { display: flex; justify-content: flex-end; align-items: flex-end; }
.card .chip { width: 2.2em; height: 1.68em; border-radius: .38em; background: linear-gradient(135deg, #E8D9A8, #B99B58 60%, #DCC98E); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); position: relative; }
.card .chip::before { content: ""; position: absolute; inset: .3em .45em; border: 1px solid rgba(0,0,0,.28); border-radius: .2em; }
.card.sapphire { background: linear-gradient(150deg, #4A659C 0%, #22396B 45%, #142650 100%); }
.card.gold { background: linear-gradient(150deg, #E0BE77 0%, #B78F3C 55%, #C9A24F 100%); color: #231A05; }
.card.gold .chip { background: linear-gradient(135deg, #FFF3CE, #D8BC77 60%, #F4E4AE); }
.card.graphite { background: linear-gradient(150deg, #6A6E78 0%, #3A3D44 50%, #2A2C32 100%); }
.card.verde { background: linear-gradient(150deg, #3F7F62 0%, #2F6A50 45%, #1C4534 100%); }
/* sheen that follows the pointer (motion.js sets --mx/--my) */
.card .shine { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 300ms var(--arrive);
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.26), transparent 42%); }
@media (hover: hover) { .card:hover .shine { opacity: 1; } }

/* ---------- CSS phone frame around a real screenshot (645×1398) ---------- */
.phone { --w: 300px; width: var(--w); aspect-ratio: 645 / 1398; border-radius: calc(var(--w) * .15); padding: calc(var(--w) * .035);
  background: var(--ink); box-shadow: 0 2.4em 4em -2em rgba(0,0,0,.34); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * .118); background: var(--panel); }

/* ---------- lift: things rise 3px with a neutral shadow on hover ---------- */
.lift { position: relative; transition: transform 240ms var(--arrive); }
.lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 18px 36px -18px rgba(0,0,0,.28); opacity: 0; transition: opacity 240ms var(--arrive); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .lift:hover { transform: translateY(-3px); } .lift:hover::after { opacity: 1; } }

/* ---------- glyph discs (Forest disc, peach line icon) ---------- */
.g { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; }
.g svg { width: 24px; height: 24px; }
.on-forest .g { background: rgba(183,235,205,.14); }
.k { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--peach); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; flex: none; }

/* ---------- grouped rows on a panel ---------- */
.rows { background: var(--panel); border-radius: 32px; padding: 6px clamp(20px, 2.6vw, 34px); }
.rows > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding-block: 22px; }
.rows > li + li { border-top: 1px solid rgba(16,36,29,.08); }
.rows.plain > li { grid-template-columns: minmax(0, 1fr); }
.rows h3, .rows strong { display: block; font-size: clamp(19px, 1.7vw, 23px); font-weight: 800; letter-spacing: -.025em; line-height: 1.18; }
.rows p, .rows .sub { display: block; font-size: 17px; color: var(--ink2); margin-top: 4px; }
.rows.on-forest { background: var(--forest-grad); color: var(--ivory); }
.rows.on-forest > li + li { border-top-color: rgba(183,235,205,.16); }
.rows.on-forest p, .rows.on-forest .sub { color: var(--bloom); }
@media (max-width: 560px) {
  .rows > li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 20px; }
  .rows .g { width: 44px; height: 44px; } .rows .g svg { width: 20px; height: 20px; }
}

/* ---------- inner page title ---------- */
.title { padding-top: clamp(36px, 6vw, 96px); }
.title h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .95; }
.title .lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ink2); margin-top: 24px; max-width: 34ch; }
.title .note { font-size: 17px; color: var(--ink2); margin-top: 14px; }
.title .note b { color: var(--ink); }
@media (min-width: 861px) {
  .title:has(> .tside) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .title > h1 { grid-column: 1 / span 7; }
  .title > .tside { grid-column: 8 / -1; padding-bottom: .6em; }
  .title .tside > :first-child { margin-top: 0; }
}
.sec { padding-top: var(--sec); }
.sh2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; }
.sh3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }

/* ---------- panels ---------- */
.panel { background: var(--panel); border-radius: 32px; padding: clamp(24px, 3.4vw, 48px); }
.forest { background: var(--forest-grad); color: var(--ivory); border-radius: 32px; padding: clamp(28px, 3.8vw, 56px); position: relative; overflow: hidden; }
.forest::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(183,235,205,.26); }

/* =====================================================================
   Page: how it works
   ===================================================================== */
/* the three steps: text on the left; on wide screens each step's phone sticks on the right and the next one slides
   up over it, so the screens stack like cards in a wallet (pure CSS: works with JS off and under reduced motion) */
.walk { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.walk > li { display: contents; }
.walk .wt { grid-column: 1 / span 6; min-height: 86vh; min-height: 86svh; display: flex; flex-direction: column; justify-content: flex-start; padding-block: 120px 40px; }
.walk .wt h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; margin-top: 18px; }
.walk .wt p { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink2); margin-top: 14px; max-width: 32ch; }
.walk .wt p + p { margin-top: 10px; }
.walk figure { grid-column: 8 / -1; justify-self: center; align-self: start; position: sticky; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.walk .phone { --w: min(300px, calc((100vh - 200px) * .4614)); }
.walk li:nth-child(1) .wt { grid-row: 1; } .walk li:nth-child(1) figure { grid-row: 1 / 4; top: 100px; z-index: 1; }
.walk li:nth-child(2) .wt { grid-row: 2; } .walk li:nth-child(2) figure { grid-row: 2 / 4; top: 116px; z-index: 2; }
.walk li:nth-child(3) .wt { grid-row: 3; } .walk li:nth-child(3) figure { grid-row: 3 / 4; top: 132px; z-index: 3; }
.walk figure .ex { align-self: flex-end; }
/* the stuck screens sit 16px apart, so each label drops by the same step: all three land on one spot and read as one */
@media (min-width: 861px) { .walk li:nth-child(1) figure .ex { margin-top: 32px; } .walk li:nth-child(2) figure .ex { margin-top: 16px; } }

.spendb { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: center; }
.spendb .panel { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 14px; }
.spendb .panel p { font-size: 19px; color: var(--ink2); max-width: 34ch; }
.spendb .panel .flow { margin-top: 14px; }
.spendb figure { grid-column: 8 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.spendb .phone { --w: clamp(230px, 22vw, 300px); }
.spendb figure .ex { align-self: flex-end; }

.nots .forest { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.nots h2 { grid-column: 1 / span 4; color: var(--ivory); }
.nots ul { grid-column: 5 / -1; display: grid; gap: 28px; }
.nots li strong { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.nots li .sub { display: block; font-size: 18px; color: var(--bloom); margin-top: 6px; }

/* =====================================================================
   Page: security
   ===================================================================== */
/* how a bank connects: you → Plaid's screen → read-only access, a track that fills between the three steps */
.connect h2 { max-width: 16ch; }
.flow3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.flow3::before, .flow3::after { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 25px; height: 6px; border-radius: 6px; background: var(--track); }
.flow3::after { background: var(--forest); transform-origin: left; }
.flow3 > li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow3 .k { width: 56px; height: 56px; font-size: 20px; box-shadow: 0 0 0 8px var(--ground); }
.flow3 .art { margin-top: 20px; width: 100%; max-width: 340px; height: 236px; border-radius: 28px; background: var(--panel); display: grid; place-items: center; padding: 24px; }
.flow3 p { font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-top: 18px; max-width: 16ch; min-height: 2.4em; }
/* art 1: a short bank list, one chosen */
.banks { width: 100%; max-width: 240px; display: grid; gap: 8px; }
.banks span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ground); font-size: 15px; font-weight: 600; }
.banks i { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; }
.banks span:nth-child(1) i { background: #435F88; } .banks span:nth-child(2) i { background: #705A24; } .banks span:nth-child(3) i { background: #44653E; }
.banks span.on { background: var(--forest); color: var(--ivory); }
.banks span.on i { background: var(--peach); color: var(--forest); }
/* art 2: a sign-in sheet that is not VLYU's */
.sheet { width: 100%; max-width: 220px; background: #fff; border-radius: 22px; padding: 18px; display: grid; gap: 10px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.3); }
.sheet .lock { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; justify-self: center; margin-bottom: 4px; }
.sheet .lock svg { width: 20px; height: 20px; }
.sheet .fld { height: 30px; border-radius: 10px; background: var(--ground); display: flex; align-items: center; gap: 5px; padding-inline: 12px; }
.sheet .fld i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink2); }
.sheet .fld.u::before { content: ""; width: 54%; height: 6px; border-radius: 6px; background: var(--track); }
.sheet .bt { height: 32px; border-radius: 999px; background: var(--ink); margin-top: 4px; }
/* art 3: VLYU, looking only */
.ro { display: grid; justify-items: center; gap: 14px; }
.ro .mk { width: 96px; height: 96px; border-radius: 26px; background: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -18px rgba(0,0,0,.3); }
.ro .mk svg { width: 64px; height: 60px; }
.ro .tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--forest); color: var(--ivory); font-size: 15px; font-weight: 800; }
.ro .tag .g { width: 28px; height: 28px; } .ro .tag .g svg { width: 16px; height: 16px; }
.ro .tag .g { background: rgba(183,235,205,.16); }

.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pairs h2, .lists h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 18px; }
.pairs .on-forest h2 { color: var(--ivory); }
.pairs > section.forest { padding: clamp(24px, 3.4vw, 40px); }
.pairs .rows { background: transparent; padding: 0; }
.pairs .forest .rows > li + li { border-top-color: rgba(183,235,205,.16); }
.pairs .forest .rows .sub { color: var(--bloom); }
.pairs .rows > li, .lists .rows > li { grid-template-columns: minmax(0, 1fr); }
.pairs .forest h2 { margin-bottom: 6px; }

.lists { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.lists > section:nth-child(1) { grid-column: 1 / span 6; }
.lists > section:nth-child(2) { grid-column: 7 / -1; }
.lists .rows { background: transparent; padding: 0; }
.lists .rows > li { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
.lists .rows > li + li { border-top: 0; }

.control { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: center; }
.control .ctext { grid-column: 1 / span 7; display: grid; gap: 40px; }
.control figure { grid-column: 9 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.control figure .ex { align-self: flex-end; }
.control .phone { --w: clamp(230px, 22vw, 300px); }
.control h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 18px; }

.report { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.report .panel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.report h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.report .txt { font-size: 19px; color: var(--ink2); margin-top: 10px; }

/* =====================================================================
   Page: support
   ===================================================================== */
.help { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.help .contact { grid-column: 1 / span 5; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; min-height: 360px; }
.help .contact h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--ivory); }
.help .contact .addr { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--peach); overflow-wrap: anywhere; align-self: flex-start; }
.help .contact p { font-size: 18px; color: var(--bloom); }
.help .contact .cards { margin-top: auto; padding-top: 32px; display: flex; font-size: clamp(11px, 1.05vw, 14px); height: 9em; overflow: hidden; margin-bottom: calc(clamp(28px, 3.8vw, 56px) * -1); }
.help .contact .cards .card { margin-right: -12em; transition: transform 420ms var(--spring); }
.help .contact .cards .card:nth-child(1) { transform: rotate(-5deg) translateY(10%); } .help .contact .cards .card:nth-child(2) { transform: rotate(-1deg) translateY(2%); } .help .contact .cards .card:nth-child(3) { transform: rotate(4deg) translateY(12%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .help .contact:hover .cards .card:nth-child(1) { transform: rotate(-8deg) translateY(2%); } .help .contact:hover .cards .card:nth-child(2) { transform: rotate(-1deg) translateY(-8%); } .help .contact:hover .cards .card:nth-child(3) { transform: rotate(7deg) translateY(4%); } }
.help .qs { grid-column: 7 / -1; }
.help .qs h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 18px; }
.faq { display: grid; gap: 10px; }
.faq li { background: var(--panel); border-radius: 22px; transition: background-color 200ms linear; }
.faq details { border-radius: inherit; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; min-height: 64px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); position: relative; transition: transform 300ms var(--arrive), background-color 200ms linear; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--peach); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { transform: rotate(135deg); }
.faq summary:active .pm { transform: scale(.9); }
.faq details[open] summary:active .pm { transform: rotate(135deg) scale(.9); }
@media (hover: hover) { .faq li:hover { background: #fff; } }
.faq .a { padding: 0 22px 22px; }
.faq .a p { font-size: 17px; color: var(--ink2); max-width: 56ch; }

/* =====================================================================
   Page: delete your account
   ===================================================================== */
.del { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.del .dtext { grid-column: 1 / span 7; display: grid; gap: clamp(48px, 6vw, 80px); }
.del figure { grid-column: 9 / -1; justify-self: center; position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.del figure .ex { align-self: flex-end; }
.del .phone { --w: clamp(230px, 22vw, 300px); }
.del h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 18px; }
.steps4 { display: grid; gap: 10px; }
.steps4 li { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 22px; background: var(--panel); font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; }
.gone-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gone-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--panel); font-size: 17px; font-weight: 600; }
.gone-list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%23FEB192' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.gone { margin-top: 18px; display: grid; gap: 12px; }
.gone p { font-size: 18px; color: var(--ink2); max-width: 46ch; }
.gone .final { display: inline-flex; align-self: start; justify-self: start; padding: 8px 16px; border-radius: 999px; background: var(--forest); color: var(--peach); font-weight: 800; font-size: 17px; }
.gone .stays { padding: 18px 20px; border-radius: 22px; background: var(--panel2); font-size: 17px; }
.gone .stays-h { display: block; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.cant .panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.cant h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.cant .txt { font-size: 19px; color: var(--ink2); margin-top: 10px; max-width: 40ch; }

/* =====================================================================
   Pages: privacy and terms (readability first; motion stays minimal)
   ===================================================================== */
.updated { font-size: 16px; font-weight: 600; color: var(--gray); margin-top: 18px; }
.draft { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: var(--forest); color: var(--ivory); max-width: 640px; }
.draft .g { width: 36px; height: 36px; background: rgba(183,235,205,.16); } .draft .g svg { width: 18px; height: 18px; }
.draft .draft-h { font-weight: 800; font-size: 18px; }
.draft p + p { margin-top: 2px; color: var(--bloom); }
.draft mark.owner { color: var(--forest); }
mark.owner { background: var(--peach); color: var(--forest); font-weight: 600; padding: 1px 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.legal .keypoints { grid-column: 5 / -1; grid-row: 1; }
.legal .toc { grid-column: 1 / span 3; grid-row: 1 / 3; position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--track) transparent; padding: 6px 4px 12px; margin-left: -4px; }
.legal .legal-body { grid-column: 5 / -1; grid-row: 2; max-width: 700px; }
.keypoints h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; margin-bottom: 14px; }
.keypoints ul { display: grid; gap: 10px; }
.keypoints li { position: relative; padding-left: 30px; font-size: 18px; color: var(--ink); }
.keypoints li::before { content: ""; position: absolute; left: 2px; top: .36em; width: 16px; height: 16px; border-radius: 50%; background: var(--forest); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.8' fill='none' stroke='%23FEB192' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.toc h2 { font-size: 16px; font-weight: 800; letter-spacing: 0; margin: 0 0 10px 12px; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 7px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink2); text-decoration: none; transition: background-color 180ms linear, color 180ms linear; }
.toc a .ln { flex: none; min-width: 1.4em; font-variant-numeric: tabular-nums; color: var(--gray); transition: color 180ms linear; }
@media (hover: hover) { .toc a:hover { background: var(--panel); color: var(--ink); } }
@media (min-width: 861px) {
  .toc a.on { background: var(--forest); color: var(--ivory); }
  .toc a.on .ln { color: var(--peach); }
}
.legal-body > section { padding-top: 48px; }
.legal-body > section:first-child { padding-top: 8px; }
.legal-body h2 { font-size: clamp(25px, 2.3vw, 32px); line-height: 1.1; display: flex; gap: 14px; align-items: baseline; margin-bottom: 16px; }
.legal-body h2 .ln { flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding-inline: 8px; border-radius: 999px; background: var(--forest); color: var(--peach); font-size: 17px; letter-spacing: 0; transform: translateY(-3px); font-variant-numeric: tabular-nums; }
.prose p, .prose > section > ul > li, .prose .bul li { font-size: 17.5px; line-height: 1.6; color: var(--ink2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.legal-body > section > ul:not(.rows) { display: grid; gap: 8px; }
.legal-body > section > ul:not(.rows) > li { position: relative; padding-left: 22px; }
.legal-body > section > ul:not(.rows) > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.legal-body .rows { margin-top: 6px; }
.legal-body .rows > li { grid-template-columns: minmax(0, 1fr); padding-block: 18px; }
.legal-body .rows strong { font-size: 19px; }
.legal-body .rows .sub { font-size: 17px; line-height: 1.55; }
.legal-body .rows + p { margin-top: 18px; }
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border-radius: 24px; overflow: hidden; font-size: 16px; line-height: 1.5; margin-top: 4px; }
.dtable th { text-align: left; font-size: 15px; font-weight: 800; padding: 16px 18px; background: var(--panel2); }
.dtable td { padding: 16px 18px; vertical-align: top; color: var(--ink2); border-top: 1px solid rgba(16,36,29,.08); }
.dtable td:first-child { color: var(--ink); font-weight: 600; }
.dtable + p { margin-top: 18px; }

/* =====================================================================
   Page: not found
   ===================================================================== */
.lost { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: center; padding-top: clamp(36px, 6vw, 96px); }
.lost .ltext { grid-column: 1 / span 6; }
.lost .title { padding-top: 0; }
.lost .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lost .pocketart { grid-column: 7 / -1; justify-self: center; position: relative; width: 29em; height: 23em; font-size: clamp(11px, 1.2vw, 16px); }
.pocketart .card { position: absolute; left: 1em; top: 2em; transition: transform 420ms var(--spring); }
.pocketart .card:nth-child(1) { transform: translateY(3em) rotate(-3deg); }
.pocketart .card:nth-child(2) { transform: translateY(5.2em) rotate(2deg); }
.pocketart .card:nth-child(3) { transform: translateY(7.4em) rotate(-1deg); }
/* the fourth card has wandered off: it sits outside the pocket, tilted, and slides home on hover */
.pocketart .card:nth-child(4) { transform: translate(7em, -1.6em) rotate(12deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .pocketart:hover .card:nth-child(4) { transform: translate(4em, -.4em) rotate(5deg); } }
.pocketart .pk { position: absolute; left: 0; width: 22em; bottom: 0; height: 10.6em; border-radius: 1.3em; background: var(--forest-grad); z-index: 5; box-shadow: 0 1.4em 2.6em -1.6em rgba(0,0,0,.4); }
.pocketart .pk::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: 1.3em 1.3em 0 0; background: rgba(183,235,205,.26); }
.js .pocketart .card:nth-child(4) { animation: wander 640ms var(--spring) 200ms both; }
@keyframes wander { from { translate: -5em 6em; rotate: -14deg; } to { translate: 0 0; rotate: 0deg; } }

/* =====================================================================
   Footer: a Forest pocket the cards tuck into
   ===================================================================== */
.tuck { position: relative; height: clamp(90px, 10vw, 140px); margin-top: var(--sec); overflow: hidden; }
.tuck .cards { position: absolute; left: 50%; top: 0; display: flex; gap: 1.2em; transform: translateX(-50%); font-size: clamp(10px, 1.2vw, 15px); }
.tuck .card { transition: translate 420ms var(--spring); }
.tuck .card:nth-child(1) { rotate: -4deg; translate: 0 18%; } .tuck .card:nth-child(2) { rotate: -1.5deg; translate: 0 6%; }
.tuck .card:nth-child(3) { rotate: 1.5deg; translate: 0 2%; } .tuck .card:nth-child(4) { rotate: 4deg; translate: 0 14%; }
.js .tuck .cards .card { translate: 0 70%; }
.js .tuck.in .card:nth-child(1) { translate: 0 18%; transition-delay: 0ms; } .js .tuck.in .card:nth-child(2) { translate: 0 6%; transition-delay: 60ms; }
.js .tuck.in .card:nth-child(3) { translate: 0 2%; transition-delay: 120ms; } .js .tuck.in .card:nth-child(4) { translate: 0 14%; transition-delay: 180ms; }
.js.rm .tuck .card:nth-child(1) { translate: 0 18%; } .js.rm .tuck .card:nth-child(2) { translate: 0 6%; } .js.rm .tuck .card:nth-child(3) { translate: 0 2%; } .js.rm .tuck .card:nth-child(4) { translate: 0 14%; }
.foot { background: var(--forest); color: var(--ivory); position: relative; z-index: 2; padding-bottom: env(safe-area-inset-bottom); }
.foot.plain { margin-top: var(--sec); }
.foot .wrap { padding-block: clamp(56px, 7vw, 96px) 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.foot .brand { grid-column: 1 / span 5; }
.foot .brand .home { display: inline-block; width: 56px; height: 56px; border-radius: 12px; transition: transform 240ms var(--arrive); }
.foot .brand svg { width: 56px; height: 56px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .foot .brand .home:hover { transform: rotate(-6deg) scale(1.04); } }
.foot .brand p { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 20px; max-width: 13em; }
.foot-cols { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: 10px; color: var(--peach); }
.foot-cols a { display: inline-block; font-size: 16px; padding-block: 10px; }
.foot-cols ul { margin-top: -4px; }
.foot .base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; color: var(--bloom); padding-top: 28px; border-top: 1px solid rgba(183,235,205,.18); }
.foot .base a { color: var(--ivory); font-weight: 600; overflow-wrap: anywhere; }

/* =====================================================================
   Motion layer (STYLE-GUIDE §7: arrive · glide · spring). Transform and opacity only. Base styles are the end
   state, so with JS off, or under reduced motion, everything is simply there.
   ===================================================================== */
/* reveal: parts of a section rise 24px and fade in once, staggered by --d */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 420ms var(--arrive), transform 560ms var(--arrive); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js.rm [data-reveal] { transform: none; transition: opacity 300ms linear; }
.d60 { --d: 60ms; } .d80 { --d: 80ms; } .d120 { --d: 120ms; } .d160 { --d: 160ms; } .d240 { --d: 240ms; }
/* the bank flow: the track fills left to right, then each step arrives */
.js .flow3::after { transform: scaleX(0); transition: transform 700ms var(--glide) 200ms; }
.js .flow3.in::after { transform: none; }
.js .flow3 > li { opacity: 0; transform: translateY(20px); transition: opacity 420ms var(--arrive), transform 560ms var(--arrive); }
.js .flow3.in > li { opacity: 1; transform: none; }
.js .flow3 > li:nth-child(2) { transition-delay: 300ms; } .js .flow3 > li:nth-child(3) { transition-delay: 600ms; }
.js.rm .flow3::after { transform: none; transition: none; }
.js.rm .flow3 > li { transform: none; transition: opacity 300ms linear; }
/* list items arrive one after another */
.js [data-stagger] > li { opacity: 0; transform: translateY(14px); transition: opacity 380ms var(--arrive), transform 480ms var(--arrive); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-stagger].in > li { opacity: 1; transform: none; }
.js.rm [data-stagger] > li { transform: none; transition: opacity 300ms linear; }
[data-stagger] > li:nth-child(2) { --i: 1; } [data-stagger] > li:nth-child(3) { --i: 2; } [data-stagger] > li:nth-child(4) { --i: 3; }
[data-stagger] > li:nth-child(5) { --i: 4; } [data-stagger] > li:nth-child(6) { --i: 5; }
/* picker answer swap: the changed parts settle in */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.swap { animation: settle 360ms var(--arrive) both; }
.rm .swap { animation: none; }
.no-js-hide { display: none; }
.js .no-js-hide { display: revert; }

@media (prefers-reduced-motion: reduce) {
  .lift, .lift::after, .card, .tuck .card, .pocketart .card, .help .contact .cards .card, .btn, .press, .top .home, .foot .brand .home, .go .ch, .faq summary .pm { transition-duration: 1ms !important; }
  .lift:hover, .btn:active, .press:active, .top .home:hover, .foot .brand .home:hover { transform: none !important; }
  .js .pocketart .card:nth-child(4) { animation: none; }
  .ul::after { transition: none; }
}

/* =====================================================================
   Narrow screens
   ===================================================================== */
@media (max-width: 860px) {
  .g12, .walk, .spendb, .nots .forest, .lists, .control, .help, .del, .legal, .lost, .foot .wrap, .report { grid-template-columns: minmax(0, 1fr); }
  .walk > li { display: block; }
  .walk .wt { min-height: 0; padding-block: 0; }
  .walk > li + li { margin-top: 72px; }
  .walk figure { position: static; margin-top: 28px; }
  .walk .phone { --w: min(280px, 72vw); }
  .spendb .panel, .spendb figure, .nots h2, .nots ul, .lists > section:nth-child(n), .control .ctext, .control figure, .help .contact, .help .qs, .del .dtext, .del figure,
  .legal .keypoints, .legal .toc, .legal .legal-body, .lost .ltext, .lost .pocketart, .foot .brand, .foot-cols { grid-column: 1 / -1; grid-row: auto; }
  .help .contact { position: static; min-height: 0; }
  .del figure { position: static; }
  .legal .toc { position: static; max-height: none; overflow: visible; background: var(--panel); border-radius: 24px; padding: 20px 12px 14px; margin-left: 0; }
  .toc a { min-height: 44px; align-items: center; padding-block: 10px; }
  .flow3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .flow3::before, .flow3::after { display: none; }
  .flow3 > li:not(:last-child)::before, .flow3 > li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 28px; bottom: -68px; width: 6px; border-radius: 6px; background: var(--track); }
  .flow3 > li:not(:last-child)::after { background: var(--forest); transform-origin: top; }
  .js .flow3 > li::after { transform: scaleY(0); transition: transform 600ms var(--glide) 300ms; }
  .js .flow3 > li:nth-child(2)::after { transition-delay: 700ms; }
  .js .flow3.in > li::after { transform: none; }
  .js.rm .flow3 > li::after { transform: none; transition: none; }
  .flow3 .k { position: relative; z-index: 1; }
  .flow3 > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; text-align: left; align-items: start; }
  .flow3 .k { grid-row: 1 / 3; }
  .flow3 p { grid-column: 2; grid-row: 1; margin-top: 12px; max-width: none; }
  .flow3 .art { grid-column: 2; grid-row: 2; margin-top: 16px; max-width: 100%; height: auto; min-height: 200px; }
  .flow3 p { min-height: 0; }
  .pairs { grid-template-columns: minmax(0, 1fr); }
  .lost .pocketart { font-size: calc((100vw - 48px) / 30); justify-self: start; }
}
@media (max-width: 560px) {
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .gone-list { grid-template-columns: minmax(0, 1fr); }
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr + tr { border-top: 1px solid rgba(16,36,29,.1); }
  .dtable td { border-top: 0; padding: 4px 18px; }
  .dtable td:first-child { padding-top: 16px; }
  .dtable td:last-child { padding-bottom: 16px; }
  .dtable td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin-top: 6px; }
  .legal-body h2 .ln { min-width: 32px; height: 32px; font-size: 15px; }
  .faq summary { padding: 18px; } .faq .a { padding: 0 18px 18px; }
}
