/* ==========================================================================
   Rumbi design tokens
   Extracted from the Rumbi client portal (Portal.html) so the marketing site
   and the product feel like one family. WordPress: map these to theme.json
   settings.color.palette / typography / spacing presets.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* ---- Ink (text) ---- */
  --color-ink: #1d1d1f;            /* portal primary text */
  --color-ink-strong-2: #3a3a3c;   /* portal strong secondary */
  --color-ink-2: #6e6e73;          /* portal secondary, AA on white and canvas */
  --color-ink-3: #86868b;          /* portal tertiary, large/decorative text only */
  --color-ink-on-fill: #646469;    /* secondary text on the #E8E8ED segmented track (AA) */

  /* ---- Surfaces ---- */
  --color-canvas: #f5f5f7;         /* portal page background */
  --color-surface: #ffffff;        /* cards */
  --color-fill: #f0f0f2;           /* secondary buttons, icon wells */
  --color-fill-2: #e8e8ed;         /* segmented control track */
  --color-hairline: #e5e5ea;       /* dividers */
  --color-border: #d2d2d7;         /* inputs */

  /* ---- Accent ---- */
  --color-accent-brand: #0a74ea;   /* portal primary blue: logo, large display text, decorative fills */
  --color-accent: #0969d4;         /* same hue, darkened 2% so text/buttons pass WCAG AA (4.5:1) on every surface */
  --color-accent-hover: #0863cc;
  --color-accent-press: #0859b5;
  --color-accent-soft: #eaf3fe;
  --color-accent-ring: rgba(10, 116, 234, 0.35);
  --color-cyan: #00adff;           /* logo "R" accent */
  --color-sky-1: #ddf0fe;          /* portal sign-in gradient */
  --color-sky-2: #eef7ff;
  --color-sky-3: #f7fbff;
  --gradient-sky: linear-gradient(180deg, var(--color-sky-1) 0%, var(--color-sky-2) 55%, var(--color-sky-3) 100%);

  /* ---- Status ---- */
  --color-success: #1a7f37;
  --color-success-strong: #177333; /* success text on grey fills (AA) */
  --color-success-soft: #e8f5ec;
  --color-caution: #a65800;        /* portal #B25E00 darkened for AA text contrast */
  --color-caution-soft: #fff4e0;

  /* ---- Night card (portal "Rumbi saved you" card) ---- */
  --color-night: #0a0b0e;
  --color-night-ink: #f5f5f7;
  --color-night-ink-2: #a1a1a6;
  --gradient-night: radial-gradient(120% 90% at 100% 0%, rgba(10, 116, 234, 0.42) 0%, rgba(10, 116, 234, 0) 55%), var(--color-night);

  /* ---- Typography ---- */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs: 0.75rem;      /* 12 */
  --text-sm: 0.8125rem;    /* 13 */
  --text-md: 0.9375rem;    /* 15 */
  --text-base: 1rem;       /* 16 */
  --text-lg: 1.125rem;     /* 18 */
  --text-xl: 1.25rem;      /* 20 portal card title */
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);      /* 24 → 30 portal page title */
  --text-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);   /* 30 → 44 section heads */
  --text-display: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem); /* 40 → 76 hero */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --tracking-display: -0.045em;   /* portal 48px / -2.16px */
  --tracking-heading: -0.03em;    /* portal 30px / -0.9px */
  --tracking-title: -0.02em;      /* portal 20px / -0.4px */
  --tracking-tight: -0.01em;

  --leading-tight: 1.06;
  --leading-snug: 1.25;
  --leading-body: 1.6;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-11: 2.75rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --section-y: clamp(3.5rem, 2.25rem + 5vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.75rem);
  --container: 72rem;      /* 1152 */
  --container-narrow: 46rem;

  /* ---- Radius ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;       /* portal nav item */
  --radius-md: 12px;       /* portal icon tile */
  --radius-input: 14px;    /* portal input */
  --radius-lg: 18px;
  --radius-xl: 24px;       /* portal card */
  --radius-pill: 999px;    /* portal buttons, chips */

  /* ---- Elevation (portal uses hairline rings, not shadows) ---- */
  --ring: 0 0 0 1px rgba(0, 0, 0, 0.04);
  --ring-strong: 0 0 0 1px rgba(0, 0, 0, 0.08);
  --ring-accent: 0 0 0 1px rgba(10, 116, 234, 0.12);
  --shadow-segment: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px -12px rgba(16, 24, 40, 0.14);
  --shadow-overlay: 0 30px 80px rgba(0, 0, 0, 0.18);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.3, 0.7, 0.2, 1);   /* portal drawer easing */
  --dur-fast: 140ms;
  --dur: 240ms;

  /* ---- Layout ---- */
  --header-h: 64px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; }
}

/* ==========================================================================
   Rumbi marketing site
   Component class names map to WordPress template parts / block patterns
   (see PLAN.md). All values come from tokens.css.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--weight-semibold); line-height: var(--leading-snug); color: var(--color-ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
code, .mono { font-family: var(--font-mono); font-size: 0.92em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--color-sky-1); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .segmented__option:focus-visible { outline-offset: 3px; border-radius: var(--radius-pill); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-ink); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  font-weight: var(--weight-semibold);
}
.skip-link:focus { top: var(--space-3); color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--canvas { background: var(--color-canvas); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section:not(.section--canvas) + .section:not(.section--canvas) { padding-top: 0; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: var(--space-3);
  font-size: var(--text-base); font-weight: var(--weight-semibold); letter-spacing: 0.005em; color: var(--color-accent);
}
.section-head h2, .h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-heading); line-height: 1.1; }
.lede { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--color-ink-2); line-height: 1.55; }
.section-head .lede { max-width: 38rem; }
.section-head--center .lede { margin-inline: auto; }

.grid { display: grid; gap: var(--space-4); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
}
@media (min-width: 768px) and (max-width: 1023px) { .grid--3.grid--wrap-md { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stack > * + * { margin-top: var(--space-4); }

/* ---------- Buttons (portal: pill, 600 weight) ---------- */
.btn {
  --btn-h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--btn-h); padding: 0 1.25rem;
  border: 0; border-radius: var(--radius-pill);
  font-size: var(--text-md); font-weight: var(--weight-semibold); line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }
.btn--secondary { background: var(--color-fill); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-fill-2); color: var(--color-ink); }
.btn--outline { background: var(--color-surface); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-border); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--color-ink-3); color: var(--color-ink); }
.btn--light { background: #fff; color: var(--color-ink); }
.btn--light:hover { background: var(--color-sky-2); color: var(--color-ink); }
.btn--ghost-light { background: rgba(255,255,255,0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn--sm { --btn-h: 36px; padding: 0 1rem; font-size: var(--text-sm); }
.btn--lg { --btn-h: 52px; padding: 0 1.75rem; font-size: var(--text-base); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn__arrow { transition: transform var(--dur-fast) ease; }
.btn:hover .btn__arrow { transform: translateX(2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.text-link { font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-6); height: var(--header-h); }
.site-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; padding: 6px 0; }
.site-header__logo img { height: 26px; width: auto; }
.site-nav { display: none; }
.site-nav__list { list-style: none; display: flex; gap: var(--space-1); }
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3);
  border-radius: var(--radius-pill); color: var(--color-ink-strong-2); font-size: var(--text-md); font-weight: var(--weight-medium);
}
.site-nav__link:hover { color: var(--color-ink); background: var(--color-fill); }
.site-nav__link[aria-current="page"] { color: var(--color-ink); background: var(--color-fill); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer; color: var(--color-ink);
}
.menu-toggle:hover { background: var(--color-fill); }
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5.25px; }
.menu-toggle__bars span:nth-child(3) { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--color-surface); overflow-y: auto;
  padding: var(--space-4) var(--gutter) var(--space-8);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  border-bottom: 1px solid var(--color-hairline);
  font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-title); color: var(--color-ink);
}
.mobile-nav__list a[aria-current="page"] { color: var(--color-accent); }
.mobile-nav__actions { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
body.menu-open { overflow: hidden; }
/* The header's blur effect makes it the box that fixed children are positioned in, which squeezed the open menu
   into the 64px header bar. Turn the blur off (solid header) while the menu is open so it fills the screen. */
body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); }

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (min-width: 480px) and (max-width: 1023px) { .site-header__cta { display: inline-flex; } }
@media (max-width: 339px) { .site-header__cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--gradient-sky); overflow: hidden; padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.hero__inner { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.hero__copy { max-width: 48rem; }
.hero__copy--center { margin-inline: auto; text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 12px 6px 6px; margin-bottom: var(--space-6);
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.7); box-shadow: var(--ring-accent);
  font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink-strong-2);
}
.hero__eyebrow-tag { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-accent); color: #fff; font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.hero h1 {
  font-size: var(--text-display); letter-spacing: var(--tracking-display); line-height: var(--leading-tight);
}
.hero h1 .accent { color: var(--color-accent-brand); }
.hero__lede { margin-top: var(--space-6); font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); color: var(--color-ink-strong-2); line-height: 1.5; max-width: 44rem; }
.hero__copy--center .hero__lede { margin-inline: auto; }
.hero__actions { margin-top: var(--space-8); }
.hero__copy--center .hero__actions { justify-content: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.hero__copy--center .hero__facts { justify-content: center; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts svg { color: var(--color-success); flex-shrink: 0; }
.hero__visual { position: relative; margin-bottom: calc(var(--section-y) * -0.0); }
.hero { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* Page hero (inner pages) */
.page-hero { background: var(--gradient-sky); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); letter-spacing: var(--tracking-display); line-height: 1.06; max-width: 22ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1 { margin-inline: auto; }
.page-hero .lede { max-width: 40rem; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero .btn-row { margin-top: var(--space-6); }
.page-hero--center .btn-row { justify-content: center; }

.breadcrumb { margin-bottom: var(--space-5); font-size: var(--text-sm); color: var(--color-ink-2); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--color-ink-3); }
.breadcrumb a { color: var(--color-ink-2); }
.breadcrumb a:hover { color: var(--color-ink); }
.page-hero--center .breadcrumb ol { justify-content: center; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--ring-strong);
  padding: clamp(1.375rem, 1rem + 1.2vw, 2rem);
}
.section--canvas .card { box-shadow: var(--ring); }
.card h3 { font-size: var(--text-xl); letter-spacing: var(--tracking-title); }
.card p { margin-top: var(--space-2); color: var(--color-ink-2); }
.card__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-5);
  border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent);
}
.card__icon--neutral { background: var(--color-fill); color: var(--color-ink-strong-2); }
.card__icon--caution { background: var(--color-caution-soft); color: var(--color-caution); }
.card__icon--success { background: var(--color-success-soft); color: var(--color-success); }
.card--link { transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card--link:hover { box-shadow: var(--ring-strong), var(--shadow-float); transform: translateY(-2px); }

/* Problem → solution */
.ps { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .ps { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.ps__col { border-radius: var(--radius-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.ps__col--problem { background: var(--color-canvas); }
.ps__col--solution { background: var(--gradient-night); color: var(--color-night-ink); }
.ps__col h3 { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); }
.ps__col--solution h3 { color: #fff; }
.ps__label { display: inline-block; margin-bottom: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.ps__col--problem .ps__label { color: var(--color-caution); }
.ps__col--solution .ps__label { color: #7cc0ff; }
.ps__list { list-style: none; margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.ps__list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
.ps__list strong { display: block; font-weight: var(--weight-semibold); }
.ps__list span { display: block; color: var(--color-ink-2); font-size: var(--text-md); margin-top: 2px; }
.ps__col--solution .ps__list span { color: var(--color-night-ink-2); }
.ps__list svg { margin-top: 3px; }
.ps__col--problem .ps__list svg { color: var(--color-caution); }
.ps__col--solution .ps__list svg { color: #7cc0ff; }

/* Steps */
.steps { list-style: none; counter-reset: step; }
.step { counter-increment: step; }
.step__num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: var(--space-5);
  border-radius: var(--radius-pill); background: var(--color-ink); color: #fff;
  font-size: var(--text-md); font-weight: var(--weight-semibold);
}
.step__num::before { content: counter(step); }
.step__visual { margin-top: var(--space-6); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-canvas); }
.section--canvas .step__visual { background: var(--color-canvas); }

/* Integration chips (connect step + services) */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.chip-static {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 8px;
  border-radius: var(--radius-pill); background: var(--color-surface); box-shadow: var(--ring-strong);
  font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink);
}
.chip-static img, .chip-static svg { width: 18px; height: 18px; }
.chip-static__dot { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--color-fill); color: var(--color-ink-2); }

/* Pillars */
.pillar { display: flex; flex-direction: column; }
.pillar__tag { display: inline-flex; align-self: flex-start; margin-bottom: var(--space-4); padding: 4px 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-semibold); background: var(--color-accent-soft); color: var(--color-accent); }
.pillar__tag--neutral { background: var(--color-fill); color: var(--color-ink-strong-2); }
.pillar h3 { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); }
.pillar .feature-list { margin-top: var(--space-6); }
.pillar__foot { margin-top: auto; padding-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.pillar__price { font-size: var(--text-md); color: var(--color-ink-2); }
.pillar__price strong { color: var(--color-ink); font-size: var(--text-xl); letter-spacing: var(--tracking-title); }

/* Feature list */
.feature-list { list-style: none; display: grid; gap: var(--space-3); }
.feature-list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); align-items: start; color: var(--color-ink-strong-2); font-size: var(--text-md); }
.feature-list svg { margin-top: 3px; color: var(--color-accent); }
.feature-list--2col { gap: var(--space-3) var(--space-8); }
@media (min-width: 768px) { .feature-list--2col { grid-template-columns: 1fr 1fr; } }
.feature-list strong { color: var(--color-ink); font-weight: var(--weight-semibold); }

/* Placeholder (honesty: never fake proof) */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center; gap: var(--space-2);
  min-height: 120px; padding: var(--space-6); border-radius: var(--radius-lg);
  border: 1.5px dashed var(--color-border); background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(0,0,0,0.015) 10px 20px);
  color: var(--color-ink-2); font-family: var(--font-mono); font-size: var(--text-sm);
}
.ph--inline { display: inline-flex; min-height: 0; padding: 2px 8px; border-radius: var(--radius-xs); border-width: 1px; }
.proof-row { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .proof-row { grid-template-columns: repeat(3, 1fr); } }

/* Note / disclaimer */
.note { font-size: var(--text-sm); color: var(--color-ink-2); }
.note--center { text-align: center; }
.est { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-ink-2); }

/* ---------- Portal frame (product visuals rebuilt from the portal: Approvals, Autopilot, Overview) ----------
   Laid out by its OWN width (container queries), so the same markup shows:
   ≥ 900px  desktop portal with sidebar, in a browser window
   640–899  tablet portal, no sidebar
   < 640px  mobile portal in a phone frame  */
.aq-figure { container: portal / inline-size; margin: 0; }
.aq {
  position: relative; border-radius: var(--radius-xl); background: var(--color-canvas);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 40px 80px -30px rgba(16, 38, 84, 0.28);
  overflow: hidden; text-align: left;
}
.aq__chrome { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--color-hairline); }
.aq__chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-fill-2); }
.aq__url { margin-left: 12px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--color-canvas); font-size: var(--text-xs); color: var(--color-ink-2); font-family: var(--font-mono); }
.aq__appbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--color-hairline); }
.aq__appbar b { margin-left: auto; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.aq__appbar img { height: 20px; width: auto; }
.aq__appbar span { flex-shrink: 0; width: 18px; height: 12px; border-top: 1.5px solid var(--color-ink); border-bottom: 1.5px solid var(--color-ink); position: relative; }
.aq__appbar span::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--color-ink); }
.aq__body { display: grid; }
.aq__side { display: none; padding: 20px 14px; border-right: 1px solid var(--color-hairline); background: var(--color-canvas); }
.aq__logo { height: 18px; width: auto; margin: 2px 8px 18px; }
.aq__site { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 14px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--ring-strong); font-size: 12px; }
.aq__site b { display: block; font-weight: var(--weight-semibold); font-size: 12px; line-height: 1.2; }
.aq__site small { color: var(--color-ink-2); font-size: 10px; }
.aq__avatar { width: 24px; height: 24px; border-radius: 7px; background: var(--color-ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.aq__nav { list-style: none; display: grid; gap: 2px; font-size: 13px; color: var(--color-ink-strong-2); }
.aq__nav li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm); }
.aq__nav li.is-active { background: #fff; color: var(--color-ink); font-weight: var(--weight-semibold); box-shadow: var(--ring); }
.aq__badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--color-accent); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.aq__main { padding: 18px 16px 20px; min-width: 0; }
.aq__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.aq__kicker { font-size: 12px; color: var(--color-ink-2); }
.aq__title { margin-top: 2px; font-size: 21px; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-heading); line-height: 1.15; }
.aq__sub { margin-top: 4px; font-size: 12.5px; color: var(--color-ink-2); }
.aq__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 14px 0 12px; }
.aq__mode { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-ink-2); }
.aq__mode b { color: var(--color-ink); font-weight: 600; }
.aq__list { list-style: none; background: #fff; border-radius: 20px; box-shadow: var(--ring); overflow: hidden; }
.aq__row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px; border-top: 1px solid var(--color-hairline); }
.aq__row:first-child { border-top: 0; }
.aq__ico { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--color-canvas); color: var(--color-ink-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; align-self: start; }
.aq__meta { font-size: 11.5px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aq__meta code { font-size: 11.5px; }
.aq__name { font-size: 14.5px; font-weight: var(--weight-semibold); letter-spacing: -0.01em; line-height: 1.3; margin-top: 1px; }
.aq__why { font-size: 12.5px; color: var(--color-ink-2); line-height: 1.4; margin-top: 3px; display: none; }
.aq__impact { grid-column: 2; display: flex; align-items: center; gap: 8px; }
.aq__impact strong { display: block; font-size: 13.5px; font-weight: var(--weight-semibold); margin-top: 3px; white-space: nowrap; }
.aq__actions { grid-column: 2; display: flex; gap: 6px; align-items: center; }
.aq__btn { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; color: var(--color-ink-2); white-space: nowrap; }
.aq__btn--edit { background: var(--color-fill); color: var(--color-ink); }
.aq__btn--approve { background: var(--color-accent); color: #fff; font-weight: 600; padding: 0 15px; }
.aq__btn--done { background: var(--color-success-soft); color: var(--color-success); font-weight: 600; }
.aq__btn--wide { width: 100%; justify-content: center; height: 40px; margin-top: 12px; font-size: 13.5px; }
.aq__foot { margin-top: 12px; font-size: 12px; color: var(--color-ink-2); }
.aq__caption { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }

/* Autopilot rules screen */
.ap__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 12px; align-items: center; padding: 14px; border-top: 1px solid var(--color-hairline); }
.ap__row:first-child { border-top: 0; }
.ap__row .aq__ico { display: none; }
.ap__row .aq__why { display: none; }

/* Overview screen */
.ov { display: grid; gap: 12px; margin-top: 14px; }
.ov__card { background: #fff; border-radius: 20px; box-shadow: var(--ring); padding: 16px; min-width: 0; }
.ov__card h4, .ov__h { margin: 0; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ov__card h4 small, .ov__h small { font-size: 12px; font-weight: 400; color: var(--color-ink-2); }
.ov__night { background: var(--gradient-night); color: var(--color-night-ink); box-shadow: none; position: relative; overflow: hidden; }
.ov__night .ov__h { color: #fff; }
.ov__night p { font-size: 12.5px; color: var(--color-night-ink-2); margin-top: 4px; }
.ov__night svg { display: block; width: 100%; height: auto; margin-top: 14px; }
.ov__tag { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: 11px; color: var(--color-night-ink-2); }
.ov__items { list-style: none; margin-top: 8px; }
.ov__items li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--color-hairline); font-size: 13px; min-width: 0; }
.ov__items li:first-child { border-top: 0; }
.ov__items .ov__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov__items .aq__ico { width: 32px; height: 32px; font-size: 11px; border-radius: 10px; align-self: center; flex-shrink: 0; }
.ov__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.ov__bars { list-style: none; margin-top: 12px; display: grid; gap: 12px; font-size: 12.5px; }
.ov__bars li { display: grid; gap: 6px; }
.ov__bar { height: 6px; border-radius: 3px; background: var(--color-fill); overflow: hidden; }
.ov__bar i { display: block; height: 100%; border-radius: 3px; background: var(--color-accent); }
.ov__ai { display: none; }

/* --- Phone: the portal's own responsive mobile layout, shown as a plain screenshot --- */
@container portal (max-width: 639px) {
  .aq { max-width: 420px; margin-inline: auto; border-radius: var(--radius-xl); }
  .aq__list .aq__row:nth-child(n+3), .ov__wins { display: none; }
  .aq__toolbar .aq__mode { display: none; }
}
/* --- Tablet and desktop: browser window --- */
@container portal (min-width: 640px) {
  .aq__chrome { display: flex; }
  .aq__appbar { display: none; }
  .aq__main { padding: 24px; }
  .aq__title { font-size: 26px; }
  .aq__mode { margin-left: auto; }
  .aq__row { grid-template-columns: 42px minmax(0, 1fr) auto auto; padding: 16px 20px; }
  .aq__ico { width: 42px; height: 42px; align-self: center; }
  .aq__impact { grid-column: auto; display: block; min-width: 128px; }
  .aq__actions { grid-column: auto; }
  .ap__row { grid-template-columns: 42px minmax(0, 1fr) auto auto; padding: 14px 20px; }
  .ap__row .aq__ico { display: grid; }
  .ap__row .aq__why { display: block; }
  .ov { grid-template-columns: 1.5fr 1fr; }
  .ov__ai { display: block; }
}
/* --- Desktop: full portal with sidebar --- */
@container portal (min-width: 900px) {
  .aq__body { grid-template-columns: 210px minmax(0, 1fr); }
  .aq__side { display: block; }
  .aq__main { padding: 30px 34px 34px; }
  .aq__title { font-size: 30px; }
  .aq__why { display: block; }
}

.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 11px; font-weight: var(--weight-semibold); white-space: nowrap; }
.pill--high { background: var(--color-success-soft); color: var(--color-success); }
.pill--med { background: var(--color-caution-soft); color: var(--color-caution); }
.pill--info { background: var(--color-accent-soft); color: var(--color-accent); }
.pill--neutral { background: var(--color-fill); color: var(--color-ink-strong-2); }

/* Segmented control (portal 30D / 90D / 12M and All / Search / Technical) */
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-pill); background: var(--color-fill-2); }
.segmented__option {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px;
  border: 0; border-radius: var(--radius-pill); background: transparent; cursor: pointer;
  font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink-on-fill); white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.segmented__option:hover { color: var(--color-ink); }
.segmented__option[aria-checked="true"], .segmented__option[aria-pressed="true"], .segmented__option.is-active {
  background: #fff; color: var(--color-ink); box-shadow: var(--shadow-segment);
}
.segmented--sm .segmented__option { min-height: 30px; padding: 0 13px; font-size: 12.5px; }
.segmented__save { font-size: 11px; font-weight: var(--weight-semibold); color: var(--color-success-strong); }

/* ---------- Mode compare (autopilot vs approval) ---------- */
.modes { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .modes { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.mode h3 { display: flex; align-items: center; gap: var(--space-3); }
.mode__demo { margin-top: var(--space-6); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-canvas); display: grid; gap: 8px; }
.mode__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--ring); font-size: 13px; }
.mode__item span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode__switch { width: 34px; height: 20px; border-radius: 10px; background: var(--color-fill-2); position: relative; flex-shrink: 0; }
.mode__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.mode__switch.is-on { background: var(--color-success); }
.mode__switch.is-on::after { left: 16px; }

/* ---------- Case study (Meta lead routing) ---------- */
.case { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .case { grid-template-columns: 1fr 1.1fr; gap: var(--space-16); } }
.case__dl { display: grid; gap: var(--space-5); margin: var(--space-6) 0 0; }
.case__dl dt { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-accent); }
.case__dl dd { margin: 4px 0 0; color: var(--color-ink-strong-2); }
.flow { list-style: none; position: relative; display: grid; gap: 12px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-xl); background: var(--gradient-night); color: var(--color-night-ink); }
.flow__step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.flow__step + .flow__step::before { content: ""; position: absolute; left: 33px; top: -13px; width: 2px; height: 13px; background: rgba(124, 192, 255, 0.5); }
.flow__ico { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(124, 192, 255, 0.14); color: #9fd0ff; display: grid; place-items: center; }
.flow__step b { display: block; font-weight: var(--weight-semibold); color: #fff; font-size: var(--text-md); }
.flow__step span { display: block; font-size: var(--text-sm); color: var(--color-night-ink-2); margin-top: 2px; }
.flow__branches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.flow__branch { padding: 8px 10px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); font-size: 12px; color: var(--color-night-ink); }
.flow__branch small { display: block; color: var(--color-night-ink-2); font-size: 11px; }

/* ---------- Pricing ---------- */
.pricing-toggle { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin-bottom: var(--space-8); text-align: center; }
.plans { display: grid; gap: var(--space-4); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.plan {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--ring-strong);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.plan.is-selected { box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-float); }
.plan--featured { background: linear-gradient(180deg, var(--color-sky-2), #fff 45%); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: var(--radius-pill); background: var(--color-accent); color: #fff;
  font-size: var(--text-xs); font-weight: var(--weight-semibold); white-space: nowrap;
}
.plan__name { font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-title); display: flex; align-items: center; gap: var(--space-2); }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: var(--space-4); }
.plan__amount { font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: 1; }
.plan__per { color: var(--color-ink-2); font-size: var(--text-md); }
.plan__billed { margin-top: var(--space-3); font-size: var(--text-md); color: var(--color-ink-strong-2); }
.plan__save { margin-top: var(--space-3); min-height: 20px; }
.plan .btn { margin-top: var(--space-6); }
.plan__includes { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-hairline); font-size: var(--text-sm); color: var(--color-ink-2); }
.plan__includes strong { color: var(--color-ink); font-weight: var(--weight-semibold); }
.plans-note { margin-top: var(--space-6); text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }

.quote-card {
  margin-top: var(--space-5); display: grid; gap: var(--space-5); align-items: center;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); border-radius: var(--radius-xl); background: var(--color-canvas);
}
.section--canvas .quote-card { background: #fff; box-shadow: var(--ring-strong); }
@media (min-width: 768px) { .quote-card { grid-template-columns: auto 1fr auto; gap: var(--space-6); } }
.quote-card h3 { font-size: var(--text-xl); letter-spacing: var(--tracking-title); }
.quote-card p { margin-top: 4px; color: var(--color-ink-2); font-size: var(--text-md); }
.quote-card .card__icon { margin: 0; }

/* Compact plan summary (home preview) */
.compare-table { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.compare-table th, .compare-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--color-hairline); }
.compare-table thead th { font-size: var(--text-sm); color: var(--color-ink-2); font-weight: var(--weight-medium); }
.compare-table tbody th { font-weight: var(--weight-semibold); }
.compare-table td:not(:first-child) { color: var(--color-ink-strong-2); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring-strong); padding: 4px 12px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 240px 1fr; gap: var(--space-16); align-items: start; } }
.faq-toc { display: none; }
@media (min-width: 1024px) { .faq-toc { display: block; position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-toc ul { list-style: none; display: grid; gap: 2px; }
.faq-toc a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--color-ink-strong-2); font-size: var(--text-md); font-weight: var(--weight-medium); }
.faq-toc a:hover { background: var(--color-fill); color: var(--color-ink); }
.faq-group + .faq-group { margin-top: var(--space-16); }
.faq-group > h2 { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); margin-bottom: var(--space-4); }
.faq-list { border-top: 1px solid var(--color-hairline); }
.faq { border-bottom: 1px solid var(--color-hairline); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 20px 0; cursor: pointer; font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: inherit; letter-spacing: inherit; font-weight: inherit; line-height: inherit; }
.faq summary:hover { color: var(--color-accent); }
.faq__icon { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--color-fill); color: var(--color-ink); transition: transform var(--dur) var(--ease), background-color var(--dur-fast); }
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--color-ink); color: #fff; }
.faq__answer { padding: 0 44px 22px 0; color: var(--color-ink-strong-2); }
.faq__answer p + p, .faq__answer p + ul, .faq__answer ul + p { margin-top: var(--space-3); }
.faq__answer ul { padding-left: 1.2em; }
.faq__answer li + li { margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: clamp(24px, 2vw + 16px, 36px); background: var(--gradient-night); color: var(--color-night-ink);
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 173, 255, 0.25), transparent 70%); pointer-events: none;
}
.cta-band h2 { position: relative; color: #fff; font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4rem); letter-spacing: var(--tracking-display); line-height: 1.04; }
.cta-band p { position: relative; margin: var(--space-5) auto 0; max-width: 36rem; color: var(--color-night-ink-2); font-size: var(--text-lg); }
.cta-band .btn-row { position: relative; justify-content: center; margin-top: var(--space-8); }
.cta-band__fine { position: relative; margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-night-ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-canvas); padding-block: var(--space-16) var(--space-8); font-size: var(--text-md); }
.site-footer__top { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer__brand img { height: 26px; width: auto; }
.site-footer__brand p { margin-top: var(--space-4); color: var(--color-ink-2); max-width: 22rem; }
.site-footer__motto { font-weight: var(--weight-semibold); color: var(--color-ink) !important; }
.site-footer h2 { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-ink); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; min-height: 32px; align-items: center; color: var(--color-ink-2); }
.site-footer ul a:hover { color: var(--color-ink); }
.site-footer__bottom { margin-top: var(--space-11); padding-top: var(--space-6); border-top: 1px solid var(--color-hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- Prose (articles, legal, security) ---------- */
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--color-ink-strong-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); color: var(--color-ink); line-height: 1.2; }
.prose h3 { margin-top: 1.8em; font-size: var(--text-xl); letter-spacing: var(--tracking-title); color: var(--color-ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--color-ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-hairline); vertical-align: top; }
.prose th { color: var(--color-ink); font-weight: var(--weight-semibold); }
.prose blockquote { margin-left: 0; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--color-accent); background: var(--color-canvas); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* Q&A / definition callouts: AI-quotable blocks */
.answer-box { padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--color-accent-soft); color: var(--color-ink); }
.answer-box__label { display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 6px; }
.prose .answer-box p { margin: 0; }
.definition { padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--color-canvas); }
.definition dt { font-weight: var(--weight-semibold); color: var(--color-ink); }
.definition dd { margin: 4px 0 0; color: var(--color-ink-strong-2); }
.definition dd + dt { margin-top: var(--space-4); }

/* Article */
.article-header { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--space-8); background: var(--gradient-sky); }
.article-header h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); letter-spacing: var(--tracking-display); line-height: 1.08; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-ink-2); }
.article-meta .pill { height: 22px; }
.article-cover { margin-top: var(--space-8); }
.article-body { padding-block: var(--space-11) var(--section-y); }
.article-layout { display: grid; gap: var(--space-11); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--space-16); } }
.article-aside { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 1024px) { .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--color-canvas); font-size: var(--text-md); }
.toc h2 { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.toc ol { list-style: none; display: grid; gap: 6px; }
.toc a { color: var(--color-ink-strong-2); }
.toc a:hover { color: var(--color-accent); }
.aside-cta { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--gradient-night); color: var(--color-night-ink); }
.aside-cta p:first-child { font-weight: var(--weight-semibold); color: #fff; }
.aside-cta p + p { margin-top: 6px; font-size: var(--text-sm); color: var(--color-night-ink-2); }
.aside-cta .btn { margin-top: var(--space-4); }
.author-box { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-11); padding-top: var(--space-6); border-top: 1px solid var(--color-hairline); }
.author-box img { width: 48px; height: 48px; border-radius: 14px; }
.author-box b { display: block; color: var(--color-ink); }
.author-box span { font-size: var(--text-sm); color: var(--color-ink-2); }

/* Blog index */
.post-filter { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-8); }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border: 0; border-radius: var(--radius-pill); background: var(--color-fill); color: var(--color-ink-strong-2);
  font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.chip:hover { background: var(--color-fill-2); color: var(--color-ink); }
.chip[aria-pressed="true"] { background: var(--color-ink); color: #fff; }
.posts { display: grid; gap: var(--space-5); list-style: none; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring-strong); overflow: hidden; color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { color: inherit; box-shadow: var(--ring-strong), var(--shadow-float); transform: translateY(-2px); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.post-card h2, .post-card h3 { margin-top: var(--space-3); font-size: var(--text-xl); letter-spacing: var(--tracking-title); line-height: 1.3; }
.post-card p { margin-top: var(--space-2); color: var(--color-ink-2); font-size: var(--text-md); }
.post-card__meta { margin-top: auto; padding-top: var(--space-5); font-size: var(--text-sm); color: var(--color-ink-2); }
/* Lead card: wide side-by-side layout. Applied to the first visible post when an odd number is shown. */
@media (min-width: 1024px) {
  .posts > .is-lead { grid-column: 1 / -1; }
  .is-lead > .post-card { flex-direction: row; }
  .is-lead .cover { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
  .is-lead .post-card__body { flex: 1; padding: var(--space-11); justify-content: center; }
  .is-lead .post-card h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-heading); line-height: 1.1; }
  .is-lead .post-card__meta { margin-top: var(--space-6); }
}
.posts-empty { padding: var(--space-11); text-align: center; color: var(--color-ink-2); }

/* Generated covers (no stock photos; on-brand SVG/CSS art) */
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: var(--gradient-sky); }
.cover--night { background: var(--gradient-night); }
.cover--canvas { background: linear-gradient(160deg, #f5f5f7, #e8e8ed); }
.cover--mint { background: linear-gradient(160deg, #e8f5ec, #f6fbf7); }
.cover--sand { background: linear-gradient(160deg, #fff4e0, #fffaf1); }
.cover svg { width: 64%; max-width: 420px; height: auto; }
.article-cover .cover { border-radius: var(--radius-xl); aspect-ratio: 21 / 9; }

/* ---------- Forms (Gravity Forms-ready markup) ---------- */
.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: grid; gap: 6px; }
.form-field label, .form-field legend { font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--color-ink); padding: 0; }
.form-field .hint { font-size: var(--text-sm); color: var(--color-ink-2); }
.req { color: var(--color-ink-2); font-weight: var(--weight-regular); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--color-border); border-radius: var(--radius-input); background: #fff; color: var(--color-ink);
  font-size: var(--text-base); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236E6E73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input::placeholder, .textarea::placeholder { color: var(--color-ink-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #c4291c; }
.field-error { font-size: var(--text-sm); color: #c4291c; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: var(--text-md); color: var(--color-ink-strong-2); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--color-accent); }
.form-status { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--text-md); }
.form-status:empty { display: none; }
.form-status--success { background: var(--color-success-soft); color: #14532d; }
.form-status--error { background: #fdecea; color: #8a1c12; }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring-strong); }
.section--canvas .form-card { box-shadow: var(--ring); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-cards { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .radio-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card__box { display: block; height: 100%; padding: 14px 16px; border-radius: var(--radius-input); border: 1px solid var(--color-border); background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.radio-card__box b { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: var(--weight-semibold); }
.radio-card__box span { display: block; margin-top: 2px; font-size: var(--text-sm); color: var(--color-ink-2); }
.radio-card input:checked + .radio-card__box { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); background: var(--color-sky-3); }
.radio-card input:focus-visible + .radio-card__box { box-shadow: 0 0 0 4px var(--color-accent-ring); border-color: var(--color-accent); }

/* Contact layout */
.contact-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: var(--space-11); align-items: start; } }
.booking-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: var(--gradient-night); color: var(--color-night-ink); }
.booking-card h2 { color: #fff; font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); }
.booking-card p { margin-top: var(--space-3); color: var(--color-night-ink-2); }
.booking-card .feature-list li { color: var(--color-night-ink); }
.booking-card .feature-list svg { color: #7cc0ff; }
.booking-card .btn { margin-top: var(--space-6); }
.booking-card .ph { margin-top: var(--space-5); border-color: rgba(255,255,255,0.25); color: var(--color-night-ink-2); background: transparent; min-height: 64px; }
.contact-alt { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.contact-alt .card { padding: var(--space-5); }
.contact-alt .card h3 { font-size: var(--text-lg); }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1.35fr 1fr; gap: var(--space-11); align-items: start; } }
.checkout__step + .checkout__step { margin-top: var(--space-11); }
.checkout__step-title { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xl); letter-spacing: var(--tracking-title); margin-bottom: var(--space-5); }
.checkout__step-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--color-ink); color: #fff; font-size: var(--text-sm); display: grid; place-items: center; flex-shrink: 0; }
.summary { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-canvas); }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary h2 { font-size: var(--text-xl); letter-spacing: var(--tracking-title); }
.summary__rows { margin-top: var(--space-5); display: grid; gap: var(--space-3); font-size: var(--text-md); }
.summary__row { display: flex; justify-content: space-between; gap: var(--space-4); color: var(--color-ink-strong-2); }
.summary__row b { color: var(--color-ink); font-weight: var(--weight-semibold); }
.summary__row--save { color: var(--color-success); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.summary__total b { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); }
.summary .feature-list { margin-top: var(--space-6); }
.stripe-slot {
  display: grid; gap: var(--space-2); place-items: center; text-align: center;
  min-height: 220px; padding: var(--space-8); border-radius: var(--radius-input);
  border: 1.5px dashed var(--color-accent); background: var(--color-sky-3); color: var(--color-ink-strong-2);
}
.stripe-slot b { color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-sm); }
.stripe-slot p { font-size: var(--text-md); max-width: 30rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- Legal ---------- */
.legal-banner { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--color-caution-soft); color: #6b3900; font-size: var(--text-md); margin-bottom: var(--space-8); }
.legal-banner svg { flex-shrink: 0; margin-top: 2px; color: var(--color-caution); }
.legal-banner strong { color: #4d2900; }

/* ---------- Security ---------- */
.perm-table { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.perm-table th, .perm-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--color-hairline); vertical-align: top; }
.perm-table thead th { font-size: var(--text-sm); color: var(--color-ink-2); font-weight: var(--weight-medium); background: var(--color-canvas); }
.perm-table thead th:first-child { border-top-left-radius: var(--radius-md); }
.perm-table thead th:last-child { border-top-right-radius: var(--radius-md); }
.perm-table tbody th { font-weight: var(--weight-semibold); white-space: nowrap; }
.perm-table tbody th img { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.perm-table td { color: var(--color-ink-strong-2); }
@media (max-width: 767px) {
  .perm-table thead { display: none; }
  .perm-table, .perm-table tbody, .perm-table tr, .perm-table th, .perm-table td { display: block; width: 100%; }
  .perm-table tr { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-hairline); }
  .perm-table th, .perm-table td { border: 0; padding: 4px 0; }
  .perm-table td::before { content: attr(data-label); display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-ink-2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 8px; }
}

/* ---------- Split layouts ---------- */
.split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); } .split--reverse > :first-child { order: 2; } }
.split h2 { font-size: var(--text-3xl); letter-spacing: var(--tracking-heading); line-height: 1.1; }
.split .lede { margin-top: var(--space-4); }
.split .feature-list, .split .btn-row { margin-top: var(--space-6); }

/* Integration tiles */
.integrations { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.integration { padding: var(--space-5); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring-strong); }
.section--canvas .integration { box-shadow: var(--ring); }
.integration img { width: 28px; height: 28px; }
.integration b { display: block; margin-top: var(--space-4); font-weight: var(--weight-semibold); line-height: 1.3; }
.integration span { display: block; margin-top: 4px; font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.45; }
.integration__lh { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--color-caution-soft); color: var(--color-caution); }

.platforms { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin-top: var(--space-5); }

/* Anchor nav (services) */
.anchor-nav { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-6); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-11 { margin-top: var(--space-11); }
.center { text-align: center; }
.muted { color: var(--color-ink-2); }

/* ---------- Additions ---------- */
/* Pricing: on small screens the billing-term toggle shows one plan at a time */
.js .pricing-toggle { display: flex; }
html:not(.js) .pricing-toggle .segmented { display: none; }
@media (max-width: 899px) { .pricing.is-enhanced .plan[data-hidden-mobile] { display: none; } }
.plan.is-selected .plan__badge { box-shadow: 0 4px 12px rgba(10, 116, 234, 0.3); }

.posts > li[hidden] { display: none; }

/* Figures reset */
figure { margin: 0; }
.aq-figure { margin: 0; }
.chip { text-decoration: none; }
a.chip { color: var(--color-ink-strong-2); }
a.chip:hover { color: var(--color-ink); }
.case__dl > div + div { margin-top: 0; }
/* Grid children may shrink below their content's min width (prevents overflow from nowrap pills) */
.grid > *, .split > *, .modes > *, .ps > *, .case > *, .plans > *, .contact-grid > *, .checkout > *, .faq-layout > *, .article-layout > *, .posts > * { min-width: 0; }
.mode__item .aq__btn { flex-shrink: 0; }
.mode__demo > *, .step__visual > * { min-width: 0; }
.flow > *, .flow__step > *, .flow__branches > * { min-width: 0; }
.flow__branch small { overflow-wrap: anywhere; }
/* Review fixes */
.post-card .pill, .article-header .pill { align-self: flex-start; }
.article-header .container > * { max-width: 52rem; }
@media (min-width: 1024px) { .posts--index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .perm-table tr { padding: var(--space-4) var(--space-5); } }
@media (max-width: 1023px) { .checkout .summary { order: -1; } }
@media (min-width: 640px) { .form > .btn:not(.btn--block) { justify-self: start; } }

/* Links inside running text are underlined (WCAG 1.4.1: not color alone) */
main :where(p, dd, td, .feature-list span, .check span) a:not(.btn):not(.text-link):not(.chip) {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* Full-width product showcases */
.showcase { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.intro-split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .intro-split { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); } }
.intro-split > * { min-width: 0; }
.mini-features { list-style: none; display: grid; gap: var(--space-4); max-width: 60rem; margin-inline: auto; }
@media (min-width: 768px) { .mini-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mini-features--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; } }
.mini-features li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-3); font-size: var(--text-md); color: var(--color-ink-2); line-height: 1.45; }
.mini-features svg { color: var(--color-accent); margin-top: 2px; }
.mini-features strong { display: block; color: var(--color-ink); font-weight: var(--weight-semibold); }

/* ---------- Portal: savings, KPIs, Rumbi Return, Reports ---------- */
.aq__side { position: relative; }
.rr { margin-top: 18px; padding: 14px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--ring-strong); }
.rr__motto { font-size: 12px; font-weight: 600; }
.rr__label { margin-top: 6px; font-size: 11px; color: var(--color-ink-2); }
.rr__big { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--color-success); line-height: 1.1; }
.rr__note { font-size: 11px; color: var(--color-ink-2); line-height: 1.35; margin-top: 2px; }

.sv { padding: 20px; position: relative; }
.sv__top { display: grid; gap: 14px; position: relative; z-index: 1; }
.sv .sv__label { font-size: 13px; color: var(--color-night-ink-2) !important; margin: 0 !important; }
.sv .sv__big { font-size: 44px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: #fff; margin-top: 8px !important; }
.sv .sv__math { font-size: 12.5px; color: var(--color-night-ink-2); }
.sv__split { display: flex; gap: 24px; }
.sv__split span { display: block; font-size: 11.5px; color: var(--color-night-ink-2); }
.sv__split b { display: block; font-size: 20px; font-weight: 600; color: #fff; letter-spacing: -0.02em; margin-top: 2px; }
.sv .sv__chart { display: block; width: calc(100% + 40px); height: 90px; margin: 12px -20px -20px; }
.sv__started { position: absolute; left: calc(40% + 6px); bottom: 70px; font-size: 10.5px; color: rgba(255,255,255,0.5); }

.ov__t small { display: block; font-size: 11px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov__win { font-size: 12.5px; font-weight: 600; color: var(--color-success); white-space: nowrap; flex-shrink: 0; }
.ov--b { margin-top: 12px; }

.kpis { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.kpi { background: #fff; border-radius: 18px; box-shadow: var(--ring); padding: 12px 14px; min-width: 0; }
.kpi span { display: block; font-size: 11.5px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--color-success); letter-spacing: 0; margin-left: 2px; }
.kpi svg { display: block; width: 100%; height: 24px; margin-top: 8px; }
.kpi small { display: block; margin-top: 6px; font-size: 10.5px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ai__big { margin-top: 10px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ai__big span { font-size: 13px; font-weight: 400; color: var(--color-ink-2); letter-spacing: 0; }
.ai__big em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--color-success); letter-spacing: 0; margin-left: 4px; }
.ai__row { display: flex; justify-content: space-between; }
.ai__row b { font-weight: 600; }

.rp__hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--ring); }
.rp__title { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; max-width: 24ch; }
.rp__title span { color: var(--color-accent); }
.rp__actions { display: none; gap: 8px; }
.money { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.money__card { background: #fff; border-radius: 18px; box-shadow: var(--ring); padding: 14px; min-width: 0; }
.money__card span { display: block; font-size: 11.5px; color: var(--color-ink-2); line-height: 1.3; }
.money__card b { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.money__card small { display: block; margin-top: 8px; font-size: 11px; color: var(--color-ink-2); line-height: 1.4; }
.money__card--hero b { color: var(--color-success); }
.rk { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.rk td { padding: 9px 0; border-top: 1px solid var(--color-hairline); }
.rk tr:first-child td { border-top: 0; }
.rk td:nth-child(n+2) { text-align: right; width: 48px; color: var(--color-ink-2); }
.rk td:nth-child(3) { color: var(--color-ink); font-weight: 600; }
.rk em { font-style: normal; font-weight: 600; color: var(--color-success); }

@container portal (max-width: 639px) {
  .kpis .kpi:nth-child(n+5), .ov--b, .rp__more { display: none; }
  .sv .sv__big { font-size: 40px; }
  .sv__started { display: none; }
}
@container portal (min-width: 640px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(n+4) { display: none; }
  .sv__top { grid-template-columns: 1fr auto; align-items: end; }
  .sv__split { flex-direction: column; gap: 10px; text-align: right; }
  .ov--b { grid-template-columns: 1.4fr 1fr; }
  .rp__actions { display: flex; }
  .rp__title { font-size: 30px; }
  .money { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .money__card b { font-size: 26px; }
  .rp__more { grid-template-columns: 1fr 1fr; }
}
@container portal (min-width: 900px) {
  .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(n+4) { display: block; }
  .sv .sv__big { font-size: 56px; }
  .sv__split { flex-direction: row; text-align: left; gap: 28px; }
  .rp__title { font-size: 36px; }
  .money__card b { font-size: 30px; }
}

/* Example results stats (home) */
.stats { list-style: none; display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.stat { display: flex; flex-direction: column; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--ring-strong); min-width: 0; }
.stat b { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: 1; color: var(--color-ink); }
.stat span { margin-top: var(--space-3); font-size: var(--text-md); color: var(--color-ink-strong-2); line-height: 1.45; }
.stat small { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-sm); color: var(--color-ink-2); }
.stat--hero { background: var(--gradient-night); box-shadow: none; }
.stat--hero b { color: #fff; }
.stat--hero span { color: var(--color-night-ink); }
.stat--hero small { color: var(--color-night-ink-2); }

/* Pricing: "Included in every plan" cards (same card style as Services) */
.inc-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .inc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.inc-card { min-width: 0; }
.inc-card ul { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.inc-card li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: var(--text-md); color: var(--color-ink-2); line-height: 1.5; }
.inc-card li svg { margin-top: 4px; color: var(--color-accent); }

.inc-bar {
  display: grid; gap: var(--space-5); align-items: center; margin-top: var(--space-5);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); border-radius: var(--radius-xl);
  background: var(--gradient-night); color: var(--color-night-ink);
}
@media (min-width: 900px) { .inc-bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-6); } }
.inc-bar__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(124, 192, 255, 0.16); color: #9fd0ff; }
.inc-bar h3 { color: #fff; font-size: var(--text-xl); letter-spacing: var(--tracking-title); }
.inc-bar p { margin-top: 4px; color: var(--color-night-ink-2); font-size: var(--text-md); }
@media (prefers-reduced-motion: reduce) { .inc-card:hover { transform: none; } }

.site-footer__email a { font-weight: var(--weight-semibold); color: var(--color-accent); }
.site-footer__email a:hover { color: var(--color-accent-hover); }

.hero__lede { text-wrap: balance; }

/* Hero: tiered copy (headline → two-tone hook → quiet supporting line) */
.hero__hook {
  margin-top: clamp(1.5rem, 1rem + 1.2vw, 2.25rem);
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.125rem); font-weight: var(--weight-semibold);
  letter-spacing: -0.028em; line-height: 1.18; color: var(--color-ink); text-wrap: balance;
}
.hero__hook span { display: block; }
.hero__hook-muted { color: var(--color-ink); }
.hero__copy .hero__lede {
  margin-top: clamp(1rem, 0.8rem + 0.6vw, 1.375rem); max-width: 36rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.6; color: var(--color-ink-2);
}
.hero__price { color: var(--color-ink); font-weight: var(--weight-semibold); white-space: nowrap; }
.hero__copy .hero__actions { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }

.hero__eyebrow { padding: 7px 16px; }
.back-link { display: table; margin-bottom: var(--space-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-ink-2); }
.back-link:hover { color: var(--color-ink); }

/* Centered step cards (Security: how connections work) */
.steps--center { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .steps--center { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps--center { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }
.steps--center .step { text-align: center; min-width: 0; }
.steps--center .step__num { margin-inline: auto; }

/* Section-level CTA rows (Services) */
.section-cta { justify-content: center; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.page-hero .btn-row + .anchor-nav { margin-top: var(--space-6); }

/* Overview: plain-English KPI tiles (big change first, label, context) */
.kpi b { margin-top: 0; font-size: 22px; color: var(--color-ink); }
.kpi span { margin-top: 4px; white-space: normal; color: var(--color-ink-strong-2); font-size: 12px; line-height: 1.35; min-height: 2.7em; }
.kpi:first-child b, .kpi:nth-child(4) b { color: var(--color-success); }
.sv .sv__math b { color: #fff; font-weight: 600; }
@container portal (max-width: 639px) {
  .ov__ok { display: none; }
  .kpis .kpi:nth-child(n+5) { display: none; }
}
@container portal (min-width: 900px) { .kpi b { font-size: 24px; } }
/* Overview polish: tile context wraps; savings card stacks big number above the split */
.kpi small { white-space: normal; overflow: visible; line-height: 1.35; }
@container portal (min-width: 640px) {
  .sv__top { grid-template-columns: 1fr; align-items: start; }
  .sv__split { flex-direction: row; text-align: left; gap: 32px; }
  .sv .sv__label { max-width: none; }
}
@media (min-width: 1024px) { .mini-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }

/* Services intro: "In plain English" definitions card */
.defs {
  position: relative; overflow: hidden; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius-xl); background: var(--color-surface);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 30px 60px -30px rgba(16, 38, 84, 0.22);
}
.defs::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(180deg, var(--color-sky-2), rgba(255,255,255,0)); pointer-events: none; }
.defs__label { position: relative; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-accent); letter-spacing: 0.01em; }
.defs dl { position: relative; margin: var(--space-3) 0 0; }
.defs__row { position: relative; min-height: 64px; padding: var(--space-4) 0 var(--space-4) 56px; border-top: 1px solid var(--color-hairline); }
.defs__row:first-child { border-top: 0; padding-top: var(--space-2); }
.defs__row:last-child { padding-bottom: 0; }
.defs__icon { position: absolute; left: 0; top: var(--space-4); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent); }
.defs__icon--violet { background: #f1ecfd; color: #6a45d6; }
.defs__icon--brand { background: var(--color-sky-1); }
.defs__icon--brand img { width: 20px; height: 20px; border-radius: 5px; }
.defs dt { font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-tight); color: var(--color-ink); line-height: 1.3; }
.defs dt span { font-weight: var(--weight-regular); color: var(--color-ink-2); font-size: var(--text-md); }
.defs dd { margin: 4px 0 0; font-size: var(--text-md); color: var(--color-ink-2); line-height: 1.55; }
.defs__row:first-child .defs__icon { top: var(--space-2); }

/* Header: affiliate CTA (desktop only; it lives in the mobile menu on small screens) */
.site-header__aff { display: none; }
@media (min-width: 1024px) { .site-header__aff { display: inline-flex; } }
.site-header__aff[aria-current="page"] { background: var(--color-fill-2); }

/* ---------- Affiliate landing page ---------- */
.hero--compact { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.hero--compact h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
@media (min-width: 1024px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.calc { padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); border-radius: var(--radius-xl); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 30px 60px -30px rgba(16, 38, 84, 0.22); }
.calc__controls { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .calc__controls { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: var(--space-8); } }
.calc__field { display: grid; gap: var(--space-3); min-width: 0; }
.calc__label { font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--color-ink); }
.calc__label output { font-weight: var(--weight-semibold); color: var(--color-accent); }
.calc__range { width: 100%; height: 36px; accent-color: var(--color-accent); cursor: pointer; }
.calc__result { margin: var(--space-8) 0 var(--space-5); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--gradient-night); color: var(--color-night-ink); text-align: center; }
.calc__big { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: 1; color: #fff; }
.calc__sub { margin-top: var(--space-2); font-size: var(--text-lg); color: var(--color-night-ink); }
.calc__detail { margin-top: var(--space-3); font-size: var(--text-md); color: var(--color-night-ink-2); }
.rules .feature-list li { font-size: var(--text-base); }
.calc__big { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.calc__per { font-size: var(--text-xl); font-weight: var(--weight-medium); letter-spacing: 0; color: var(--color-night-ink-2); }

/* Newsletter signup */
.sms-terms { font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.5; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-canvas); }
.form-field legend { margin-bottom: var(--space-2); }
.form-field .check + .check { margin-top: var(--space-2); }

/* Affiliate program details card */
.rules__cols { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .rules__cols { grid-template-columns: 1fr 1fr; gap: var(--space-11); } }
.rules__h { font-size: var(--text-lg) !important; letter-spacing: var(--tracking-tight); margin-bottom: var(--space-4); }
.rules__list { list-style: none; counter-reset: rule; display: grid; gap: var(--space-4); }
.rules__list li { counter-increment: rule; position: relative; padding-left: 36px; font-size: var(--text-md); color: var(--color-ink-strong-2); line-height: 1.5; }
.rules__list li::before { content: counter(rule); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-fill); color: var(--color-ink); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.rules__list strong { color: var(--color-ink); }
.rules__foot { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--color-hairline); }

/* Integrations: "Plus Rumbi's own data" tile spans the grid */
.integration--more { grid-column: 1 / -1; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-4); align-items: start; background: linear-gradient(135deg, var(--color-sky-2), #fff 70%); box-shadow: 0 0 0 1px rgba(10, 116, 234, 0.14) !important; }
.integration--more b { margin-top: 0; }
.integration__plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-accent); color: #fff; }
.integration .integration__plus { display: grid; margin-top: 0; color: #fff; }

/* =========================================================================
   V2 components (custom automation services)
   ========================================================================= */

/* Split hero: copy left, alert demo right */
.hero--split { padding-bottom: clamp(3rem, 2rem + 3vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.hero--split .hero__copy { max-width: 40rem; }
.hero--split .hero__lede { max-width: 36rem; }
@media (max-width: 1023px) {
  .hero--split .hero__copy { margin-inline: auto; text-align: center; }
  .hero--split .hero__lede { margin-inline: auto; }
  .hero--split .hero__actions, .hero--split .hero__facts { justify-content: center; }
}

/* Alert demo (hero visual) */
.alert-demo { margin: 0; max-width: 440px; margin-inline: auto; width: 100%; }
.alert-demo__card { padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 40px 80px -30px rgba(16, 38, 84, 0.35); }
.alert-demo__top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--color-ink-strong-2); }
.alert-demo__app { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--color-accent); color: #fff; }
.alert-demo__time { margin-left: auto; font-weight: 400; color: var(--color-ink-2); }
.alert-demo__title { margin-top: 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.alert-demo__fields { margin: 12px 0 0; display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--color-canvas); }
.alert-demo__fields div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.alert-demo__fields dt { color: var(--color-ink-2); }
.alert-demo__fields dd { margin: 0; font-weight: 600; text-align: right; }
.alert-demo__actions { display: flex; gap: 8px; margin-top: 14px; }
.alert-demo__actions .aq__btn { flex: 1; justify-content: center; height: 40px; font-size: 14px; }
.alert-demo__steps { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.alert-demo__steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.75); box-shadow: 0 0 0 1px rgba(0,0,0,0.05); font-size: 14px; font-weight: 500; }
.alert-demo__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-success-soft); color: var(--color-success); flex-shrink: 0; }
.alert-demo__cap { margin-top: 14px; text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }
.aq__btn { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; color: var(--color-ink-2); white-space: nowrap; }
.aq__btn--edit { background: var(--color-fill); color: var(--color-ink); }
.aq__btn--approve { background: var(--color-accent); color: #fff; font-weight: 600; }

/* Pipeline diagram: Lead form → Automation → Instant alert → CRM */
.pipeline { margin: 0; }
.pipeline__steps { list-style: none; display: grid; gap: 14px; }
@media (min-width: 900px) { .pipeline__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.pipeline__step { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 22px 18px; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring-strong); min-width: 0; }
.pipeline__step b { font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.pipeline__step > span:not(.pipeline__icon) { font-size: var(--text-sm); color: var(--color-ink-2); }
.pipeline__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--color-accent-soft); color: var(--color-accent); }
.pipeline__step--accent { background: var(--gradient-night); box-shadow: none; }
.pipeline__step--accent b { color: #fff; }
.pipeline__step--accent > span:not(.pipeline__icon) { color: var(--color-night-ink-2); }
.pipeline__step--accent .pipeline__icon { background: rgba(124, 192, 255, 0.16); color: #9fd0ff; }
.pipeline__step + .pipeline__step::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 14px; background: var(--color-accent); opacity: 0.5; }
@media (min-width: 900px) {
  .pipeline__step + .pipeline__step::before { left: -28px; top: 50%; width: 28px; height: 2px; }
  .pipeline__step + .pipeline__step::after { content: ""; position: absolute; left: -9px; top: calc(50% - 4px); border: 5px solid transparent; border-left-color: var(--color-accent); opacity: 0.7; }
}
.pipeline__cap { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }

/* Service cards (home) */
.svc-card { display: flex; flex-direction: column; color: inherit; }
.svc-card:hover { color: inherit; }
.svc-card__more { margin-top: auto; padding-top: var(--space-5); display: inline-flex; align-items: center; gap: 4px; font-weight: var(--weight-semibold); color: var(--color-accent); font-size: var(--text-md); }

/* Service sections (services page) */
.svc { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } .svc--reverse > :first-child { order: 2; } }
.svc > * { min-width: 0; }
.svc__intro .card__icon { margin-bottom: var(--space-4); }
.svc__intro .h2 { margin-top: var(--space-1); }
.svc__solves { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--color-canvas); color: var(--color-ink-strong-2); font-size: var(--text-md); }
.section--canvas .svc__solves { background: #fff; }
.svc__uses h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.defs--wide { max-width: 52rem; margin-inline: auto; }

/* Grids */
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logo-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-4); }
@media (min-width: 768px) { .logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logo-row .ph { min-height: 72px; }
.h3-like { font-size: var(--text-xl) !important; letter-spacing: var(--tracking-title); }

/* Cost list (how it works) */
.cost-list { list-style: none; display: grid; gap: var(--space-5); }
.cost-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.cost-list .card__icon { margin: 0; }
.cost-list b { display: block; font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.cost-list span:not(.card__icon) { display: block; margin-top: 2px; color: var(--color-ink-2); font-size: var(--text-md); }

/* Next steps (beside the form) */
.next-steps { list-style: none; display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-4); }
.next-steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-ink); color: #fff; font-weight: 600; font-size: var(--text-sm); }
.next-steps b { display: block; font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.next-steps span:not(.next-steps__n) { display: block; color: var(--color-ink-2); font-size: var(--text-md); margin-top: 2px; }

/* Inquiry form */
.inquiry__title { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); }
.inquiry__sub { margin-top: 6px; color: var(--color-ink-2); }
.check-grid { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check--card { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-input); background: #fff; cursor: pointer; font-size: var(--text-md); color: var(--color-ink); transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast); }
.check--card input { width: 18px; height: 18px; margin: 0; accent-color: var(--color-accent); flex-shrink: 0; }
.check--card:hover { border-color: var(--color-ink-3); }
.check--card:has(input:checked) { border-color: var(--color-accent); background: var(--color-sky-3); box-shadow: 0 0 0 1px var(--color-accent); }
.check--card:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--color-accent-ring); }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inquiry__promise { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--text-sm); color: var(--color-ink-2); }
.inquiry__promise svg { color: var(--color-success); }
.form-status a { text-decoration: underline; }
.form .btn[disabled] { opacity: 0.7; }

/* About: team + facts */
.facts { max-width: 52rem; margin: var(--space-8) auto 0; display: grid; gap: 0; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--ring); padding: var(--space-2) var(--space-6); }
.facts div { display: grid; gap: 4px; padding: var(--space-4) 0; border-top: 1px solid var(--color-hairline); }
.facts div:first-child { border-top: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 160px 1fr; gap: var(--space-5); } }
.facts dt { font-weight: var(--weight-semibold); }
.facts dd { margin: 0; color: var(--color-ink-strong-2); }

/* Cookie notice (fixed: no layout shift) */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 440px; margin-left: auto; display: grid; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.08), var(--shadow-overlay); font-size: var(--text-md); }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.footer-link { display: inline-flex; min-height: 32px; align-items: center; padding: 0; border: 0; background: none; color: var(--color-ink-2); font-size: inherit; cursor: pointer; }
.footer-link:hover { color: var(--color-ink); }

/* Blog lead card (odd counts) */
@media (min-width: 1024px) { .posts--index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-grid .check + .check { margin-top: 0; }
.check-grid .check--card { margin: 0; }

/* Hero: workflow demo */
.wf-demo { margin: 0 auto; max-width: 480px; width: 100%; }
.wf-demo__card { padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 40px 80px -30px rgba(16, 38, 84, 0.35); }
.wf-demo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wf-demo__kicker { font-size: 12px; color: var(--color-ink-2); }
.wf-demo__title { margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.wf-demo__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--color-success-soft); color: var(--color-success); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wf-demo__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
@media (prefers-reduced-motion: no-preference) { .wf-demo__live i { animation: wf-pulse 2s ease-in-out infinite; } }
@keyframes wf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.wf-demo__list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.wf-demo__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--color-canvas); }
.wf-demo__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--color-accent-soft); color: var(--color-accent); }
.wf-demo__ico--green { background: var(--color-success-soft); color: var(--color-success); }
.wf-demo__ico--violet { background: #f1ecfd; color: #6a45d6; }
.wf-demo__txt { min-width: 0; }
.wf-demo__txt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.wf-demo__txt small { display: block; font-size: 12px; color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-demo__time { font-size: 12px; color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.wf-demo__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-hairline); font-size: 12.5px; color: var(--color-ink-2); }
.wf-demo__foot span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--color-success); font-weight: 600; }
.wf-demo__cap { margin-top: 14px; text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }

/* Departments + ROI */
.dept { display: flex; flex-direction: column; }
.dept__eg { margin-top: auto; padding-top: var(--space-5); }
.dept__eg span { display: block; padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-canvas); font-size: var(--text-sm); color: var(--color-ink-strong-2); }
.section--canvas .dept__eg span { background: var(--color-canvas); }
.roi { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .roi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.roi > * { min-width: 0; }
.roi-calc { padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); border-radius: var(--radius-xl); background: var(--gradient-night); color: var(--color-night-ink); }
.roi-calc__label { font-size: var(--text-sm); color: var(--color-night-ink-2); }
.roi-calc__rows { margin-top: var(--space-4); display: grid; gap: 10px; }
.roi-calc__row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: var(--text-md); }
.roi-calc__row b { color: #fff; font-weight: 600; white-space: nowrap; }
.roi-calc__total { margin-top: var(--space-5); }
.roi-calc__total span { display: block; font-size: var(--text-sm); color: var(--color-night-ink-2); }
.roi-calc__total b { display: block; margin-top: 4px; font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1; color: #fff; }
.roi-calc__note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--color-night-ink-2); }
@media (max-width: 520px) { .wf-demo__txt small { white-space: normal; } .wf-demo__list li { align-items: start; } }

/* Hero: single workflow (builder style) */
.wfh { margin: 0 auto; max-width: 470px; width: 100%; }
.wfh__card { padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 40px 80px -30px rgba(16, 38, 84, 0.35); }
.wfh__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wfh__kicker { font-size: 12px; color: var(--color-ink-2); }
.wfh__title { margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.wfh__nodes { list-style: none; margin-top: 16px; display: grid; gap: 14px; }
.wfh__node { position: relative; display: grid; grid-template-columns: 52px 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--color-canvas); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04); }
.wfh__node + .wfh__node::before { content: ""; position: absolute; left: 92px; top: -14px; width: 2px; height: 14px; background: var(--color-accent); opacity: 0.45; }
.wfh__node--trigger { background: var(--color-sky-2); box-shadow: inset 0 0 0 1px rgba(10,116,234,0.18); }
.wfh__node--done { background: var(--color-success-soft); box-shadow: inset 0 0 0 1px rgba(26,127,55,0.15); }
.wfh__tag { justify-self: start; padding: 3px 8px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 600; color: var(--color-ink-strong-2); box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.wfh__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--color-accent); box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.wfh__ico--meta { background: var(--color-accent); color: #fff; box-shadow: none; }
.wfh__ico--green { background: var(--color-success); color: #fff; box-shadow: none; }
.wfh__txt { min-width: 0; }
.wfh__txt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.wfh__txt small { display: block; margin-top: 1px; font-size: 12px; color: var(--color-ink-2); line-height: 1.35; }
.wfh__branches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.wfh__branches span { padding: 3px 9px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 500; color: var(--color-ink-strong-2); box-shadow: 0 0 0 1px rgba(0,0,0,0.07); white-space: nowrap; }
.wfh__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-hairline); font-size: 12.5px; font-weight: 600; color: var(--color-success); }
.wfh__foot span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 400px) {
  .wfh__node { grid-template-columns: 36px minmax(0, 1fr); }
  .wfh__tag { grid-column: 1 / -1; }
  .wfh__node + .wfh__node::before { left: 29px; }
}

/* Services: "custom, not a menu" callout */
.custom-callout { display: grid; gap: var(--space-8); align-items: center; padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); border-radius: var(--radius-xl); background: var(--gradient-sky); box-shadow: 0 0 0 1px rgba(10, 116, 234, 0.12); }
@media (min-width: 1024px) { .custom-callout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-11); } }
.custom-callout > * { min-width: 0; }
.custom-callout__steps { list-style: none; display: grid; gap: 10px; }
.custom-callout__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.custom-callout__steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-accent-soft); color: var(--color-accent); }
.custom-callout__steps b { display: block; font-size: var(--text-md); font-weight: 600; }
.custom-callout__steps small { display: block; font-size: var(--text-sm); color: var(--color-ink-2); }
.anchor-label { margin-top: var(--space-6); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-ink-2); }
.anchor-label + .anchor-nav { margin-top: var(--space-3); }
.svc__intro .card__icon { display: grid; }
.wfh__tag { min-width: 58px; text-align: center; }

/* Inquiry form: "Which areas" as clean selectable chips */
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.form-field .check-grid .check--card {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; width: auto;
  padding: 0 16px 0 14px; border-radius: var(--radius-pill);
  font-size: var(--text-md); font-weight: var(--weight-medium); line-height: 1.2; white-space: nowrap;
}
.form-field .check-grid .check--card input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
@media (max-width: 480px) {
  .form-field .check-grid .check--card { white-space: normal; padding-block: 10px; }
}
/* Areas: tidy equal-width rows */
.check-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.form-field .check-grid .check--card { display: flex; width: 100%; border-radius: var(--radius-input); white-space: normal; }

/* ---------- Forms: refreshed look (inquiry + newsletter) ---------- */
.form-card--accent { position: relative; overflow: hidden; box-shadow: var(--ring-strong), var(--shadow-float); }
.section--canvas .form-card--accent { box-shadow: var(--ring), var(--shadow-float); }
.form-card--accent::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--color-accent-brand), var(--color-cyan)); }
.form-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.form-head__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-accent-soft); color: var(--color-accent); }
.form-head__title { font-size: var(--text-2xl); letter-spacing: var(--tracking-heading); line-height: 1.15; }
.form-head__sub { margin-top: 6px; color: var(--color-ink-2); }
.form-group-label { display: flex; align-items: center; gap: 10px; padding-top: var(--space-4); border-top: 1px solid var(--color-hairline); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-2); }
.form-group-label span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-ink); color: #fff; font-size: 11px; letter-spacing: 0; }
.form-card--accent .form-field label, .form-card--accent .form-field legend { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.form-card--accent .input, .form-card--accent .select, .form-card--accent .textarea { min-height: 50px; border-color: var(--color-hairline); background-color: #fafafc; }
.form-card--accent .textarea { min-height: 140px; }
.form-card--accent .input:hover, .form-card--accent .select:hover, .form-card--accent .textarea:hover { border-color: var(--color-border); background-color: #fff; }
.form-card--accent .input:focus, .form-card--accent .select:focus, .form-card--accent .textarea:focus { background-color: #fff; border-color: var(--color-accent); }
.form-card--accent .input[aria-invalid="true"], .form-card--accent .select[aria-invalid="true"], .form-card--accent .textarea[aria-invalid="true"] { border-color: #c4291c; background-color: #fff; }
.form-card--accent .check--card { border-color: var(--color-hairline); background: #fafafc; }
.form-card--accent .check--card:hover { border-color: var(--color-border); background: #fff; }
.form-card--accent .check--card:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-soft); box-shadow: 0 0 0 1px var(--color-accent); }
.form-card--accent .btn--block { margin-top: var(--space-2); box-shadow: 0 8px 20px -8px rgba(9, 105, 212, 0.55); }
.form-promise { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; }
.form-promise svg { color: var(--color-success); flex-shrink: 0; }
.newsletter .check-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .newsletter .check-grid { grid-template-columns: 1fr 1fr; } }
.newsletter .sms-terms { font-size: var(--text-xs); }

/* ---------- Newsletter popup (lead magnet) ---------- */
.nlp [hidden] { display: none !important; }
.nlp { width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-xl); background: #fff; color: var(--color-ink); box-shadow: 0 0 0 1px rgba(0,0,0,0.06), var(--shadow-overlay); overflow: auto; opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.nlp.is-open { opacity: 1; transform: none; }
.nlp::backdrop { background: rgba(10, 11, 14, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nlp__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--color-fill); color: var(--color-ink); cursor: pointer; }
.nlp__close:hover { background: var(--color-fill-2); }
.nlp__grid { display: grid; }
.nlp__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 2.5rem); }
.nlp__eyebrow { font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.nlp__title { margin-top: 6px; padding-right: 32px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.1; letter-spacing: var(--tracking-heading); }
.nlp__sub { margin-top: var(--space-3); color: var(--color-ink-2); }
.nlp .form { margin-top: var(--space-5); gap: var(--space-4); }
.nlp .form-field label, .nlp .form-field legend { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.nlp .input { min-height: 46px; border-color: var(--color-hairline); background-color: #fafafc; }
.nlp .input:hover { border-color: var(--color-border); background-color: #fff; }
.nlp .input:focus { background-color: #fff; border-color: var(--color-accent); }
.nlp .input[aria-invalid="true"] { border-color: #c4291c; background-color: #fff; }
.nlp .check-grid { grid-template-columns: 1fr 1fr; }
.nlp .check--card { border-color: var(--color-hairline); background: #fafafc; }
.nlp .check--card:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-soft); box-shadow: 0 0 0 1px var(--color-accent); }
.nlp .sms-terms { font-size: var(--text-xs); }
.nlp .btn--block { box-shadow: 0 8px 20px -8px rgba(9, 105, 212, 0.55); }
.nlp__decline { display: block; margin: var(--space-3) auto 0; min-height: 40px; padding: 0 12px; border: 0; background: none; color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nlp__decline:hover { color: var(--color-ink); }
/* Phones: slide-up card that leaves the page usable */
.nlp--sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 85dvh; margin: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; transform: translateY(100%); opacity: 1; z-index: 70; box-shadow: 0 -12px 40px rgba(0,0,0,0.18); }
.nlp--sheet.is-open { transform: none; }
.nlp--sheet .nlp__title { font-size: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .nlp, .nlp--sheet { transition: none; } }
.nlp .form-field legend { margin-bottom: 6px; }
.nlp .check--card { min-height: 46px; }
/* Phones: a compact card first (headline + one button); the calculator opens only when tapped */
.nlp__expand { display: none; margin-top: var(--space-4); }
.nlp--sheet:not(.is-expanded) .nlp__expand { display: inline-flex; }
.nlp--sheet:not(.is-expanded) .nlp__decline { margin-top: var(--space-1); }

/* ---------- Popup: Busywork Cost Calculator ---------- */
.nlp--calc { width: min(960px, calc(100vw - 32px)); }
.nlp__head { padding: var(--space-8) clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; padding-right: 64px; }
.nlp--calc .nlp__grid { display: grid; gap: var(--space-6); padding: var(--space-6) clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
@media (min-width: 768px) { .nlp--calc .nlp__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.nlp--calc .nlp__body { padding: 0; }
.nlp--calc .nlp__decline { margin: var(--space-2) auto var(--space-4); }
.bwc { display: grid; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--color-sky-1), var(--color-sky-3) 75%); }
.bwc .form-field label, .bwc__row label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-ink); }
.bwc .input { min-height: 44px; background: #fff; border-color: rgba(0, 0, 0, 0.08); }
.bwc__row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: var(--space-3); align-items: center; }
.bwc__row .input { text-align: right; font-variant-numeric: tabular-nums; font-weight: var(--weight-semibold); }
.bwc__row .req { display: block; font-size: var(--text-xs); }
.bwc__result { display: grid; gap: 2px; margin-top: var(--space-1); padding: var(--space-4); border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 8px 24px -12px rgba(16, 24, 40, 0.25); text-align: center; }
.bwc__label { font-size: var(--text-sm); color: var(--color-ink-2); }
.bwc__cost { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--color-ink); }
.bwc__cost b { display: block; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-accent-brand); font-variant-numeric: tabular-nums; }
.bwc__meta { font-size: var(--text-sm); color: var(--color-ink-strong-2); }
.bwc__note { font-size: var(--text-xs); color: var(--color-ink-2); text-align: center; }
.nlp__form-title { font-size: var(--text-lg); letter-spacing: var(--tracking-tight); }
.nlp__form-sub { margin-top: 4px; font-size: var(--text-md); color: var(--color-ink-2); }
.nlp--calc .form { margin-top: var(--space-4); }
/* Phones: compact card first; calculator + form open on tap */
.nlp--calc.nlp--sheet { width: 100%; }
.nlp--calc.nlp--sheet .nlp__head { padding-top: var(--space-6); }
.nlp--calc.nlp--sheet:not(.is-expanded) .nlp__grid { display: none; }
.nlp--calc.nlp--sheet.is-expanded .nlp__expand { display: none; }
/* Calculator: locked until the visitor subscribes */
.bwc { position: relative; display: block; }
.bwc__fields { display: grid; gap: var(--space-3); }
.bwc [hidden], [data-gate][hidden], [data-unlocked][hidden] { display: none !important; }
.bwc.is-locked .bwc__fields { filter: blur(4px); pointer-events: none; user-select: none; }
.bwc.is-locked::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.35); }
.bwc.is-locked .bwc__lock { z-index: 2; }
.bwc__lock { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.35); font-weight: var(--weight-semibold); white-space: nowrap; }
.bwc__lock svg { color: var(--color-accent); }
.nlp--sheet .bwc.is-locked { display: none; }
.nlp__unlocked { display: grid; gap: var(--space-3); justify-items: start; }
.nlp__unlocked-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-success-soft); color: var(--color-success); }
.nlp__unlocked .btn { margin-top: var(--space-2); }
/* Calculator page */
.bwc-page { display: grid; gap: var(--space-6); max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .bwc-page { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: stretch; } }
.bwc-page .bwc { padding: var(--space-6); }
.bwc-page__next .btn { margin-top: var(--space-5); }
.bwc-page__next .bwc__note { margin-top: var(--space-3); }
.nlp .bwc__note { display: none; }
.nlp .bwc, .bwc-page .bwc { padding: var(--space-5); }
.nlp .form-row--2, .bwc-page .form-row--2 { align-items: start; }
.bwc-page .form { margin-top: var(--space-5); }
.bwc__lock svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Calculator page polish: equal-height cards, side-by-side choices, form first on phones while locked */
.bwc-page .bwc { display: grid; align-content: center; border-radius: var(--radius-xl); }
.bwc-page .check-grid { grid-template-columns: 1fr 1fr; }
.bwc-page .form-card { align-self: start; }
@media (min-width: 900px) { .bwc-page .bwc { align-self: stretch; } }
@media (max-width: 899px) { .bwc-page:has(.bwc.is-locked) .bwc { order: 2; } }
.section:has(> .container > .bwc-page) { padding-block: calc(var(--section-y) * 0.6); }
