/* Generated by tools/build_site.php - edit site-src/tokens.php and site-src/assets/site.css */
:root {
  --grad: linear-gradient(135deg, #0D9488 0%, #0891B2 50%, #2563EB 100%);
  --grad-scrim: linear-gradient(rgb(8 20 32 / .2), rgb(8 20 32 / .2));
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .2s;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --surface-2: #EEF3F7;
  --surface-3: #FFFFFF;
  --text: #0F1B2D;
  --text-2: #475569;
  --border: #DDE5EC;
  --border-strong: #7A889B;
  --brand: #2563EB;
  --brand-2: #0891B2;
  --brand-3: #0D9488;
  --success: #16A34A;
  --warning: #D97706;
  --error: #DC2626;
  --brand-ink: #1D4ED8;
  --brand-bg: #E6EFFD;
  --success-ink: #166534;
  --success-bg: #E7F6EC;
  --warning-ink: #92400E;
  --warning-bg: #FDF3E2;
  --error-ink: #B91C1C;
  --error-bg: #FDECEC;
  --grad-text: linear-gradient(120deg, #0D9488 0%, #0891B2 50%, #2563EB 100%);
  --header-bg: rgb(245 248 250 / .86);
  --glow-a: rgb(13 148 136 / .14);
  --glow-b: rgb(8 145 178 / .10);
  --glow-c: rgb(37 99 235 / .12);
  --shadow-sm: 0 1px 2px rgb(15 27 45 / .06);
  --shadow: 0 1px 2px rgb(15 27 45 / .05), 0 10px 28px -14px rgb(15 27 45 / .18);
  --shadow-lg: 0 2px 6px rgb(15 27 45 / .05), 0 28px 60px -24px rgb(30 64 175 / .26);
  --focus: #2563EB;
  --overlay: rgb(15 27 45 / .45);
  --color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0B1320;
  --surface: #121C2C;
  --surface-2: #0F1826;
  --surface-3: #1A2638;
  --text: #E8EEF6;
  --text-2: #BAC7D6;
  --border: #243246;
  --border-strong: #5B6B82;
  --brand: #60A5FA;
  --brand-2: #22D3EE;
  --brand-3: #2DD4BF;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #F87171;
  --brand-ink: #93C5FD;
  --brand-bg: rgb(96 165 250 / .15);
  --success-ink: #4ADE80;
  --success-bg: rgb(34 197 94 / .14);
  --warning-ink: #FBBF24;
  --warning-bg: rgb(245 158 11 / .14);
  --error-ink: #FCA5A5;
  --error-bg: rgb(248 113 113 / .14);
  --grad-text: linear-gradient(120deg, #2DD4BF 0%, #22D3EE 50%, #60A5FA 100%);
  --header-bg: rgb(11 19 32 / .82);
  --glow-a: rgb(45 212 191 / .16);
  --glow-b: rgb(34 211 238 / .10);
  --glow-c: rgb(96 165 250 / .14);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow: 0 1px 2px rgb(0 0 0 / .45), 0 12px 32px -14px rgb(0 0 0 / .7);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .4), 0 30px 64px -24px rgb(0 0 0 / .85);
  --focus: #60A5FA;
  --overlay: rgb(0 0 0 / .6);
  --color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  --bg: #0B1320;
  --surface: #121C2C;
  --surface-2: #0F1826;
  --surface-3: #1A2638;
  --text: #E8EEF6;
  --text-2: #BAC7D6;
  --border: #243246;
  --border-strong: #5B6B82;
  --brand: #60A5FA;
  --brand-2: #22D3EE;
  --brand-3: #2DD4BF;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #F87171;
  --brand-ink: #93C5FD;
  --brand-bg: rgb(96 165 250 / .15);
  --success-ink: #4ADE80;
  --success-bg: rgb(34 197 94 / .14);
  --warning-ink: #FBBF24;
  --warning-bg: rgb(245 158 11 / .14);
  --error-ink: #FCA5A5;
  --error-bg: rgb(248 113 113 / .14);
  --grad-text: linear-gradient(120deg, #2DD4BF 0%, #22D3EE 50%, #60A5FA 100%);
  --header-bg: rgb(11 19 32 / .82);
  --glow-a: rgb(45 212 191 / .16);
  --glow-b: rgb(34 211 238 / .10);
  --glow-c: rgb(96 165 250 / .14);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow: 0 1px 2px rgb(0 0 0 / .45), 0 12px 32px -14px rgb(0 0 0 / .7);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .4), 0 30px 64px -24px rgb(0 0 0 / .85);
  --focus: #60A5FA;
  --overlay: rgb(0 0 0 / .6);
  --color-scheme: dark;
  }
}

/* ==========================================================================
   upaph.com - teal and blue
   The design tokens above this line are generated from site-src/tokens.php.
   Everything below reads semantic tokens only: no hex values for colour,
   so light and dark are one set of rules.
   Mobile first. Breakpoints: 640 / 900 / 1080 / 1200.
   ========================================================================== */

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: var(--color-scheme);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }

img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--text); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 1.45rem + 3.9vw, 4.05rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.8rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1.02rem; line-height: 1.35; font-weight: 650; }
p { margin: 0; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
strong, b { font-weight: 650; }
small { font-size: .875em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
dialog { color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--text); color: var(--bg); font-weight: 650; text-decoration: none;
  transition: top var(--dur);
}
.skip:focus { top: 12px; }

.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 900px) { .wrap { padding-inline: 32px; } }

.section { position: relative; padding-block: 72px; }
.section--alt { background: var(--surface-2); }
.section--tight { padding-block: 48px; }
@media (min-width: 900px) { .section { padding-block: 104px; } .section--tight { padding-block: 72px; } }
.section + .section:not(.section--alt):not(.section--tight) { padding-top: 0; }
.section--alt + .section, .section--alt + .section--alt { padding-top: 72px; }
@media (min-width: 900px) { .section--alt + .section, .section--alt + .section--alt { padding-top: 104px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad);
}
.lede { max-width: 62ch; margin-top: 16px; color: var(--text-2); font-size: 1.08rem; line-height: 1.65; }
.lede--lg { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); }
.shead { max-width: 760px; margin-bottom: 44px; }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .lede { margin-inline: auto; }
@media (min-width: 900px) { .shead { margin-bottom: 56px; } }

.grad-text { color: var(--brand); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

.muted { color: var(--text-2); }
.center { text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur), border-color var(--dur), color var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn__trail { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__trail { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: #fff;
  background: var(--grad-scrim), var(--grad);
  box-shadow: 0 10px 24px -12px rgb(8 145 178 / .55);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgb(8 145 178 / .7); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn--ghost { color: var(--brand-ink); padding-inline: 12px; }
.btn--ghost:hover { background: var(--brand-bg); }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: .94rem; border-radius: 11px; }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 1.05rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--center { justify-content: center; }
@media (max-width: 479px) { .cta-row > .btn { width: 100%; } }

.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; list-style: none; color: var(--text-2); font-size: .95rem; }
.reassure li { display: inline-flex; align-items: center; gap: 6px; }
.reassure .i { color: var(--success); width: 1.1em; height: 1.1em; }
.reassure-line { margin-top: 16px; color: var(--text-2); font-size: .95rem; }

/* ----------------------------------------------------------------- header -- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.hdr.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.hdr__in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.hdr__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); border-radius: 10px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 32px; height: 32px; }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--text); }

.nav { display: none; margin-left: 20px; }
.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: 10px; color: var(--text-2); font-weight: 550; font-size: .96rem; text-decoration: none;
  transition: color var(--dur), background-color var(--dur);
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2.5px; border-radius: 3px; background: var(--grad);
}

.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__login {
  display: none; min-height: 44px; align-items: center; padding: 8px 10px; border-radius: 10px;
  color: var(--text); font-weight: 600; text-decoration: none;
}
.hdr__login:hover { background: var(--surface-2); }
@media (min-width: 640px) { .hdr__login { display: inline-flex; } }
@media (max-width: 359px) { .hdr__cta { display: none; } }

.theme-btn, .menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text);
  transition: border-color var(--dur), background-color var(--dur), transform var(--dur) var(--ease);
}
.theme-btn:hover, .menu-btn:hover { border-color: var(--brand); }
.theme-btn .i, .menu-btn .i { width: 20px; height: 20px; }
.theme-btn__sun { display: none; }
[data-theme="dark"] .theme-btn__sun { display: block; }
[data-theme="dark"] .theme-btn__moon { display: none; }
.theme-btn:active .i { transform: rotate(-20deg); }
.theme-btn--labelled { display: inline-flex; width: auto; gap: 8px; padding-inline: 14px; font-weight: 600; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn { display: none; }
}

/* mobile menu (a real <dialog>: focus trap, Esc and inert background built in) */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(420px, 100%); max-width: 100%; height: 100%; max-height: 100%;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column;
}
.drawer[open] { display: flex; }
.drawer::backdrop { background: var(--overlay); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drawer-in .26s var(--ease); }
  .drawer[open]::backdrop { animation: fade-in .26s var(--ease); }
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--border); min-height: 68px; }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.drawer__close .i { width: 20px; height: 20px; }
.drawer__nav { list-style: none; padding: 8px 12px; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px;
  border-radius: 12px; color: var(--text); font-weight: 650; font-size: 1.12rem; text-decoration: none;
}
.drawer__nav a .i { color: var(--text-2); width: 18px; height: 18px; }
.drawer__nav a:hover { background: var(--surface-2); }
.drawer__nav a[aria-current="page"] { background: var(--brand-bg); color: var(--brand-ink); }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.drawer__row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.drawer__login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px; color: var(--text); font-weight: 600; text-decoration: none; }
.menu-open body { overflow: hidden; }

/* ----------------------------------------------------------------- glows -- */
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 30% 38%, var(--glow-a), transparent 70%),
    radial-gradient(34% 38% at 72% 52%, var(--glow-b), transparent 70%),
    radial-gradient(30% 32% at 52% 82%, var(--glow-c), transparent 70%);
}
.glow--hero { inset: -10% -20% auto 10%; height: 720px; }
.glow--phero { inset: -30% -30% auto 30%; height: 520px; opacity: .85; }
.glow--cta { inset: -40% 10% auto 10%; height: 480px; }

/* ------------------------------------------------------------------ hero -- */
.hero { position: relative; overflow: hidden; padding: 40px 0 64px; }
@media (min-width: 900px) { .hero { padding: 64px 0 96px; } }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
/* Two columns only once the visual column is wide enough (about 550px) for the
   phone and the notifications to sit side by side without touching the screen. */
@media (min-width: 1200px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; } }
.hero h1 { max-width: 13ch; }
.hero__msg { margin-top: 20px; color: var(--text-2); font-size: .95rem; }

/* Phones: the statement, then the payment notice below it - stacked, not
   overlapped, so the balance it changes stays in view. */
.hero__visual { position: relative; }
.hero__win { display: none; }
.hero__phone { position: relative; z-index: 2; max-width: 360px; margin-inline: auto; }
.hero__toast { position: relative; z-index: 3; width: min(360px, 100%); margin: 14px auto 0; }
.hero__chip { position: absolute; z-index: 3; top: 24px; right: 0; }
/* Hidden on phones, where it would sit on the statement. Two classes, because
   .chip further down sets display too and would otherwise win. */
.hero__visual .hero__chip { display: none; }
/*
 * The composition: dashboard window behind, phone in front on the left, and
 * the two "live" notifications stacked bottom-right over the window. The
 * notifications may touch the phone's bezel but never its screen - the
 * balance at the bottom of the statement is the number the whole hero is
 * about, so nothing is allowed to sit on it.
 */
.nowrap { white-space: nowrap; }
@media (min-width: 640px) {
  /* The phone stays in the flow, so the column is always exactly as tall as
     the statement - it can never poke out of the top of the hero. */
  .hero__phone { width: 300px; max-width: none; margin: 0; }
  /* The window starts just left of the phone's screen, so only its padding
     sits behind the bezel - never a figure. Two tiles a row, because the
     window is narrower than the viewport query in .kpis assumes. */
  .hero__win { display: block; position: absolute; top: 0; left: 272px; right: 0; }
  .hero__win .win__bar,
  .hero__win .win__body { padding-left: 46px; }
  .hero__win .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__win .kpi { padding: 10px; }
  .hero__win .kpi__lbl { gap: 4px; font-size: .68rem; letter-spacing: .01em; }
  .hero__win .dash__row { grid-template-columns: minmax(0, 1fr); }
  .hero__win .ringp { display: none; }
  .hero__toast { position: absolute; left: auto; right: 0; bottom: 24px; transform: none; width: 290px; margin: 0; }
  /* Sits above the toast with room for it to wrap to three lines. */
  .hero__chip { top: auto; right: 0; bottom: 132px; }
  .hero__visual .hero__chip { display: inline-flex; }
}
/* Stacked under the copy, the composition would otherwise spread across the
   whole tablet width and leave the window mostly empty. */
@media (min-width: 640px) and (max-width: 1199px) {
  .hero__visual { max-width: 720px; margin-inline: auto; width: 100%; }
}
@media (min-width: 1200px) {
  /* The statement is tall; less air above it keeps the balance above the fold. */
  .hero { padding-top: 40px; }
  .hero__phone { width: 290px; }
  .hero__win { left: 262px; right: -40px; }
  .hero__toast { width: 268px; right: -8px; }
  .hero__chip { right: -8px; }
}

/* -------------------------------------------------------- mockup frames -- */
.win {
  overflow: hidden; border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.win__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.win__url {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 12px;
  border-radius: 8px; background: var(--surface); color: var(--text-2); font-size: .76rem;
}
.win__url .i { width: 12px; height: 12px; }
.win__body { padding: 18px; }

.device {
  position: relative; padding: 10px; border-radius: 38px;
  background: #211A24; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / .08);
}
[data-theme="dark"] .device { background: #2C2531; }
.device__notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; border-radius: 12px; background: #000; transform: translateX(-50%); z-index: 2; }
.device__screen { overflow: hidden; border-radius: 29px; background: var(--bg); padding: 42px 10px 12px; }
.device .stmt { border: 0; box-shadow: none; }

.demo-tag {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 3px 8px; border: 1px solid var(--border); border-radius: 7px;
  background: var(--surface-2); color: var(--text-2);
  font-size: .72rem; font-weight: 650; letter-spacing: .02em; white-space: nowrap;
}
.demo-tag .i { width: 12px; height: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  box-shadow: var(--shadow); color: var(--text); font-size: .82rem; font-weight: 600;
}
.chip .i { width: 15px; height: 15px; color: var(--brand); }

/* ---------------------------------------------------------------- badges -- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px; border-radius: 8px; border: 1px solid transparent;
  font-size: .78rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.badge .i { width: 13px; height: 13px; }
.badge--paid { background: var(--success-bg); color: var(--success-ink); }
.badge--partial, .badge--pending { background: var(--warning-bg); color: var(--warning-ink); }
.badge--overdue, .badge--flag { background: var(--error-bg); color: var(--error-ink); }
.badge--draft { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }

.tag-soon {
  display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 6px;
  background: var(--warning-bg); color: var(--warning-ink);
  font-family: var(--font-body); font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: .15em; white-space: nowrap;
}

/* ------------------------------------------------------------ statement -- */
.stmt {
  border: 1px solid var(--border); border-radius: 20px; background: var(--surface);
  box-shadow: var(--shadow); padding: 18px;
  font-size: .9rem;
}
.stmt__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.stmt__prop { color: var(--text-2); font-size: .78rem; font-weight: 600; }
.stmt__unit { margin-top: 2px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -.015em; }
.stmt__period { color: var(--text-2); font-size: .8rem; }
.stmt__status .badge { transition: transform .3s var(--ease); }
.stmt__lines { margin: 0; }
.stmt__line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.stmt__line dt { display: flex; gap: 8px; min-width: 0; font-weight: 600; color: var(--text); }
.stmt__lbl small { display: block; margin-top: 1px; color: var(--text-2); font-weight: 500; font-size: .78rem; }
.stmt__ic { width: 16px; height: 16px; margin-top: 2px; color: var(--brand); }
.stmt__line dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.stmt__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; }
.stmt__total span { color: var(--text-2); font-weight: 600; }
.stmt__total strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stmt__foot { margin-top: 12px; }
.is-updated { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface-3);
  box-shadow: var(--shadow-lg); font-size: .86rem;
}
.toast__ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--grad); color: #fff; }
.toast__ic .i { width: 18px; height: 18px; }
.toast__txt strong { display: block; color: var(--text); }
.toast__txt span { color: var(--text-2); font-size: .8rem; }
.js .toast--demo:not(.is-show) { opacity: 0; transform: translate(var(--tx, 0), 10px) scale(.98); }
.toast--demo { transition: opacity .35s var(--ease), transform .35s var(--ease); }
@media (max-width: 639px) { .hero__toast.toast--demo, .hero__toast .toast--demo { --tx: 0; } }

/* ------------------------------------------------------- mockup cards -- */
.mcard { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); padding: 18px; font-size: .9rem; }
.mcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mcard__kicker { color: var(--text-2); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mcard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; }
.mcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.mcard__foot .chip { box-shadow: none; }
.mcard__progress { color: var(--text-2); font-size: .8rem; font-weight: 600; }

.meters { list-style: none; display: grid; gap: 8px; }
.meter { padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.meter--flag { border-color: var(--error); background: var(--error-bg); }
.meter__id { display: flex; align-items: center; gap: 7px; }
.meter__id .i { width: 15px; height: 15px; color: var(--brand); }
.meter__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; font-variant-numeric: tabular-nums; font-weight: 600; }
.meter__nums small { display: block; color: var(--text-2); font-size: .7rem; font-weight: 600; }
.meter__cur { color: var(--brand-ink); }
.meter__warn { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--error-ink); font-size: .78rem; font-weight: 650; }
.meter__warn .i { width: 14px; height: 14px; }

.pays, .acts { list-style: none; }
.pays li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.pays li:last-child, .acts li:last-child { border-bottom: 0; }
.pay__unit b { display: block; }
.pay__unit small, .pay__amt small { display: block; color: var(--text-2); font-size: .76rem; }
.pay__method { grid-row: 2; justify-self: start; padding: 1px 7px; border-radius: 6px; background: var(--brand-bg); color: var(--brand-ink); font-size: .74rem; font-weight: 700; }
.pay__amt { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.acts li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.act__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-bg); color: var(--brand-ink); }
.act__ic .i { width: 15px; height: 15px; }
.act__txt b { display: block; font-weight: 650; }
.act__txt small { color: var(--text-2); font-size: .78rem; }
.acts time { color: var(--text-2); font-size: .74rem; white-space: nowrap; }

/* ------------------------------------------------------------ dashboard -- */
.dash { font-size: .88rem; }
.dash__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash__prop { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: .78rem; font-weight: 600; }
.dash__prop .i { width: 14px; height: 14px; }
.dash__title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.kpi__lbl { display: flex; align-items: center; gap: 5px; color: var(--text-2); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kpi__lbl .i { width: 13px; height: 13px; }
.kpi b { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi--success .i { color: var(--success); }
.kpi--warning .i { color: var(--warning); }
.kpi--error .i { color: var(--error); }
.kpi--neutral .i { color: var(--brand); }
.dash__row { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 560px) { .dash__row { grid-template-columns: 1fr 1fr; } }
.panel { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.panel__lbl { font-weight: 700; }
.panel__sub { color: var(--text-2); font-size: .8rem; }
.ringp { display: flex; align-items: center; gap: 14px; }
.ring { position: relative; display: grid; place-items: center; width: 76px; height: 76px; flex: none; border-radius: 50%; }
.ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#0D9488 0, #0891B2 calc(var(--p) * .5%), #2563EB calc(var(--p) * 1%), var(--border) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
}
.ring span { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.occ__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.occ__head b { color: var(--text); }
.unitgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.unitgrid__c { display: block; aspect-ratio: 1; border-radius: 4px; border: 1.5px dashed var(--border-strong); }
.unitgrid__c--on { border: 0; background: var(--brand); opacity: .9; }
.occ__legend { display: flex; gap: 14px; margin-top: 8px; color: var(--text-2); font-size: .74rem; }
.occ__legend span { display: inline-flex; align-items: center; gap: 5px; }
.occ__legend .unitgrid__c { width: 10px; height: 10px; }
.billsp { margin-top: 8px; }
.billsp__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 6px; }
.billsp__note { display: inline-flex; align-items: center; gap: 5px; color: var(--warning-ink); font-size: .76rem; font-weight: 650; }
.billsp__note .i { width: 13px; height: 13px; }

.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable th, .dtable td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.dtable th { color: var(--text-2); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.dtable tr:last-child td { border-bottom: 0; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }

/* Tables become labelled cards on narrow screens rather than scrolling sideways. */
@media (max-width: 559px) {
  .dtable thead, .ptable thead, .ftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dtable tr, .ptable tr, .ftable tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .dtable td, .ptable td, .ftable td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; white-space: normal; text-align: right; }
  .dtable td::before, .ptable td::before, .ftable td::before { content: attr(data-label); color: var(--text-2); font-weight: 600; font-size: .82rem; text-align: left; }
  .ptable th[scope="row"], .ftable th[scope="row"] { display: block; padding: 0 0 4px; border: 0; }
  .ptable td small { display: inline; margin-left: 6px; }
}

/* -------------------------------------------------------------- trust -- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; padding-block: 22px; list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: .95rem; }
.trust .i { width: 22px; height: 22px; color: var(--brand); }
.trust li:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .trust ul { grid-template-columns: repeat(5, auto); justify-content: space-between; }
  .trust li:last-child { grid-column: auto; }
}

/* ------------------------------------------------------------ compare -- */
.compare { display: grid; gap: 16px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare__col { padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 900px) { .compare__col { padding: 32px; } }
.compare__col--after { position: relative; box-shadow: var(--shadow-lg); border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.compare__h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.12rem; }
.compare__h .badge { font-size: .74rem; }
.compare ul { list-style: none; display: grid; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare__mark { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; }
.compare__mark .i { width: 16px; height: 16px; }
.compare__col--before .compare__mark { background: var(--error-bg); color: var(--error-ink); }
.compare__col--after .compare__mark { background: var(--success-bg); color: var(--success-ink); }
.compare li span:last-child { color: var(--text); }

/* -------------------------------------------------------------- steps -- */
.steps { display: grid; gap: 20px; list-style: none; counter-reset: step; }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); }
.step__note { margin-top: 10px; font-size: .92rem; }
.step__mock { margin-top: 20px; }
.step__mock .mcard, .step__mock .stmt { box-shadow: none; background: var(--surface-2); }
.step__mock .meter { background: var(--surface); }

/* ------------------------------------------------------- the pipeline -- */
.flow { position: relative; display: grid; gap: 14px; margin-top: 48px; list-style: none; }
.flow__step { position: relative; display: flex; align-items: center; gap: 14px; }
.flow__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border: 1.5px solid var(--border-strong); border-radius: 16px; background: var(--surface); color: var(--brand);
}
.flow__node .i { width: 22px; height: 22px; }
.flow__txt b { display: block; }
.flow__txt small { color: var(--text-2); font-size: .86rem; }
.flow::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--border); }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .flow__step { flex-direction: column; align-items: center; text-align: center; }
  .flow::before { left: 8%; right: 8%; top: 26px; bottom: auto; width: auto; height: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .flow__node { animation: flow-node 7.2s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
}
@keyframes flow-node {
  0%, 18%, 100% { border-color: var(--border-strong); background-color: var(--surface); color: var(--brand); box-shadow: none; }
  4%, 13% { border-color: transparent; background-color: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgb(37 99 235 / .6); }
}

/* ------------------------------------------------------------ features -- */
.fgroups { display: grid; gap: 56px; }
.fgroup__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.fgroup__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--grad); color: #fff; }
.fgroup__ic .i { width: 24px; height: 24px; }
.fgroup__head h3 { font-size: 1.4rem; }
.fgroup__head p { color: var(--text-2); margin-top: 4px; }
.fgrid { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .fgrid { grid-template-columns: repeat(3, 1fr); } }
.fcard {
  padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.fcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.fcard__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-bg); color: var(--brand-ink); }
.fcard__ic .i { width: 20px; height: 20px; }
.fcard p { margin-top: 6px; color: var(--text-2); font-size: .96rem; }
.section--alt .fcard { background: var(--surface); }
.legend { display: flex; gap: 10px; align-items: baseline; margin-top: 28px; color: var(--text-2); font-size: .92rem; }
.legend .tag-soon { margin: 0; flex: none; }

/* ------------------------------------------------------------- local -- */
.lgrid { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .lgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .lgrid { grid-template-columns: repeat(3, 1fr); } }
.litem { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.litem__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--brand-bg); color: var(--brand-ink); }
.litem__ic .i { width: 20px; height: 20px; }
.litem p { margin-top: 4px; color: var(--text-2); font-size: .95rem; }
.lgrid--feature .litem:first-child { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
@media (min-width: 1080px) { .lgrid--feature .litem:first-child { grid-row: span 2; flex-direction: column; } }

/* ------------------------------------------------------------ showcase -- */
.showcase { display: grid; gap: 20px; }
@media (min-width: 1080px) { .showcase { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.showcase__side { display: grid; gap: 20px; }
.showcase__row { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 900px) { .showcase__row { grid-template-columns: repeat(3, 1fr); } }
.showcase .device { max-width: 340px; margin-inline: auto; }

/* ------------------------------------------------------------- pricing -- */
.price-head { display: grid; gap: 28px; align-items: end; margin-bottom: 36px; }
@media (min-width: 1080px) { .price-head { grid-template-columns: 1.1fr 1fr; } }
.price-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(3rem, 2rem + 4vw, 5rem); }
.price-big small { font-family: var(--font-body); font-size: .28em; font-weight: 600; letter-spacing: 0; color: var(--text-2); }

.pts { display: grid; gap: 12px; list-style: none; }
@media (min-width: 640px) { .pts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pts--3 { grid-template-columns: repeat(3, 1fr); } }
.pts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.pts__ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--brand-bg); color: var(--brand-ink); }
.pts__ic .i { width: 18px; height: 18px; }
.pts b { display: block; }
.pts small { display: block; color: var(--text-2); font-size: .9rem; }

.calc { display: grid; gap: 20px; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; } }
.calc__in { display: grid; gap: 22px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.calc__doors { display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: center; }
.calc__num {
  width: 100%; min-height: 52px; padding: 10px 12px; text-align: center;
  border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--surface);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.calc__range {
  --fill: 12%;
  width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.calc__range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #0D9488, #2563EB var(--fill), var(--border) var(--fill)); }
.calc__range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--border); }
.calc__range::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #0D9488, #2563EB); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); box-shadow: var(--shadow); }
.calc__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); box-shadow: var(--shadow); }
.calc__range:focus-visible { outline: none; }
.calc__range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--focus); outline-offset: 3px; }
.calc__range:focus-visible::-moz-range-thumb { outline: 3px solid var(--focus); outline-offset: 3px; }

.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend, .choices legend, .field > label { display: block; margin-bottom: 8px; font-weight: 650; color: var(--text); }
.seg__opts, .choices__opts { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .seg__opts { grid-template-columns: repeat(4, 1fr); } }
.seg__opt, .choice { position: relative; display: block; cursor: pointer; }
.seg__opt input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__box, .choice__box {
  display: block; height: 100%; min-height: 64px; padding: 12px 14px;
  border: 1.5px solid var(--border-strong); border-radius: 14px; background: var(--surface);
  transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.seg__box b, .choice__box b { display: block; font-weight: 700; }
.seg__box small, .choice__box small { display: block; margin-top: 2px; color: var(--text-2); font-size: .82rem; line-height: 1.35; }
.seg__opt:hover .seg__box, .choice:hover .choice__box { border-color: var(--brand); }
.seg__opt input:checked + .seg__box, .choice input:checked + .choice__box {
  border-color: var(--brand); background: var(--brand-bg); box-shadow: inset 0 0 0 1px var(--brand);
}
.seg__opt input:checked + .seg__box b, .choice input:checked + .choice__box b { color: var(--brand-ink); }
.seg__opt input:focus-visible + .seg__box, .choice input:focus-visible + .choice__box { outline: 3px solid var(--focus); outline-offset: 3px; }

.calc__out {
  position: relative; padding: 26px 24px 24px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface-3); box-shadow: var(--shadow-lg); overflow: hidden;
}
.calc__out::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.calc__kicker { color: var(--text-2); font-weight: 650; font-size: .92rem; }
.calc__big { margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.8rem + 2vw, 3rem); letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__big small { font-family: var(--font-body); font-size: .4em; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-left: 4px; }
.calc__minnote { margin-top: 4px; color: var(--text-2); font-size: .88rem; }
.calc__lines { margin: 18px 0 0; }
.calc__line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.calc__line dt { color: var(--text-2); }
.calc__line dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.calc__line--save dd { color: var(--success-ink); }
.calc__line--total { border-bottom: 0; padding-top: 12px; }
.calc__line--total dt { color: var(--text); font-weight: 650; }
.calc__line--total dd { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.calc__save { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--success-bg); color: var(--success-ink); font-size: .94rem; }
.calc__save .i { margin-top: 2px; }
.calc__save:not([hidden]) + .btn { margin-top: 0; }
.calc__out > .btn { margin-top: 18px; }
.calc__fine { margin-top: 12px; color: var(--text-2); font-size: .86rem; text-align: center; }
.calc__out [data-out] { transition: color .2s; }

.ptable { font-size: .96rem; }
.ptable caption { caption-side: top; text-align: left; padding-bottom: 12px; color: var(--text-2); font-size: .9rem; }
.ptable th, .ptable td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.ptable thead th { color: var(--text-2); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ptable tbody th small, .ptable td small { display: block; color: var(--text-2); font-size: .8rem; font-weight: 500; }
.ptable td b { font-variant-numeric: tabular-nums; }
.ptable td:last-child b { color: var(--brand-ink); }
.table-card { padding: 8px 20px 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }

.terms { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .terms { grid-template-columns: repeat(4, 1fr); } }
.term { position: relative; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.term--best { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-lg); }
.term__flag { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 7px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.term__name { color: var(--text-2); font-weight: 650; font-size: .95rem; }
.term__rate { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; }
.term__rate small { font-family: var(--font-body); font-size: .45em; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.term p { margin-top: 8px; color: var(--text-2); font-size: .94rem; }
.term__save { margin-top: auto; padding-top: 14px; color: var(--success-ink); font-weight: 650; font-size: .92rem; }

/* ------------------------------------------------------ founding offer -- */
.offer {
  position: relative; display: grid; gap: 32px; padding: 28px; border-radius: 28px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow-lg); overflow: hidden;
}
@media (min-width: 1000px) { .offer { grid-template-columns: 1.05fr 1fr; padding: 48px; gap: 48px; align-items: center; } }
.offer::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
}
.offer__copy, .offer__perks { position: relative; z-index: 1; }
.offer__ask { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); font-size: .95rem; }
.offer__ask b { color: var(--text); }
.offer__perks { display: grid; gap: 12px; list-style: none; }
@media (min-width: 640px) { .offer__perks { grid-template-columns: repeat(2, 1fr); } }
.offer__perks li { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.offer__perks b { display: block; }
.offer__perks small { display: block; color: var(--text-2); font-size: .9rem; }
.offer__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--grad); color: #fff; }
.offer__ic .i { width: 18px; height: 18px; }

/* --------------------------------------------------------------- proof -- */
.pgrid { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(5, 1fr); } }
.pcard { padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.pcard__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-bg); color: var(--brand-ink); }
.pcard__ic .i { width: 20px; height: 20px; }
.pcard h3 { font-size: 1.05rem; }
.pcard p { margin-top: 6px; color: var(--text-2); font-size: .94rem; }
.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote figcaption { margin-top: 16px; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--text-2); font-size: .9rem; }

/* ----------------------------------------------------------------- FAQ -- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-of-type { border-top: 1px solid var(--border); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 4px; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.05rem; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand-ink); }
.faq__chev { width: 20px; height: 20px; color: var(--text-2); transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); color: var(--brand); }
.faq__a { padding: 0 4px 20px; color: var(--text-2); }
.faq__a p + p { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) { .faq__item[open] .faq__a { animation: faq-open .28s var(--ease); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq__group + .faq__group { margin-top: 48px; }
.faq__gtitle { margin-bottom: 12px; font-size: 1.35rem; scroll-margin-top: 96px; }
.faq-more { margin-top: 28px; text-align: center; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--brand); color: var(--brand-ink); }

/* -------------------------------------------------------------- CTA band -- */
.ctaband {
  position: relative; overflow: hidden; padding: 48px 24px; border-radius: 28px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border);
}
@media (min-width: 900px) { .ctaband { padding: 80px 48px; } }
.ctaband > :not(.glow) { position: relative; z-index: 1; }
.ctaband h2 { max-width: 20ch; margin-inline: auto; }
.ctaband .lede { margin-inline: auto; }

/* ------------------------------------------------------------- inner hero -- */
.phero { position: relative; overflow: hidden; padding: 48px 0 64px; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .phero { padding: 80px 0 96px; } }
.phero__in { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1080px) { .phero__in:has(.phero__aside) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.phero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); max-width: 18ch; }
.phero__copy .lede { max-width: 58ch; }

/* ------------------------------------------------------------ split rows -- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--flip > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media .device { max-width: 340px; margin-inline: auto; }
.checks { display: grid; gap: 12px; margin-top: 22px; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { margin-top: 3px; color: var(--success); }
.checks--x .i { color: var(--text-2); }

/* ------------------------------------------------------------------ tabs -- */
.tabs__list { display: flex; gap: 6px; margin-bottom: 32px; padding: 6px; overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px;
  border: 0; border-radius: 12px; background: transparent; color: var(--text-2); font-weight: 650; white-space: nowrap;
  transition: background-color var(--dur), color var(--dur);
}
.tabs__tab:hover { color: var(--text); background: var(--surface-2); }
.tabs__tab[aria-selected="true"] { color: #fff; background: var(--grad-scrim), var(--grad); }
.tabs__tab .i { width: 18px; height: 18px; }
.tabs__panel + .tabs__panel { margin-top: 64px; }
[data-tabs].is-enhanced .tabs__panel + .tabs__panel { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { [data-tabs].is-enhanced .tabs__panel:not([hidden]) { animation: faq-open .3s var(--ease); } }

/* ---------------------------------------------------------------- tables -- */
.ftable { font-size: .96rem; }
.ftable th, .ftable td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.ftable thead th { color: var(--text-2); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ftable tbody th { font-weight: 700; white-space: nowrap; }
.ftable code { font-family: var(--font-mono); font-size: .86em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }

/* ------------------------------------------------------------- timelines -- */
.tl { display: grid; gap: 16px; list-style: none; counter-reset: tl; }
@media (min-width: 900px) { .tl { grid-template-columns: repeat(4, 1fr); } }
.tl li { counter-increment: tl; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.tl li::before { content: counter(tl); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: var(--brand-bg); color: var(--brand-ink); font-weight: 800; }
.tl p { margin-top: 6px; color: var(--text-2); font-size: .95rem; }

.cycle { display: grid; gap: 10px; list-style: none; }
@media (min-width: 640px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cycle { grid-template-columns: repeat(4, 1fr); } }
.cycle li { position: relative; display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.cycle__when { display: block; color: var(--brand-ink); font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.cycle b { display: block; margin-top: 2px; }
.cycle small { display: block; margin-top: 2px; color: var(--text-2); font-size: .9rem; }
.cycle__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--brand-bg); color: var(--brand-ink); }
.cycle__ic .i { width: 18px; height: 18px; }

.cards3 { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .cards3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-bg); color: var(--brand-ink); }
.card__ic .i { width: 20px; height: 20px; }
.card h3 { font-size: 1.1rem; }
.card p { margin-top: 6px; color: var(--text-2); font-size: .95rem; }
.card__eg { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--text); font-size: .9rem; font-variant-numeric: tabular-nums; }
.card__eg b { color: var(--brand-ink); }
.card--note { background: var(--surface-2); }
.card dl { margin: 14px 0 0; display: grid; gap: 8px; }
.card dt { color: var(--text-2); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card dd { margin: 0; color: var(--text); }

.callout {
  display: grid; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface-2);
}
@media (min-width: 900px) { .callout { grid-template-columns: auto 1fr auto; align-items: center; padding: 28px 32px; } }
.callout__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; }
.callout__ic .i { width: 24px; height: 24px; }
.callout p { color: var(--text-2); margin-top: 4px; }

/* ----------------------------------------------------------------- forms -- */
.contact { display: grid; gap: 28px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.form { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 900px) { .form { padding: 32px; } }
.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices__opts { grid-template-columns: 1fr; }
@media (min-width: 640px) { .choices__opts { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 0; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text);
  font-size: 1rem; transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-2); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-bg); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--error); }
.hint { margin-top: 6px; color: var(--text-2); font-size: .88rem; }
.field__err { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--error-ink); font-size: .9rem; font-weight: 600; }
.field__err::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--error-bg); font-size: .75rem; font-weight: 800; }
.req { color: var(--error-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { color: var(--text-2); font-size: .9rem; }
.form > .btn { justify-self: start; }
@media (max-width: 479px) { .form > .btn { justify-self: stretch; } }
.form__status { padding: 14px 16px; border-radius: 14px; border: 1px solid; font-weight: 600; }
.form__status:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.form__status--ok { background: var(--success-bg); border-color: var(--success); color: var(--success-ink); }
.form__status--bad { background: var(--error-bg); border-color: var(--error); color: var(--error-ink); }
.form__status p + p { margin-top: 6px; font-weight: 500; }

.options { display: grid; gap: 14px; }
.option { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.option__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--brand-bg); color: var(--brand-ink); }
.option__ic .i { width: 21px; height: 21px; }
.option p { margin-top: 4px; color: var(--text-2); font-size: .95rem; }
.option .btn { margin-top: 12px; }
.next { display: grid; gap: 12px; margin-top: 8px; list-style: none; counter-reset: nx; }
.next li { display: flex; gap: 12px; counter-increment: nx; }
.next li::before { content: counter(nx); display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--surface-2); color: var(--brand-ink); font-weight: 800; font-size: .9rem; }

/* ------------------------------------------------------------------ prose -- */
.legal { display: grid; gap: 40px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; } }
.toc { padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; } }
.toc h2 { font-size: .8rem; font-family: var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: .94rem; text-decoration: none; }
.toc a:hover { background: var(--surface-2); color: var(--brand-ink); }
.prose { max-width: 72ch; }
.prose h2 { margin: 48px 0 12px; font-size: 1.5rem; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.prose p, .prose ul, .prose ol { margin-top: 12px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--text-2); }

/* -------------------------------------------------------------------- 404 -- */
.p404 { text-align: center; }
.p404__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; letter-spacing: -.05em; }

/* ----------------------------------------------------------------- footer -- */
.ftr { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 28px; }
.ftr__top { display: grid; gap: 40px; }
@media (min-width: 1000px) { .ftr__top { grid-template-columns: 1.2fr 2fr; gap: 64px; } }
.ftr__brand p { margin-top: 14px; max-width: 42ch; color: var(--text-2); font-size: .95rem; }
.ftr__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.ftr__social a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: none; }
.ftr__social a:hover { color: var(--brand-ink); }
.ftr__social .i { color: var(--brand); }
.ftr__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 700px) { .ftr__cols { grid-template-columns: repeat(4, 1fr); } }
.ftr__h { margin-bottom: 10px; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.ftr__col ul { list-style: none; display: grid; gap: 2px; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); font-size: .95rem; text-decoration: none; }
.ftr__col a:hover { color: var(--brand-ink); text-decoration: underline; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-2); font-size: .9rem; }
.ftr__bottom a { color: var(--text-2); }

/* ------------------------------------------------------------------ motion -- */
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
.reveal { transition: opacity .55s var(--ease), transform .55s var(--ease); }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .28s ease, border-color .28s ease, color .28s ease, fill .28s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
}

@media print {
  .hdr, .drawer, .ftr, .glow, .cta-row, .ctaband { display: none !important; }
  body { background: #fff; color: #000; }
}
