/* ==========================================================================
   AiBizTune design system (facelift-v2, palette v2.1)
   Field: Cloud White paper, Ink Navy as ink. Dark bands: founder + footer only.
   Pine is a stamp, not an accent: eyebrows, hairline rules, links, small
   marks, and data highlights, roughly 5% of any screen. Primary CTAs are
   solid Ink Navy with paper text. Headlines are single-color navy ink.
   Display: Bricolage Grotesque. Body: Source Sans 3. Both self-hosted.
   Shades (never a third hue):
     --teal-deep   pine for small text and links (7.9:1 on Paper)
     --teal-bright pine tint for small text on Ink Navy bands (7.5:1)
     --clay        SIGNAL ONLY: notification dot, badges, gap marks.
                   Never body or small text (3.0:1 on Paper, fails).
     --clay-deep   the only clay-toned TEXT shade allowed (5.5:1 on Paper).
   Hard error states stay functional red, not clay.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-var-italic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F7F7F4;
  --card: #FFFFFF;
  --ink: #161D28;
  --ink-deep: #0E1319;
  --body-c: #3D4A55;
  --line: #D9DDE0;
  --teal: #2E5348;
  --teal-deep: #2E5348;
  --teal-bright: #8FB5A7;
  --clay: #B98269;
  --clay-deep: #8A5843;
  --red-error: #B91C1C;
  --green: #4FB286;
  --on-dark: #F7F7F4;
  --on-dark-soft: #D9DDE0;
  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  /* legacy alias: text-size-controls.js injects CSS that reads this */
  --accent-teal: #2E5348;
}

/* ---- base ------------------------------------------------------------- */

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* A-/A+ controls set --site-text-scale on <html>; all rem type follows */
  font-size: calc(100% * var(--site-text-scale, 1));
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--paper);
  overflow-x: hidden;
}
@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}
img, svg, video { max-width: 100%; height: auto; }
/* Base element rules carry a `body` prefix so they out-specify the Tailwind
   preflight reset that the widget's utility layer injects at runtime. */
body p, body ul, body ol { margin: 0 0 1.1em; }
body ul, body ol { padding-left: 1.2em; }
body a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body a:hover { color: var(--ink); }
body strong { color: var(--ink); font-weight: 700; }
.dark strong { color: var(--on-dark); }
*:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

body h1, body h2, body h3, body h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}
body h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.35rem); font-weight: 800; }
body h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.35rem); font-weight: 700; }
body h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); font-weight: 700; }
body h4 { font-size: 1.1rem; font-weight: 700; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- layout ------------------------------------------------------------ */

.container {
  width: min(100% - 44px, 1140px);
  margin-inline: auto;
}
.section { padding: 64px 0; }
.section.rule-top { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .section { padding: 88px 0; }
}
.section.dark {
  background: var(--ink-deep);
  color: var(--on-dark-soft);
}
.dark h1, .dark h2, .dark h3, .section.dark h1, .section.dark h2, .section.dark h3 { color: var(--on-dark); }
body .dark a { color: var(--teal-bright); }
body .dark a:hover { color: var(--on-dark); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 14px;
}
.dark .eyebrow, .section.dark .eyebrow { color: var(--teal-bright); }

/* Two-tone headline treatment retired 2026-07-27 per Ray's color revision:
   headlines are single-color navy ink, no teal-accented words. */

/* card-level headings that are h2 for document outline, h3 for size */
.card-title { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem); font-weight: 700; margin-bottom: 18px; }

.lede { font-size: 1.15em; max-width: 42em; }

/* asymmetric two-column pattern: text | proof */
.split {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; gap: 64px; }
  .split.flip { grid-template-columns: 6fr 6fr; }
}

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 15px 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-deep); color: var(--paper); }
.section.dark .btn-primary, .dark .btn-primary { background: var(--paper); color: var(--ink); }
.section.dark .btn-primary:hover, .dark .btn-primary:hover { background: #FFFFFF; color: var(--ink-deep); }
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-quiet:hover { border-color: var(--ink); }

/* ---- nav ---------------------------------------------------------------- */

nav.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}
nav.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo-image { display: inline-flex; align-items: center; }
.logo-image img { height: 26px; width: auto; display: block; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
}
.nav-cta:hover { background: var(--ink-deep); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
  line-height: 0;
}
@media (max-width: 820px) {
  .mobile-menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 22px;
    gap: 18px;
    box-shadow: 0 18px 30px rgba(14, 19, 25, 0.12);
  }
  .nav-links.active { display: flex; }
}

/* ---- hero ---------------------------------------------------------------- */

/* paper-first hero: the ledger field is the first thing a visitor sees */
.hero {
  background: var(--paper);
  color: var(--body-c);
  padding: 72px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 44px;
  align-items: start;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; }
  .hero { padding: 96px 0 100px; }
}
.hero h1 { color: var(--ink); max-width: 15em; }
.hero-subtitle { font-size: 1.15em; max-width: 36em; margin-bottom: 1.6em; }
.hero-microcopy { font-size: 0.9rem; margin: 14px 0 0; }
.hero-sample-link { margin-top: 26px; font-size: 0.95rem; }
.dark .hero-sample-link a { color: var(--teal-bright); }

/* quiet facts rail in the hero: dense, specific, verifiable */
.hero-facts {
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  display: grid;
  gap: 22px;
  align-content: start;
}
.hero-fact-lead {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-fact p { margin: 2px 0 0; font-size: 0.95rem; }
@media (max-width: 939px) {
  .hero-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* ---- TL;DR ---------------------------------------------------------------- */

.tldr { padding: 44px 0; border-bottom: 1px solid var(--line); }
/* Open with a pine left rule, matching the hero facts rail. No card box. */
.tldr-box {
  border-left: 3px solid var(--teal);
  padding: 4px 0 4px 24px;
}
.tldr-box .eyebrow { margin-bottom: 8px; }
.tldr-box p { margin: 0; font-size: 1.05em; max-width: 62em; }

/* ---- scenario (the problem) ---------------------------------------------- */

.scenario-card {
  background: var(--ink);
  color: var(--on-dark-soft);
  border-radius: 10px;
  padding: 26px 26px 22px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.scenario-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.scenario-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.scenario-card .mock-prompt,
.scenario-card .mock-response { margin: 0 0 14px; }
.scenario-card strong { color: var(--on-dark); }
.mock-list { list-style: none; margin: 0 0 16px; padding: 0; }
.mock-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(217, 221, 224, 0.14);
}
.mock-list li:last-child { border-bottom: 0; }
/* CSS-drawn check: no glyphs, renders identically everywhere */
.mark-ok {
  flex: none;
  width: 16px;
  height: 16px;
  position: relative;
}
.mark-ok::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.mock-warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(185, 130, 105, 0.12);
  border: 1px solid rgba(185, 130, 105, 0.55);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
/* CSS-drawn exclamation mark */
.mark-warn {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--clay);
  position: relative;
  margin-top: 2px;
}
.mark-warn::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 3px;
  width: 2px;
  height: 7px;
  background: var(--ink-deep);
}
.mark-warn::after {
  content: '';
  position: absolute;
  left: 8px;
  bottom: 3px;
  width: 2px;
  height: 2px;
  background: var(--ink-deep);
}
.mock-caption { font-size: 0.875rem; color: var(--on-dark-soft); margin: 0; }
.mock-list-stack li { align-items: flex-start; padding: 12px 0; }
.mock-list-stack .mark-warn { margin-top: 3px; }

/* feature bullet lists inside path columns (automation packages) */
.starting-features { list-style: none; margin: 14px 0 0; padding: 0; }
.starting-features li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95em;
}
.starting-features li:last-child { border-bottom: 0; }

.verify-list { list-style: none; margin: 26px 0 0; padding: 0; }
.verify-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
.verify-list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--teal);
  transform: translateY(-1px);
}

/* ---- the gap: real world vs AI view --------------------------------------- */

.contrast {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
@media (min-width: 700px) {
  .contrast { grid-template-columns: 1fr 1fr; }
}
.contrast-panel { padding: 26px 28px; }
.contrast-panel h3 {
  font-size: 0.8125rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contrast-real { background: var(--card); }
.contrast-real h3 { color: var(--teal-deep); }
.contrast-ai { background: var(--ink); }
.contrast-ai h3 { color: var(--teal-bright); }
.contrast ul { list-style: none; margin: 0; padding: 0; }
.contrast li { display: flex; gap: 11px; align-items: baseline; padding: 8px 0; }
.contrast-real li { color: var(--ink); font-weight: 600; }
.contrast-ai li { color: var(--on-dark-soft); font-weight: 600; }
.contrast-real li .mark-ok::before { border-color: var(--green); }
.contrast-real li .mark-ok, .contrast-ai li .mark-warn { transform: translateY(2px); }

/* ---- stat block (evidence pattern) ----------------------------------------- */

.stat-block { margin: 0; }
.stat-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.1rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--teal);
}
.stat-caption { font-size: 0.9rem; color: var(--body-c); margin-top: 6px; }

/* worked example / calculator */
.math-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 28px;
}
.math-card-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.math-card-row strong { font-size: 1.1em; }
.math-result { padding-top: 18px; font-weight: 600; color: var(--ink); }
.math-result-amount {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-top: 6px;
}
.math-disclaimer, .abt-stakes__note { font-size: 0.875rem; color: var(--body-c); }
.math-disclaimer { margin: 16px 0 0; }

.abt-stakes {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 32px;
}
.abt-stakes__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 10px;
}
.abt-stakes__title { margin-bottom: 8px; }
.abt-stakes__sub { font-size: 0.95em; margin-bottom: 26px; max-width: 46em; }
.abt-stakes__control { margin-bottom: 24px; }
.abt-stakes__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.abt-stakes__label { font-weight: 600; color: var(--ink); }
.abt-stakes__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-deep);
}
.abt-stakes__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--body-c);
  margin-top: 4px;
}
.abt-stakes input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  /* hard two-stop fill driven by --fill from the calculator script */
  background: linear-gradient(to right, var(--teal) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%);
  outline-offset: 4px;
}
.abt-stakes input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(14, 19, 25, 0.4);
  cursor: pointer;
}
.abt-stakes input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-deep);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(14, 19, 25, 0.4);
  cursor: pointer;
}
.abt-stakes__out {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 4px;
}
.abt-stakes__out-label { font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.abt-stakes__big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 3.7rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--teal);
}
.abt-stakes__annual { margin: 10px 0 12px; }
.abt-stakes__note { margin: 0; }
.abt-stakes__cta-wrap { margin-top: 24px; }

/* ---- path: invisible to recommended --------------------------------------- */

.path-grid { display: grid; gap: 34px; margin-top: 40px; }
@media (min-width: 760px) {
  .path-grid { grid-template-columns: repeat(3, 1fr); gap: 44px; }
}
.path-step { border-top: 3px solid var(--line); padding-top: 18px; }
.path-step.is-accent { border-top-color: var(--teal); }
.path-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.path-step h3 { margin-bottom: 6px; }
.path-step p { margin: 0; font-size: 0.98em; }

/* ---- diagnostic checklist --------------------------------------------------- */

.check-grid { display: grid; gap: 8px 48px; margin-top: 34px; }
@media (min-width: 760px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.check-item .mark-ok { transform: translateY(2px); }
.check-item .mark-ok::before { border-color: var(--teal); }
.check-item p { margin: 0; }
.check-promise { margin-top: 30px; max-width: 52em; }

/* ---- fit / who-for ----------------------------------------------------------- */

.who-for-grid { display: grid; gap: 0 48px; margin-top: 30px; }
@media (min-width: 760px) { .who-for-grid { grid-template-columns: 1fr 1fr; } }
.who-for-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
.who-for-item::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--teal);
  transform: translateY(-1px);
}
.who-for-line { margin-top: 28px; font-size: 1.1em; color: var(--ink); font-weight: 600; max-width: 40em; }

/* ---- how it works -------------------------------------------------------------- */

.steps-grid { display: grid; gap: 30px; margin-top: 40px; }
@media (min-width: 860px) { .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 36px; } }
.step-card { position: relative; padding-left: 58px; }
.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deep);
  background: var(--paper);
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step-card p { margin: 0; font-size: 0.95em; }
.steps-cta { margin-top: 44px; }

/* ---- founder --------------------------------------------------------------------- */

.founder-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .founder-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
/* a photograph, not a decoration: white mat, hairline Mist frame.
   The ray-lach-founder set is pre-cropped 3:4; no object-fit needed. */
.founder-image img {
  display: block;
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.founder-place {
  font-size: 0.875rem;
  color: var(--body-c);
  margin: 12px 0 0;
}
.dark .founder-place { color: var(--on-dark-soft); }

.callout {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  margin-top: 26px;
}
.callout.is-strong { font-weight: 700; color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
.founder-content p { max-width: 40em; }

/* ---- FAQ ---------------------------------------------------------------------------- */

.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  padding: 20px 44px 20px 0;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-question::before,
.faq-question::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--teal-deep);
  transition: transform 0.2s ease;
}
.faq-question::after { transform: rotate(90deg); }
.faq-item.active .faq-question::after { transform: rotate(0deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-answer > p {
  overflow: hidden;
  margin: 0;
  max-width: 60em;
}
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer > p { padding-bottom: 22px; }
.faq-footer { margin-top: 30px; max-width: 52em; }

/* ---- trust rail ------------------------------------------------------------------------ */

.trust-rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-rail-grid { display: grid; }
@media (min-width: 700px) { .trust-rail-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .trust-rail-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-rail-item { padding: 26px 24px 26px 0; }
@media (min-width: 1020px) {
  .trust-rail-item { border-left: 1px solid var(--line); padding-left: 24px; }
  .trust-rail-item:first-child { border-left: 0; padding-left: 0; }
}
.trust-rail-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.trust-rail-item p { margin: 0; font-size: 0.95em; }

/* ---- final CTA ---------------------------------------------------------------------------- */

.final-cta { padding-bottom: 120px; }
.final-cta h2 { max-width: 18em; }
.final-cta .lede { margin-bottom: 1.6em; }
.final-cta .microcopy { font-size: 0.9rem; margin: 14px 0 0; }
@media (max-width: 640px) {
  /* keep the primary CTA clear of the fixed Bizzy launcher */
  .final-cta { padding-bottom: 150px; }
}

/* ---- footer ---------------------------------------------------------------------------------- */

footer.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-soft);
  padding: 56px 0 40px;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 6fr 3fr 3fr; gap: 64px; } }
.footer-logo { width: min(280px, 70%); height: auto; display: block; margin-bottom: 22px; }
.footer-entity p { margin: 0 0 8px; }
.footer-entity .footer-place { color: var(--on-dark); font-weight: 600; }
footer.site-footer h3 {
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { padding: 4px 0; }
footer.site-footer a { color: var(--on-dark-soft); }
footer.site-footer a:hover { color: var(--on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(217, 221, 224, 0.18);
  margin-top: 44px;
  padding-top: 22px;
  /* Clearance for the fixed A-/A+ text-size pill (and the chat bubble): at
     full scroll the pill floats up to ~66px above the viewport bottom, so
     the copyright lines need at least that much room below them. */
  padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
}
.footer-bottom p { margin: 0; }

/* ---- site text-size controls (shared with text-size-controls.js) ---------------------------------- */

#site-text-controls {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1250;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(46, 83, 72, 0.45);
  border-radius: 999px;
  background: rgba(14, 19, 25, 0.94);
  box-shadow: 0 10px 30px rgba(14, 19, 25, 0.25);
}
#site-text-controls button {
  min-width: 42px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 29, 40, 0.95);
  color: #E0E6ED;
  font: 700 0.95rem/1 var(--sans);
  cursor: pointer;
}
#site-text-controls button:hover,
#site-text-controls button:focus-visible {
  color: #fff;
  background: var(--teal);
}
#site-text-controls button:disabled { opacity: 0.45; cursor: not-allowed; }
body.bizzy-chat-open #site-text-controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
@media (max-width: 640px) {
  #site-text-controls {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  #site-text-controls button { min-width: 40px; min-height: 36px; }
}

/* ==========================================================================
   Bizzy widget frame: positioning + responsive behavior.
   Ported verbatim from the pre-facelift inline styles. The widget's own
   wiring (ids, classes, globals) is unchanged.
   ========================================================================== */

#lumpy-chat-v2,
#booking-overlay {
  width: min(420px, calc(100vw - 32px));
  height: min(640px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  z-index: 1200 !important;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.25s ease, height 0.25s ease;
}
#lumpy-chat-v2.bizzy-expanded {
  width: min(720px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 32px));
}
#lumpy-chat-v2 #chat-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#lumpy-chat-v2 #chat-actions button {
  min-height: 44px;
  line-height: 1.2;
  white-space: normal;
}
#lumpy-chat-v2 #user-input { min-height: 54px; font-size: 16px; }
#lumpy-chat-v2 {
  --bizzy-font-scale: 1;
  --bizzy-small-size: calc(var(--bizzy-font-scale) * 12.8px);
  --bizzy-main-size: calc(var(--bizzy-font-scale) * 14px);
  --bizzy-input-size: calc(var(--bizzy-font-scale) * 16px);
}
#lumpy-chat-v2 .bizzy-small-text,
#lumpy-chat-v2 #chat-actions button { font-size: var(--bizzy-small-size) !important; }
#lumpy-chat-v2 .bizzy-name-text,
#lumpy-chat-v2 .bizzy-bubble-text { font-size: var(--bizzy-main-size) !important; }
#lumpy-chat-v2 #user-input { font-size: var(--bizzy-input-size) !important; }
#lumpy-chat-v2 .bizzy-bubble-text { line-height: 1.55; }
#lumpy-chat-v2.hidden-chat {
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}
#lumpy-chat-v2.visible-chat {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#booking-overlay.hidden-booking {
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}
#booking-overlay.visible-booking {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#booking-inline-container { overflow-y: auto; -webkit-overflow-scrolling: touch; }
#booking-inline-container iframe { width: 100% !important; min-width: 0 !important; display: block; }
#chat-bubble {
  z-index: 1210 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
#chat-bubble.bubble-hidden {
  transform: scale(0) rotate(90deg) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}
#chat-bubble.bubble-visible {
  transform: scale(1) rotate(0deg);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
#chat-bubble.bubble-visible.bubble-bounce { animation: bubble-pulse 0.6s ease; }
@keyframes bubble-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(0deg); }
}
@media (max-width: 640px), (max-height: 720px) {
  #lumpy-chat-v2,
  #booking-overlay {
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    height: min(86dvh, calc(100dvh - 24px)) !important;
    max-height: calc(100dvh - 24px) !important;
  }
  #lumpy-chat-v2.bizzy-expanded {
    top: max(8px, env(safe-area-inset-top)) !important;
    height: auto !important;
    max-height: none !important;
  }
  #chat-bubble {
    right: max(16px, env(safe-area-inset-right)) !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
}
@media (max-width: 420px) {
  #lumpy-chat-v2,
  #booking-overlay {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: min(90dvh, calc(100dvh - 8px)) !important;
    border-radius: 1rem 1rem 0 0;
  }
  #lumpy-chat-v2.bizzy-expanded {
    top: 0 !important;
    height: 100dvh !important;
  }
  #lumpy-chat-v2 > div,
  #booking-overlay > div { border-radius: 1rem 1rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-answer { transition: none; }
}

/* ==========================================================================
   Subpage components
   ========================================================================== */

/* compact paper page hero */
.page-hero {
  background: var(--paper);
  color: var(--body-c);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .page-hero { padding: 72px 0 80px; } }
.page-hero h1 { color: var(--ink); max-width: 18em; }
.page-hero .hero-subtitle { font-size: 1.15em; max-width: 36em; margin-bottom: 1.5em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-secondary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 14px 26px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.dark .btn-secondary { color: var(--on-dark); border-color: rgba(217, 221, 224, 0.45); }
.dark .btn-secondary:hover { border-color: var(--on-dark); color: var(--on-dark); }

/* service pillar: asymmetric block, facts rail left, feature list right */
.pillar {
  border-top: 3px solid var(--line);
  padding: 40px 0 48px;
  display: grid;
  gap: 30px;
}
.pillar.is-lead { border-top-color: var(--teal); }
@media (min-width: 900px) { .pillar { grid-template-columns: 5fr 7fr; gap: 64px; } }
.pillar-tagline { font-size: 1.05em; color: var(--body-c); max-width: 30em; }
.pillar-meta { margin-top: 22px; display: grid; gap: 14px; }
.pillar-meta-item {
  border-left: 2px solid var(--teal);
  padding-left: 14px;
  font-size: 0.95em;
}
.pillar-meta-item .meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.pillar-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: var(--teal);
  line-height: 1.1;
}
.pillar-features { display: grid; gap: 4px 40px; align-content: start; }
@media (min-width: 640px) { .pillar-features { grid-template-columns: 1fr 1fr; } }
.pillar-feature { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pillar-feature h4 { font-size: 1.02rem; margin-bottom: 4px; }
.pillar-feature p { margin: 0; font-size: 0.92em; }
.pillar-note { margin-top: 18px; font-size: 0.95em; }

/* add-ons: hairline rows, not a card grid */
.addon-list { margin-top: 34px; border-top: 1px solid var(--line); }
.addon-row {
  display: grid;
  gap: 6px 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .addon-row { grid-template-columns: 4fr 8fr; } }
.addon-row h3 { margin-bottom: 2px; font-size: 1.15rem; }
.addon-scope {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.addon-row p { margin: 0; font-size: 0.95em; }

/* discovery form */
.form-wrap { max-width: 760px; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 30px;
  margin-bottom: 26px;
}
.form-card h3 { margin-bottom: 18px; }
.form-card h3 .form-card-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.form-group { margin-bottom: 18px; }
.form-group > label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.required { color: var(--clay-deep); }
.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'],
.form-group input[type='url'],
.form-group input[type='number'],
.form-group textarea,
.form-group select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group textarea.short { min-height: 70px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46, 83, 72, 0.18);
}
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-option, .checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 500;
  background: var(--paper);
}
.radio-option:has(:checked), .checkbox-option:has(:checked) {
  border-color: var(--teal);
  background: rgba(46, 83, 72, 0.08);
  color: var(--ink);
}
.radio-option input, .checkbox-option input { accent-color: var(--teal-deep); }
.submit-area { text-align: left; }
.form-note { font-size: 0.875rem; margin: 12px 0 0; }
.confirmation { display: none; }
.confirmation.visible { display: block; }
.confirmation-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  position: relative;
  margin-bottom: 16px;
}
.confirmation-mark::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 13px;
  width: 18px;
  height: 9px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
#discovery-error { border-left: 3px solid var(--red-error); }

/* contact page */
.contact-grid { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 48px; } }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 32px;
}
.contact-card h3 { margin-bottom: 14px; }
.contact-email-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.contact-rule { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.btn-full { width: 100%; }
.location-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.location-tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  background: var(--card);
}
.locations-note { margin-top: 26px; max-width: 44em; }

/* long-form legal / document pages */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { margin-bottom: 1.2em; }
.prose .doc-updated { font-size: 0.9rem; color: var(--body-c); }

/* ==========================================================================
   Bizzy widget utility layer.
   Static replacement for the Tailwind Play CDN: defines exactly the utility
   classes the widget's markup and its script-generated DOM use, with the
   slate/teal palette tuned to brand navy/teal. Class names are unchanged so
   the widget's markup and JS stay untouched. Removing this block and
   restoring the CDN script tag reverts the swap.
   ========================================================================== */

/* element resets the CDN preflight used to provide, scoped to the widget */
:where(#lumpy-chat-v2, #booking-overlay) button,
:where(#chat-bubble) {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:where(#lumpy-chat-v2) input {
  margin: 0;
  border: 0;
  background: none;
  font-family: inherit;
  color: #161D28;
}
:where(#lumpy-chat-v2) input::placeholder { color: #5B6B7A; opacity: 1; }
:where(#lumpy-chat-v2, #booking-overlay, #chat-bubble) svg { display: block; }
:where(#lumpy-chat-v2, #booking-overlay) { font-family: var(--sans); }

/* layout */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.right-2 { right: 0.5rem; }
.-top-1 { top: -0.25rem; }
.-right-1 { right: -0.25rem; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.scroll-smooth { scroll-behavior: smooth; }

/* sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.max-w-\[85\%\] { max-width: 85%; }

/* spacing */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pr-12 { padding-right: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mr-3 { margin-right: 0.75rem; }

/* borders and radius */
.border { border-width: 1px; border-style: solid; border-color: #D9DDE0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-slate-700 { border-color: #D9DDE0; }
.border-slate-700\/50 { border-color: rgba(22, 29, 40, 0.15); }
.border-slate-800 { border-color: #D9DDE0; }
.border-white { border-color: #FFFFFF; }
.border-white\/5 { border-color: rgba(22, 29, 40, 0.12); }
.border-teal-500\/40 { border-color: rgba(22, 29, 40, 0.25); }
.rounded-full { border-radius: 9999px; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-tl-none { border-top-left-radius: 0; }
.rounded-tr-none { border-top-right-radius: 0; }

/* color: light ledger panel per the 2026-07-27 color revision.
   Paper panel and white bubbles, navy header bar (bg-slate-900/50 is the
   header's class), navy send/CTA elements (the teal-600 classes), teal
   reserved for the online dot and fine accents. */
.bg-slate-950 { background-color: #FFFFFF; }
.bg-slate-900 { background-color: #F7F7F4; }
.bg-slate-900\/50 { background-color: #161D28; }
.bg-slate-800 { background-color: #FFFFFF; }
.bg-slate-500 { background-color: #9AA8B4; }
.bg-teal-600 { background-color: #161D28; }
/* the online dot sits on the navy header bar; the tint keeps it visible */
.bg-teal-500 { background-color: #8FB5A7; }
.bg-teal-500\/20 { background-color: rgba(143, 181, 167, 0.22); }
.bg-red-500 { background-color: #B98269; }
.text-white { color: #FFFFFF; }
.text-slate-300 { color: #3D4A55; }
.text-slate-400 { color: #B9C8D3; }
.text-slate-500 { color: #A5B6C4; }
.text-teal-400 { color: #8FB5A7; }
.text-teal-500 { color: #161D28; }

/* typography */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-none { line-height: 1; }

/* effects */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.backdrop-blur { backdrop-filter: blur(8px); }
.transition {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.animate-pulse { animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes tw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-bounce { animation: tw-bounce 1s infinite; }
@keyframes tw-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }

/* state variants (after base classes so they win ties) */
.hover\:text-white:hover { color: #FFFFFF; }
.hover\:text-teal-400:hover { color: #2E5348; }
.hover\:bg-slate-700:hover { background-color: #ECEEEB; }
.hover\:bg-teal-500:hover { background-color: #232C3B; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-teal-400:focus { border-color: #2E5348; }
.active\:scale-95:active { transform: scale(0.95); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
@media (min-width: 640px) {
  .sm\:text-center { text-align: center; }
}
