@font-face {
  font-family: "Clash Display";
  src: url("/fonts/clash-display-variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

/* Cairo, self-hosted. Latin covers the text, latin-ext covers the rupee sign. */
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 400; src: url("/fonts/cairo-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 400; src: url("/fonts/cairo-latin-400-normal.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; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 500; src: url("/fonts/cairo-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 500; src: url("/fonts/cairo-latin-500-normal.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; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 600; src: url("/fonts/cairo-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 600; src: url("/fonts/cairo-latin-600-normal.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; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 700; src: url("/fonts/cairo-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-style: normal; font-display: swap; font-weight: 700; src: url("/fonts/cairo-latin-700-normal.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; }
/* Until Cairo arrives, the text is set in a system face sized to Cairo's widths and line metrics,
   so the swap does not rewrap lines or move anything on a first visit. Measured against Arial (Roboto is within 1%). */
@font-face { font-family: "Cairo Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Roboto"), local("Roboto-Regular"); size-adjust: 93%; ascent-override: 140.1%; descent-override: 61.4%; line-gap-override: 0%; }
@font-face { font-family: "Cairo Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 88.9%; ascent-override: 146.6%; descent-override: 64.2%; line-gap-override: 0%; }
@font-face { font-family: "Clash Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 98.9%; ascent-override: 90%; descent-override: 25.3%; line-gap-override: 9.1%; }

/*
  Zendt homepage, app graphite.
  One idea from top to bottom: the app's tile. The hero is the welcome wall from the app, scrolling straightens it and lifts
  three tiles out to show the money moving, a pinned stage plays each feature in tiles, and the closing wall rebuilds itself.
  Every section shares one head (chip, headline, lead), one tile, one set of easings.
*/
:root {
  /* The page. Dark is the default, light is opt-in from the switch in the nav (src/js/site.js, head script in build.mjs).
     Colour is status only, with the web app's values: green for money (--money, --num), rose for late, amber for warnings. */
  --bg: #141414;
  --bg-c: 20 20 20;
  --glow-img: url("/img/glow.svg");
  --glow-top-img: url("/img/glow.svg");
  --glow-op: 1;
  --fg: 255 255 255;
  --money-c: 52 211 153;
  --sh-c: 0 0 0;
  --sh-k: 1;
  --sunk: #0E0E0E;
  --panel: #161616;
  --chip: #2C2C2C;
  --ink: #EDEDED;
  --ink-2: rgb(var(--fg) / .72);
  --muted: rgb(var(--fg) / .6);
  --subtle: rgb(var(--fg) / .55);
  --line: rgb(var(--fg) / .07);
  --line-2: rgb(var(--fg) / .12);
  --tile: linear-gradient(160deg, #232323, #161616);
  --tile-hi: linear-gradient(160deg, #282828, #171717);
  --tile-paid: linear-gradient(160deg, #282828, #171717);
  --tile-shadow: 0 20px 40px rgb(0 0 0 / .45);
  --money: #34D399;
  --num: #34D399;
  --late: #FB7185;
  --warn: #F5A524;
  --dot-ok: var(--money); --dot-warn: var(--warn); --dot-late: var(--late);
  --hi: #FFFFFF;
  --btn: #FFFFFF;
  --btn-ink: #0A0A0A;
  --btn-hover: #F0F1F3;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23EDEDED' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 25l9 8.5L39 13'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23EDEDED' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5'/%3E%3C/svg%3E");
  --display: "Clash Display", "Clash Fallback", "Cairo", "Cairo Fallback", ui-sans-serif, system-ui, sans-serif;
  --body: "Cairo", "Cairo Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --nav-h: 68px;
  --sec: clamp(88px, 11vw, 160px);
  --pad: clamp(20px, 2.2vw, 28px);
  --pad-lg: clamp(22px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
/* Light: neutral paper and true white cards, so it reads like the app in daylight. Text colours pass AA on the page and on cards. */
:root[data-theme="light"] {
  --bg: #F4F4F2;
  --bg-c: 244 244 242;
  --glow-img: url("/img/glow-light.svg");
  --glow-top-img: url("/img/glow-light.svg");
  --fg: 17 17 17;
  --money-c: 4 107 77;
  --sh-c: 20 20 24;
  --sh-k: .3;
  --sunk: #EBEBE8;
  --panel: #FFFFFF;
  --chip: #E4E4E0;
  --ink: #111111;
  --ink-2: rgb(var(--fg) / .78);
  --muted: rgb(var(--fg) / .64);
  --subtle: rgb(var(--fg) / .62);
  --line: rgb(var(--fg) / .09);
  --line-2: rgb(var(--fg) / .15);
  --tile: linear-gradient(180deg, #FFFFFF, #FBFBFA);
  --tile-hi: linear-gradient(180deg, #FFFFFF, #F9F9F8);
  --tile-paid: linear-gradient(180deg, #FFFFFF, #F9F9F8);
  --tile-shadow: 0 1px 2px rgb(20 20 24 / .05), 0 22px 44px -24px rgb(20 20 24 / .18);
  --money: #046B4D;
  --num: #046B4D;
  --late: #BE123C;
  --warn: #8F5208;
  --dot-ok: var(--money); --dot-warn: var(--warn); --dot-late: var(--late);
  --hi: #111111;
  --btn: #111111;
  --btn-ink: #FFFFFF;
  --btn-hover: #2A2A2A;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23111111' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 25l9 8.5L39 13'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5'/%3E%3C/svg%3E");
  color-scheme: light;
}
/* The app is dark in both themes: phones, app scenes and the tiles around them keep the app's colours on the light page. */
:root[data-theme="light"] :is(.dk, .sp__phone, .ph__float, .appw, .ch__vis, .story__stage .fitbox, .g2__wall, .g2__lift, .g__stage) {
  --fg: 255 255 255;
  --money-c: 52 211 153;
  --sh-c: 0 0 0;
  --sh-k: 1;
  --sunk: #0E0E0E;
  --panel: #161616;
  --chip: #2C2C2C;
  --ink: #EDEDED;
  --ink-2: rgb(var(--fg) / .72);
  --muted: rgb(var(--fg) / .6);
  --subtle: rgb(var(--fg) / .55);
  --line: rgb(var(--fg) / .07);
  --line-2: rgb(var(--fg) / .12);
  --tile: linear-gradient(160deg, #232323, #161616);
  --tile-hi: linear-gradient(160deg, #282828, #171717);
  --tile-paid: linear-gradient(160deg, #282828, #171717);
  --tile-shadow: 0 20px 40px rgb(0 0 0 / .45);
  --money: #34D399;
  --num: #34D399;
  --late: #FB7185;
  --warn: #F5A524;
  --dot-ok: var(--money); --dot-warn: var(--warn); --dot-late: var(--late);
  --hi: #FFFFFF;
  --btn: #FFFFFF;
  --btn-ink: #0A0A0A;
  --btn-hover: #F0F1F3;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23EDEDED' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 25l9 8.5L39 13'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23EDEDED' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5'/%3E%3C/svg%3E");
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
/* Smooth jumps to page sections on phones and tablets, where Lenis is off. Lenis handles mouse and trackpad. */
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
main > section, main > div { position: relative; }

/* The web app's glow (GlowCard in the app): peach into slate into navy at 20%, top left of a card.
   .glow is the element, .glowcard gives any card one with no extra markup. */
.glow { position: absolute; z-index: -1; left: -166px; top: -216px; width: 818px; aspect-ratio: 719 / 618; pointer-events: none; background: var(--glow-img) center / 100% 100% no-repeat; }
.glowcard { position: relative; isolation: isolate; overflow: hidden; }
.glowcard::before { content: ""; position: absolute; z-index: -1; left: -166px; top: -216px; width: 818px; aspect-ratio: 719 / 618; pointer-events: none; background: var(--glow-img) center / 100% 100% no-repeat; }
/* A page hero gets the same glow, larger, across the top behind the headline. Same strength as the app's: a stronger one read as a different colour. */
.glow--top { background-image: var(--glow-top-img); left: calc(max(var(--gut), (100% - var(--max)) / 2 + var(--gut)) - 300px); top: -360px; width: min(1560px, 190vw); }
/* Switching theme fades the colours instead of snapping */
.theme-swap, .theme-swap *, .theme-swap *::before, .theme-swap *::after { transition: background-color .4s, color .4s, border-color .4s, fill .4s, stroke .4s !important; }

/* Shared type */
.h2 { margin: 0; font: 500 clamp(2.4rem, 5.4vw, 4.6rem)/.96 var(--display); letter-spacing: -.032em; text-wrap: balance; }
.lead { margin: 0; max-width: 34rem; font-size: clamp(1.05rem, 1.45vw, 1.2rem); color: var(--ink-2); text-wrap: pretty; }
.small { margin: 0; font-size: 14px; color: var(--muted); }
.note { margin: 0; font-size: 13px; color: var(--muted); }
/* The mask is a little wider than the word: tight tracking pulls the box in under the last letter, which would be cut off. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .12em 0; margin: 0 -.12em -.12em 0; }
.wi { display: inline-block; }

/* Chip, buttons, pills, icon squares */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: rgb(var(--fg) / .06); border: 1px solid var(--line); font: 600 13px/1 var(--body); color: var(--ink-2); white-space: nowrap; }
.eyebrow .ic { width: 22px; height: 22px; border-radius: 50%; background: rgb(var(--fg) / .1); }
.eyebrow .ic svg { width: 13px; height: 13px; }
.eyebrow img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.eyebrow em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 12px; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s; }
.btn--primary { background: var(--btn); color: var(--btn-ink); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { background: rgb(var(--fg) / .08); color: var(--ink); }
.btn--ghost:hover { background: rgb(var(--fg) / .13); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
/* Status chips: one neutral chip for every state. Only the small dot carries the state: green, amber or rose. */
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 8px; font: 500 12.5px/1 var(--body); white-space: nowrap; background: rgb(var(--fg) / .07); color: var(--ink-2); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--fg) / .4); }
.pill--paid .dot { background: var(--dot-ok); }
.pill--late .dot { background: var(--dot-late); }
.pill--warn .dot { background: var(--dot-warn); }
.pill--paid:not(:has(.dot))::before, .pill--late:not(:has(.dot))::before, .pill--warn:not(:has(.dot))::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot-ok); }
.pill--late:not(:has(.dot))::before { background: var(--dot-late); }
.pill--warn:not(:has(.dot))::before { background: var(--dot-warn); }
.ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgb(var(--fg) / .08); color: var(--ink); }
.ic svg { width: 20px; height: 20px; }
.ic--sm { width: 32px; height: 32px; border-radius: 10px; font: 600 12px/1 var(--body); }
.tile { border-radius: 24px; border: 1px solid var(--line); background: var(--tile); box-shadow: var(--tile-shadow); }
.tile--paid { background: var(--tile-paid); }

/* Section head, the same everywhere */
.sec { border-top: 1px solid var(--line); padding-block: var(--sec); overflow-x: clip; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 22px 64px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px); }
.sec__head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 900px) { .sec__head { grid-template-columns: 1fr; } }
/* A quiet row of next steps under a section */
.more { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(32px, 4vw, 48px) 0 0; }

/* Text selection in the site's own neutral tone, never the browser's blue. */
::selection { background: rgb(var(--fg) / .16); color: inherit; }
img::selection, svg::selection { background: transparent; }
html { -webkit-tap-highlight-color: transparent; }

/* Figures. Money and percentages are wrapped in .n at build time; values filled by scripts are listed by class.
   Clash Display's digits collide under negative tracking, so figures get neutral spacing and equal-width digits. */
.n, .lg__inr, .lg__from, .mh-t b, .mh-mode b, .hero__price dd, .mkt__v, .lc__u b, .band__f dd, .fin__f dd, .doc__total b,
.plink__amt, .paycard__amt, .psettle b, .dsum__big, .price__num, .dom__p b, .cmp__v b, .mt b, .cost__v, .fig__num,
.keep__v, .lk__num, .lk__rates dd, .lx__total td:last-child, [data-fx], [data-fx-rate] {
  letter-spacing: .01em; font-feature-settings: "tnum" 1, "lnum" 1;
}
.n { white-space: nowrap; }
/* Display headings: a little more room between words, so lines read as words, not one block. */
:where(h1, h2, h3, .h2, .hero__title, .say__t, .lc__t, .band__t, .fin__t, .quote p, .calc__q, .calc__a, .mq li, .g2__name b, .sum) { word-spacing: .06em; }

/* Nav */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
.nav.is-scrolled, .nav.is-open { background: rgb(var(--bg-c) / .78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
/* Slid away, the bar is also hidden once it has gone, so Tab cannot land on links that are off the screen. */
.nav.is-away { transform: translateY(calc(-100% - 2px)); visibility: hidden; transition: background-color .3s, border-color .3s, transform .45s var(--ease), visibility 0s .45s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: calc(var(--nav-h) - var(--bar-h)); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 15px/1 var(--body); letter-spacing: .34em; }
.logo img { width: 26px; }
[data-theme="light"] .logo img { filter: invert(1); }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.drawer a[aria-current="page"] { color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__login { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__login:hover { color: var(--ink); }
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: color .2s, background-color .2s; }
.theme-btn:hover { color: var(--ink); background: rgb(var(--fg) / .07); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn__sun, [data-theme="light"] .theme-btn__moon { display: none; }
[data-theme="light"] .theme-btn__sun { display: block; }
.icon-btn { width: 40px; height: 40px; display: none; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.drawer { border-top: 1px solid var(--line); }
.drawer ul { list-style: none; margin: 0; padding-top: 12px; padding-bottom: 24px; display: grid; }
.drawer a { display: block; padding: 14px 0; font: 500 22px/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
/* The full row of links, Log in and Create account needs about 970px. Below 1024px the bar keeps the logo, theme and menu button. */
@media (max-width: 1023.98px) { .nav__links { display: none; } .nav__login { padding: 0 4px; font-size: 14px; white-space: nowrap; } .icon-btn { display: grid; } }
@media (max-width: 400px) { .nav__end { gap: 6px; } .nav__end .btn--sm { padding: 0 12px; } .theme-btn { width: 34px; } }
@media (max-width: 350px) { .nav__login { display: none; } }

/* Floating bar: the app's bottom tab bar, for the website. In after the hero, out at the top. */
.fnav { position: fixed; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 49; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; opacity: 0; visibility: hidden; transform: translate3d(0, 28px, 0) scale(.96); will-change: transform, opacity;
  transition: opacity .22s ease, transform .3s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .3s; }
.fnav.is-on { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0) scale(1); transition: opacity .35s ease, transform .55s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.fnav.is-on .fnav__bar { pointer-events: auto; }
.fnav__bar { display: flex; align-items: center; gap: 6px; height: 58px; padding: 0 7px 0 18px; border-radius: 66px; background: rgb(30 30 30 / .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 24px 45px rgb(6 6 9 / .4), inset 0 0 0 1px rgb(255 255 255 / .08); }
[data-theme="light"] .fnav__bar { background: rgb(255 255 255 / .9); box-shadow: 0 20px 40px -12px rgb(20 20 24 / .22), inset 0 0 0 1px rgb(17 17 17 / .08); }
.fnav__logo { display: grid; place-items: center; width: 40px; height: 44px; margin-right: 0; }
.fnav__logo img { width: 22px; }
[data-theme="light"] .fnav__logo img { filter: invert(1); }
.fnav__links { display: flex; list-style: none; margin: 0; padding: 0; }
.fnav__links a { display: block; padding: 10px 13px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color .2s, background-color .2s; }
.fnav__links a:hover { color: var(--ink); background: rgb(var(--fg) / .05); }
.fnav__links a:active, .fnav__cta:active { transform: scale(.96); }
.fnav__links a, .fnav__cta { transition: color .2s, background-color .2s, transform .15s ease; }
.fnav__links a[aria-current="page"] { color: var(--ink); background: rgb(var(--fg) / .08); }
.fnav__login { padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; border-left: 1px solid var(--line-2); margin-left: 2px; transition: opacity .2s; }
.fnav__login:hover { opacity: .75; }
.fnav__cta { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; margin-left: 4px; }
@media (max-width: 640px) {
  .fnav__wide { display: none; }
  .fnav__bar { padding-left: 12px; gap: 2px; }
  .fnav__logo { margin-right: 0; }
  .fnav__links a { padding: 10px 9px; font-size: 14px; }
  .fnav__login { padding: 10px 9px; font-size: 14px; }
  .fnav__cta { padding: 0 14px; }
}
@media (max-width: 400px) { .fnav__bar { padding-left: 6px; } }
@media (max-width: 820px) { .fnav__logo { display: none; } }
.fnav__logo { flex: none; }
@media (prefers-reduced-motion: reduce) { .fnav, .fnav.is-on { transform: none; transition: opacity .2s, visibility 0s linear .2s; } .fnav.is-on { transition: opacity .2s; } }

/* Launch bar: sits on top of the nav until launch. Same colours as the primary button, so it flips with the theme. */
:root { --bar-h: 0px; }
html.has-bar { --bar-h: 40px; --nav-h: 108px; }
.lbar { display: flex; align-items: center; justify-content: center; gap: 14px; height: var(--bar-h); padding: 0 var(--gut); background: var(--btn); color: var(--btn-ink); text-decoration: none; font: 500 14px var(--body); overflow: hidden; }
.lbar b { font: 500 14.5px var(--display); letter-spacing: -.01em; white-space: nowrap; }
.lbar__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
@media (prefers-reduced-motion: no-preference) { .lbar__dot { animation: lbar-pulse 2.4s ease-in-out infinite; } }
@keyframes lbar-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 0%, transparent); } }
.lbar__cd { display: flex; gap: 4px; }
.lbar__cd span { min-width: 36px; height: 24px; padding: 0 6px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, currentColor 13%, transparent); font: 500 12.5px var(--display); font-variant-numeric: tabular-nums; }
.lbar__go { height: 26px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; background: var(--btn-ink); color: var(--btn); font: 600 12.5px var(--body); }
.lbar:hover .lbar__go { opacity: .9; }
.lbar__s { display: none; }
@media (max-width: 760px) { .lbar { gap: 10px; } .lbar__l { display: none; } .lbar__s { display: inline; } .lbar__go { display: none; } .lbar b { font-size: 13px; } }
@media (max-width: 560px) { .lbar { gap: 8px; padding: 0 12px; } .lbar__dot, .lbar__cd .lbar__sec { display: none; } .lbar__cd span { min-width: 30px; padding: 0 5px; font-size: 12px; } .lbar b { font-size: 12.5px; } }
@media (max-width: 370px) { .lbar__cd span:nth-child(3) { display: none; } }

/* Tap targets and small phones */
.logo { min-height: 44px; }
.fnav__bar { max-width: calc(100vw - 24px); }
@media (max-width: 380px) { .logo { letter-spacing: .22em; gap: 8px; } .nav__end .btn--sm { padding: 0 10px; font-size: 13px; } }

/* Phones and tablets: the top bar keeps the logo, theme and menu. Log in and Create account live in the menu,
   which fills the screen below the bar, with the two actions pinned at the bottom in thumb reach. */
@media (max-width: 1023.98px) {
  .nav__login, .nav__cta { display: none; }
  .drawer:not([hidden]) { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
  .drawer ul { flex: none; padding-top: 6px; padding-bottom: 0; }
  .drawer a { padding: 13px 0; font: 500 20px/1.2 var(--display); letter-spacing: -.015em; }
  .drawer li:last-child a { border-bottom: 0; }
  .drawer__acts { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
  .drawer__acts .btn { display: inline-flex; height: 48px; width: 100%; padding: 0 16px; border: 0; justify-content: center; font: 600 15px/1 var(--body); letter-spacing: 0; }
}
@media (max-width: 1023.98px) and (max-height: 700px) { .drawer a { padding: 10px 0; font-size: 18.5px; } }
html.menu-open { overflow: hidden; }
html.menu-open .fnav { opacity: 0; visibility: hidden; }
/* With the menu open the bar is solid, so nothing on the page shows through */
.nav.is-open { background: var(--bg); }

/* Floating bar on phones: Log in lives in the menu, so the bar is shorter and covers less of the page */
@media (max-width: 640px) {
  .fnav__login { display: none; }
  .fnav__bar { height: 52px; padding-left: 10px; }
  .fnav__cta { height: 40px; }
}

/* Menu motion: a soft drop and fade, links rising in turn, the icon turning into a close mark */
.drawer { opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .34s cubic-bezier(.16, 1, .3, 1); }
.drawer.is-on { opacity: 1; transform: none; }
.drawer li, .drawer__acts { opacity: 0; transform: translateY(10px); transition: opacity .28s ease, transform .5s cubic-bezier(.16, 1, .3, 1); }
.drawer.is-on li, .drawer.is-on .drawer__acts { opacity: 1; transform: none; }
.drawer.is-on li:nth-child(1) { transition-delay: .03s; } .drawer.is-on li:nth-child(2) { transition-delay: .06s; }
.drawer.is-on li:nth-child(3) { transition-delay: .09s; } .drawer.is-on li:nth-child(4) { transition-delay: .12s; }
.drawer.is-on li:nth-child(5) { transition-delay: .15s; } .drawer.is-on li:nth-child(6) { transition-delay: .18s; }
.drawer.is-on li:nth-child(7) { transition-delay: .21s; } .drawer.is-on .drawer__acts { transition-delay: .26s; }
#menuBtn .mb { transform-box: view-box; transform-origin: 12px 12px; transition: transform .32s cubic-bezier(.16, 1, .3, 1); }
#menuBtn[aria-expanded="true"] .mb--1 { transform: translateY(4px) rotate(45deg); }
#menuBtn[aria-expanded="true"] .mb--2 { transform: translateY(-4px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer li, .drawer__acts, #menuBtn .mb { transform: none !important; transition: opacity .15s ease !important; } }

/* Phones and tablets: the main bar stays at the top the whole way down, and the floating bar is not used.
   900px, the same width at which the page layouts go to one column, so the two always change together. */
@media (max-width: 900px) {
  .nav.is-away { transform: none; visibility: visible; }
  .fnav { display: none !important; }
}

/* Floating bar: soft corners rather than a full pill, matching the site's buttons */
.fnav__bar { border-radius: 16px; }
.fnav__links a, .fnav__links a[aria-current="page"] { border-radius: 10px; }
.fnav__cta { border-radius: 11px; }

/* Square flags, used in tiles, cards and the calculator. The .f-xx rules must stay after .mt__flag. */
.mt__flag { display: block; width: 40px; height: 40px; border-radius: 12px; background: center / cover no-repeat; }
.f-us { background-image: url("/flags/us.svg"); }
.f-eu { background-image: url("/flags/eu.svg"); }
.f-gb { background-image: url("/flags/gb.svg"); }
.f-ae { background-image: url("/flags/ae.svg"); }
.f-in { background-image: url("/flags/in.svg"); }
.f-sg { background-image: url("/flags/sg.svg"); }
.f-au { background-image: url("/flags/au.svg"); }
.f-ca { background-image: url("/flags/ca.svg"); }
.f-ch { background-image: url("/flags/ch.svg"); }
.f-jp { background-image: url("/flags/jp.svg"); }
.f-nz { background-image: url("/flags/nz.svg"); }
.f-sa { background-image: url("/flags/sa.svg"); }
.f-hk { background-image: url("/flags/hk.svg"); }
.f-qa { background-image: url("/flags/qa.svg"); }
.f-za { background-image: url("/flags/za.svg"); }
.f-th { background-image: url("/flags/th.svg"); }

/* Reveal on scroll (src/js/site.js). Off for reduced motion, and shown anyway if the script never runs. */
.rv [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv [data-reveal].in { opacity: 1; transform: none; }

/* The names wall: marketplace names in the display face, set as a still list. Plain text, never logos. */
.mq { list-style: none; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(8px, 1.5vw, 16px) max(var(--gut), env(safe-area-inset-right, 0px)) clamp(8px, 1.5vw, 16px) max(var(--gut), env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(22px, 3vw, 44px); }
.mq li { font: 500 clamp(1.9rem, 4.2vw, 3.6rem)/1.08 var(--display); letter-spacing: -.03em; color: rgb(var(--fg) / .5); white-space: nowrap; }
.mkt__wall { margin-bottom: clamp(44px, 5.5vw, 72px); }
.sec--wall { padding-block: clamp(40px, 5vw, 72px); }
.sec--wall .mkt__wall { margin: 0; }

/* ===== Footer ===== */
.foot { position: relative; background: var(--sunk); border-top: 1px solid var(--line); padding-block: 64px 120px; font-size: 14px; color: var(--muted); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 14px; font: 600 14px/1.2 var(--body); color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot__brand p { max-width: 30ch; margin: 16px 0 0; }
.foot__partners { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 13px; color: var(--muted); }
.foot__partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.foot__partners li { font: 600 14px/1 var(--body); letter-spacing: .01em; color: var(--ink-2); }
.foot__partners img { display: block; height: 18px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .5; }
.foot__legal { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; line-height: 1.6; }
.foot__legal p { margin: 0; max-width: 90ch; }
@media (max-width: 900px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
.foot__logo { display: inline-block; }
.foot__logo img { display: block; width: 136px; height: auto; }
[data-theme="light"] .foot__logo img { filter: invert(1); }

/* Phones: a short footer. Logo, one row of company and legal links, then the legal lines payment partners check for.
   Product and Learn links are in the menu, and stay in the page for search. */
@media (max-width: 760px) {
  .foot { padding-block: 40px 32px; }
  .foot__top { display: flex; flex-wrap: wrap; gap: 22px 0; }
  .foot__brand { flex: 0 0 100%; }
  .foot__brand p { display: none; }
  .foot__logo img { width: 104px; }
  .foot__top > div:not(.foot__brand) { display: contents; }
  .foot__top > div:nth-child(2), .foot__top > div:nth-child(3) { display: none; }
  .foot__top h4 { display: none; }
  .foot__top { gap: 12px 20px; }
  .foot__brand { margin-bottom: 10px; }
  .foot__top ul { display: contents; }
  .foot__top .foot__signup { display: none; }
  .foot__top a { font-size: 14px; }
  .foot__legal { margin-top: 22px; padding-top: 18px; gap: 6px; font-size: 12px; line-height: 1.55; }
}

/* Black footer in both themes, a clear end to the page that echoes the black bar at the top */
.foot { --f-bg: #0E0E0E; --f-ink: #FFFFFF; --f-2: rgb(255 255 255 / .72); --f-m: rgb(255 255 255 / .55); --f-line: rgb(255 255 255 / .1); background: var(--f-bg); color: var(--f-m); border-top-color: transparent; }
[data-theme="light"] .foot { --f-bg: #0E0E0E; }
:root:not([data-theme="light"]) .foot { --f-bg: #080808; border-top-color: rgb(255 255 255 / .06); }
.foot h4 { color: var(--f-ink); }
.foot a { color: var(--f-2); }
.foot a:hover { color: var(--f-ink); }
.foot__legal { border-top-color: var(--f-line); }
.foot__legal a { color: var(--f-ink); }
[data-theme="light"] .foot__logo img { filter: none; }
.foot a:focus-visible { outline: 2px solid var(--f-ink); outline-offset: 3px; border-radius: 4px; }

/* Social icons under the logo. Pulled left so the first glyph lines up with the logo. */
.foot .foot__top .foot__social { display: flex; flex-wrap: nowrap; gap: 4px; margin: 20px 0 0 -9px; }
.foot__social li { margin: 0; }
.foot__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--f-m); transition: color .2s, background-color .2s; }
.foot__social a:hover { color: var(--f-ink); background: rgb(255 255 255 / .07); }
@media (max-width: 760px) { .foot .foot__top .foot__social { margin-top: 12px; } }

/* Our own dropdown. The native <select> stays in the page as the value and the fallback.
   A clear button sits on top of it and opens this list instead of the browser's. Behaviour: src/js/site.js (Dropdowns). */
.zsel { position: relative; display: inline-block; }
.fld .zsel { display: block; }
.zsel > select { pointer-events: none; }
.zsel__hit { position: absolute; inset: -4px -2px; z-index: 1; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: transparent; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fld .zsel__hit { inset: 0; border-radius: 14px; }
.zsel__hit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.inl:has(.zsel__hit[aria-expanded="true"]) { border-color: var(--ink); }
.fld:has(.zsel__hit[aria-expanded="true"]) select { border-color: var(--ink); }

.zpop { position: absolute; z-index: 90; width: 300px; max-width: calc(100vw - 24px); display: flex; flex-direction: column; background: var(--panel); color: var(--ink); border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -18px rgb(0 0 0 / .42), 0 6px 16px -8px rgb(0 0 0 / .2); overflow: hidden;
  font: 400 15px/1.3 var(--body); letter-spacing: 0; text-align: left; opacity: 0; transform: translateY(-4px) scale(.985); transform-origin: top left; transition: opacity .16s ease, transform .2s cubic-bezier(.16, 1, .3, 1); }
[data-theme="light"] .zpop { box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px rgb(0 0 0 / .28), 0 6px 16px -8px rgb(0 0 0 / .12); }
.zpop.is-up { transform-origin: bottom left; transform: translateY(4px) scale(.985); }
.zpop.is-on { opacity: 1; transform: none; }
.zpop--short { width: auto; min-width: 220px; }
.zpop__head { display: none; }
.zpop__search { flex: none; display: flex; align-items: center; gap: 10px; margin: 10px 10px 2px; height: 42px; padding: 0 14px; border-radius: 12px; background: rgb(var(--fg) / .055); }
.zpop__search svg { flex: none; width: 15px; height: 15px; color: var(--muted); }
.zpop__search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); font: 400 16px var(--body); }
.zpop__search input::placeholder { color: var(--muted); }
.zpop__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 8px; scrollbar-width: thin; }
.zpop__g { padding: 12px 12px 5px; font: 600 12.5px/1 var(--body); color: var(--muted); }
.zpop__o { display: grid; grid-template-columns: 52px 1fr 16px; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; color: var(--ink-2); }
.zpop--short .zpop__o { grid-template-columns: 1fr 16px; gap: 18px; }
.zpop__o b { font: 500 16px/1 var(--display); letter-spacing: .01em; color: var(--ink); }
.zpop--short .zpop__o b { font: 500 15.5px/1.2 var(--body); letter-spacing: 0; }
.zpop__o span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zpop__o.is-act { background: rgb(var(--fg) / .06); }
.zpop__o[aria-selected="true"] i { width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(-45deg); }
.zpop__none { padding: 18px 12px; color: var(--muted); }
.zpop__dim { display: none; }

/* Phones: a sheet from the bottom, in thumb reach */
@media (max-width: 640px) {
  .zpop { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: min(78vh, 620px); border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%); transition: transform .32s cubic-bezier(.16, 1, .3, 1); opacity: 1; box-shadow: 0 -12px 40px rgb(0 0 0 / .3); }
  .zpop.is-up, .zpop.is-on { transform: none; }
  .zpop.is-on.is-closing { transform: translateY(100%); }
  .zpop--short { min-width: 0; }
  .zpop__head { display: block; flex: none; padding: 8px 20px 2px; }
  .zpop__head::before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 9px; background: rgb(var(--fg) / .18); }
  .zpop__head b { font: 500 20px/1.2 var(--display); letter-spacing: -.01em; }
  .zpop__search { margin: 12px 14px 2px; }
  .zpop__list { padding: 4px 8px 14px; }
  .zpop__o { min-height: 48px; }
  .zpop__dim { display: block; position: fixed; inset: 0; z-index: 89; background: rgb(8 8 10 / .4); opacity: 0; transition: opacity .25s ease; }
  .zpop__dim.is-on { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .zpop, .zpop.is-up, .zpop__dim { transition: opacity .12s ease; transform: none !important; } }
.zpop [hidden] { display: none !important; }

/* Cookie note for the Meta pixel (src/js/consent.js). A small card at the bottom left, under the menu. */
.cbar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 48; width: min(340px, calc(100vw - 32px)); padding: 18px; border-radius: 20px; display: grid; gap: 8px; animation: cbar-in .5s cubic-bezier(.16, 1, .3, 1) both; }
.cbar__h { font: 500 16px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.cbar__t { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.cbar__t a { color: inherit; }
.cbar__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.cbar .btn--sm { height: 40px; padding: 0 12px; }
html.cbar-on .fnav { bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + var(--cbar-h, 0px)); }
html.menu-open .cbar { visibility: hidden; }
@media (max-width: 900px) { html.cbar-on body { padding-bottom: var(--cbar-room, 0px); } }
@keyframes cbar-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .cbar { animation: none; } }
