/* Claims Gate Pay (claimsgatepay.co.uk). One stylesheet for the whole site.
   James, 26 Oct 2026: Rayyan's structure, graphics and purple; Geist; a light theme across the site; the site
   stands apart from claimsgate.co.uk. Graphics sit on soft purple "stages" so they read as product, not decoration.
   Motion: elements marked data-rv rise into place as they arrive (pay.js adds .is-in); with reduced motion, or
   without a script, everything is drawn complete and still. */

/* ---------- fonts ---------- */
@font-face { font-family: Geist; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/geist-300.woff2) format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/geist-400.woff2) format("woff2"); }
@font-face { font-family: Geist; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/geist-500.woff2) format("woff2"); }

/* ---------- tokens: Rayyan's palette ---------- */
:root {
  --pu-25: #f5f8ff; --pu-50: #eef4ff; --pu-100: #e0eaff; --pu-200: #c7d7fe; --pu-300: #a4bcfd;
  --pu-400: #8098f9; --pu-500: #6172f3; --pu-600: #444ce7; --pu-700: #3538cd; --pu-800: #2d31a6;
  --ok-25: #f6fef9; --ok-50: #ecfdf3; --ok-100: #dcfae6; --ok-500: #17b26a; --ok-600: #079455; --ok-700: #067647;
  --g-25: #fcfcfd; --g-50: #f8fafc; --g-100: #eef2f6; --g-200: #e3e8ef; --g-300: #cdd5df; --g-400: #9aa4b2;
  --g-500: #697586; --g-600: #4b5565; --g-700: #364152; --g-800: #202939; --g-900: #121926;
  --ink: var(--g-900);
  --text: var(--g-600);
  --line: var(--g-200);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: Geist, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hd-h: 72px;
  --shadow-card: 0 1px 2px rgb(18 25 38 / .06), 0 12px 32px -12px rgb(45 49 166 / .18), 0 32px 64px -32px rgb(18 25 38 / .22);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 1rem); }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol, dl, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 500; }
button, input { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--pu-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pu-100); color: var(--pu-800); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { display: block; flex: none; width: 1em; height: 1em; fill: currentColor; }
.fig { font-variant-numeric: tabular-nums; }
.skip {
  position: absolute; z-index: 100; top: -100px; left: 1rem; padding: .75rem 1rem; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 500;
}
.skip:focus-visible { top: .75rem; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- type ---------- */
.h1 {
  font-size: clamp(2.5rem, 1.55rem + 3.3vw, 4.25rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.04;
  color: var(--ink); text-wrap: balance;
}
.h2 {
  max-width: 20ch; font-size: clamp(2rem, 1.45rem + 1.9vw, 3.125rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.08;
  color: var(--ink); text-wrap: balance;
}
.lbl + .h2 { margin-top: .875rem; }
/* Rayyan's section label: small, purple, where each section starts */
.lbl { font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; color: var(--pu-600); }
.lede { max-width: 48ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.h2 + .lede, .kick + .lede, .lede + .lede { margin-top: 1.125rem; }
.lede--em { color: var(--ink); font-weight: 500; }
.kick { margin-top: 1rem; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 500; letter-spacing: -.02em; color: var(--pu-600); }
.src { margin-top: 1rem; font-size: .8125rem; color: var(--g-500); }
.src--fig { margin-top: 1rem; text-align: center; }

/* ---------- buttons and links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 44px; padding: .625rem .75rem .625rem 1.25rem; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #5560ee, var(--pu-600) 60%); color: #fff;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(53 56 205 / .35), 0 8px 20px -8px rgb(68 76 231 / .65);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 2px 4px rgb(53 56 205 / .3), 0 14px 28px -10px rgb(68 76 231 / .7); }
.btn:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 1px 2px rgb(53 56 205 / .35); }
.btn__ic {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: rgb(255 255 255 / .18);
  transition: transform .3s var(--ease), background-color .3s;
}
.btn__ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__ic { transform: translateX(3px); background: rgb(255 255 255 / .26); }
.btn--sm { min-height: 40px; padding: .5rem .5rem .5rem 1rem; font-size: .875rem; }
.btn--sm .btn__ic { width: 24px; height: 24px; }
.btn--lg { min-height: 52px; padding: .75rem .75rem .75rem 1.5rem; font-size: 1rem; }
.btn--lg .btn__ic { width: 30px; height: 30px; }
.btn--ghost {
  padding-inline: 1.5rem; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--g-200), 0 1px 2px rgb(18 25 38 / .05);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--pu-300), 0 6px 16px -8px rgb(68 76 231 / .35); color: var(--pu-700); }
.btn--block { width: 100%; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
/* a text link with an arrow that steps forward */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem;
  font-weight: 500; color: var(--pu-600);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.tlink span { transition: transform .35s var(--ease); }
.tlink:hover { background-size: 100% 1.5px; color: var(--pu-700); }
.tlink:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.hd {
  position: sticky; top: 0; z-index: 50; height: var(--hd-h);
  background: rgb(255 255 255 / .8); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.hd.is-scrolled { border-bottom-color: var(--g-200); box-shadow: 0 8px 24px -16px rgb(18 25 38 / .18); background: rgb(255 255 255 / .9); }
.hd__in { display: flex; align-items: center; gap: 2rem; height: 100%; }
.hd__logo { display: flex; align-items: center; min-height: 44px; }
.hd__full { width: auto; height: 30px; }
.hd__mark { display: none; width: 34px; height: 34px; }
.hd__nav { display: none; gap: .25rem; margin-left: auto; }
.hd__nav a { padding: .5rem .75rem; border-radius: 999px; font-size: .9375rem; color: var(--g-600); transition: color .2s, background-color .2s; }
.hd__nav a:hover { color: var(--ink); background: var(--g-100); }
.hd .btn { margin-left: auto; }
@media (width >= 960px) { .hd__nav { display: flex; } .hd__nav + .btn { margin-left: .75rem; } }
@media (width <= 420px) { .hd__full { display: none; } .hd__mark { display: block; } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec--alt { background: var(--g-50); }
.sec--tint { background: linear-gradient(180deg, var(--pu-25), #f8f9ff); border-block: 1px solid var(--pu-100); }
.sec--bridge { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.sec--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--row { display: grid; gap: 1.25rem; }
@media (width >= 1000px) {
  .head--row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
  .head--row .lede { justify-self: end; }
}

.split { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
@media (width >= 1000px) {
  .split { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(3rem, 5vw, 5rem); }
  .split--flip { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .split--flip > .split__copy { order: 2; }
  .split--top { align-items: start; }
  .split--narrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--wide-art { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* a list with purple dots (Rayyan's .point) */
.pts { display: grid; gap: 1.25rem; max-width: 50ch; margin-top: 2rem; }
.pts li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.pts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--pu-500); box-shadow: 0 0 0 4px var(--pu-50); }
.pts b { display: block; margin-bottom: .2rem; color: var(--ink); }
/* a list with an icon badge (Rayyan's .icon-point) */
.ipts { display: grid; gap: 1.375rem; margin-top: 2rem; }
.ipts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; align-items: start; line-height: 1.6; }
.ipts b { display: block; margin-bottom: .2rem; color: var(--ink); }
.badge {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--pu-50)); color: var(--pu-600); font-size: 19px;
  box-shadow: inset 0 0 0 1px var(--pu-100), 0 2px 6px -2px rgb(68 76 231 / .25);
}
.badge--lg { width: 44px; height: 44px; font-size: 21px; }

/* ---------- stages: the soft purple ground every graphic sits on ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(1rem, 2.4vw, 2rem); border-radius: 28px;
  background:
    radial-gradient(70% 60% at 90% 0%, rgb(97 114 243 / .2), transparent 70%),
    radial-gradient(60% 55% at 0% 100%, rgb(23 178 106 / .08), transparent 70%),
    linear-gradient(180deg, #f3f5ff, #f8f9ff);
  box-shadow: inset 0 0 0 1px rgb(68 76 231 / .08);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(68 76 231 / .16) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 78%); mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 78%);
}
.sec--alt .stage { background-color: #f1f3ff; }
.stage--art { padding: clamp(1rem, 3vw, 2rem); }
.stage--art img { mix-blend-mode: multiply; }

/* ---------- 1. hero ---------- */
/* Rayyan (26 Oct 2026, 7:33pm): his hero text, centred and without the underline; then the payments list,
   straddling the start of the grey band that runs on into the trust section (his design). */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.hero::before {
  content: ""; position: absolute; inset: auto 0 6% 0; height: 70%; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 60%, rgb(97 114 243 / .18), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: clamp(9rem, 20vw, 14rem); z-index: -3; background: var(--g-50); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__h {
  max-width: 17ch; font-size: clamp(2.5rem, 1.55rem + 3.3vw, 4.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.06;
  color: var(--ink); text-wrap: balance;
}
.hero__sub { max-width: 44ch; margin-top: 1.375rem; font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.55; text-wrap: balance; }
.hero .cta { justify-content: center; margin-top: 2.25rem; }
/* the mockup runs wider than the text column on big screens (James: "larger") */
.hero__art { width: min(100%, 72rem); text-align: left; }
@media (width >= 1200px) {
  .hero__art { --w: min(calc(100vw - 4rem), 84rem); width: var(--w); justify-self: start; margin-inline: calc((100% - var(--w)) / 2); }
}

/* the toast: money landing, every time a client in the mockup is paid */
.toast {
  position: absolute; left: clamp(.5rem, 3vw, 2.5rem); bottom: clamp(.75rem, 2vw, 1.25rem); z-index: 3;
  display: flex; align-items: center; gap: .75rem; max-width: calc(100% - 1rem);
  padding: .75rem 1.125rem .75rem .75rem; border-radius: 16px; background: rgb(255 255 255 / .96);
  box-shadow: 0 1px 2px rgb(18 25 38 / .08), 0 16px 32px -12px rgb(18 25 38 / .28), inset 0 0 0 1px var(--g-100);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }
.toast__ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--ok-600); color: #fff; font-size: 15px; box-shadow: 0 0 0 4px var(--ok-50); }
.toast__t { font-size: .875rem; line-height: 1.35; color: var(--g-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast__t b { color: var(--ink); }
.toast__t small { display: block; font-size: .75rem; color: var(--g-500); }

/* ---------- light cards for Rayyan's graphics ---------- */
.gc {
  position: relative; margin: 0; padding: 1.5rem; border-radius: 22px; background: #fff; color: var(--ink); text-align: left;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--g-100);
}
@media (width >= 640px) { .gc { padding: 1.75rem; } }

/* a portrait with the green tick that appears once the money has landed */
.av { position: relative; display: block; flex: none; width: 2.5rem; height: 2.5rem; }
.av img { width: 100%; height: 100%; border-radius: 999px; }
.av__tick {
  position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 16px; height: 16px;
  border: 2px solid #fff; border-radius: 999px; background: var(--ok-600); color: #fff; font-size: 9px;
  transform: scale(0); transition: transform 350ms cubic-bezier(.34, 1.4, .64, 1);
}
.is-paid .av__tick, .is-clean .av__tick { transform: scale(1); }
.av--sm { width: 36px; height: 36px; }
.av--sm .av__tick { width: 15px; height: 15px; font-size: 8px; }
.av--md { width: 44px; height: 44px; }

/* the platform (hero): a CG Pay project as the firm sees it. James's design, with the platform's buttons, filter
   bar, AML results and Action columns, table footer and cards on a grey page (James, 27 Oct 2026: accepted from
   the platform; its sidebar, page title and Created column were not). It lays itself out to its own width
   (container queries): every column when wide; then the rail, Reference, AML and Action go; on a phone, just who,
   how much and where it stands. */
.stage--app { overflow: visible; padding: clamp(.75rem, 2.2vw, 1.75rem) clamp(.75rem, 2.2vw, 1.75rem) clamp(3.75rem, 6vw, 4.5rem); }
.app {
  container-type: inline-size; position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 16px; background: #fff; color: var(--ink);
  font-size: .875rem; line-height: 1.4; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--g-200);
}
.app__bar { display: flex; align-items: center; gap: 1rem; height: 40px; padding-inline: 1rem; border-bottom: 1px solid var(--g-200); background: #fff; }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--g-300); }
.app__crumb { display: flex; gap: .5rem; min-width: 0; overflow: hidden; font-size: .8125rem; color: var(--g-500); white-space: nowrap; }
.app__crumb b { font-weight: 500; color: var(--g-700); }
.app__body { display: flex; background: var(--g-50); }
.app__rail { display: none; flex: none; flex-direction: column; align-items: center; gap: .375rem; width: 60px; padding-block: 1rem; border-right: 1px solid var(--g-200); background: #fff; }
.app__rail img { width: 30px; height: 30px; margin-bottom: .75rem; }
.app__rail span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--g-400); font-size: 18px; }
.app__rail span.is-on { background: var(--pu-50); color: var(--pu-600); box-shadow: inset 0 0 0 1px var(--pu-100); }
.app__main { display: grid; gap: .625rem; flex: 1; min-width: 0; padding: .75rem; }
/* the platform's white cards on a grey page */
.app__card { border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--g-200), 0 1px 2px rgb(18 25 38 / .04); }
.app__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1rem; }
.app__title { font-size: 1rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.app__sub { display: none; font-size: .75rem; color: var(--g-500); }
.app__actions { display: flex; gap: .5rem; flex: none; }
.li { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chev { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.abtn {
  display: inline-flex; align-items: center; gap: .375rem; height: 32px; padding-inline: .75rem; border-radius: 9px; background: #fff;
  color: var(--g-700); font-size: .8125rem; font-weight: 500; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--g-200), 0 1px 2px rgb(18 25 38 / .05);
}
.abtn .ic { font-size: 15px; }
.abtn--opt { display: none; }
.app__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.app__stats li { display: grid; gap: .125rem; align-content: start; min-width: 0; padding: .75rem .875rem; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--g-200), 0 1px 2px rgb(18 25 38 / .04); }
.app__stats li:nth-child(n+3) { display: none; }
.app__k { overflow: hidden; font-size: .75rem; color: var(--g-500); white-space: nowrap; text-overflow: ellipsis; }
.app__stats b { font-size: 1.375rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; transition: color .4s; }
.app__stats b.is-tick { color: var(--pu-600); }
.app__stats small { font-size: .6875rem; color: var(--g-500); }
.app__bar2 { display: block; height: 5px; margin-top: .375rem; overflow: hidden; border-radius: 9px; background: var(--g-100); }
.app__bar2 i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ok-500), #2fd087); transition: width .6s var(--ease); }
/* the platform's filter bar */
.app__filters { display: flex; gap: .5rem; padding: .625rem; }
.fl {
  display: inline-flex; align-items: center; gap: .5rem; height: 34px; padding-inline: .75rem; border-radius: 9px; background: #fff;
  font-size: .8125rem; color: var(--g-700); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--g-200);
}
.fl .ic, .fl .li { font-size: 15px; color: var(--g-400); }
.fl--search { flex: 1; min-width: 0; overflow: hidden; color: var(--g-400); }
.fl--sel { display: none; justify-content: space-between; min-width: 9.5rem; }
.fl--funds { min-width: 11rem; }
.fl--btn { display: none; font-weight: 500; }
/* the table, on its own card, with the platform's footer */
.app__table { overflow: hidden; }
.app__rows { transition: opacity .45s ease-out; }
.app__rows.is-fading { opacity: 0; }
.tr {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who st" "amt st"; align-items: center; gap: 0 .75rem;
  min-height: 56px; padding: .5rem 1rem; border-top: 1px solid var(--g-100); transition: background-color .5s;
}
.tr.th { min-height: 36px; padding-block: .375rem; border-top: 0; background: var(--g-50); font-size: .75rem; font-weight: 500; color: var(--g-500); }
.tr.is-live { background: var(--pu-25); }
.tr.is-paid { background: var(--ok-25); }
.c-chk, .c-ref, .c-bank, .c-aml, .c-act { display: none; }
.c-chk i { display: block; width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--g-300); }
.c-who { grid-area: who; display: flex; align-items: center; gap: .625rem; min-width: 0; }
.c-st { grid-area: st; justify-self: end; }
.c-amt { grid-area: amt; padding-left: calc(32px + .625rem); font-size: .75rem; color: var(--g-600); }  /* on a phone, under the name */
.th .c-who { display: block; }
.th .c-amt { display: none; }
.c-who > span:last-child { min-width: 0; }
.c-who b { display: block; overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.c-who small { display: none; overflow: hidden; font-size: .75rem; color: var(--g-500); white-space: nowrap; text-overflow: ellipsis; }
.ini { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--g-100); font-size: .75rem; font-weight: 500; color: var(--g-500); box-shadow: inset 0 0 0 1px var(--g-200); }
.c-ref { font-size: .8125rem; color: var(--g-600); font-variant-numeric: tabular-nums; }
.c-bank { min-width: 0; }
.bk { display: block; font-size: .75rem; color: var(--g-700); }
.show { display: inline-flex; align-items: center; gap: .25rem; margin-top: .125rem; padding: .1rem .5rem; border-radius: 999px; background: var(--g-100); font-size: .6875rem; color: var(--g-600); }
.eye { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.chip-ev {
  display: inline-flex; align-items: center; gap: .375rem; max-width: 100%; padding: .2rem .625rem; border-radius: 999px;
  background: #eff8ff; color: #175cd3; font-size: .75rem; white-space: nowrap; box-shadow: inset 0 0 0 1px #b2ddff;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.chip-ev .ic { font-size: 13px; }
.chip-ev > span { overflow: hidden; text-overflow: ellipsis; }
.chip-ev i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #2e90fa; }
.chip-ev.is-ok { background: var(--ok-50); color: var(--ok-700); box-shadow: inset 0 0 0 1px var(--ok-100); }
.chip-ev.is-ok i { background: var(--ok-500); }
.st { display: inline-flex; align-items: center; padding: .2rem .625rem; border-radius: 999px; font-size: .75rem; font-weight: 500; white-space: nowrap; transition: background-color .4s, color .4s, box-shadow .4s; }
.st--ok { background: var(--ok-50); color: var(--ok-700); box-shadow: inset 0 0 0 1px #abefc6; }
.st--wait, .st--pend { background: #fffaeb; color: #b54708; box-shadow: inset 0 0 0 1px #fedf89; }
.st--auth { background: var(--pu-50); color: var(--pu-700); box-shadow: inset 0 0 0 1px var(--pu-200); }
.st.is-pop, .aml.is-pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08); } }
/* AML results: "—" until screened, then "Screening", then "Clear" */
.aml { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.aml--none { color: var(--g-400); }
.aml--run { padding: .2rem .55rem; border-radius: 999px; background: var(--g-100); color: var(--g-600); }
.aml--run::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pu-500); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.aml--ok { padding: .2rem .55rem; border-radius: 999px; background: var(--ok-50); color: var(--ok-700); box-shadow: inset 0 0 0 1px #abefc6; }
/* Action: Resend link / Authorise / View */
.act { display: inline-flex; align-items: center; height: 28px; padding-inline: .625rem; border-radius: 8px; background: #fff; font-size: .75rem; font-weight: 500; color: var(--g-700); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--g-200); transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, color .3s; }
.act--auth { background: var(--pu-600); color: #fff; box-shadow: 0 1px 2px rgb(53 56 205 / .4); }
.act--auth.is-press { transform: scale(.94); box-shadow: 0 0 0 5px var(--pu-100), 0 1px 2px rgb(53 56 205 / .4); }
.c-act { justify-self: end; }
.th .c-act { justify-self: end; }
.app__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .625rem 1rem; border-top: 1px solid var(--g-100); background: var(--g-50); font-size: .75rem; color: var(--g-500); white-space: nowrap; }
.app__total, .app__pn { display: none; }
.app__pages { display: flex; align-items: center; gap: .5rem; }
.pg { padding: .2rem .55rem; border-radius: 7px; background: #fff; color: var(--g-400); box-shadow: inset 0 0 0 1px var(--g-200); }
.pg--on { color: var(--g-700); }
@container (width >= 560px) {
  .tr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: none; gap: .75rem; }
  .c-who, .c-amt, .c-st { grid-area: auto; }
  .c-amt { padding-left: 0; font-size: inherit; font-weight: 500; color: inherit; text-align: right; }
  .th .c-amt { display: block; font-size: .75rem; font-weight: 500; color: var(--g-500); }
  .c-who small, .app__sub { display: block; }
  .app__title { font-size: 1.0625rem; }
  .app__stats li:nth-child(3) { display: grid; }
  .app__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fl--sel { display: inline-flex; }
  .fl--funds { display: none; }
  .app__total, .app__pn { display: inline; }
}
@container (width >= 700px) {
  .app__main { gap: .75rem; padding: 1rem; }
  .app__head { padding: 1rem 1.25rem; }
  .tr { grid-template-columns: minmax(0, 1.6fr) 6rem minmax(0, 1.1fr) 10.5rem; gap: 1rem; padding-inline: 1.25rem; }
  .c-bank { display: block; }
  .app__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app__stats li:nth-child(4) { display: grid; }
  .abtn--opt { display: inline-flex; }
  .fl--funds { display: inline-flex; }
  .app__foot { padding-inline: 1.25rem; }
}
@container (width >= 900px) {
  .app__rail { display: flex; }
  .fl--btn { display: inline-flex; }
  .tr { grid-template-columns: 16px minmax(0, 1.7fr) 6.25rem 6rem minmax(0, 1.15fr) 10.5rem; min-height: 60px; }
  .c-chk, .c-ref { display: block; }
}
@container (width >= 1040px) {
  .tr { grid-template-columns: 16px minmax(0, 1.5fr) 6rem 5.75rem minmax(9.5rem, 1fr) 10.25rem 5.25rem 6rem; gap: .875rem; }
  .c-aml, .c-act { display: block; }
  .c-st, .th .c-st { justify-self: start; }
}

/* claimant progress (the platform's Journey tab), floating over the mockup's corner */
.prog {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: 1.25rem; z-index: 3; display: none;
  width: 27rem; padding: .875rem 1rem; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgb(18 25 38 / .08), 0 24px 48px -16px rgb(45 49 166 / .32), inset 0 0 0 1px var(--g-200);
}
/* on wide screens the stage leaves a strip under the table for the progress card and the toast, so neither hides a row */
@media (width >= 1000px) {
  .prog { display: block; }
  .stage--app { padding-bottom: 8rem; }
  .stage--app .toast { bottom: 2rem; left: clamp(1rem, 3vw, 2.5rem); }
}
.prog__h { display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.prog__h b { font-weight: 500; color: var(--g-500); transition: opacity .3s; }
.prog__steps { display: flex; gap: .3rem; margin-top: .625rem; }
.prog__steps li {
  display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap;
  font-size: .6875rem; font-weight: 500; color: var(--g-400); box-shadow: inset 0 0 0 1px var(--g-200);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.prog__steps .ic { font-size: 11px; opacity: 0; width: 0; transition: opacity .3s, width .3s; }
.prog__steps .is-now { color: var(--pu-700); background: var(--pu-25); box-shadow: inset 0 0 0 1px var(--pu-200); }
.prog__steps .is-done { color: var(--ok-700); background: var(--ok-50); box-shadow: inset 0 0 0 1px #abefc6; }
.prog__steps .is-done .ic { opacity: 1; width: 11px; }
.prog__log { margin-top: .625rem; padding-top: .5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-top: 1px solid var(--g-100); font-size: .75rem; line-height: 1.5; color: var(--g-500); }

/* ---------- 2. trust ---------- */
.trust { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2.5rem, 5vw, 3.5rem); background: var(--g-50); border-bottom: 1px solid var(--g-100); }
.trust .lbl { margin-bottom: 1.25rem; }
.trust__grid { display: grid; gap: 1rem; }
@media (width >= 760px) { .trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tcard {
  display: flex; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; border-radius: 16px; background: #fff;
  font-weight: 500; line-height: 1.4; color: var(--ink);
  box-shadow: 0 1px 2px rgb(18 25 38 / .05), 0 6px 16px -10px rgb(18 25 38 / .15), inset 0 0 0 1px var(--g-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tcard:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgb(18 25 38 / .05), 0 14px 28px -14px rgb(45 49 166 / .3), inset 0 0 0 1px var(--pu-100); }

/* ---------- 3. the problem ---------- */
.evid {
  display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 4.5vw, 3.5rem); border-radius: 28px; background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-100);
}
@media (width >= 1000px) { .evid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.evid__figs { display: grid; gap: clamp(2rem, 4vw, 2.75rem); }
.evid__n { font-size: clamp(3.25rem, 2rem + 4.5vw, 5.75rem); font-weight: 300; letter-spacing: -.055em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.evid__b { max-width: 46ch; margin-top: .875rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.55; }
.evid__art { width: 100%; max-width: 26rem; justify-self: center; mix-blend-mode: multiply; }
.bridge {
  display: inline-flex; align-items: baseline; gap: .5rem; margin-top: clamp(3rem, 6vw, 4.5rem);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 400; letter-spacing: -.03em; color: var(--ink);
}
.bridge span { color: var(--pu-600); transition: transform .4s var(--ease); }
.bridge:hover span { transform: translateY(4px); }

/* ---------- 4. chasing: Jane, every channel in turn ---------- */
.chase > * { transition: opacity .4s ease-out; }
.chase.is-fading > * { opacity: 0; }
@media (width >= 640px) { .chase { padding: 2rem; } }
.chase__head { display: flex; align-items: center; gap: .875rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--g-100); }
.chase__head img { flex: none; width: 56px; height: 56px; border-radius: 999px; }
.chase__who { flex: 1; min-width: 0; }
.chase__n { font-size: 1.125rem; font-weight: 500; }
.chase__d { font-size: .875rem; line-height: 1.4; color: var(--g-600); }
.chase__st {
  display: inline-flex; align-items: center; gap: .35rem; flex: none; padding: .3rem .8rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 500; background: var(--pu-50); color: var(--pu-700); transition: background-color .4s, color .4s;
}
.chase__st .ic { display: none; font-size: 14px; }
.chase__st.is-paid { background: var(--ok-50); color: var(--ok-700); }
.chase__st.is-paid .ic { display: block; }
.chase__body { position: relative; margin-top: 1.25rem; }
.chase__steps { position: relative; display: grid; gap: .25rem; }
.chase__rail { position: absolute; left: 15px; top: 23px; bottom: 23px; width: 2px; background: var(--g-200); }
.chase__rail > span { display: block; width: 100%; background: var(--pu-600); transition: height 700ms cubic-bezier(.65, 0, .35, 1); }
.cs { position: relative; display: grid; grid-template-columns: 32px 3.75rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .45rem 0; }
.cs__ic {
  position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  border: 1.5px solid var(--g-300); background: #fff; color: var(--g-400); font-size: 16px;
  transition: background-color .35s, border-color .35s, color .35s, transform .35s cubic-bezier(.34, 1.3, .64, 1);
}
.cs__day { font-size: .8125rem; font-weight: 500; color: var(--g-400); transition: color .35s; }
.cs__l { font-weight: 500; line-height: 1.35; color: var(--g-400); transition: color .35s; }
.cs__o { justify-self: end; font-size: .8125rem; font-weight: 500; white-space: nowrap; color: var(--g-500); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.cs.is-on .cs__day { color: var(--g-500); }
.cs.is-on .cs__l { color: var(--ink); }
.cs.is-on .cs__o { opacity: 1; transform: none; }
.cs.is-now .cs__ic { transform: scale(1.12); }
.k-firm.is-on .cs__ic { border-color: var(--ink); background: var(--ink); color: #fff; }
.k-miss.is-on .cs__ic { border-color: var(--g-300); background: var(--g-100); color: var(--g-600); }
.k-miss .cs__o { padding: .15rem .6rem; border-radius: 999px; background: var(--g-100); }
.k-hit.is-on .cs__ic { border-color: var(--pu-600); background: var(--pu-600); color: #fff; box-shadow: 0 0 0 4px var(--pu-100); }
.k-hit .cs__o { color: var(--pu-700); }
.k-paid.is-on .cs__ic { border-color: var(--ok-600); background: var(--ok-600); color: #fff; box-shadow: 0 0 0 4px var(--ok-100); }
.k-paid.is-on .cs__l, .k-paid .cs__o { color: var(--ok-700); }
@media (width <= 479.98px) { .cs { grid-template-columns: 32px minmax(0, 1fr) auto; } .cs__day { display: none; } }

/* ---------- 4b. client details: on file, checked, ready to pay ---------- */
.refresh__k { margin-bottom: .625rem; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--g-500); }
.refresh, .dist { container-type: inline-size; }
.refresh__list { display: grid; gap: .5rem; }
@container (width >= 380px) {
  .refresh__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rec { flex-direction: column; justify-content: flex-start; gap: .375rem; padding: .75rem .5rem; text-align: center; }
  .rec__t { width: 100%; }
  .rec__i { justify-content: center; }
}
@container (width >= 560px) {
  .rec { flex-direction: row; gap: .625rem; padding: .625rem; text-align: left; }
  .rec__i { justify-content: flex-start; }
}
.rec { display: flex; align-items: center; gap: .625rem; min-width: 0; padding: .625rem; border: 1px solid var(--g-200); border-radius: 12px; background: var(--g-50); }
.rec.is-clean { border-color: var(--ok-100); background: var(--ok-25); }
.rec__ph { flex: none; width: 36px; height: 36px; border-radius: 999px; }
.rec__ph.is-stale { filter: grayscale(1); opacity: .55; }
.rec__t { min-width: 0; line-height: 1.35; }
.rec__n { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .875rem; font-weight: 500; color: var(--g-700); }
.is-clean .rec__n { color: var(--ink); }
.rec__i { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--g-600); }
.rec__i .ic { font-size: 12px; }
.rec__f { display: block; font-size: .75rem; color: var(--ok-700); }
.lines { display: block; width: 100%; height: 32px; overflow: visible; }
.lines--40 { height: 40px; }
.lines__p { fill: none; stroke: var(--pu-400); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; animation: dash 900ms linear infinite; }
.lines__p--out { stroke: var(--ok-500); }
@keyframes dash { to { stroke-dashoffset: -16; } }
.refresh__routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.route { display: flex; align-items: center; gap: .625rem; min-width: 0; padding: .75rem; border-radius: 14px; background: linear-gradient(180deg, #5560ee, var(--pu-600)); color: #fff; box-shadow: 0 8px 18px -10px rgb(68 76 231 / .7); }
.route__ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgb(255 255 255 / .16); font-size: 18px; }
.route__t { display: block; font-size: .875rem; font-weight: 500; line-height: 1.3; }
.route__d { display: none; font-size: .75rem; line-height: 1.35; color: var(--pu-100); }
@container (width >= 480px) { .route__d { display: block; } }

/* ---------- 5. finance team: tranches in, one client account, every client paid ---------- */
.dist__tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .625rem; }
.tranche { display: grid; gap: .375rem; min-width: 0; padding: .625rem; border: 1px solid var(--g-200); border-radius: 12px; background: var(--g-50); opacity: .55; transition: opacity .4s, border-color .4s, background-color .4s; }
.tranche.is-in { opacity: 1; border-color: var(--pu-200); background: var(--pu-25); }
.tranche__n { font-size: .875rem; font-weight: 500; }
.tranche__b { display: none; flex-wrap: wrap; gap: 3px; font-size: 13px; color: var(--g-500); }
.tranche.is-in .tranche__b { color: var(--pu-600); }
.tranche__m { display: grid; gap: .125rem; font-size: .75rem; line-height: 1.35; color: var(--g-500); }
.tranche__m b { color: var(--g-700); }
@container (width >= 400px) { .tranche__b { display: flex; } }
@container (width >= 520px) { .tranche__m { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; } }
.dist .lines__p { stroke: var(--g-300); animation: none; }
.dist .lines__p.is-live { stroke: var(--pu-500); animation: dash 700ms linear infinite; }
.dist .lines__p--out.is-live { stroke: var(--ok-500); }
.firm { display: flex; align-items: center; gap: .75rem; width: fit-content; margin-inline: auto; padding: .875rem 1.25rem; border-radius: 16px; background: linear-gradient(180deg, #5560ee, var(--pu-600)); color: #fff; transition: box-shadow .5s; }
.firm.is-full { box-shadow: 0 0 0 6px var(--pu-100), 0 12px 24px -12px rgb(68 76 231 / .7); }
.firm__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgb(255 255 255 / .16); font-size: 20px; }
.firm__k { display: block; font-size: .75rem; font-weight: 500; color: var(--pu-100); }
.firm__n { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.dist__people { display: grid; grid-template-columns: repeat(6, 44px); justify-content: center; gap: .5rem; }
@media (width <= 479.98px) { .dist__people { grid-template-columns: repeat(4, 44px); } }
.dist__people img { filter: grayscale(1); opacity: .45; transition: filter .4s, opacity .4s; }
.dist__people .is-paid img { filter: none; opacity: 1; }
.dist__sum { margin-top: 1rem; text-align: center; color: var(--g-600); }
.dist__sum b { font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); }

/* ---------- 5b. interest: accruing day by day, paid with the settlement ---------- */
.accr__head { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--g-100); }
.accr__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #5560ee, var(--pu-600)); color: #fff; font-size: 20px; }
.accr__t { flex: 1; min-width: 0; line-height: 1.4; }
.accr__k { display: block; font-size: .875rem; font-weight: 500; color: var(--g-500); }
.accr__n { display: block; font-size: 1.125rem; font-weight: 500; }
.accr__n b { color: var(--ok-700); white-space: nowrap; }
.accr__day { display: inline-flex; align-items: center; gap: .375rem; flex: none; padding: .3rem .75rem; border: 1px solid var(--g-200); border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--g-700); }
.accr__day .ic { font-size: 14px; }
.accr__rows { display: grid; margin-top: .5rem; }
.arow { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: .875rem; padding-block: .875rem; }
.arow + .arow { border-top: 1px solid var(--g-100); }
.arow__who { min-width: 0; line-height: 1.4; }
.arow__n { display: block; font-weight: 500; }
.arow__d { display: block; font-size: .875rem; color: var(--g-500); }
.arow__bar { display: block; height: 4px; margin-top: .5rem; overflow: hidden; border-radius: 999px; background: var(--g-100); }
.arow__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--pu-400); transition: width .12s linear; }
.arow.is-paid .arow__bar > span { background: var(--ok-500); }
.arow__r { text-align: right; line-height: 1.35; }
.arow__r b { display: block; color: var(--ok-700); }
.arow__r span { display: block; font-size: .75rem; color: var(--g-500); }
.arow.is-paid .arow__r span { font-weight: 500; color: var(--ok-700); }

/* ---------- 6. how it works: six steps across three parties ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (width >= 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step {
  position: relative; overflow: hidden; padding: 1.5rem 1.5rem 1.625rem; border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgb(18 25 38 / .05), 0 10px 24px -14px rgb(45 49 166 / .25), inset 0 0 0 1px var(--g-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--g-300); }
.step--cgp::before { background: linear-gradient(90deg, var(--pu-500), var(--pu-400)); }
.step--lfx::before { background: var(--ink); }
.step:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(18 25 38 / .05), 0 18px 32px -16px rgb(45 49 166 / .35), inset 0 0 0 1px var(--pu-100); }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: .625rem; }
.step__no { font-size: .875rem; font-weight: 500; color: var(--g-400); }
.party { padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 500; }
.party--firm { background: var(--g-100); color: var(--g-700); }
.party--cgp { background: var(--pu-50); color: var(--pu-700); box-shadow: inset 0 0 0 1px var(--pu-100); }
.party--lfx { background: var(--ink); color: #fff; }
.step h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; color: var(--ink); }
.step p { margin-top: .5rem; line-height: 1.55; }
.paidline { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: -.015em; color: var(--ok-700); }
.paidline span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ok-500); box-shadow: 0 0 0 4px var(--ok-100); }

/* ---------- 6b. claim areas ---------- */
.areas { display: grid; gap: 1rem; }
@media (width >= 640px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.areas li {
  display: grid; gap: .375rem; align-content: start; padding: 1.375rem; border-radius: 18px; background: #fff; line-height: 1.55;
  box-shadow: inset 0 0 0 1px var(--g-200); transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.areas li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--pu-200), 0 14px 28px -18px rgb(45 49 166 / .35); }
.areas .badge { margin-bottom: .625rem; }
.areas b { font-size: 1.0625rem; letter-spacing: -.015em; color: var(--ink); }

/* ---------- 9. questions ---------- */
@media (width >= 1000px) { .faq__side { position: sticky; top: calc(var(--hd-h) + 2rem); } }
.faq { border-top: 1px solid var(--g-200); }
.faq__i { border-bottom: 1px solid var(--g-200); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.5rem; padding-block: 1.375rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; color: var(--ink);
  cursor: pointer; list-style: none; transition: color .2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--pu-700); }
.faq__ic { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--g-100); transition: background-color .25s, transform .4s var(--ease); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.faq__ic::after { transform: rotate(90deg); }
.faq__i[open] .faq__ic { background: var(--pu-600); }
.faq__i[open] .faq__ic::before, .faq__i[open] .faq__ic::after { background: #fff; }
.faq__i[open] .faq__ic::after { transform: rotate(0deg); }
.faq__a { max-width: 62ch; padding-bottom: 1.5rem; line-height: 1.65; }
/* answers open smoothly where the browser can animate to the content's height */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__i::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq__i[open]::details-content { height: auto; }
}

/* ---------- 10. request a demo ---------- */
.demo {
  position: relative; overflow: hidden; padding-block: clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(50% 60% at 85% 20%, rgb(97 114 243 / .22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(23 178 106 / .1), transparent 70%),
    linear-gradient(180deg, var(--pu-25), #eef1ff);
  border-top: 1px solid var(--pu-100);
}
.demo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(68 76 231 / .14) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.demo__in { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (width >= 1000px) { .demo__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); } .demo__copy { padding-top: 1rem; } }
.demo .h1 { max-width: 12ch; }
.demo .lede { margin-top: 1.25rem; }
.demo__k { margin-top: 2.25rem; font-weight: 500; color: var(--ink); }
.ticks { display: grid; gap: .75rem; margin-top: .875rem; max-width: 46ch; }
.ticks li { position: relative; padding-left: 2rem; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 999px; background: var(--ok-50);
  box-shadow: inset 0 0 0 1px var(--ok-100);
}
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.15em + 5px); width: 5px; height: 9px; border: solid var(--ok-700); border-width: 0 1.75px 1.75px 0; transform: rotate(45deg); }
.demo__mail { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(68 76 231 / .14); }
.demo__mail a { color: var(--pu-700); font-weight: 500; }
.demo__mail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo__card { padding: clamp(1.5rem, 3.5vw, 2.25rem); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--g-100); }

/* the form */
.form { display: grid; gap: 1.25rem; }
.form__two { display: grid; gap: 1.25rem; }
@media (width >= 560px) { .form__two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field__l { padding: 0; font-size: .875rem; font-weight: 500; color: var(--ink); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; min-height: 48px; padding: .75rem .875rem; border: 1px solid var(--g-300); border-radius: 12px; background: #fff;
  color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input:hover { border-color: var(--g-400); }
.field input:focus { outline: none; border-color: var(--pu-500); box-shadow: 0 0 0 4px var(--pu-100); }
.field input[aria-invalid="true"] { border-color: #f04438; box-shadow: 0 0 0 4px #fee4e2; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .5rem .875rem; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--g-300); font-size: .875rem; font-weight: 500; color: var(--g-700);
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--pu-300); color: var(--ink); }
.chip input:checked + span { background: var(--pu-600); color: #fff; box-shadow: inset 0 0 0 1px var(--pu-600), 0 6px 14px -8px rgb(68 76 231 / .8); }
.chip input:focus-visible + span { outline: 2px solid var(--pu-500); outline-offset: 2px; }
fieldset.field[aria-invalid="true"] .chip span { box-shadow: inset 0 0 0 1px #f97066; }
.form__err { padding: .75rem 1rem; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: .9375rem; }
.form__note { font-size: .8125rem; text-align: center; color: var(--g-500); }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form button[disabled] { opacity: .7; cursor: progress; }
.sent { display: grid; justify-items: center; gap: .75rem; padding-block: 1rem; text-align: center; }
.sent img { width: min(100%, 22rem); border-radius: 20px; }
.sent__h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; letter-spacing: -.03em; color: var(--ink); }
.sent:focus { outline: none; }

/* ---------- footer ---------- */
.ft { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: #fff; border-top: 1px solid var(--g-200); font-size: .9375rem; }
.ft__top { display: grid; gap: 2.5rem; }
@media (width >= 900px) { .ft__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 4rem; } }
.ft__logo img { width: auto; height: 30px; }
.ft__brand p { max-width: 30ch; margin-top: 1rem; color: var(--g-500); }
.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (width >= 640px) { .ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ft__h { margin-bottom: .875rem; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.ft__cols li + li { margin-top: .5rem; }
.ft__cols a { color: var(--g-600); transition: color .2s; overflow-wrap: anywhere; }
.ft__cols a:hover { color: var(--pu-700); }
.ft__base { display: grid; gap: .875rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--g-200); font-size: .75rem; line-height: 1.6; color: var(--g-500); }
.ft__base p { max-width: 110ch; }

/* ---------- legal pages and the 404 ---------- */
.page-hd { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, var(--pu-25), #fff); }
.page-hd .h1 { max-width: 18ch; }
.page-hd p { margin-top: 1rem; }
.legal { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(4rem, 8vw, 6rem); }
.legal__body { max-width: 46rem; line-height: 1.7; }
.legal__body > * + * { margin-top: 1rem; }
.legal__body h2 { margin-top: 2.75rem; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; color: var(--ink); }
.legal__body h3 { margin-top: 1.75rem; font-size: 1.125rem; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--pu-700); text-decoration: underline; text-underline-offset: 3px; }
.legal__body ul, .legal__body ol { display: grid; gap: .5rem; padding-left: 1.25rem; list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body blockquote { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 3px solid var(--pu-300); border-radius: 0 12px 12px 0; background: var(--pu-25); }
.legal__body table { display: block; width: 100%; overflow-x: auto; margin-top: 1.25rem; border-collapse: collapse; font-size: .875rem; line-height: 1.5; }
.legal__body th, .legal__body td { min-width: 9rem; padding: .625rem .75rem; border: 1px solid var(--g-200); text-align: left; vertical-align: top; }
.legal__body th { background: var(--g-50); font-weight: 500; color: var(--ink); }
.nf { display: grid; place-items: center; min-height: 60vh; padding-block: 5rem; text-align: center; }
.nf .h1 { max-width: 16ch; margin-inline: auto; }
.nf p { margin-top: 1rem; }
.nf .cta { justify-content: center; margin-top: 2rem; }

/* ---------- motion: things rise into place as they arrive ---------- */
html.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rv-d, 0ms); }
html.js .stage[data-rv], html.js .demo__card[data-rv] { transform: translateY(28px) scale(.985); }
html.js [data-rv].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rv] { opacity: 1; transform: none; transition: none; }
  .toast, .lrow { transition: none; }
  .lines__p, .dist .lines__p.is-live { animation: none; }
}
