/* ── Inter Tight, self-hosted ───────────────────────────────────── */
/* Variable font: one file covers the 400–700 weights the site uses.
   Latin subset only — all page copy is English.
   Inter Tight by Rasmus Andersson, SIL Open Font License 1.1. */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── TidyWallet landing — design tokens ─────────────────────────── */
:root {
  /* Light palette. Every colour is defined here; the dark blocks below only
     override these same names, so nothing can be themed in one mode and not
     the other. Names follow the design handoff's token set. */
  --canvas: #F2F2F7;
  --ink: rgba(0, 0, 0, .87);
  --ink-solid: #000;
  --muted: #6A6A6F;
  --faint: rgba(0, 0, 0, .60);
  --dim: rgba(0, 0, 0, .55);
  /* Reading text and inline links get their own tokens: the design's grey is a
     label colour, and at body size on a card it lands under 4.5:1. */
  --body: rgba(0, 0, 0, .72);
  --link: #3659E3;

  --card: rgba(255, 255, 255, .62);
  --card-solid: #fff;
  --card-edge: rgba(255, 255, 255, .75);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .05);
  --blur: blur(22px) saturate(150%);

  --line: rgba(0, 0, 0, .08);
  --hairline: #E5E5E7;
  --fill: rgba(120, 120, 128, .13);
  --track: rgba(0, 0, 0, .08);

  /* The brand, and the ink that reads on it: the Flow mark's cobalt. This is
     page chrome only — links, the Play buttons, the focus ring, the step
     numbers — everything that speaks as TidyWallet rather than as money. */
  --brand: #3659E3;
  --brand-hover: #2A47B8;
  --on-brand: #fff;

  /* A gain, which is not the brand. The mark went cobalt; a positive number
     did not, and the app draws the same line — its accent token is `Positive`
     and still holds this green. Every piece of app UI pictured on this page
     takes it, so the screenshots and the app agree. */
  --green: #30A46C;
  --gold: #C9A227;
  --red: #E5484D;
  --warn: #6B3A00;

  --panel: #111112;
  --panel-ink: #fff;
  /* The primary button's own surface. In light mode the near-black panel reads
     as a strong CTA; in dark it would be 1.06:1 against the page — a button
     whose label you can read but whose shape you cannot see — so dark uses the
     brand cobalt, matching the header's Play button. */
  --cta: #111112;
  --cta-ink: #fff;
  --btn-edge: rgba(0, 0, 0, .14);
  /* Gradient accent: cobalt→indigo, a short rotation off the mark's own blue.
     The pack's periwinkle is the natural second stop and is the one it cannot
     be — this pair is painted into text, and #A9B8F7 on white is 1.9:1. Dark
     keeps the reference's lavender, which the cobalt already sits beside. */
  --accent-a: #3659E3;
  --accent-b: #6544CF;

  /* Only the active lockup is fetched: the inactive one is never referenced. */
  --lockup: url("/assets/tidywallet-logo-horizontal.svg");

  --wash-a: rgba(54, 89, 227, .16);
  --wash-b: rgba(201, 162, 39, .13);
  --wash-c: rgba(101, 68, 207, .12);

  --screen: #F2F2F7;
  --screen-card: #fff;
  --screen-ink: #000;
  --screen-line: #E5E5E7;
  --bezel: #111112;
  --grid: rgba(0, 0, 0, .08);

  --page: 1180px;
  --gutter: 56px;
}

/* Dark palette, defined once and applied by two selectors: the system
   preference (unless the reader has explicitly chosen light) and the explicit
   choice. Keeping them as one rule is what stops the two drifting apart. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #000;
    --ink: rgba(255, 255, 255, .93);
    --ink-solid: #fff;
    --muted: #98989D;
    --faint: rgba(255, 255, 255, .58);
    --dim: rgba(255, 255, 255, .55);
    --body: rgba(255, 255, 255, .80);
    --link: #B8C7FF;

    --card: rgba(28, 28, 30, .60);
    --card-solid: #1C1C1E;
    --card-edge: rgba(255, 255, 255, .10);
    --card-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
    --blur: blur(26px) saturate(160%);

    --line: rgba(255, 255, 255, .10);
    --hairline: rgba(255, 255, 255, .10);
    --fill: rgba(120, 120, 128, .26);
    --track: rgba(255, 255, 255, .12);

    --brand: #B8C7FF;
    --brand-hover: #D3DCFF;
    --on-brand: #11182B;

    --green: #3DD68C;
    --gold: #DEBB4C;
    --red: #FF6369;
    --warn: #F5A623;

    --panel: #0A0A0B;
    --panel-ink: #fff;
    --cta: #B8C7FF;
    --cta-ink: #11182B;
    --btn-edge: rgba(255, 255, 255, .36);
  --accent-a: #B8C7FF;
  --accent-b: #C4B5FD;

    --lockup: url("/assets/tidywallet-logo-horizontal-ondark.svg");

    --wash-a: rgba(93, 126, 244, .20);
    --wash-b: rgba(222, 187, 76, .14);
    --wash-c: rgba(160, 134, 250, .16);

    --screen: #000;
    --screen-card: #1C1C1E;
    --screen-ink: #fff;
    --screen-line: rgba(255, 255, 255, .10);
    --bezel: #26262A;
    --grid: rgba(255, 255, 255, .10);
  }
}

:root[data-theme="dark"] {
  --canvas: #000;
  --ink: rgba(255, 255, 255, .93);
  --ink-solid: #fff;
  --muted: #98989D;
  --faint: rgba(255, 255, 255, .58);
  --dim: rgba(255, 255, 255, .55);
  --body: rgba(255, 255, 255, .80);
  --link: #B8C7FF;

  --card: rgba(28, 28, 30, .60);
  --card-solid: #1C1C1E;
  --card-edge: rgba(255, 255, 255, .10);
  --card-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 16px 40px rgba(0, 0, 0, .45);
  --blur: blur(26px) saturate(160%);

  --line: rgba(255, 255, 255, .10);
  --hairline: rgba(255, 255, 255, .10);
  --fill: rgba(120, 120, 128, .26);
  --track: rgba(255, 255, 255, .12);

  --brand: #B8C7FF;
  --brand-hover: #D3DCFF;
  --on-brand: #11182B;

  --green: #3DD68C;
  --gold: #DEBB4C;
  --red: #FF6369;
  --warn: #F5A623;

  --panel: #0A0A0B;
  --panel-ink: #fff;
  --cta: #B8C7FF;
  --cta-ink: #11182B;
  --btn-edge: rgba(255, 255, 255, .36);
  --accent-a: #B8C7FF;
  --accent-b: #C4B5FD;

  --lockup: url("/assets/tidywallet-logo-horizontal-ondark.svg");

  --wash-a: rgba(93, 126, 244, .20);
  --wash-b: rgba(222, 187, 76, .14);
  --wash-c: rgba(160, 134, 250, .16);

  --screen: #000;
  --screen-card: #1C1C1E;
  --screen-ink: #fff;
  --screen-line: rgba(255, 255, 255, .10);
  --bezel: #26262A;
  --grid: rgba(255, 255, 255, .10);
}

html, body { margin: 0; padding: 0; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  /* Positioned so the full-bleed wash layer anchors to the document rather
     than to the capped .page container. */
  position: relative;
  background: var(--canvas);
  font-family: 'Inter Tight', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link); text-decoration: underline; }
p { margin: 0; }

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

:where(a, button):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--card); color: var(--ink);
  padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Content is capped; backgrounds are not. The wash and the footer panel sit
   outside this container so they span the viewport, while everything readable
   stays on the 1180px measure. */
.page { position: relative; z-index: 1; max-width: var(--page); margin: 0 auto; overflow: hidden; }

/* The three colour washes behind the top of the page. Purely decorative, so it
   is inert to pointer events and hidden from the accessibility tree. Full
   viewport width: bounded to .page it ended as a visible 1180px band with bare
   canvas either side. */
.washes {
  position: absolute; top: 0; left: 0; width: 100%; height: 1500px;
  pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(760px 520px at 12% 4%, var(--wash-a), transparent 70%),
    radial-gradient(680px 480px at 92% 18%, var(--wash-b), transparent 72%),
    radial-gradient(700px 520px at 50% 46%, var(--wash-c), transparent 74%);
}
.section { padding: 64px var(--gutter) 0; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 1.1px;
  color: var(--muted); text-transform: uppercase;
  padding: 0 4px 8px;
}
.caption { font-size: 12px; color: var(--faint); padding: 0 4px; }
.card, .card-flush {
  background: var(--card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--card-edge);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.card-flush { overflow: hidden; }

/* Where a browser cannot blur, the translucent fill would read as washed-out
   text on the gradient behind it, so fall back to the solid card colour. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .card-flush, .btn-plain, .theme-toggle, .hero-pill { background: var(--card-solid); }
}
.rule { height: 1px; background: var(--hairline); }

/* ── Segmented control ──────────────────────────────────────────── */
.segmented {
  display: flex; gap: 3px; padding: 3px;
  background: var(--fill); border-radius: 11px;
}
.segmented > * {
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  color: var(--dim); border-radius: 9px;
}
.segmented > .is-active {
  color: var(--ink); background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; padding: 15px 24px; border-radius: 14px;
}
.btn-dark { background: var(--cta); color: var(--cta-ink); box-shadow: var(--card-shadow); }
.btn-dark:hover { background: var(--cta); color: var(--cta-ink); filter: brightness(1.12); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-hover); color: var(--on-brand); }
/* On the dark footer panel the CTA is glass rather than solid cobalt. */
.btn-onpanel {
  background: rgba(255, 255, 255, .10); color: #fff;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn-onpanel:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-plain {
  background: var(--card); color: var(--ink); gap: 8px; padding: 15px 22px;
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--btn-edge); box-shadow: var(--card-shadow);
}
.btn-plain:hover { color: var(--ink); background: var(--card-solid); }
.btn-sm {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--on-brand);
  font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 12px;
}
.btn-sm:hover { background: var(--brand-hover); color: var(--on-brand); }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 9px; }

/* The lockup is a background image so only the active theme's file is
   fetched; an <img> pair would download both and hide one. */
.brand-lockup {
  display: block; width: 164px; height: 53px;
  background-image: var(--lockup);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.site-footer .brand-lockup {
  width: 200px; height: 64px;
  background-image: url("/assets/tidywallet-logo-horizontal-ondark.svg");
}

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink); background: var(--fill);
  border: 1px solid var(--btn-edge); border-radius: 12px; cursor: pointer;
}
.theme-toggle:hover { background: var(--card-solid); }
.theme-toggle svg { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--card);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--card-edge); border-radius: 999px;
  box-shadow: var(--card-shadow);
}
.hero-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); display: inline-block;
}
.hero-pill .text {
  font-size: 12px; font-weight: 600; letter-spacing: .2px; color: var(--muted);
}
.brand-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--brand); display: inline-block; flex: 0 0 auto;
}
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: -.35px; color: var(--ink);
}
.nav a { color: var(--dim); }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 56px 120px 0; }
.hero-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.1px;
  color: var(--muted); text-transform: uppercase;
}
.hero-figure {
  font-size: 88px; line-height: 1; font-weight: 700;
  letter-spacing: -3px; color: var(--ink); padding-top: 8px;
}
.hero-delta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding-top: 10px; flex-wrap: wrap;
}
.hero-delta .up { font-size: 15px; font-weight: 500; color: var(--green); }
.hero-delta .since { font-size: 15px; color: var(--muted); }
.hero h1 {
  margin: 34px auto 0; max-width: 760px;
  font-size: 40px; line-height: 1.12; font-weight: 700;
  letter-spacing: -1.3px; color: var(--ink); text-wrap: pretty;
}
.hero-sub {
  margin: 18px auto 0; max-width: 620px;
  font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 30px; flex-wrap: wrap;
}

/* ── Showcase ───────────────────────────────────────────────────── */
.showcase {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 36px; padding: 52px var(--gutter) 0;
}
/* Columns shrink before the row wraps, as the source canvas does at 1180px. */
.showcase-col {
  width: 340px; flex: 0 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 14px; padding-bottom: 36px;
}

.stat-label {
  font-size: 11px; font-weight: 500; letter-spacing: 1.1px; color: var(--muted);
}
.budget-card { padding: 20px; }
.budget-head { display: flex; justify-content: space-between; gap: 12px; }
.budget-spent {
  font-size: 30px; font-weight: 700; letter-spacing: -.9px;
  color: var(--ink-solid); padding-top: 2px;
}
.budget-of { font-size: 14px; color: var(--muted); }
.budget-left { font-size: 20px; font-weight: 700; color: var(--green); }
.budget-left-label { font-size: 12px; color: var(--muted); }
.bar {
  height: 11px; border-radius: 6px; background: var(--track);
  margin-top: 14px; overflow: hidden;
}
/* Cobalt, not the gain green, and deliberately unlike the app — which draws this bar in
   WalletTokens.Positive under budget and red over. The figures around it stay green because they
   are claims about money; the fill is a chart, and on this page it reads with the net-worth line
   above it, which has been var(--brand) since the re-token. Owner's call, 2026-09-15. */
.bar > span { display: block; height: 11px; border-radius: 6px; background: var(--brand); }
.pace-track { position: relative; height: 14px; margin-top: 5px; }
.pace {
  position: absolute; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); white-space: nowrap;
}
.budget-note { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

.flow-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; }
.flow-row .name { width: 72px; font-size: 14px; color: var(--muted); flex: 0 0 auto; }
.flow-row .meter {
  flex: 1; height: 9px; border-radius: 5px;
  background: var(--track); overflow: hidden;
}
.flow-row .meter > span { display: block; height: 9px; border-radius: 5px; }
.flow-row .amount { font-size: 15px; font-weight: 600; }
.flow-net { display: flex; align-items: center; gap: 13px; padding: 12px 16px; }
.flow-net .name { flex: 1; font-size: 15px; font-weight: 500; color: var(--ink-solid); }
.flow-net .amount { font-size: 17px; font-weight: 600; color: var(--green); }

.list-row { display: flex; align-items: center; gap: 13px; padding: 12px 16px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* The app draws an account's or a category's icon at 55% of its disc — 22px on a 40px badge.
   The letter these discs used to carry is what the app
   falls back to for an icon name a build does not know, not what it normally shows. */
.avatar svg { width: 22px; height: 22px; }
.list-body { flex: 1; min-width: 0; }
.list-title-row { display: flex; align-items: center; gap: 8px; }
.list-title { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink-solid); }
.list-amount { font-size: 15px; font-weight: 600; }
.share-row { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.share-track {
  flex: 1; height: 7px; border-radius: 4px; background: var(--track); overflow: hidden;
}
.share-track > span { display: block; height: 7px; border-radius: 4px; }
.share-pct { width: 40px; text-align: right; font-size: 11px; color: var(--muted); }

.omitted-row { display: flex; align-items: center; gap: 13px; padding-top: 12px; }
.omitted-row .name {
  flex: 1; display: block; font-size: 15px; font-weight: 500; color: var(--ink-solid);
}
.omitted-row .sub { display: block; font-size: 12px; color: var(--muted); }
.omitted-note { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

.type-toggle { display: flex; gap: 8px; margin-top: 14px; }
.type-toggle > span {
  flex: 1; text-align: center; padding: 10px 0;
  font-size: 14px; font-weight: 600;
  color: var(--dim); background: var(--fill); border-radius: 10px;
}
.type-toggle > .is-active { color: #fff; background: var(--red); }
.entry-amount {
  font-size: 30px; font-weight: 700; letter-spacing: -.9px;
  color: var(--ink-solid); padding-top: 14px;
}
.entry-meta { font-size: 12px; color: var(--muted); }
.keypad {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px;
}
.keypad > span {
  text-align: center; padding: 10px 0;
  font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--fill); border-radius: 10px;
}
.keypad > .key-eq { color: var(--on-brand); background: var(--brand); }

/* ── Phone ──────────────────────────────────────────────────────── */
.phone-wrap {
  --s: 1;
  flex: 0 0 auto;
  width: calc(392px * var(--s));
  height: calc(812px * var(--s));
}
.phone {
  width: 392px; height: 812px; border-radius: 44px;
  background: var(--bezel); padding: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
  transform: scale(var(--s));
  transform-origin: top left;
}
.phone-screen {
  width: 360px; height: 780px; border-radius: 30px;
  background: var(--screen); overflow: hidden; position: relative; color: var(--screen-ink);
}
.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px 2px; font-size: 12px; font-weight: 600; color: var(--ink);
}
.status-battery {
  width: 16px; height: 8px; border: 1px solid var(--dim);
  border-radius: 2px; display: inline-block;
}
.app-bar { display: flex; align-items: center; height: 64px; padding: 0 4px 0 16px; }
.app-title {
  flex: 1; font-size: 30px; font-weight: 700; letter-spacing: -.9px; color: var(--ink-solid);
}
.icon-slot {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
}
.icon-pill {
  width: 28px; height: 28px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
.app-body { padding: 0 16px 24px; height: 617px; overflow: hidden; }
.app-label {
  padding: 8px 4px; font-size: 11px; letter-spacing: 1.1px;
  font-weight: 500; color: var(--muted);
}
.app-figure {
  font-size: 30px; font-weight: 700; letter-spacing: -.9px;
  color: var(--ink-solid); padding-top: 4px;
}
.app-delta { display: flex; align-items: center; gap: 8px; padding-top: 2px; }
.app-delta .up { font-size: 14px; color: var(--green); }
.app-delta .since { font-size: 14px; color: var(--muted); }
.chart-axis {
  display: flex; justify-content: space-between; padding-top: 4px;
  font-size: 11px; letter-spacing: 1.1px; color: var(--muted);
}
.range-control { margin-top: 12px; }
.range-control > span {
  flex: 1; text-align: center; padding: 8px 0;
  font-size: 14px; font-weight: 600; color: var(--dim); border-radius: 9px;
}
.range-control > .is-active {
  color: var(--ink); background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}
.range-control > .is-disabled { color: rgba(0, 0, 0, .2); }
.legend { display: flex; gap: 16px; padding-top: 12px; }
.legend > span { display: flex; align-items: center; gap: 6px; }
.legend .swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend .key { font-size: 12px; color: var(--ink); }
.legend .val { font-size: 12px; color: var(--muted); }
.app-section-head { display: flex; align-items: center; padding-top: 16px; }
/* The app bar's actions: 36dp discs, the page's card colour. */
.icon-disc {
  width: 36px; height: 36px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
/* The Home net worth card, in its default style. The fill is the app's fixed cobalt in both
   themes, not --brand, which turns pale on the dark page. */
.nw-card {
  margin-top: 12px; border-radius: 28px; background: #3659E3; color: #fff;
  padding: 18px 18px 0; overflow: hidden;
}
.nw-top { display: flex; align-items: center; gap: 8px; }
.nw-top .nw-pill { margin-right: auto; }
.nw-pill {
  display: inline-block; padding: 3px 8px; border-radius: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  color: #fff; background: rgba(255, 255, 255, .18);
}
.nw-disc {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.nw-figure {
  font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.6px;
  padding: 10px 0 6px;
}
.nw-chart { position: relative; margin: 10px -18px 0; height: 150px; }
.nw-chart svg { display: block; }
.nw-tip {
  position: absolute; min-width: 108px; padding: 6px 10px; border-radius: 12px;
  background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; align-items: center;
}
.nw-tip .date { font-size: 10.5px; color: #8A8F98; }
.nw-tip .value { font-size: 14px; font-weight: 700; color: #3659E3; }
.range-pills { display: flex; gap: 4px; margin-top: 14px; }
.range-pills > span {
  flex: 1; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.range-pills > .is-active { background: var(--ink-solid); color: var(--screen); }
.range-pills > .is-faded { opacity: .35; }
.split { padding-top: 14px; }
.split-bar { display: flex; gap: 3px; height: 8px; }
.split-bar > span { border-radius: 4px; }
.split-keys { display: flex; justify-content: space-between; padding-top: 6px; font-size: 11.5px; color: var(--muted); }
.split-keys b { font-weight: 500; color: var(--screen-ink); }
/* Home's add button: bottom right, above the tab bar. */
.fab {
  position: absolute; right: 16px; bottom: 96px; width: 56px; height: 56px; border-radius: 20px;
  background: #3659E3; box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  display: flex; align-items: center; justify-content: center;
}
.app-section-head .app-label { flex: 1; }
.app-row { display: flex; align-items: center; gap: 13px; padding: 12px 16px; }
.app-row .name { display: block; font-size: 15px; font-weight: 500; color: var(--ink-solid); }
.app-row .sub { display: block; font-size: 12px; color: var(--muted); }
.app-row .amount { font-size: 15px; color: var(--ink-solid); }
.stack-right { display: flex; flex-direction: column; align-items: flex-end; }
.stack-right .sub { font-size: 12px; color: var(--muted); }
.stack-right .gain { font-size: 12px; color: var(--green); }
.not-valued { font-size: 14px; color: var(--warn); }
/* The app's Pill: a word on a 14% tint of its own colour, beside the account's name. */
.row-badge {
  display: inline-block; margin-left: 7px; padding: 1px 6px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .03em; vertical-align: 1px;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent);
}
.view-all { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--brand); }
.tab-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: var(--card); display: flex; align-items: flex-start; padding-top: 12px;
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tab .glyph {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 32px;
}
/* No shape behind the selected tab: the app marks it by colour alone. */
.tab .label { font-size: 11px; font-weight: 600; color: var(--muted); }
.tab.is-active .label { color: var(--brand); }

/* ── How it works ───────────────────────────────────────────────── */
.step { display: flex; align-items: center; gap: 13px; padding: 20px 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--brand); color: var(--on-brand); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.step p { font-size: 14px; color: var(--body); padding-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-item { padding: 20px 24px; }
.faq-item h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-item p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--body); }

/* Sections carry top padding only, so the last one would sit flush against the
   full-bleed footer. The changelog section used to supply this gap before it
   was removed. Doc pages set their own bottom padding on .doc. */
.section:last-child { padding-bottom: 88px; }

/* ── Document pages (privacy, licences …) ───────────────────────── */
.doc { padding: 56px var(--gutter) 72px; max-width: 760px; margin: 0 auto; }
.doc-title {
  margin: 8px 0 0; font-size: 40px; line-height: 1.12; font-weight: 700;
  letter-spacing: -1.3px; color: var(--ink); text-wrap: pretty;
}
.doc-meta { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.doc-lede {
  margin: 20px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink); text-wrap: pretty;
}
.doc-body { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.doc-section { padding: 24px 26px; }
.doc-section h2 {
  margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.2px;
}
.doc-section h3 {
  margin: 20px 0 0; font-size: 15px; font-weight: 600; color: var(--ink);
}
.doc-section p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--body); }
.doc-section ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
/* The bullet is positioned rather than a flex item: as flex, every link or
   <strong> in an item became its own column and the sentence broke apart. */
.doc-section li {
  position: relative; padding-left: 14px;
  font-size: 14px; line-height: 1.5; color: var(--body);
}
.doc-section li::before { content: "·"; color: var(--brand); font-weight: 700; position: absolute; left: 0; }
.doc-section strong { color: var(--ink); font-weight: 600; }
/* A release's or a roadmap stage's status, beside its heading (changelog, roadmap). */
.doc-tag {
  display: inline-block; margin-left: 8px; padding: 3px 10px; vertical-align: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .2px; color: var(--muted);
  border: 1px solid var(--card-edge); border-radius: 999px;
}

@media (max-width: 640px) {
  .doc { padding: 36px 16px 56px; }
  .doc-title { font-size: 28px; letter-spacing: -.8px; }
  .doc-section { padding: 20px; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--panel); padding: var(--gutter); color: var(--panel-ink);
}
/* The panel is full-bleed; its contents keep the page's measure.
   The cap subtracts the gutter twice because sections inside .page are inset by
   it: a plain --page cap would sit 56px left of every card above it. */
.footer-inner {
  max-width: calc(var(--page) - var(--gutter) * 2);
  margin: 0 auto;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* The dark --wash-a and --wash-b, written out: this panel is dark on both
     themes, so it cannot read the tokens — they follow the page. */
  background-image:
    radial-gradient(560px 320px at 20% 0%, rgba(93, 126, 244, .20), transparent 70%),
    radial-gradient(520px 320px at 85% 110%, rgba(222, 187, 76, .14), transparent 72%);
}
.site-footer > * { position: relative; }
.footer-cta {
  text-align: center; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-cta h2 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -1.1px; }
.footer-cta p { margin: 10px 0 24px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-top: 28px; flex-wrap: wrap;
}
.footer-bar .brand-name { font-size: 15px; font-weight: 600; color: var(--panel-ink); }
.footer-links { display: flex; gap: 26px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, .6); }
.footer-links a:hover { color: var(--panel-ink); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* With Changelog and Roadmap the one-row header needs ~1,080px; below that
     the nav takes its own row, as it already did under 900px, rather than
     squeezing the Play button onto three lines. */
  .site-header { flex-wrap: wrap; justify-content: center; }
  .nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
  .nav > * { white-space: nowrap; }
  .showcase { flex-wrap: wrap; align-items: flex-start; gap: 28px; }
  .showcase-col { width: 340px; flex: 1 1 300px; max-width: 392px; padding-bottom: 0; }
  .phone-wrap { order: -1; flex: 1 1 100%; display: flex; justify-content: center; height: auto; }
  .phone-wrap .phone { transform: none; }
  .hero { padding-left: 48px; padding-right: 48px; }
}

/* ── Touch targets ──────────────────────────────────────────────── */
/* 44px is a finger's requirement, not a phone's. The narrow layouts get it by
   width; a tablet in landscape sits at desktop width and still gets it through
   the pointer query, while a mouse at the same width keeps the design's pills. */
@media (max-width: 900px), (pointer: coarse) {
  .nav > * { padding: 14px 14px; }
  .footer-links a { padding: 14px 6px; }
  .theme-toggle { height: 44px; }
  /* Hidden on phones, so the phone pass never met it: 39px at tablet widths. */
  .btn-sm { min-height: 44px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .site-header { padding: 20px 24px; }
  .hero { padding: 44px 24px 0; }
  .hero-figure { font-size: 64px; letter-spacing: -2px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; margin-top: 28px; }
  .showcase { padding-left: 24px; padding-right: 24px; }
  .footer-cta h2 { font-size: 28px; letter-spacing: -.8px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-top: 48px; }

  /* The header was stacking into three rows and taking 231px — most of the
     first screen — before any content. Lockup and theme control share one row;
     the nav gets its own. */
  .site-header { padding: 14px 16px; gap: 12px; justify-content: space-between; }
  .brand-lockup { width: 132px; height: 42px; }
  /* The hero's own "Get it on Google Play" sits directly below and is
     full-width, so the header duplicate only costs vertical space here. */
  .site-header .btn-sm { display: none; }
  /* Six items need ~490px in one row and a phone has ~343, so the nav is two
     rows of three rather than a strip that hides Changelog and Roadmap
     off its right edge. */
  .nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; }
  .nav > * { text-align: center; }
  .hero { padding: 36px 16px 0; }
  .hero-figure { font-size: 48px; letter-spacing: -1.5px; }
  .hero h1 { font-size: 27px; letter-spacing: -.7px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .showcase { padding: 40px 16px 0; }
  .showcase-col { flex: 1 1 100%; max-width: none; width: 100%; }
  .step { align-items: flex-start; padding: 18px 20px; }
  .section:last-child { padding-bottom: 64px; }
  .footer-bar { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; gap: 2px 14px; }
  .site-footer .brand-lockup { width: 160px; height: 51px; }
}

@media (max-width: 440px) {
  .phone-wrap { --s: .86; height: calc(812px * var(--s)); flex: 0 0 auto; }
  .phone-wrap .phone { transform: scale(var(--s)); }
  .showcase { justify-content: center; }
}

@media (max-width: 370px) {
  .phone-wrap { --s: .78; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Phone mockup: its own surface, not the page's ──────────────── */
/* The device screen is a picture of the app, so it follows the screen tokens
   rather than the page's glass — a translucent card inside a phone would show
   the page's gradient through the "device". */
.phone-screen .card,
.phone-screen .card-flush,
.phone-screen .tab-bar,
.phone-screen .icon-pill,
.phone-screen .segmented > .is-active {
  background: var(--screen-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
}
.phone-screen .rule { background: var(--screen-line); }
.phone-screen .status-bar,
.phone-screen .app-title,
.phone-screen .app-figure,
.phone-screen .app-row .name,
.phone-screen .app-row .amount,
.phone-screen .list-title,
.phone-screen .flow-net .name { color: var(--screen-ink); }
.phone-screen .status-battery { border-color: var(--muted); }
.phone-screen .tab.is-active .label { color: var(--brand); }

/* Cards drawn beside the phone are page furniture and stay glass, but their
   inner text still needs the page's ink. */
.budget-spent, .entry-amount, .list-title, .flow-net .name, .omitted-row .name {
  color: var(--ink-solid);
}

/* ── Section heads (features, plans) ───────────────────────────── */
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-title {
  margin: 8px 0 0; font-size: 36px; line-height: 1.12; font-weight: 700;
  letter-spacing: -1.1px; color: var(--ink); text-wrap: pretty;
}
.section-lede {
  margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty;
}

/* ── Feature spotlights ─────────────────────────────────────────── */
/* One feature pair per row, copy beside an illustration, sides alternating —
   the reference's rhythm. The illustration is real app UI composed from the
   same components the showcase uses, not artwork. */
.features { display: flex; flex-direction: column; }
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 36px 0;
}
.spotlight + .spotlight { padding-top: 44px; }
.spotlight.is-flipped .spot-visual { order: -1; }
.spot-eyebrow {
  display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: -.1px;
  color: var(--accent-a);
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.spot-title {
  margin: 12px 0 0; font-size: 36px; line-height: 1.12; font-weight: 700;
  letter-spacing: -1.1px; color: var(--ink); text-wrap: pretty;
}
.spot-lede {
  margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty;
}
.spot-list {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.spot-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--body); }
.spot-list strong { color: var(--ink); font-weight: 600; }
.spot-check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-a); background: color-mix(in srgb, var(--accent-a) 14%, transparent);
}
.spot-check svg { width: 14px; height: 14px; }

.spot-visual {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: 24px;
  background: var(--card-solid);
  border: 1px solid var(--card-edge);
  box-shadow: var(--card-shadow);
}
/* The reference's soft gradient behind each illustration. */
.spot-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 260px at 0% 0%, color-mix(in srgb, var(--accent-a) 22%, transparent), transparent 70%),
    radial-gradient(420px 260px at 100% 100%, color-mix(in srgb, var(--accent-b) 22%, transparent), transparent 70%);
}
.spot-visual > * { position: relative; }
.mock-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--muted); padding: 0 4px 8px;
}
/* Mock cards sit on the illustration panel, so they are solid, not glass. */
.spot-visual .mock {
  background: var(--card-solid); backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--line); box-shadow: none;
}
.mock-search {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--fill); color: var(--muted); font-size: 14px;
}
.mock-caret { color: var(--ink); font-weight: 500; }
.mock-caret::after {
  content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px;
  vertical-align: -2px; background: var(--accent-a);
}
.mock-glyph { background: var(--fill); color: var(--ink); }
.mock-switch {
  flex: 0 0 auto; width: 40px; height: 24px; border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b)); position: relative;
}
.mock-switch::after {
  content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff;
}
/* Home's net worth card as bars on the neutral card (board 22b). */
.spot-visual .nwb-card { padding: 18px 18px 14px; border-radius: 28px; }
.nwb-top { display: flex; align-items: center; gap: 8px; }
.nwb-top .nwb-pill { margin-right: auto; }
.nwb-pill {
  display: inline-block; padding: 3px 8px; border-radius: 11px; white-space: nowrap;
  font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .02em;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, transparent);
}
.nwb-disc {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--fill); color: var(--ink-solid);
}
.nwb-figure {
  font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.8px;
  color: var(--ink-solid); margin: 6px 0;
}
.nwb-plot { position: relative; margin-top: 10px; padding-top: 40px; }
.nwb-bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; }
.nwb-bars > span {
  flex: 1; border-radius: 999px; background: color-mix(in srgb, var(--brand) 18%, transparent);
}
.nwb-bars > .is-active { background: var(--brand); }
.nwb-tip {
  position: absolute; right: 0; top: 7px; padding: 4px 9px; border-radius: 11px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: var(--ink-solid); color: var(--card-solid);
}
.nwb-tip::after {
  content: ""; position: absolute; right: 7%; top: 100%;
  border: 6px solid transparent; border-top-color: var(--ink-solid); border-bottom: 0;
}
.nwb-months { display: flex; gap: 8px; margin-top: 6px; }
.nwb-months > span { flex: 1; text-align: center; font-size: 10px; font-weight: 500; color: var(--muted); }
.nwb-months > .is-active { font-weight: 700; color: var(--ink-solid); }
/* The Categories tab (board 18a): the total in type, one share strip, then a plain ledger. */
.cat-head { padding: 0 4px 18px; }
.cat-spent-label, .cat-earned { font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-spent { font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--ink-solid); margin-top: 2px; }
.cat-earned { margin-top: 6px; }
.cat-earned b { font-weight: 600; color: var(--ink-solid); }
.cat-strip { display: flex; gap: 2px; height: 14px; margin-top: 16px; }
.cat-strip > span { border-radius: 2px; }
.cat-strip > span:first-child { border-radius: 7px 2px 2px 7px; }
.cat-strip > span:last-child { border-radius: 2px 7px 7px 2px; }
.cat-row { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px 0 16px; }
.cat-row .key { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.cat-row .name {
  flex: 1; min-width: 0; font-size: 15px; font-weight: 500; color: var(--ink-solid);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-row .pct { width: 38px; text-align: right; font-size: 13px; font-weight: 500; color: var(--muted); }
.cat-row .amount { width: 92px; text-align: right; font-size: 15px; font-weight: 600; color: var(--ink-solid); }
.cat-row .chev { flex: 0 0 auto; color: var(--muted); opacity: .6; }
@media (max-width: 480px) {
  .cat-row { gap: 10px; padding: 0 10px 0 14px; }
  .cat-row .pct { width: 32px; }
  .cat-row .amount { width: auto; }
}

/* ── Plans ──────────────────────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  padding: 32px; border-radius: 24px;
  background: var(--card); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--card-edge); box-shadow: var(--card-shadow);
}
/* The paid card carries the gradient on its edge rather than a flat green. */
.plan.is-paid { position: relative; border-color: transparent; }
.plan.is-paid::before {
  content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan-name { font-size: 28px; font-weight: 700; letter-spacing: -.8px; color: var(--ink); }
.plan-tag {
  display: inline-block; margin-top: 8px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--muted); background: var(--fill);
}
.plan.is-paid .plan-tag { color: var(--accent-a); background: color-mix(in srgb, var(--accent-a) 14%, transparent); }
.plan-list {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.plan-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--body); }
.plan-note { padding-top: 16px; line-height: 1.5; }

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .spotlight.is-flipped .spot-visual { order: 0; }
  .section-title, .spot-title { font-size: 30px; letter-spacing: -.9px; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-title, .spot-title { font-size: 26px; letter-spacing: -.7px; }
  .section-head { margin-bottom: 28px; }
  .spot-visual { padding: 18px; border-radius: 20px; }
  .plan { padding: 24px; }
  .plan-name { font-size: 24px; }
}

/* ── Footer legal line ──────────────────────────────────────────── */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.footer-legal a { color: rgba(255, 255, 255, .78); }
.footer-legal a:hover { color: var(--panel-ink); }
@media (max-width: 640px) { .footer-legal { justify-content: center; text-align: center; } }
@media (max-width: 900px), (pointer: coarse) { .footer-legal a { display: inline-block; padding: 14px 2px; } }
