/* Better Day Payments — v3 site stylesheet (direction A: healthcare-enterprise trust)
   Shared by every page. Fonts: Source Serif 4 (display), IBM Plex Sans (text), IBM Plex Mono (labels).
   Pages are generated by tools/v3/build.js; this file is edited directly. */

/* Fonts, self-hosted (2026-10-07, BDP-45; was fonts.googleapis.com): Source Serif 4, IBM Plex Sans, IBM Plex Mono,
   all SIL Open Font License 1.1. Latin + Latin Extended subsets of the files Google served for the same request;
   Source Serif 4 narrowed with fontTools to the weights used (normal 500-600, italic 400-600), optical size kept. */
/* IBM Plex Mono normal 400, latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono normal 400, latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono normal 500, latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono normal 500, latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans normal 400, latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans normal 400, latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans normal 500, latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans normal 500, latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans normal 600, latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans normal 600, latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 italic 400, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 italic 400, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-serif-4-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 italic 500, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/source-serif-4-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 italic 500, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/source-serif-4-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 normal 500, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 normal 500, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 normal 600, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 normal 600, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-serif-4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --paper:#f7f6f2; --paper-2:#efede6; --white:#ffffff;
  --ink:#132238; --ink-2:#3b4a60; --muted:#5d6878;
  --navy:#0f2f5b; --navy-2:#173f76;
  --green:#0b7a68; --green-soft:#e2f1ed; --green-ink:#075a4c;
  --gold:#b58424; --gold-soft:#f6ecd6;
  --line:#d9d5ca; --line-2:#e8e5dc;
  --serif:"Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:"IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r:6px; --r-lg:12px;
  --shadow:0 1px 0 rgba(19,34,56,.06), 0 12px 32px -18px rgba(19,34,56,.25);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;letter-spacing:-.01em;line-height:1.12;margin:0}
p{margin:0}
:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.wrap{width:min(1180px, calc(100% - 48px));margin:0 auto}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink);display:inline-flex;align-items:center;gap:10px}
.eyebrow::before{content:"";width:22px;height:1px;background:var(--green);flex:0 0 auto}
.lead{font-size:18px;color:var(--ink-2)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 20px;border-radius:var(--r);font-weight:600;font-size:15px;border:1px solid transparent;transition:.15s ease;white-space:nowrap;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn-primary:hover{background:var(--navy-2)}
.btn-secondary{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-secondary:hover{background:rgba(15,47,91,.06)}
.btn-light{background:#fff;color:var(--navy);border-color:#fff}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.ctas{display:flex;gap:12px;flex-wrap:wrap}
.section{padding:88px 0}
.section.alt{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{margin-bottom:40px;display:grid;gap:14px}
.section-head h2{font-size:clamp(28px,3.2vw,40px)}
.sub-h{font-size:22px;margin-bottom:18px}
.fn{font-size:13.5px;color:var(--muted);line-height:1.5}
.fn a,.note a,details a{text-decoration:underline;text-underline-offset:3px}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--navy);border-bottom:1px solid transparent;padding:6px 0}
.more:hover{border-color:var(--navy)}
.more::after{content:"→";transition:.15s}
.more:hover::after{transform:translateX(3px)}
.ti{width:1em;height:1em;display:inline-block;vertical-align:-.15em}
.tbd{background:#fff3b0;color:#5c4400;border-radius:3px;padding:0 .25em;font-family:var(--mono);font-size:.9em;font-weight:500;letter-spacing:0;box-decoration-break:clone;-webkit-box-decoration-break:clone}
/* grid items may shrink below their content (images, long words) instead of widening the page */
.wrap > *,.two > *,.feat > *,.gaps > *,.shots3 > *,.stats > *,.provides > *,.notes4 > *,.team > *,.contact-grid > *,.split-head > *,.cr > *,.alloc-layout > *{min-width:0}
section[id]{scroll-margin-top:88px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.two.wide-left{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:start}
.two .section-head{margin-bottom:24px}

/* preview tag */
.vtag{position:fixed;left:12px;bottom:12px;z-index:60;background:#111;color:#ffe25a;font:600 11px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;padding:7px 9px;border-radius:4px;opacity:.85;pointer-events:none}

/* utility bar */
.util{background:var(--navy);color:rgba(255,255,255,.85);font-size:13px}
.util .wrap{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:16px}
.util strong{color:#fff;font-weight:600}
.util .facts{display:flex;gap:22px;flex-wrap:wrap}
.util .facts span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#5fd3b3;margin-right:8px;vertical-align:middle}
.util .links{display:flex;gap:18px}
.util .links a{padding:8px 0}
.util .links a:hover{color:#fff}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(247,246,242,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:24px}
.nav-logo img{height:34px;width:auto}
.nav-links{display:flex;gap:28px;font-weight:500;font-size:15px;color:var(--ink-2)}
.nav-links a{padding:10px 0}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--ink)}
.nav-links a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--green)}
.nav-cta{display:flex;gap:10px;align-items:center}
.nav-toggle{display:none;min-height:44px;background:none;border:1px solid var(--line);border-radius:var(--r);padding:8px 12px;font:inherit;font-weight:500;color:var(--ink);cursor:pointer}
.nav-mobile{display:none;border-top:1px solid var(--line);background:var(--paper)}
.nav-mobile a{display:block;padding:14px 24px;border-bottom:1px solid var(--line-2);font-weight:500}
.nav-mobile a[aria-current="page"]{color:var(--green-ink);box-shadow:inset 3px 0 0 var(--green)}
.nav.open .nav-mobile{display:block}

/* heroes */
.hero{padding:72px 0 72px;border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:64px;align-items:center}
.hero h1{font-size:clamp(40px,5.4vw,68px);margin:18px 0 20px}
.hero .lead{font-size:20px}
.hero .ctas{margin:30px 0 28px}
.page-hero{padding:72px 0 56px;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(34px,4.4vw,54px);margin:16px 0 18px}
.page-hero .lead{font-size:19px}
.page-hero .ctas{margin-top:28px}
.checks ul{padding:0;margin:0;display:grid;gap:10px}
.checks li{list-style:none;display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--ink-2)}
.checks li::before{content:"";flex:0 0 18px;height:18px;margin-top:3px;border-radius:50%;background:var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat}

/* screenshots */
figure{margin:0}
figcaption{font-size:13.5px;color:var(--muted);margin-top:12px;line-height:1.5}
figcaption b{font-family:var(--mono);color:var(--green-ink);margin-right:6px;font-weight:500}
.shot img{border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);background:#fff}
.shot.small{max-width:440px;justify-self:end}
.hero-shot{max-width:420px;justify-self:center}
.hero-art{justify-self:end;width:100%;max-width:480px}
.hero-art img{width:100%;border-radius:var(--r-lg)}
.shots3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start}
.figs2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start;margin-top:32px}
.figs2.one-two{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.figs2 > *,.shot.wide{min-width:0}

/* opportunity */
.split-head{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:end;margin-bottom:44px}
.split-head .section-head{margin:0}
.bigstat{border-left:3px solid var(--green);padding-left:24px;display:grid;gap:8px}
.bigstat .n{font-family:var(--serif);font-size:clamp(52px,6vw,72px);font-weight:600;line-height:1;color:var(--green-ink)}
.bigstat p{color:var(--ink-2)}
.bigstat .src{font-family:var(--mono);font-size:12px;letter-spacing:.03em;color:var(--muted)}
.bigstat .src a{text-decoration:underline;text-underline-offset:3px}
.gaps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;border-top:1px solid var(--line);padding-top:32px}
.gaps > div{display:grid;gap:8px;align-content:start}
.gaps .ti{width:26px;height:26px;color:var(--navy)}
.gaps h3{font-size:20px}
.gaps p{color:var(--ink-2);font-size:15px}

/* cards */
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feat.g2{grid-template-columns:1fr 1fr}
.feat.g4{grid-template-columns:repeat(4,1fr)}
.fcard{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;display:grid;gap:10px;align-content:start}
.section.alt .fcard{background:var(--paper)}
.fcard h3{font-size:20px}
.fcard p{color:var(--ink-2);font-size:15px}
.fcard .ti{width:28px;height:28px;color:var(--navy)}
.ticks{padding:0;margin:0;display:grid;gap:16px}
.ticks li{list-style:none;padding-left:18px;border-left:2px solid var(--green);color:var(--ink-2);font-size:15.5px}
.ticks b{color:var(--ink);font-weight:600}

/* $450 allocation diagram. Sideways tree (charge on the left, square elbows to each bar) when the figure is wide,
   downward tree (charge on top) when it is narrow. Geometry is fixed: each row is 84px and its bar centre sits at 43px,
   which the spine, the elbows and the charge connector are drawn to. */
.alloc{container-type:inline-size;background:var(--green-soft);border-radius:var(--r-lg);padding:28px}
.alloc-k{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--green-ink);margin-bottom:18px}
.alloc-layout{display:grid;grid-template-columns:150px 44px minmax(0,1fr);align-items:start}
.charge{box-sizing:border-box;width:150px;height:74px;margin-top:91px;display:flex;flex-direction:column;justify-content:center;gap:6px;background:var(--ink);color:#fff;border-radius:var(--r);padding:12px 16px}
.charge span{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#c9d3e0}
.charge b{font-family:var(--serif);font-size:26px;font-weight:600;line-height:1}
.spine{position:relative;align-self:stretch}
.spine::before{content:"";position:absolute;left:21px;top:43px;bottom:41px;border-left:2px solid var(--green)}
.spine::after{content:"";position:absolute;left:0;width:22px;top:127px;border-top:2px solid var(--green)}
.enc{position:relative;box-sizing:border-box;height:84px;padding:10px 0 10px 30px}
.enc::before{content:"";position:absolute;left:-23px;top:43px;width:45px;border-top:2px solid var(--green)}
.enc .top,.enc .bot{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.enc .top{height:24px;line-height:24px;margin-bottom:6px}
.enc .top b{font-family:var(--serif);font-size:17px;font-weight:600}
.enc .top span{font-family:var(--mono);font-size:13px}
.enc .bar{position:relative;height:8px;border-radius:4px;background:#c9ddd7}
.enc .bar::before{content:"";position:absolute;left:-10px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:var(--green)}
.enc .bar i{display:block;height:100%;border-radius:4px;background:var(--green)}
.enc .bot{margin-top:6px;line-height:20px;font-size:12.5px;color:var(--ink-2)}
.enc .bot span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enc .tag{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--green-ink);white-space:nowrap}
@container (max-width:470px){
  .alloc-layout{display:block}
  .charge{display:inline-flex;flex-direction:row;align-items:baseline;gap:14px;width:auto;height:auto;margin:0}
  .charge b{font-size:24px}
  .spine{display:none}
  .encs{margin-left:18px}
  .enc{height:auto;padding-left:26px}
  .enc::before{left:0;width:16px}
  .enc::after{content:"";position:absolute;left:0;top:0;bottom:0;border-left:2px solid var(--green)}
  .enc:last-child::after{bottom:auto;height:45px}
  .enc .bot span:first-child{white-space:normal}
  .enc .top b{font-size:16px}
}

/* sample deployment */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:8px 0 28px;border-top:1px solid var(--line);padding-top:22px}
.stats .n{font-family:var(--serif);font-size:36px;font-weight:600;color:var(--green-ink);line-height:1.1;margin-bottom:6px}
.stats p{font-size:14px;color:var(--ink-2)}
.models{background:var(--green-soft);border-radius:var(--r-lg);padding:28px;display:grid;gap:22px}
.models .k{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink)}
.models h3{font-size:21px;margin-bottom:6px}
.models p{color:var(--ink-2);font-size:15px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-weight:600;font-size:12px;margin-right:6px}
.pill.ok{background:var(--green);color:#fff}

/* notes */
.note{padding:20px 24px;border:1px solid var(--line);border-left:4px solid var(--gold);background:var(--gold-soft);border-radius:var(--r);font-size:15px;color:var(--ink-2)}
.note b{color:var(--ink)}
.note.green{border-left-color:var(--green);background:var(--green-soft)}

/* commercial model table */
.ctable{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:#fff}
.cr{display:grid;grid-template-columns:170px 1fr 260px;border-top:1px solid var(--line-2)}
.cr:first-child{border-top:0}
.cr > div{padding:16px 22px;font-size:15px;color:var(--ink-2)}
.cr .lbl{font-weight:600;color:var(--ink)}
.cr.head{background:#fbfaf7}
.cr.head > div{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-top:12px;padding-bottom:12px}
.band-note{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:28px;background:var(--green-soft);border-radius:var(--r-lg);padding:24px 28px}
.band-note b{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink);margin-bottom:6px;font-weight:500}
.band-note p{color:var(--ink)}
.band-note .ctas{align-items:center;flex:0 0 auto}

/* getting there (dark) */
.section.dark{background:var(--ink);color:rgba(255,255,255,.85)}
.section.dark h2,.section.dark h3{color:#fff}
.section.dark .eyebrow{color:#8fd8c5}.section.dark .eyebrow::before{background:#8fd8c5}
.section.dark .fn{color:rgba(255,255,255,.65);margin:18px 0 44px}
.steps5{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:20px;counter-reset:s;position:relative}
.steps5 li{counter-increment:s;display:grid;gap:6px;padding-top:34px;position:relative}
.steps5 li::before{content:"0" counter(s);position:absolute;top:0;left:0;font-family:var(--mono);font-size:12px;color:#8fd8c5}
.steps5 li::after{content:"";position:absolute;top:22px;left:0;width:10px;height:10px;border-radius:50%;background:#5fd3b3;box-shadow:0 0 0 4px rgba(95,211,179,.18)}
.steps5 b{font-family:var(--serif);font-size:21px;font-weight:600;color:#fff}
.steps5 span{font-size:14px;color:rgba(255,255,255,.72)}
.provides{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.provides h3{font-family:var(--sans);font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:6px}
.provides h3 .ti{width:20px;height:20px}
.provides p{font-size:14.5px;color:var(--ink-2)}
.section.dark .provides{border-top:1px solid rgba(255,255,255,.14);padding-top:28px}
.section.dark .provides p{color:rgba(255,255,255,.72)}
.section.dark .provides .ti{color:#8fd8c5}
.provides .ti{color:var(--navy)}

/* alongside + recap */
.patients{margin-top:24px;display:flex;gap:12px;align-items:flex-start;color:var(--ink-2);font-size:15px}
.patients .ti{flex:0 0 22px;width:22px;height:22px;color:var(--navy);margin-top:1px}
.patients b{color:var(--ink)}
.recap{background:var(--navy);color:#fff;padding:40px 0}
.recap-h{font-family:var(--serif);font-size:clamp(22px,2.4vw,28px);font-weight:600;margin-bottom:18px}
.recap ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:r}
.recap li{counter-increment:r}
.recap a{display:grid;gap:4px;min-height:100%;padding:14px 16px;border:1px solid rgba(255,255,255,.2);border-radius:var(--r);font-weight:500;font-size:15px;line-height:1.35;transition:.15s}
.recap a::before{content:"0" counter(r);font-family:var(--mono);font-size:12px;color:#8fd8c5}
.recap a:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.4)}

/* swimlane */
.lane svg{width:100%;height:auto;display:block}
.lane-lines line{stroke:var(--line);stroke-width:1}
.lane-labels text{font:500 11px var(--mono);letter-spacing:.06em;fill:var(--muted)}
.lane-path{fill:none;stroke:var(--green);stroke-width:2}
.lane-dots circle{fill:var(--ink)}
.lane-dots text{font:600 12px var(--mono);fill:#fff;text-anchor:middle}
.lane-notes text{font:400 12px var(--sans);fill:var(--ink-2)}
.lane-list{display:none}

/* animated app screens: HTML recreations of the cashier app and admin console (partials/screen-*.html), in their own
   colours and type. Each .ui-app is laid out at the app's own size (--w app pixels wide) and scales with its figure:
   1em = 16 app px at any width. The markup shows the finished state; site.js plays the steps that lead to it. */
.ui{container-type:inline-size;position:relative;width:100%}
.ui-app{--w:500;position:relative;overflow:hidden;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-size:calc(1600cqw / var(--w));line-height:1.35;color:#1a202c;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);-webkit-font-smoothing:antialiased;user-select:none;-webkit-user-select:none;cursor:default}
.ui-app svg{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:0}
.ui-app b{font-weight:700}
.ui-app code{font-family:"IBM Plex Mono",Menlo,monospace;font-weight:500}
.ui-app .num{font-variant-numeric:tabular-nums}
.ui-tall{aspect-ratio:840/1310}

/* cashier app chrome: header and patient bar */
.ui-hd{background:linear-gradient(135deg,#003366,#004080);color:#fff;padding:1.3em 1.5em 1.25em}
.ui-hd b{display:block;font-size:1.25em;line-height:1.2}
.ui-hd span{display:block;font-size:.95em;opacity:.92;margin-top:.2em}
.ui-pt{background:#f0f4f8;border-bottom:1px solid #e2e8f0;padding:1.1em 1.5em .8em}
.ui-name{display:block;font-size:.97em;color:#1a365d;letter-spacing:.01em}
.ui-det{display:flex;gap:1.6em;font-size:.82em;color:#4a5568;margin-top:.3em}
.ui-row{display:flex;align-items:center;gap:.65em;margin-top:.55em}
.ui-term{display:inline-flex;align-items:center;gap:.5em;height:2.35em;padding:0 .95em;border:1px solid #cbd5e0;border-radius:99em;background:#fff;font-size:.8em;font-weight:700;color:#1a365d}
.ui-term svg{width:1.2em;height:1.2em}
.ui-on{font-size:.76em;font-weight:700;padding:.55em .95em;border-radius:99em;background:#c6f6d5;color:#22543d}
.ui-rf{display:flex;color:#718096}
.ui-alias{display:inline-grid;grid-template-columns:auto auto;align-items:center;column-gap:1.6em;margin-top:.45em;padding:.3em .8em .35em;border:1px solid #cbd5e0;border-radius:.65em;background:#fff}
.ui-alias small{font-size:.6em;font-weight:700;letter-spacing:.08em;color:#718096}
.ui-alias b{font-size:.82em;color:#1a365d}
.ui-alias svg{grid-column:2;grid-row:1 / span 2;width:.85em;height:.85em;color:#4a5568}
.ui-body{position:relative;padding:1.25em 1.5em;transition:opacity .35s}
.ui-h{display:block;font-size:1em;color:#1a365d}

/* checkboxes, spinners, typing */
.ui-cb{flex:none;width:1.15em;height:1.15em;border-radius:.25em;border:1.5px solid #a0aec0;background:#fff;display:grid;place-items:center;transition:background .2s,border-color .2s}
.ui-cb svg{width:.8em;height:.8em;stroke:#fff;stroke-width:3.4}
.ui-cb path{stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .3s .08s}
.is-on > .ui-cb,.is-on > * > .ui-cb{background:#0b3d73;border-color:#0b3d73}
.is-on > .ui-cb path,.is-on > * > .ui-cb path{stroke-dashoffset:0}
.ui-spin{display:inline-block;flex:none;width:1em;height:1em;border:.14em solid currentColor;border-right-color:transparent;border-radius:50%;animation:ui-spin .7s linear infinite}
@keyframes ui-spin{to{transform:rotate(360deg)}}
.ui-chev{margin-left:auto;color:#a0aec0}
.is-focus b::after,.is-focus .v::after{content:"";display:inline-block;width:1px;height:1em;margin-left:1px;background:currentColor;vertical-align:-.12em;animation:ui-caret 1s steps(1) infinite}
.ui-app .is-sel{background:#bee3f8}
@keyframes ui-caret{50%{opacity:0}}

/* 01 select encounters */
.ui-search{display:flex;align-items:center;gap:.6em;margin-top:.95em;height:2.4em;padding:0 1em;border:1px solid #cbd5e0;border-radius:99em;background:#f8fafc;color:#a0aec0;font-size:.9em}
.ui-search svg{width:1.15em;height:1.15em;color:#718096}
.ui-all{display:flex;align-items:center;gap:.8em;margin:.9em -1.5em 0;padding:0 1.5em .8em;border-bottom:1px solid #e2e8f0}
.ui-all b{font-size:.9em;color:#1a365d}
.ui-all .num{margin-left:auto;font-size:.88em;color:#718096}
.ui-enc{margin-top:.75em;border:1px solid #e2e8f0;border-radius:.7em;background:#fff;padding:.85em 1em .75em;transition:background .25s,border-color .25s}
.ui-enc.is-on{background:#ebf4ff;border-color:#1e4e8c}
.ui-enc-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:.85em;align-items:start}
.ui-enc-top > .ui-cb{margin-top:.15em}
.ui-enc-t{display:flex;align-items:center;gap:.55em}
.ui-enc-t b{font-size:.97em}
.ui-chip{font-size:.62em;font-weight:700;color:#4a5568;background:#e2e8f0;border-radius:.35em;padding:.25em .6em}
.ui-meta{font-size:.78em;color:#718096;line-height:1.6;margin-top:.3em;white-space:nowrap}
.ui-meta span{display:flex;align-items:center;gap:.4em}
.ui-bal{text-align:right}
.ui-bal small,.ui-use small{display:block;font-size:.66em;font-weight:700;letter-spacing:.08em;color:#718096}
.ui-bal b{display:block;font-size:.97em;margin-top:.4em}
.ui-use{display:flex;align-items:center;justify-content:flex-end;gap:.9em;margin-top:.65em;padding-top:.65em;border-top:1px dashed #cbd5e0}
.ui-in{display:flex;align-items:center;justify-content:space-between;width:7.4em;height:2.15em;padding:0 .8em;border:1px solid #cbd5e0;border-radius:.55em;background:#f7fafc;font-size:.9em;transition:border-color .2s,box-shadow .2s,background .2s}
.ui-enc.is-on .ui-in{background:#fff}
.ui-in i{font-style:normal;color:#718096}
.ui-in b:empty::before{content:"0.00";color:#cbd5e0;font-weight:400}
.ui-in.is-focus{border-color:#004080;box-shadow:0 0 0 .2em rgba(0,64,128,.15)}

/* 02 take the payment; the card goes to the terminal and the write-back success notice drops in */
.ui-sum{display:flex;align-items:center;gap:1em;padding:1.05em 1.15em;border:2px solid #90cdf4;border-radius:.85em;background:linear-gradient(135deg,#ebf4ff,#dbeafe)}
.ui-sum-ic{flex:none;width:2.7em;height:2.7em;border-radius:50%;background:#0b3d73;color:#fff;display:grid;place-items:center}
.ui-sum-ic svg{width:1.3em;height:1.3em}
.ui-sum small{display:block;font-size:.86em;color:#4a5568}
.ui-sum b{display:block;font-size:1.5em;color:#1a365d;margin-top:.1em}
.ui-sum > svg{margin-left:auto;width:1.2em;height:1.2em;color:#1a365d}
.ui-sec{display:flex;align-items:center;gap:.55em;margin-top:1.35em;font-size:.95em;font-weight:700;color:#003366}
.ui-sec svg{width:1.15em;height:1.15em}
.ui-hint{font-size:.78em;color:#718096;margin:.5em 0 .75em}
.ui-opt{display:flex;align-items:center;gap:.75em;height:3.3em;padding:0 1.15em;margin-bottom:.55em;border:1px solid #e2e8f0;border-radius:.7em;background:#fff;transition:border-color .2s,box-shadow .2s,background .2s,color .2s,transform .15s}
.ui-opt span{font-size:1.02em}
.ui-opt svg{width:1.25em;height:1.25em}
.ui-opt .ui-chev{width:1.05em}
.ui-opt .ui-spin{display:none;margin-left:auto;width:1.15em;height:1.15em;color:#a0aec0}
.ui-opt.is-hover{border-color:#004080;box-shadow:0 2px 8px rgba(0,64,128,.12)}
.ui-opt.is-down{transform:scale(.985)}
.st-busy .ui-opt{color:#a0aec0;background:#fbfcfd;border-color:#edf2f7;box-shadow:none}
.st-busy .ui-opt.credit .ui-chev{display:none}
.st-busy .ui-opt.credit .ui-spin{display:inline-block}
.ui-or{display:flex;align-items:center;gap:.9em;margin:1em 0 .2em;font-size:.82em;color:#718096}
.ui-or::before,.ui-or::after{content:"";flex:1;border-bottom:1px solid #e2e8f0}
.ui-ok-toast{position:absolute;z-index:3;top:.35em;left:18%;right:18%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:.75em;padding:.95em 1em 1em;border:1px solid #b9dfc3;border-radius:.6em;background:#d4edda;color:#1d5b2f;box-shadow:0 .6em 1.6em rgba(19,34,56,.14);opacity:0;visibility:hidden;transform:translateY(-1.2em);transition:opacity .4s,visibility .4s,transform .5s cubic-bezier(.2,.8,.2,1)}
.ui-ok-toast > svg:first-child{width:1.35em;height:1.35em;color:#1f7a3d;margin-top:.1em}
.ui-ok-toast b{display:block;font-size:.98em;line-height:1.3}
.ui-ok-toast span{display:block;font-size:.9em;line-height:1.45;margin-top:.15em}
.ui-ok-toast .ui-x{width:1.2em;height:1.2em;color:#6b6b6b;stroke-width:1.6}
.st-ok .ui-ok-toast{opacity:1;visibility:visible;transform:none}

/* 03 end-of-day report panel; the full report brings the processor's batch with it */
.ui-eod{--w:357;aspect-ratio:600/936}
.ui-eod .ui-body{height:100%;padding:1.35em 1.25em}
.ui-cap{display:block;font-size:.95em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#1a365d}
.ui-lbl{display:block;font-size:.82em;font-weight:700;color:#4a5568;margin-top:1.15em}
.ui-field{display:flex;align-items:center;justify-content:space-between;height:2.55em;padding:0 .85em;margin-top:.55em;border:1px solid #cbd5e0;border-radius:.55em;background:#fff;font-size:.97em}
.ui-field svg{width:1.05em;height:1.05em;color:#1a202c}
.ui-field.sel svg{color:#718096}
.ui-grp{margin-top:.8em;padding:1em 1em .95em;border:1px solid #e2e8f0;border-radius:.7em;background:#f8fafc}
.ui-grp .ui-cap{font-size:.86em}
.ui-grp .ui-field{margin-top:.75em}
.ui-chk{display:flex;align-items:center;gap:.6em;margin-top:.8em;font-size:.93em;color:#4a5568}
.ui-btn{display:flex;align-items:center;justify-content:center;gap:.55em;height:2.6em;margin-top:.8em;border-radius:.55em;background:linear-gradient(135deg,#003366,#004080);color:#fff;font-size:1.02em;font-weight:700;transition:transform .15s,filter .15s}
.ui-btn svg{width:1.1em;height:1.1em}
.ui-btn .ui-spin{display:none}
.ui-btn.is-down{transform:scale(.98);filter:brightness(1.2)}
.ui-btn.is-busy > svg{display:none}
.ui-btn.is-busy .ui-spin{display:inline-block;order:-1}
.ui-sheet{position:absolute;z-index:3;left:1em;right:1em;bottom:0;display:flex;flex-direction:column;padding:1.1em 1.2em 1.3em;background:#fff;border:1px solid #e2e8f0;border-bottom:0;border-radius:.35em .35em 0 0;box-shadow:0 -.5em 1.6em rgba(19,34,56,.18);font-family:"IBM Plex Mono",Menlo,monospace;font-size:.7em;line-height:1.6;transform:translateY(105%);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.ui-sheet .c{text-align:center}
.ui-sheet .big{font-size:1.3em;margin-top:.2em}
.ui-sheet hr{width:100%;border:0;border-top:1px dashed #a0aec0;margin:.55em 0}
.ui-sheet .r{display:flex;justify-content:space-between;gap:1em}
.st-sheet .ui-sheet{transform:none}

/* hero: payment complete */
.ui-hero{aspect-ratio:881/1334;display:flex;flex-direction:column}
.ui-hero .ui-body{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:1.4em 1.5em 1.5em}
.ui-ok{width:4.3em;height:4.3em;margin:0 auto;border-radius:50%;background:#c6f6d5;border:3px solid #68d391;display:grid;place-items:center}
.ui-ok svg{width:2.4em;height:2.4em;stroke:#1a202c;stroke-width:2.6}
.ui-ok path{stroke-dasharray:24;stroke-dashoffset:0;transition:stroke-dashoffset .45s .3s cubic-bezier(.65,0,.35,1)}
.ui-ok-t{font-size:1.35em;font-weight:700;color:#22543d;margin-top:.7em}
.ui-ok-amt{font-size:2.3em;margin-top:.12em}
.ui-ok-sub{font-size:.88em;color:#718096;margin-top:.1em}
.ui-auth{display:grid;grid-template-columns:1fr 1fr;margin-top:1em;padding:.8em 1em;border:1px solid #e2e8f0;border-radius:.6em;background:#fff}
.ui-auth small{display:block;font-size:.72em;color:#718096}
.ui-auth b{display:block;font-family:"IBM Plex Mono",Menlo,monospace;font-weight:500;font-size:.88em;margin-top:.25em}
.ui-wb{margin-top:.9em;border:1px solid #b7ebc6;border-radius:.6em;background:#f0fff4;overflow:hidden;text-align:left;transition:background .4s,border-color .4s}
.ui-wb-h{display:flex;align-items:center;gap:.5em;padding:.7em 1em;background:#dcfce7;color:#22543d;font-size:.82em;font-weight:700;transition:background .4s,color .4s}
.ui-wb-h svg{width:1.15em;height:1.15em}
.ui-wb-r{display:flex;align-items:center;justify-content:space-between;gap:1em;padding:.65em 1em;border-top:1px solid #d1fadf}
.ui-wb-r b{display:block;font-size:.9em}
.ui-wb-r small{display:block;font-size:.74em;color:#718096;margin-top:.15em}
.ui-st{display:inline-flex;align-items:center;gap:.35em;font-size:.84em;font-weight:700;color:#2f855a;white-space:nowrap}
.ui-st svg{width:1.1em;height:1.1em;stroke-width:2.6}
.when-done,.when-pend{display:inline-flex;align-items:center;gap:.45em}
.ui-wb .when-pend{display:none}
.ui-wb .ui-spin{width:.9em;height:.9em}
.ui-wb.is-pend{background:#f8fafc;border-color:#e2e8f0}
.ui-wb.is-pend > .ui-wb-h{background:#edf2f7;color:#4a5568}
.ui-wb.is-pend > .ui-wb-h > .when-done,.ui-wb-r.is-pend .when-done{display:none}
.ui-wb.is-pend > .ui-wb-h > .when-pend,.ui-wb-r.is-pend .when-pend{display:inline-flex}
.ui-wb-r.is-pend .ui-st{color:#718096}
.ui-st.is-pop svg{animation:ui-pop .4s cubic-bezier(.34,1.56,.64,1)}
@keyframes ui-pop{from{transform:scale(.3)}}
.ui-done{display:grid;place-items:center;height:3em;margin-top:1em;border-radius:.6em;background:linear-gradient(135deg,#003366,#004080);color:#fff;font-weight:700}
.ui-proc{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.st-proc .ui-proc{opacity:1;visibility:visible}
.ui-tap{position:relative;width:5em;height:5em;border-radius:50%;background:#ebf4ff;color:#004080;display:grid;place-items:center}
.ui-tap svg{width:2.2em;height:2.2em}
.ui-tap::before,.ui-tap::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #90cdf4;animation:ui-ring 1.6s ease-out infinite}
.ui-tap::after{animation-delay:.8s}
@keyframes ui-ring{from{transform:scale(1);opacity:.9}to{transform:scale(1.75);opacity:0}}
.ui-proc-t{display:flex;align-items:center;gap:.5em;font-size:1.2em;font-weight:700;color:#1a365d;margin-top:1.4em}
.ui-proc-t .ui-spin{display:none;width:.85em;height:.85em}
.ui-proc.is-auth .ui-proc-t .ui-spin{display:inline-block}
.ui-proc-s{font-size:.88em;color:#718096;margin-top:.45em}
.ui-proc-amt{font-size:1.9em;margin-top:.55em}

/* failed posting, then the retry in My Payments */
.ui-fail{--w:381;aspect-ratio:640/352;border:0;background:none}
.ui-scene{position:absolute;inset:0;border-radius:var(--r-lg);overflow:hidden;transition:transform .6s cubic-bezier(.65,0,.35,1),opacity .6s}
.ui-toast{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:.85em;padding:1.35em 1.25em 1.2em 1.45em;background:#f8d7da;border:1px solid #f1aeb5;color:#721c24}
.ui-toast > svg{width:1.3em;height:1.3em;margin-top:.1em}
.ui-toast .ui-x{width:1.25em;height:1.25em;color:#6b6b6b;stroke-width:1.6}
.ui-toast b{display:block;font-size:.93em}
.ui-toast .msg{display:block;font-size:.88em;line-height:1.55;margin-top:.15em}
.ui-toast small{display:block;font-size:.76em;color:#a14b55;margin-top:.7em}
.ui-rbtn{display:inline-flex;align-items:center;gap:.5em;margin-top:.6em;padding:.6em .95em;border-radius:.4em;background:#721c24;color:#fff;font-size:.82em;font-weight:700;transition:transform .15s,filter .15s}
.ui-rbtn.is-down{transform:scale(.97);filter:brightness(1.3)}
.ui-warn{transform-origin:50% 65%}
.ui-warn.is-shake{animation:ui-shake .5s ease-in-out}
@keyframes ui-shake{20%,60%{transform:rotate(-12deg)}40%,80%{transform:rotate(12deg)}}
.ui-myp{background:#fff;border:1px solid var(--line);transform:translateX(104%)}
.st-b .ui-toast{transform:translateX(-35%);opacity:0}
.st-b .ui-myp{transform:none}
.ui-myp-h{display:flex;align-items:center;gap:.5em;padding:.8em 1.1em;background:linear-gradient(135deg,#0d2f5c,#155a9c);color:#fff}
.ui-myp-h b{font-size:.98em}
.ui-myp-h .ui-x{margin-left:auto;width:1.1em;height:1.1em}
.ui-note{display:flex;align-items:center;gap:.45em;margin:.75em 1.1em 0;padding:.5em .75em;border:1px solid #f6d58a;border-radius:.45em;background:#fffaeb;color:#8a5a00;font-size:.62em;font-weight:700;white-space:nowrap}
.ui-note svg{width:1.2em;height:1.2em}
.ui-tr{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,.95fr) minmax(0,1.15fr) 5.6em;column-gap:.55em;align-items:center;padding:.55em 1.1em;font-size:.72em}
.ui-th{padding-top:.95em;padding-bottom:.45em;border-bottom:1px solid #edf2f7}
.ui-th > span{font-size:.82em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#718096}
.ui-tr > span:not(.ui-wbc){color:#4a5568}
.ui-th > span:not(.ui-wbc){color:#718096}
.ui-foot{margin-top:.2em;padding:.65em 1.55em;border-top:1px solid #edf2f7;font-size:.62em;color:#718096}
.ui-wbc{display:flex}
.ui-retry,.ui-posted{display:inline-flex;align-items:center;gap:.35em;padding:.42em .7em;border-radius:.45em;font-size:.92em;font-weight:700;white-space:nowrap}
.ui-retry{background:#0d2f5c;color:#fff;transition:transform .15s,filter .15s}
.ui-retry.is-down{transform:scale(.95);filter:brightness(1.35)}
.ui-retry .ui-spin{display:none;width:.9em;height:.9em}
.ui-retry.is-busy svg{display:none}
.ui-retry.is-busy .ui-spin{display:inline-block}
.ui-posted{background:#e6f6ec;border:1px solid #b7e4c7;border-radius:99em;color:#1e7a46;letter-spacing:.03em}
.is-fail .ui-posted,.ui-tr:not(.is-fail) .ui-retry{display:none}
.ui-tr:not(.is-fail) .ui-posted.is-pop{animation:ui-pop .45s cubic-bezier(.34,1.56,.64,1)}

/* admin console: partial refund and payment history */
.ui-admin{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#111827}
.ui-ref{--w:805;aspect-ratio:1100/938}
.ui-ref .ui-body{padding:1.6em 1.5em 1.4em}
.ui-ref-h{display:flex;align-items:center;gap:1em}
.ui-ref-ic{flex:none;width:2.6em;height:2.6em;border-radius:.55em;background:#fbe9e7;color:#b23b2e;display:grid;place-items:center}
.ui-ref-ic svg{width:1.4em;height:1.4em}
.ui-ref-h b{display:block;font-size:1.2em}
.ui-ref-h code{display:block;font-size:.85em;color:#6b7280;margin-top:.2em}
.ui-ref-p{font-size:.9em;line-height:1.6;color:#374151;margin-top:1.15em}
.ui-ref-p b{color:#111827}
.ui-ref-t{margin-top:1.1em;border:1px solid #e5e7eb;border-radius:.65em;overflow:hidden}
.ui-ref-r{display:grid;grid-template-columns:minmax(0,1fr) 4.6em 6.6em 8em;column-gap:1.1em;align-items:center;padding:.6em 1.3em;border-top:1px solid #e5e7eb}
.ui-ref-r > span{font-size:.88em;text-align:right}
.ui-ref-r > span:first-child{text-align:left;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-ref-r code{color:#111827}
.ui-ref-r.th{border-top:0;padding-top:1em;padding-bottom:1em}
.ui-ref-r.th > span{font-size:.72em;letter-spacing:.07em;text-transform:uppercase;color:#6b7280}
.ui-ref-in{display:flex;align-items:center;justify-content:flex-end;height:2.4em;padding:0 .9em;border:1px solid #d1d5db;border-radius:.5em;background:#fff;font-family:"IBM Plex Mono",Menlo,monospace;transition:border-color .2s,box-shadow .2s}
.ui-ref-in b{font-weight:500}
.ui-ref-in.is-focus,.ui-ref-ta.is-focus{border-color:#6b7280;box-shadow:0 0 0 .2em rgba(17,24,39,.08)}
.ui-ref-sum{display:grid;grid-template-columns:1fr auto;row-gap:.95em;margin-top:.9em;padding:1em 1.3em 1.05em;border:1px solid #e5e7eb;border-radius:.65em;background:#fafafa}
.ui-ref-sum small{font-size:.72em;letter-spacing:.07em;text-transform:uppercase;color:#6b7280}
.ui-ref-sum .amt{font-size:.9em}
.ui-ref-sum small:nth-child(2),.ui-ref-sum b{text-align:right}
.ui-ref-f{display:grid;grid-template-columns:1fr 1fr;column-gap:1.5em;margin-top:1.45em}
.ui-ref-l{display:flex;align-items:center;gap:.4em;font-size:.9em;font-weight:500;color:#374151}
.ui-ref-l i{font-style:normal;display:grid;place-items:center;width:1.45em;height:1.45em;border:1px solid #d1d5db;border-radius:50%;font-size:.75em;color:#4b5563}
.ui-ref-l em{font-style:normal;color:#6b7280;font-weight:400}
.ui-ref-sel{display:flex;align-items:center;justify-content:space-between;height:2.5em;margin-top:.55em;padding:0 1em;border:1px solid #d1d5db;border-radius:.55em;background:#fff}
.ui-ref-sel b{font-size:.9em;font-weight:500}
.ui-ref-sel svg{color:#4b5563}
.ui-ref-f small{display:block;font-size:.76em;color:#6b7280;margin-top:.6em}
.ui-ref-ta{height:5.4em;margin-top:.55em;padding:.7em .9em;border:1px solid #d1d5db;border-radius:.55em;background:#fff;font-size:.9em;line-height:1.5;transition:border-color .2s,box-shadow .2s}
.ui-ref-ta .ph{color:#9ca3af}
.ui-ref-ta .v:not(:empty) + .ph,.ui-ref-ta.is-focus .ph{display:none}
.ui-ref-b{display:flex;justify-content:flex-end;gap:.75em;margin-top:2.6em}
.ui-ref-b span{display:grid;place-items:center;height:2.55em;padding:0 1.5em;border-radius:.55em;font-size:.95em;font-weight:500;transition:transform .15s,filter .15s,opacity .25s}
.ui-ref-cancel{border:1px solid #d1d5db;background:#fff}
.ui-ref-go{background:#a83228;color:#fff}
.ui-ref-go.is-off{opacity:.45}
.ui-ref-go.is-down{transform:scale(.97);filter:brightness(1.15)}
.ui-hist{--w:525;aspect-ratio:700/917}
.ui-hist .ui-body{padding:1.5em 1.55em 0}
.ui-hist-k{display:flex;align-items:center;gap:.6em;margin-bottom:.85em;font-size:.78em;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#6b7280}
.ui-hist-k i{font-style:normal;display:grid;place-items:center;width:1.7em;height:1.7em;border:1px solid #d1d5db;border-radius:50%;font-size:.85em;letter-spacing:0;color:#4b5563}
.ui-hist-c{margin-bottom:1.65em;border:1px solid #e5e7eb;border-radius:.75em;overflow:hidden}
.ui-hr{display:grid;grid-template-columns:2em minmax(0,1fr) auto;column-gap:1.1em;align-items:center;padding:.8em 1.4em;border-bottom:1px solid #e5e7eb}
.ui-hist-c > .ui-hr:last-child,.ui-hist-c > .ui-grow:last-child .ui-hr:last-child{border-bottom:0}
.ui-hr .ic{display:grid;place-items:center;width:2em;height:2em;border-radius:.5em;background:#eef3f1;color:#1f5f52}
.ui-hr .ic svg{width:1.15em;height:1.15em}
.ui-hr b{display:block;font-size:.98em;font-weight:500}
.ui-hr small{display:block;margin-top:.25em;font-size:.85em;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-hr q{display:block;margin-top:.5em;font-size:.85em;font-style:italic;line-height:1.5;color:#6b7280}
.ui-hr.oh{grid-template-columns:minmax(0,1fr) auto auto;column-gap:.7em;padding:.8em .95em .8em 1.3em}
.ui-hr.oh b{font-weight:700}
.ui-pill{display:inline-flex;align-items:center;gap:.4em;padding:.38em .7em;border-radius:.4em;background:#e3f1e8;color:#1e6b43;font-size:.88em;font-weight:500;transition:opacity .3s,transform .4s cubic-bezier(.34,1.56,.64,1)}
.ui-pill svg{width:1.1em;height:1.1em}
.ui-pill.is-pre{opacity:0;transform:scale(.6)}
.ui-mag{display:grid;place-items:center;width:1.95em;height:1.95em;border:1px solid #d1d5db;border-radius:.45em;color:#374151}
.ui-grow{display:grid;grid-template-rows:1fr;transition:grid-template-rows .55s cubic-bezier(.2,.8,.2,1),opacity .45s}
.ui-grow > div{min-height:0;overflow:hidden}
.ui-grow.is-pre{grid-template-rows:0fr;opacity:0}

/* the steps: an element marked is-pre waits out of sight until its step */
.ui-fx{transition:opacity .45s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.ui-fx.is-pre{opacity:0;transform:translateY(.7em)}
.ui-ok.is-pre{opacity:0;transform:scale(.55)}
.ui-ok.ui-fx{transition:opacity .3s ease,transform .55s cubic-bezier(.34,1.56,.64,1)}
.ui-ok.is-pre path{stroke-dashoffset:24}
.ui-toast.is-pre{opacity:0;transform:translateY(-.9em)}
.ui-app.no-tr *,.ui-app.no-tr *::before,.ui-app.no-tr *::after,.alloc.no-tr *,.alloc.no-tr *::before,.alloc.no-tr *::after,.lane.no-tr *{transition:none!important}
/* between loops the changing part fades out, resets, and fades back in */
.ui-app.is-fade .ui-body,.ui-app.is-fade .ui-scene,.ui-app.is-fade .ui-ok-toast{opacity:0}

/* the pointer that clicks through each screen */
.ui-cur{position:absolute;left:0;top:0;z-index:5;width:1.3em;height:1.45em;pointer-events:none;opacity:0;transition:transform .75s cubic-bezier(.45,.05,.25,1),opacity .3s;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.35))}
.ui-cur.is-on{opacity:1}
.ui-cur svg{display:block;width:100%;height:100%;fill:#fff;stroke:#111;stroke-width:1.3;transition:transform .12s}
.ui-cur.is-down svg{transform:scale(.85)}
.ui-cur::after{content:"";position:absolute;left:-.55em;top:-.55em;width:1.2em;height:1.2em;border-radius:50%;background:rgba(0,64,128,.35);opacity:0}
.ui-cur.is-click::after{animation:ui-click .45s ease-out}
@keyframes ui-click{from{transform:scale(.2);opacity:1}to{transform:scale(1.7);opacity:0}}

/* $450 allocation and the swimlane, drawn in when scrolled into view (site.js) */
.alloc .alloc-layout,.lane svg{transition:opacity .35s}
.alloc.is-fade .alloc-layout,.lane.is-fade svg{opacity:0}
.alloc .charge,.alloc .enc .tag{transition:opacity .45s ease,transform .5s cubic-bezier(.2,.8,.2,1)}
.alloc .charge.is-pre{opacity:0;transform:translateY(.5em)}
.alloc .spine::before{transition:transform .45s ease}
.alloc .spine::after,.alloc .enc::before{transform-origin:left;transition:transform .3s ease}
.alloc .enc::after{transform-origin:top;transition:transform .3s ease}
.alloc .enc .bar::before{transition:opacity .3s}
.alloc .enc .bar i{transform-origin:left;transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.alloc .spine.is-pre::before{transform:scaleY(0)}
.alloc .spine.is-pre::after,.alloc .enc.is-pre::before,.alloc .enc.is-pre .bar i{transform:scaleX(0)}
.alloc .enc.is-pre::after{transform:scaleY(0)}
.alloc .enc.is-pre .bar::before{opacity:0}
.alloc .enc.is-pre .tag{opacity:0;transform:translateY(.3em)}
.lane-path{transition:stroke-dashoffset 3.6s linear}
.lane-dots circle{transform-box:fill-box;transform-origin:center}
.lane-dots circle,.lane-dots text,.lane-notes text{transition:opacity .35s,transform .45s cubic-bezier(.34,1.56,.64,1)}
.lane .is-pre{opacity:0}
.lane-dots circle.is-pre{transform:scale(.3)}
.notes4{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:36px;border-top:1px solid var(--line)}
.notes4 > div{padding:22px 22px 0 0}
.notes4 > div + div{padding-left:22px;border-left:1px solid var(--line)}
.notes4 h3{font-family:var(--sans);font-size:16px;font-weight:600;margin-bottom:6px}
.notes4 p{font-size:15px;color:var(--ink-2)}

/* reliability cases */
.cases{margin:0;display:grid;gap:0;border-top:1px solid var(--line)}
.cases > div{padding:16px 0;border-bottom:1px solid var(--line)}
.cases dt{font-weight:600;margin-bottom:4px}
.cases dd{margin:0;color:var(--ink-2);font-size:15px}
#reliability .two{align-items:start}

/* timeline */
.tl{display:grid;gap:0;border-left:2px solid var(--line);margin-left:8px}
.tl .t{position:relative;padding:0 0 26px 30px}
.tl .t::before{content:"";position:absolute;left:-9px;top:6px;width:14px;height:14px;border-radius:50%;background:var(--paper);border:3px solid var(--navy)}
.tl .t:last-child{padding-bottom:0}
.tl .t .k{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.tl .t h3{font-size:19px;margin-bottom:4px}
.tl .t p{color:var(--ink-2);font-size:15px}
#timeline .two{align-items:start}

/* faq */
.faq{background:var(--white);border-top:1px solid var(--line)}
.faq .list{max-width:820px}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;padding:20px 0;font-family:var(--serif);font-weight:600;font-size:19px;display:flex;justify-content:space-between;gap:20px;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--mono);color:var(--muted);font-size:20px;transition:.2s;flex:0 0 auto}
details[open] summary::after{transform:rotate(45deg)}
details > p{padding:0 0 22px;color:var(--ink-2)}

/* navy band (pricing) */
.band{background:var(--navy);color:#fff}
.band .eyebrow{color:#8fd8c5}.band .eyebrow::before{background:#8fd8c5}
.band h2{font-size:clamp(28px,3.2vw,40px);margin:14px 0 18px}
.band .lead{color:rgba(255,255,255,.82)}
.band .fn{color:rgba(255,255,255,.65)}
.band .grid{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:start}
.band .card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:var(--r-lg);padding:28px}
.band ol{margin:0;padding:0;display:grid;counter-reset:r}
.band ol li{list-style:none;display:grid;grid-template-columns:56px 1fr;gap:18px;align-items:center;counter-increment:r;padding:18px 0;border-top:1px solid rgba(255,255,255,.14)}
.band ol li:first-child{border-top:0;padding-top:4px}
.band ol li::before{content:counter(r);font-family:var(--serif);font-size:40px;font-weight:600;line-height:1;color:#8fd8c5;text-align:center}
.band ol b{display:block;font-weight:600;font-size:17px;margin-bottom:2px}
.band ol span{color:rgba(255,255,255,.78);font-size:14px}
.band .card .btn{margin-top:22px}

/* cta */
.cta{background:var(--paper-2);border-top:1px solid var(--line)}
.cta .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
.cta h2{font-size:clamp(26px,3vw,38px)}
.cta .ctas{justify-content:flex-end}

/* policy */
details.policy{border:1px solid var(--line);border-radius:var(--r-lg);background:#fff}
details.policy > summary{padding:20px 26px;font-size:18px}
.prose{padding:8px 44px 40px;font-size:15px;color:var(--ink-2);max-width:880px}
.prose h3{font-size:22px;color:var(--ink);margin:32px 0 12px}
.prose h3:first-child{margin-top:12px}
.prose h4{font-size:16px;color:var(--ink);margin:20px 0 8px;font-family:var(--sans);font-weight:600}
.prose p{margin:0 0 12px}
.prose ul{margin:0 0 14px;padding-left:22px}
.prose li{margin-bottom:6px}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.prose .sec-n{color:var(--green-ink);font-family:var(--mono);font-size:14px;margin-right:6px;vertical-align:middle}

/* legal pages (privacy): text runs the full width of the container */
.legal h1,.legal .lead,.legal .prose{max-width:none}
.legal .prose{padding:0}
.prose code{font-family:var(--mono);font-size:13px;color:var(--ink)}
.prose table{width:100%;border-collapse:collapse;margin:8px 0 16px;font-size:14px}
.prose th,.prose td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--line)}
.prose th{color:var(--ink);font-weight:600;background:var(--paper)}
.table-scroll{overflow-x:auto}
@media (max-width:600px){.prose thead{display:none}.prose tr{display:block;padding:10px 0;border-bottom:1px solid var(--line)}.prose td{display:block;padding:2px 0;border:0}}

/* cookie notice (live build only, shown by site.js) */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--white);border-top:1px solid var(--line);box-shadow:0 -12px 32px -18px rgba(19,34,56,.25);padding:16px 0}
.cookie[hidden]{display:none}
.cookie .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.cookie p{margin:0;flex:1 1 320px;font-size:14px;color:var(--ink-2)}
.cookie p a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.cookie .cookie-btns{display:flex;gap:10px;flex:none}

/* team */
.team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.person{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;display:grid;gap:12px;align-content:start}
.person img{width:84px;height:84px;border-radius:50%;object-fit:cover}
.person h3{font-size:21px}
.person .role{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--green-ink)}
.person p{color:var(--ink-2);font-size:14.5px}

/* contact / forms */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.info{display:grid;gap:16px}
.info .item{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:20px 22px;display:grid;gap:6px}
.info .item .k{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.info .item b{font-weight:600;font-size:16px}
.info .item a{color:var(--navy);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.fcard p a{color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.info .item b a{display:inline-block;padding:6px 0}
.info .item p{color:var(--ink-2);font-size:14.5px}
form.f{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:32px;display:grid;gap:16px;position:relative}
form.f .row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
form.f label{display:grid;gap:6px;font-size:13.5px;font-weight:500;color:var(--ink-2)}
form.f input,form.f select,form.f textarea{font:inherit;font-size:16px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r);background:#fbfaf7;color:var(--ink);width:100%}
form.f textarea{min-height:130px;resize:vertical}
form.f input:focus,form.f select:focus,form.f textarea:focus{outline:2px solid var(--navy);outline-offset:1px;background:#fff}
form.f .preview{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6b4d0f;background:var(--gold-soft);border:1px solid #e9d8a8;border-radius:4px;padding:6px 10px;justify-self:start}

/* footer */
footer{background:var(--navy);color:rgba(255,255,255,.78);padding:56px 0 32px;font-size:14px}
footer .top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.14)}
footer img{height:36px;width:auto;margin-bottom:16px}
footer .fh{font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#8fd8c5;margin-bottom:8px}
footer ul{list-style:none;padding:0;margin:0;display:grid;gap:0}
footer ul a{display:inline-block;padding:8px 0}
footer a:hover{color:#fff}
footer .bottom{display:flex;justify-content:space-between;gap:20px;padding-top:24px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.62)}

/* rep programme page (reps.html, private): compensation, calculator, assisted-deal tiers, talk tracks, answers */
.rp-jump{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.rp-jump a{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px;transition:.15s}
.rp-jump a:hover{border-color:var(--navy);color:var(--navy)}
.rp-gap{margin-top:56px}
.rp-gap-s{margin-top:24px}
.rp-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;border-top:1px solid var(--line);padding-top:28px}
.rp-rate{display:grid;gap:8px;align-content:start}
.rp-rate .k,.rp-tier .k{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink)}
.rp-rate .n{font-family:var(--serif);font-size:clamp(34px,3.4vw,44px);font-weight:600;line-height:1.05;color:var(--navy)}
.rp-rate .n small{font-family:var(--sans);font-size:14px;font-weight:500;letter-spacing:0;color:var(--muted);margin-left:4px}
.rp-rate p{color:var(--ink-2);font-size:15px;margin-top:4px}
.rp-rate b,.rp-say b{color:var(--ink);font-weight:600}
.rp-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.rp-calc-in{padding:28px;display:grid;gap:22px;align-content:start}
.rp-range{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:baseline;font-weight:600}
.rp-range b{font-family:var(--mono);font-weight:500;color:var(--navy)}
.rp-range input{grid-column:1 / -1;width:100%;height:28px;margin:0;accent-color:var(--navy);cursor:pointer}
.rp-fixed{margin:0;border-top:1px solid var(--line-2)}
.rp-fixed div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line-2);font-size:14.5px}
.rp-fixed dt{color:var(--ink-2)}
.rp-fixed dd{margin:0;font-family:var(--mono);color:var(--ink)}
.rp-calc-out{margin:0;padding:28px;background:var(--navy);color:#fff;display:grid;align-content:start}
.rp-calc-out div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.rp-calc-out dt{color:rgba(255,255,255,.75);font-size:15px}
.rp-calc-out dd{margin:0;font-family:var(--serif);font-size:28px;font-weight:600;line-height:1;white-space:nowrap}
.rp-calc-out .hi{border-bottom:0}
.rp-calc-out .hi dt{color:#fff;font-weight:600}
.rp-calc-out .hi dd{font-size:36px;color:#8fd8c5}
.rp-calc-out p{font-size:13.5px;color:rgba(255,255,255,.65);padding-top:14px;border-top:1px solid rgba(255,255,255,.14)}
.rp-tier .pct{font-family:var(--serif);font-size:52px;font-weight:600;line-height:1;color:var(--green-ink);margin:2px 0 4px}
.rp-tier:nth-child(2) .pct{color:var(--navy-2)}
.rp-tier:nth-child(3) .pct{color:var(--gold)}
.rp-block{margin-top:80px}
.rp-say{margin-top:20px;padding:16px 20px;border-left:3px solid var(--green);background:var(--green-soft);border-radius:var(--r);color:var(--ink-2);font-size:15px}
.rp-block .ticks,.rp-block .cases{margin-top:4px}
.rp-search{position:sticky;top:84px;z-index:20;display:flex;align-items:center;gap:12px;margin-bottom:48px;padding:0 18px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.rp-search:focus-within{border-color:var(--navy)}
.rp-search .ti{width:20px;height:20px;color:var(--muted);flex:0 0 auto}
.rp-search input{flex:1;min-width:0;padding:16px 0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--ink)}
#rp-count{font-family:var(--mono);font-size:12px;color:var(--muted);white-space:nowrap}
.rp-group{scroll-margin-top:170px}
.rp-group + .rp-group{margin-top:56px}
.rp-group[hidden],#answers details[hidden]{display:none}
.rp-list{border-top:1px solid var(--line)}
.rp-kb{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.rp-kb summary{font-size:17px}
.rp-tag{display:block;margin-bottom:3px;font-style:normal;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink)}
.rp-empty{padding:24px 0;color:var(--muted)}
@media (max-width:980px){
  .rp-rates{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp-calc,.rp-kb{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .rp-rates{grid-template-columns:minmax(0,1fr);gap:22px}
  .rp-block{margin-top:56px}
  .rp-search{top:72px;margin-bottom:36px}
  .rp-calc-in,.rp-calc-out{padding:22px}
  .fcard.rp-tier{grid-template-columns:minmax(0,1fr)}
  .fcard.rp-tier > *{grid-column:1 / -1}
  .rp-tier .pct{font-size:40px}
}

@media (max-width:980px){
  .hero .wrap,.two,.two.wide-left,.split-head,.band .grid,.cta .wrap,.contact-grid{grid-template-columns:minmax(0,1fr)}
  .shot.small{justify-self:start}
  .two,.hero .wrap{gap:40px}
  .feat,.feat.g4,.team,.gaps,.shots3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .figs2,.figs2.one-two{grid-template-columns:minmax(0,1fr)}
  .provides,.notes4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .notes4 > div,.notes4 > div + div{padding:20px 20px 0 0;border-left:0}
  .steps5{grid-template-columns:1fr 1fr 1fr}
  .steps5 li{padding-bottom:6px}
  .recap ol{grid-template-columns:1fr 1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .cr{grid-template-columns:130px 1fr}
  .cr > div:nth-child(3){grid-column:2;padding-top:0}
  .cr.head{display:none}
  .band-note{flex-direction:column;align-items:flex-start}
  .nav-links{display:none}
  .nav-toggle{display:inline-block}
  footer .top{grid-template-columns:1fr 1fr}
  .cta .ctas{justify-content:flex-start}
  .util .links{display:none}
  .lane svg{display:none}
  .lane-list{display:grid;gap:0;list-style:none;padding:0;margin:0;counter-reset:l;border-left:2px solid var(--green);margin-left:12px}
  .lane-list li{counter-increment:l;position:relative;padding:0 0 18px 30px;color:var(--ink-2);font-size:15px}
  .lane-list li::before{content:counter(l);position:absolute;left:-13px;top:0;width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;font:600 12px/24px var(--mono);text-align:center}
  .lane-list span{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--green-ink)}
  .hero-shot{max-width:360px;justify-self:start}
  .hero-art{max-width:420px;justify-self:start}
}
@media (max-width:600px){
  .wrap{width:calc(100% - 32px)}
  .nav .wrap{gap:10px;min-height:64px}
  .nav-logo img{height:28px}
  .nav-cta{gap:8px}
  .nav-cta .btn{padding:9px 12px;font-size:14px}
  .nav-toggle{padding:8px 10px}
  section[id]{scroll-margin-top:76px}
  .section{padding:60px 0}
  .hero,.page-hero{padding:48px 0 44px}
  .hero .lead{font-size:18px}
  .lead,.page-hero .lead{font-size:17px}
  .feat,.feat.g2,.feat.g4,.team,.gaps,.provides,.notes4{grid-template-columns:minmax(0,1fr)}
  .section-head{margin-bottom:28px}
  .gaps{gap:20px;padding-top:24px}
  /* compact cards on phones: icon beside the heading, less padding */
  .feat{gap:12px}
  .fcard{padding:18px;grid-template-columns:28px minmax(0,1fr);column-gap:12px;row-gap:4px}
  .fcard > .ti{grid-row:1 / span 2;width:24px;height:24px;margin-top:2px}
  .fcard > h3,.fcard > p{grid-column:2}
  .fcard > h3:first-child,.fcard > h3:first-child ~ p{grid-column:1 / -1}
  .fcard h3{font-size:18px}
  .gaps > div{grid-template-columns:28px minmax(0,1fr);column-gap:12px;row-gap:2px}
  .gaps .ti{grid-row:1 / span 2;width:22px;height:22px;margin-top:2px}
  .gaps h3{font-size:18px}
  /* three screens become a swipeable row */
  .shots3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:0 -16px;padding:0 16px 12px;-webkit-overflow-scrolling:touch}
  .shots3 .shot{flex:0 0 78%;scroll-snap-align:start}
  .hero-shot{max-width:220px}
  .hero-art{max-width:none;height:180px;overflow:hidden;border-radius:var(--r-lg)}
  .hero-art img{height:100%;object-fit:cover;object-position:center 30%}
  .shot.small{max-width:320px}
  .notes4 > div,.notes4 > div + div{padding:16px 0 0}
  .stats .n{font-size:30px}
  .steps5{grid-template-columns:1fr 1fr}
  .recap ol{grid-template-columns:1fr}
  .recap a{grid-template-columns:28px 1fr;align-items:baseline}
  .alloc{padding:20px}
  .cr{grid-template-columns:1fr}
  .cr > div{padding:4px 18px}
  .cr > div:first-child{padding-top:16px}
  .cr > div:nth-child(3){grid-column:1;padding-bottom:16px;font-size:14px}
  .cr .lbl{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-ink);font-weight:500}
  .band-note{padding:22px}
  .band ol li{grid-template-columns:40px 1fr;gap:14px}
  .band ol li::before{font-size:32px}
  footer .top{grid-template-columns:1fr 1fr;gap:28px}
  footer .top > div:first-child{grid-column:1 / -1}
  .util .facts span:nth-child(n+2){display:none}
  form.f{padding:22px}
  form.f .row2{grid-template-columns:1fr}
  .prose{padding:4px 20px 28px}
  details.policy > summary{padding:18px 20px}
  .person{padding:22px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.more::after,.recap a{transition:none}.ui-tap::before,.ui-tap::after,.ui-spin,.is-focus b::after,.is-focus .v::after{animation:none}}
