/* ==========================================================================
   Forwardfy Capital - design system
   Zero-framework, mobile-first. Type: Clash Display + General Sans, loaded
   non-blocking from fontshare in layout.html with system-stack fallbacks.
   ========================================================================== */

:root {
  /* Brand — "Deep Navy": the blue kept, deepened off the electric cobalt.
     --navy = deep structural navy (dark blocks + heading ink);
     --blue = refined steel-blue accent (CTAs, links). */
  --navy: #1E2E52;
  --navy-800: #24406E;
  --blue: #2E6BB8;
  --blue-dark: #245A9E;
  --blue-deep: #1E4E8A;
  --sky: #EEF1F4;
  --sky-soft: #F6F7F5;
  --green: #14A06E;
  --green-dark: #14785A;
  --green-soft: #E4F4EC;
  --amber: #f59e0b;
  /* Warm orange = the primary CTA / energy pop; green = friendly accent + checks. */
  --orange: #F97316;
  --orange-dark: #E05E04;
  /* Darker orange for text on light backgrounds (eyebrows/kickers) - better
     contrast than the raw button orange, still reads as the same accent. */
  --orange-ink: #C2571A;
  /* Light-green pop for accents on the dark green band. */
  --on-dark: #BEE6D5;
  /* Light hero band (heroes are light now, dark text). */
  --hero-bg: #F4F6F3;

  /* Neutrals — white canvas, graphite-navy ink */
  --ink: #17202E;
  --slate: #5C6672;
  /* Warm ledger hairline (not blue-grey) - a statement/ruled-paper line, not a UI border. */
  --line: #DCD9CE;
  --bg: #FFFFFF;
  /* Feedback states (was hardcoded var(--error) / var(--error-soft) across form + upload rules) */
  --error: #DC2626;
  --error-soft: #FDE8E8;

  /* Type scale (fluid) */
  --fs-900: clamp(2.1rem, 1.4rem + 3.2vw, 3.4rem);
  --fs-800: clamp(1.7rem, 1.25rem + 2vw, 2.5rem);
  --fs-700: clamp(1.35rem, 1.15rem + 1vw, 1.75rem);
  --fs-600: 1.2rem;
  --fs-500: 1.06rem;
  --fs-400: 1rem;
  --fs-300: 0.9rem;
  --fs-200: 0.8rem;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -14px rgba(20, 34, 56, 0.13);
  --shadow-soft: 0 4px 16px -9px rgba(20, 34, 56, 0.09);
  --container: 1140px;
  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Clash Display", "General Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { vertical-align: middle; max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.14;
  margin: 0 0 0.55em;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem; top: -3.5rem;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.5rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: var(--fs-400);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

/* Navy label on the brand orange: white on #F97316 fails WCAG AA (~2.8:1);
   navy #1E2E52 on #F97316 is ~5:1. Hover keeps the same fill (darkening the
   orange would drop navy back below AA) and gives feedback via a lifted shadow. */
.btn-accent { background: var(--orange); color: var(--navy); box-shadow: var(--shadow-soft); }
.btn-accent:hover { background: var(--orange); color: var(--navy); box-shadow: var(--shadow); }
/* Press feedback only - hover transforms stay dead per the Statement refresh. */
.btn:active { transform: translateY(1px); }

.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.btn-outline:hover { background: var(--sky); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
/* .btn-ghost is tuned for dark bands (cta-band, sticky-cta). Every page's
   hero is a light band now, and it's the standard hero secondary button
   (e.g. "Call ..."), so give it the inverse there instead of white-on-white. */
.hero .btn-ghost, .page-hero .btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover {
  background: rgba(30, 46, 82, 0.08);
  color: var(--navy);
}

.btn-lg { padding: 0.95rem 2rem; font-size: var(--fs-500); }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Topbar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: #cdd9f3;
  font-size: var(--fs-200);
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-block; padding: 0.55rem 0.35rem; margin: -0.45rem -0.1rem; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.42rem;
}
.topbar p { margin: 0; }
@media (max-width: 720px) {
  .topbar-hours { display: none; }
  .topbar-inner { justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
/* Wordmark set in the site's display face (same as headings) at its regular
   display weight - reads as part of the type system instead of a heavier,
   older-looking bold that fought the rest of the header. */
.brand-name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--slate);
}
.brand-invert .brand-name { color: #fff; }
.brand-invert .brand-sub { color: var(--on-dark); }

/* Nav */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a, .nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-300);
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.site-nav a:hover, .nav-drop-btn:hover { background: var(--sky); color: var(--blue-deep); }
.site-nav a[aria-current="page"] { color: var(--blue-deep); background: var(--sky); }

.nav-phone a { color: var(--blue-deep); white-space: nowrap; }
.nav-cta a.btn { padding: 0.6rem 1.25rem; font-size: var(--fs-300); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.4rem !important;
  display: none !important;
  flex-direction: column;
  align-items: stretch;
}
.has-dropdown.open .dropdown { display: flex !important; }
.dropdown li { width: 100%; }
.dropdown a { display: block; width: 100%; padding: 0.55rem 0.75rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.18s ease, opacity 0.18s ease;
  content: "";
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem 1.1rem;
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .site-nav a, .nav-drop-btn { width: 100%; justify-content: space-between; padding: 0.7rem 0.75rem; font-size: var(--fs-400); }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--sky);
    border-radius: 0;
    margin-left: 0.6rem;
  }
  .nav-cta { margin-top: 0.5rem; }
  .nav-cta a.btn { width: 100%; padding: 0.85rem; font-size: var(--fs-400); }
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { background: var(--sky-soft); border-bottom: 1px solid var(--line); font-size: var(--fs-200); }
.breadcrumbs ol { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0.5rem 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--slate); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--hero-bg);
  color: var(--ink);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero h1 { color: var(--navy); margin-bottom: 0.4em; }
.hero .lede { font-size: var(--fs-500); max-width: 34rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-200);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 1rem;
}
/* A rule bar was tried here and read as a stray "-" on screen (the same
   failure an inline dash glyph hit in an even earlier pass) - removed. */

.hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.3rem 0 0; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: var(--fs-300); color: var(--ink); }
.hero-points svg { color: var(--green); flex: none; }

/* Quick-start card */
.quickstart {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(2, 8, 26, 0.55);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.quickstart h2 { font-size: var(--fs-600); margin-bottom: 0.25rem; }
.quickstart .sub { color: var(--slate); font-size: var(--fs-300); margin-bottom: 1.1rem; }
.quickstart .field { margin-bottom: 1rem; }
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: var(--fs-200);
  color: var(--slate);
  margin: 0.8rem 0 0;
  text-align: center;
}
.trust-line svg { color: var(--green); flex: none; }

/* Need-based entry chips (homepage strip under the hero) */
.needs-strip { background: var(--sky-soft); border-bottom: 1px solid var(--line); }
.needs-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem 0.15rem;
  padding-block: 0.85rem;
}
.needs-label { font-weight: 800; font-size: var(--fs-300); color: var(--navy); margin-right: 0.35rem; }
.need-chip {
  display: inline-block;
  padding: 0.3rem 0.2rem;
  border: 0;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--slate);
  font-weight: 600;
  font-size: var(--fs-300);
  text-decoration: none;
  box-shadow: none;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.need-chip:hover { color: var(--orange-ink); border-color: var(--orange-ink); }
.need-chip + .need-chip::before { content: "\00b7"; display: inline-block; color: var(--line); font-weight: 400; margin: 0 0.65rem 0 -0.05rem; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 4.75rem); }
.section-alt { background: var(--sky-soft); }
/* Stats band - a ledger summary line (paper + hairline rules), not a solid
   dark-color block; the numbers do the persuading, not the fill color. */
.section-stats {
  background: var(--hero-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 46rem; margin-inline: auto; text-align: center; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
/* Global so standalone eyebrows (product/industry "Are we a match?" sections)
   get the same treatment without a copy-pasted inline style on each span. */
.kicker {
  display: block;
  font-size: var(--fs-200);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-head .lede { color: var(--slate); font-size: var(--fs-500); }

/* Grids + cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Centered 2-col grid: extracted from a style="align-items:center; gap:2.5rem;"
   that was hand-copied onto 20 grid-2 elements across product/industry pages. */
.grid-2-center { align-items: center; gap: 2.5rem; }

/* A plain content-grid tile: no border/shadow at rest (a transparent border
   keeps the hover border-color transition from shifting layout). Reserve the
   boxed treatment below for genuinely self-contained/interactive modules. */
.card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; transition: background 0.14s ease, border-color 0.14s ease; }
a.card:hover { background: var(--sky-soft); border-color: var(--blue); }
.card-link { margin-top: auto; font-weight: 700; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 0.3rem; }
a.card:hover .card-link { text-decoration: underline; }

/* Narrow, centered card: the email-capture + qualify modules were each carrying
   an inline style="max-width:560px; margin-inline:auto;" (17 copies). */
.card-narrow { max-width: 560px; margin-inline: auto; }

/* Ruled "ledger" grid - opt-in anchor for card grids that read as floating
   text at rest: the grid's own background shows through 1px gaps as hairline
   dividers, closed by top/bottom rules. Tiles go square so the rules meet
   cleanly; keep the default gap (and the transparent cards) everywhere else. */
.grid-ruled { gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-ruled > .card { background: var(--bg); border-radius: 0; }
/* Ruled grids must fill their rows, or the container background paints the
   empty cells solid. The guards below make a partial final row's last card
   span the remaining columns at every breakpoint, so any card count is safe. */
@media (min-width: 640px) and (max-width: 979.98px) {
  .grid-ruled > .card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (min-width: 980px) {
  .grid-3.grid-ruled > .card:last-child:nth-child(3n + 1) { grid-column: span 3; }
  .grid-3.grid-ruled > .card:last-child:nth-child(3n + 2) { grid-column: span 2; }
  .grid-4.grid-ruled > .card:last-child:nth-child(4n + 1) { grid-column: span 4; }
  .grid-4.grid-ruled > .card:last-child:nth-child(4n + 2) { grid-column: span 3; }
  .grid-4.grid-ruled > .card:last-child:nth-child(4n + 3) { grid-column: span 2; }
}
.section-alt .grid-ruled > .card { background: var(--sky-soft); }
.section-alt .grid-ruled > a.card:hover { background: var(--sky); }

/* Self-contained interactive/quote modules keep the boxed look .card just
   dropped: the qualify estimator, testimonial quotes, About's value/team
   cards, and the funding-estimate quiz. */
.value-card, .team-card, .quote-card, .qualify-card, .quiz-card, .contact-card {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.icon-circle {
  width: 48px; height: 48px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.icon-circle.green { background: var(--green-soft); color: var(--green-dark); }

/* Numbered steps - a flush ledger numeral instead of a circular badge
   overlapping a bordered card; the card wall drops for this one grid since
   the sequence itself (1/2/3) already carries the structure. */
.step-card {
  position: static;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 0 0.3rem;
}
.step-num {
  position: static;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--orange-ink);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.steps { margin-top: 2.2rem; position: relative; }
/* One continuous rail across the sequence: bridges the gaps between the
   step-cards' own top rules (same 1px, same y) so 1/2/3 reads as one
   connected process instead of three floating fragments. */
@media (min-width: 640px) {
  .steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
}

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.7rem; }
.check-list svg { color: var(--green); flex: none; margin-top: 0.22rem; }

/* Stats band */
.stats { display: grid; gap: 1.75rem; grid-template-columns: repeat(2, 1fr); text-align: center; padding-block: 1.9rem; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-size: var(--fs-700);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
}
.stat-value .accent { color: var(--orange-ink); }
.stat-label {
  display: block;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* Testimonials */
.quote-card { position: relative; height: 100%; }
.quote-card blockquote { margin: 0 0 1rem; font-size: var(--fs-500); color: var(--ink); }
.quote-card blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: 0.6; color: var(--blue); margin-bottom: 0.65rem; font-family: Georgia, serif; }
.quote-attr { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.quote-attr strong { color: var(--navy); display: block; line-height: 1.2; }
.quote-attr span { color: var(--slate); font-size: var(--fs-300); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: var(--fs-300); margin-bottom: 0.5rem; }

/* FAQ accordion (native <details> - works with JS disabled, crawlable) */
.faq-list { max-width: 50rem; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--fs-500); margin: 0; }
.faq-chevron { flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform 0.18s ease; margin-top: -4px; }
.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 4px; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--slate); }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #dbe6fb;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #dbe6fb; max-width: 38rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.4rem; }
.cta-note { font-size: var(--fs-200); color: #c4d4f4; margin: 1rem 0 0; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--hero-bg);
  color: var(--ink);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { color: var(--navy); max-width: 46rem; }
.page-hero .lede { font-size: var(--fs-500); max-width: 42rem; color: var(--slate); }
.page-hero .cta-actions { justify-content: flex-start; margin-top: 1.5rem; }
.page-hero .trust-line { justify-content: flex-start; color: var(--slate); }
.page-hero .trust-line svg { color: var(--green); }

/* Statement dot-grid texture, generalized from the About hero (the one proven
   texture in the system): static CSS, zero requests, masked to fade before
   content density rises. The About page's own scoped rule overrides this with
   identical values, so it composes rather than doubles. */
.hero, .page-hero { position: relative; }
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 46, 82, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  pointer-events: none;
}
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }

/* Hero photo prints ("desk stack"): real business-scene photography as
   physical prints on the ledger. Industry pages carry a two-print stack,
   product pages a single larger print. Desktop-only ornament: hidden below
   900px, and loading="lazy" means phones never fetch the images. Captions
   describe the scene or trade only, never a person's identity (YMYL rule). */
.page-hero .hero-cols { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero .hero-cols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero-prints { position: relative; display: none; }
@media (min-width: 900px) { .hero-prints { display: block; justify-self: center; } }
.print {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 9px 9px 34px;
  margin: 0;
}
.print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.print figcaption { position: absolute; bottom: 9px; left: 13px; font-size: var(--fs-200); color: var(--slate); font-weight: 600; }
.print-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 54px;
  height: 16px;
  background: var(--orange);
  opacity: 0.85;
  border-radius: 2px;
  z-index: 2;
}
.hero-prints.stack { width: 306px; height: 268px; }
.hero-prints.stack .print { position: absolute; width: 184px; height: 226px; }
.hero-prints.stack .print:first-of-type { left: 0; top: 30px; transform: rotate(-5deg); }
.hero-prints.stack .print:last-of-type { right: 0; top: 0; transform: rotate(3.5deg); }
.hero-prints.solo { width: 296px; }
.hero-prints.solo .print { position: relative; height: 396px; transform: rotate(-2.5deg); }

/* Prints grow once the hero column can actually hold them - the 900px sizes
   were tuned to the narrowest two-column hero and read small on real desktops. */
@media (min-width: 1100px) {
  .hero-prints.stack { width: 368px; height: 322px; }
  .hero-prints.stack .print { width: 222px; height: 272px; }
  .hero-prints.solo { width: 352px; }
  .hero-prints.solo .print { height: 470px; }
}

/* Variant: collage - one large print with a smaller one pinned over its
   lower-left corner. Same ingredients as the stack, different geometry, so
   the industry/product heroes stop repeating one identical layout. */
.hero-prints.collage { width: 330px; height: 400px; }
.hero-prints.collage .print { position: absolute; }
.hero-prints.collage .print:first-of-type { top: 0; right: 0; width: 252px; height: 322px; transform: rotate(1.8deg); }
.hero-prints.collage .print:last-of-type { left: 0; bottom: 0; width: 152px; height: 186px; transform: rotate(-5deg); z-index: 2; }
@media (min-width: 1100px) {
  .hero-prints.collage { width: 408px; height: 470px; }
  .hero-prints.collage .print:first-of-type { width: 308px; height: 392px; }
  .hero-prints.collage .print:last-of-type { width: 180px; height: 220px; }
}

/* Variant: strip - three prints in a loose contact-sheet row, middle one
   riding high. Needs the widest hero column, so it only appears >= 1100px
   (stays hidden in the narrow 900-1100px two-column window). */
.hero-prints.strip { display: none; }
@media (min-width: 1100px) {
  .hero-prints.strip { display: flex; gap: 14px; align-items: flex-start; width: auto; }
  .hero-prints.strip .print { width: 146px; height: 188px; flex: none; }
  .hero-prints.strip .print:nth-of-type(1) { transform: rotate(-4deg); margin-top: 28px; }
  .hero-prints.strip .print:nth-of-type(2) { transform: rotate(1.5deg); }
  .hero-prints.strip .print:nth-of-type(3) { transform: rotate(3.5deg); margin-top: 38px; }
}

/* Variant: mini - a single smaller print for text-heavy heroes (calculators,
   utility pages) where the photo is seasoning, not the headline. */
.hero-prints.mini { width: 252px; }
.hero-prints.mini .print { position: relative; height: 322px; transform: rotate(-2.5deg); }
@media (min-width: 1100px) {
  .hero-prints.mini { width: 288px; }
  .hero-prints.mini .print { height: 366px; }
}

/* Photo interlude ("photo-break"): a loose row of prints used as a breather
   band between dense sections (calculator -> prose, etc.). Hidden on phones
   so small screens never pay for ornament images (loading="lazy" everywhere). */
.photo-break { display: none; }
@media (min-width: 700px) {
  .photo-break {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.2rem, 3.5vw, 2.8rem);
    padding-block: 0.6rem 1.4rem;
  }
  .photo-break .print { position: relative; width: clamp(150px, 18vw, 198px); flex: none; }
  .photo-break .print img { aspect-ratio: 4 / 5; }
  .photo-break .print:nth-child(odd) { transform: rotate(-3deg); }
  .photo-break .print:nth-child(even) { transform: rotate(2.4deg); margin-top: 20px; }
}

/* Rail prints: small prints pinned in the outer page margins on very wide
   viewports, where long content runs otherwise leave two empty white rails.
   Positioned off page-center so they hug the container at any width >= 1500px;
   below that the margin is too thin and they simply don't exist. Decorative
   only: empty alt + aria-hidden, lazy images. */
.rail-host { position: relative; }
.rail-host > .container { position: relative; z-index: 1; }
.rail-print { display: none; }
@media (min-width: 1500px) {
  .rail-print { display: block; position: absolute; width: 168px; z-index: 0; margin: 0; }
  .rail-print img { aspect-ratio: 4 / 5; }
  .rail-print.rail-left { left: calc(50% - 740px); transform: rotate(-2.5deg); }
  .rail-print.rail-right { right: calc(50% - 740px); transform: rotate(2.5deg); }
  .rail-print.rail-t { top: 4rem; }
  .rail-print.rail-m { top: 42%; }
  .rail-print.rail-b { bottom: 5rem; }
}

/* Article heroes read as light + editorial, not the flat navy block. */
body.page-article .page-hero { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
body.page-article .page-hero::after { content: none; }
body.page-article .page-hero h1 { color: var(--navy); }
body.page-article .page-hero .lede { color: var(--slate); }
body.page-article .page-hero .eyebrow { color: var(--blue-dark); }

/* Longform content (guides, legal) */
/* Centered by default: standalone prose runs used to sit left-pinned in the
   full container, leaving a dead right gutter (several pages patched it with
   inline margins - now the class does it). */
.prose { max-width: 50rem; margin-inline: auto; }
/* Anchored article headings clear the sticky header. Replaces a hand-repeated
   inline style="scroll-margin-top:5.5rem;" (89 copies in the glossary alone). */
body.page-article h2[id], body.page-article h3[id], body.page-article h4[id] { scroll-margin-top: 5.5rem; }
.prose h2 { font-size: var(--fs-700); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: 0.45em; }
.prose .callout {
  background: var(--sky);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* Mid-article CTA strip: one sentence + one action, hairline-ruled so it reads
   as part of the page's ledger lines, not a banner. Shared by all resource articles. */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0.2rem;
  margin: 2.2rem 0;
}
.cta-inline p { margin: 0; color: var(--slate); font-size: var(--fs-300); max-width: 34rem; }
.cta-inline p strong { color: var(--ink); }
.cta-inline .btn { flex: none; }

/* "Talk to a real person" strip - the nameless human module: icon avatars +
   the fact that a person answers the phone. Once per page, max. */
.talk-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0.2rem;
  margin: 2.4rem auto 0;
  max-width: 50rem;
}
.talk-avatars { display: flex; flex: none; }
.talk-avatars span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid var(--bg);
}
.talk-avatars span + span { margin-left: -10px; }
.talk-avatars span:nth-child(1) { background: var(--navy); }
.talk-avatars span:nth-child(2) { background: var(--navy-800); }
.talk-avatars span:nth-child(3) { background: var(--orange); }
.talk-body { flex: 1 1 16rem; }
.talk-body p { margin: 0; }
.talk-head { font-weight: 700; color: var(--ink); }
.talk-sub { font-size: var(--fs-300); color: var(--slate); }
.talk-strip .btn { flex: none; }

/* Honest asterisk: the compliance caveat as a visible voice device - an
   orange ref on the claim, resolved by a hairline-topped note. Max 2/page. */
.fn-ref { color: var(--orange-ink); font-weight: 700; text-decoration: none; }
.footnote {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 0.8rem;
  font-size: var(--fs-200);
  color: var(--slate);
}
.footnote .fn-ref { margin-right: 0.35rem; }

/* Same-day timeline: three day-part nodes on a hairline rail that draws in
   once - the site's single reveal-draw moment. Day-parts only, never clock
   times. No-JS and reduced-motion visitors see the finished line. */
.timeline-strip { position: relative; display: grid; gap: 1.5rem; margin-top: 2.2rem; }
.timeline-rail { display: none; }
.timeline-node { position: relative; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.timeline-dot {
  position: absolute;
  left: -7px;
  top: 0.15rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg);
}
.timeline-node strong { display: block; color: var(--navy); font-family: var(--font-display); margin-bottom: 0.2rem; }
.timeline-node p { margin: 0; font-size: var(--fs-300); color: var(--slate); }
@media (min-width: 640px) {
  .timeline-strip { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .timeline-node { border-left: 0; padding-left: 0; padding-top: 1.6rem; }
  .timeline-dot { left: 0; top: 0; }
  .timeline-rail { display: block; position: absolute; top: 6px; left: 6px; right: 6px; height: 2px; }
  .timeline-rail path { stroke: var(--line); stroke-width: 2; fill: none; }
  /* Draw-in, gated exactly like .reveal: the start state exists only while
     the reveal JS runs; is-visible (or the 2s failsafe) completes the line. */
  html.has-reveal-js .timeline-strip .timeline-rail path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  }
  html.has-reveal-js .timeline-strip.is-visible .timeline-rail path { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.has-reveal-js .timeline-strip .timeline-rail path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
}

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-300); }
.compare th, .compare td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare tbody tr:nth-child(even) { background: var(--sky-soft); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* Badges */
.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.35rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: var(--fs-300);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.tp-badge:hover { border-color: var(--blue); color: var(--blue-deep); }

.badge-soft {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: var(--fs-200);
  font-weight: 700;
  padding: 0.25rem 0.8rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.05rem; }
.field label { font-weight: 700; font-size: var(--fs-300); color: var(--navy); }
.field .hint { font-size: var(--fs-200); color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 107, 184, 0.18);
}
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field .error { display: none; color: var(--error); font-size: var(--fs-200); font-weight: 600; }
.field.invalid .error { display: block; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-300); color: var(--slate); margin-bottom: 1rem; }
.consent input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; flex: none; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  max-width: 660px;
  margin-inline: auto;
}

/* Apply-page layout: the form plus a slim sticky trust rail that fills the
   empty desktop flanks with the approved claims (phone, hours, security,
   what's needed when). The rail only exists at widths where the flank does. */
.form-layout { display: grid; gap: 2rem; }
.form-aside { display: none; }
@media (min-width: 1100px) {
  .form-layout { grid-template-columns: minmax(0, 660px) 320px; justify-content: center; align-items: start; }
  .form-layout > .form-card { width: 100%; margin-inline: 0; }
  .form-aside { display: block; position: sticky; top: 5.5rem; }
}
.form-aside .contact-card { padding: 1.5rem; }
.form-aside h2 { font-size: var(--fs-600); margin-bottom: 0.75rem; }
.form-aside ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.form-aside li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-300); color: var(--slate); padding: 0.55rem 0; border-top: 1px solid var(--line); }
.form-aside li:first-child { border-top: 0; padding-top: 0; }
.form-aside li svg { color: var(--green); flex: none; margin-top: 0.15rem; }
.form-aside .aside-phone { font-size: var(--fs-500); font-weight: 800; text-decoration: none; }

/* Multi-step */
.progress { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.6rem; }
.progress-step { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; align-items: center; font-size: var(--fs-200); color: var(--slate); font-weight: 600; }
.progress-bar { width: 100%; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-step.active .progress-bar::after,
.progress-step.done .progress-bar::after { content: ""; display: block; height: 100%; background: var(--blue); }
.progress-step.active { color: var(--blue-deep); }
.progress-step.done { color: var(--green-dark); }

.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: var(--fs-600); }
fieldset.form-step, fieldset.opt-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step > legend, .opt-field > legend { padding: 0; }

/* Tap-button option pills (radio groups styled as buttons - one tap per answer) */
.opt-legend { font-weight: 700; font-size: var(--fs-300); color: var(--navy); margin-bottom: 0.15rem; }
.opt-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
@media (max-width: 430px) { .opt-pills { grid-template-columns: 1fr; } }
.opt-pill { position: relative; display: block; margin: 0; }
.opt-pill input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.opt-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 0.72rem 0.6rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 600;
  font-size: var(--fs-300);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.opt-pill:hover span { border-color: var(--blue); background: var(--sky-soft); }
.opt-pill input:checked + span {
  border-color: var(--blue);
  background: var(--sky);
  color: var(--blue-deep);
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(46, 107, 184, 0.18);
}
.opt-pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field.invalid .opt-pill span { border-color: var(--error); }

/* Live estimate above the application steps (shares .qualify-result styling) */
.apply-estimate { margin: -0.4rem 0 1.4rem; }

/* Pre-answered question (previous-page click or saved session) shown as a
   confirmation chip with a link-style "Change" button instead of pills */
.opt-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin: 0.1rem 0 0; }
.opt-summary-label { font-size: var(--fs-300); font-weight: 600; color: var(--slate); }
.opt-summary-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.05rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: var(--fs-300);
  line-height: 1.35;
}
.opt-summary-value::before { content: "✓"; color: var(--green); font-weight: 800; }
.opt-change {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  background: none;
  border: 0;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font: inherit;
  font-size: var(--fs-300);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.opt-change:hover { color: var(--blue); background: var(--sky-soft); }
.opt-change:active { background: var(--sky); }
.step-actions { display: flex; gap: 0.75rem; margin-top: 1.3rem; }
.step-actions .btn { flex: 1; }
.btn-back { background: var(--sky-soft); border-color: var(--line); color: var(--slate); }
.btn-back:hover { background: var(--sky); }

.form-msg { font-size: var(--fs-300); font-weight: 600; margin: 0.6rem 0 0; }
.form-msg.ok { color: var(--green-dark); }
.form-msg.err { color: var(--error); }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .icon-circle { margin-inline: auto; width: 64px; height: 64px; border-radius: 50%; }

/* Honeypot - hide from humans, leave in DOM for bots */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* Secure upload center - dropzone */
.dz-field { margin-bottom: 0.85rem; }
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: clamp(1.4rem, 5vw, 2.1rem) 1.1rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--sky-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.dropzone:hover { border-color: var(--blue); background: var(--sky); }
.dropzone:focus-within,
.dropzone.dragover {
  border-color: var(--blue);
  border-style: solid;
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(46, 107, 184, 0.22);
}
/* File input stays in the DOM and keyboard/AT focusable, just visually hidden */
.dz-input {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; border: 0;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.dz-icon { color: var(--blue); margin-bottom: 0.1rem; }
.dz-primary { font-weight: 700; color: var(--navy); }
.dz-hint { font-size: var(--fs-200); color: var(--slate); }
.dz-trust {
  display: flex; align-items: flex-start; gap: 0.4rem;
  font-size: var(--fs-200); color: var(--slate); line-height: 1.45;
  margin: 0.55rem 0 0;
}
.dz-trust svg { color: var(--green); flex: none; margin-top: 0.25rem; }

/* Secure upload center - selected file list */
.up-list { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.up-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: var(--fs-300); padding: 0.5rem 0.7rem; margin-bottom: 0.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.up-file-icon {
  flex: none; width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.up-file-icon.pdf { background: var(--error-soft); color: var(--error); }
.up-file-icon.img { background: var(--sky); color: var(--blue-deep); }
.up-file-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.up-file-name { font-weight: 600; color: var(--ink); word-break: break-word; }
.up-file-size { font-size: var(--fs-200); color: var(--slate); }
.up-remove {
  flex: none; font: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer;
  background: none; border: 0; color: var(--slate); padding: 0.2rem 0.5rem; border-radius: 6px;
  transition: color 0.12s ease, background 0.12s ease;
}
.up-remove:hover { color: var(--error); background: var(--error-soft); }
.up-remove:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Secure upload center - running total meter */
.up-meter { margin: 0 0 1.05rem; }
.up-meter-row { display: flex; justify-content: space-between; font-size: var(--fs-200); color: var(--slate); margin-bottom: 0.35rem; }
.up-meter-label { font-weight: 600; }
.up-meter-track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.up-meter-fill { display: block; height: 100%; width: 0; background: var(--green); border-radius: 3px; transition: width 0.2s ease, background 0.2s ease; }
.up-meter.near .up-meter-fill { background: var(--amber); }
.up-meter.near .up-meter-label { color: #b45309; }

/* Secure upload center - per-submission progress */
.up-send { margin: 0.75rem 0 0; }
.up-send-track { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.up-send-fill { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 4px; transition: width 0.25s ease; }

/* Newsletter (footer) */
.newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 170px;
  font: inherit;
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.newsletter input::placeholder { color: #9fb3da; }
.newsletter .btn { padding: 0.62rem 1.2rem; font-size: var(--fs-300); }

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */
.calc-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 880px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-output {
  background: var(--navy);
  color: #dbe6fb;
  border-radius: var(--radius);
  padding: 1.8rem;
}
.calc-output h3 { color: #fff; }
.calc-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--fs-300); }
.calc-row:last-of-type { border-bottom: 0; }
.calc-row strong { color: #fff; font-size: var(--fs-500); }
.calc-row .big { font-size: var(--fs-700); font-weight: 800; color: var(--on-dark); }
/* Muted footnote inside the navy calc/result panels (replaces the inline
   color styles the tool pages used to carry). */
.calc-note { margin-top: 1rem; color: #9fb3da; }
.range-val { font-weight: 800; color: var(--blue-deep); }
input[type="range"] { width: 100%; accent-color: var(--blue); }

/* --------------------------------------------------------------------------
   Qualification estimator ("Do we match?")
   -------------------------------------------------------------------------- */
.qualify-card .field { margin-bottom: 0.8rem; }
.qualify-result {
  background: var(--navy);
  border-radius: var(--radius-sm);
  color: #c4d4f4;
  padding: 1.1rem 1.3rem;
  margin: 1.1rem 0;
  text-align: center;
}
.qualify-result .label { font-size: var(--fs-200); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.qualify-result .range {
  display: block;
  font-size: var(--fs-700);
  font-weight: 800;
  color: var(--on-dark);
  line-height: 1.2;
  margin: 0.25rem 0;
}
.qualify-result .note { font-size: var(--fs-200); margin: 0.35rem 0 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #b9c8e8;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  margin-top: 0;
  font-size: var(--fs-300);
}
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; } }
.footer-brand p { margin-top: 1rem; max-width: 21rem; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h2 { color: #fff; font-size: var(--fs-300); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #b9c8e8; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-news p { margin-bottom: 0.8rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #cdd9f3;
}
.footer-social a:hover { background: var(--blue); color: #fff; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: var(--fs-200);
  color: #8da3cf;
  max-width: 100%;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 4.6rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.footer-bottom a { color: #b9c8e8; }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 1021px) { .footer-bottom { padding-bottom: 1.5rem; } }

/* --------------------------------------------------------------------------
   Sticky mobile CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem clamp(0.8rem, 3vw, 1.2rem) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(30, 46, 82, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 -8px 24px rgba(2, 8, 26, 0.35);
}
.sticky-cta .btn { flex: 1; padding: 0.7rem 0.5rem; font-size: var(--fs-300); }
@media (min-width: 1021px) { .sticky-cta { display: none; } }
.page-apply .sticky-cta { display: none; }
@media (max-width: 1020px) { .page-apply .footer-bottom { padding-bottom: 1.5rem; } }

/* --------------------------------------------------------------------------
   Cookie notice
   -------------------------------------------------------------------------- */
.cookie-note {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 95;
  max-width: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  font-size: var(--fs-200);
}
.cookie-note p { margin: 0 0 0.7rem; color: var(--slate); }
.cookie-note .btn { padding: 0.45rem 1.1rem; font-size: var(--fs-200); }
@media (max-width: 1020px) {
  .cookie-note { bottom: calc(4.6rem + env(safe-area-inset-bottom)); left: 0.8rem; right: 0.8rem; max-width: none; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-200); }

/* Article byline dates - rendered by build.js from the Article schema */
.article-dates {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--slate);
}

/* "Link to this tool" reference card: an SEO backlink helper for publishers,
   tucked below the FAQ and collapsed so it reads as an aside, not a code dump. */
.embed-card { max-width: 50rem; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sky-soft); }
.embed-card > summary { cursor: pointer; padding: 0.85rem 1.1rem; list-style: none; display: flex; align-items: baseline; gap: 0.6rem; }
.embed-card > summary::-webkit-details-marker { display: none; }
.embed-card > summary::after { content: "\25B8"; margin-left: auto; align-self: center; color: var(--slate); transition: transform 0.2s ease; }
.embed-card[open] > summary::after { transform: rotate(90deg); }
.embed-card-eyebrow { font-size: var(--fs-200); text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); font-weight: 700; }
.embed-card-title { font-weight: 600; color: var(--ink); }
.embed-card-body { padding: 0 1.1rem 1.1rem; }
.embed-snippet { background: var(--bg); color: var(--slate); padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; font-size: var(--fs-200); margin: 0.4rem 0 0; }
.embed-card-actions { margin: 0.75rem 0 0; text-align: right; }

/* --------------------------------------------------------------------------
   About Us - bold, animated page treatment
   Everything below is scoped under body.page-about so it never touches
   any other page. Motion is opt-in (see .has-reveal-js gating) and every
   animation/transition is killed globally by the existing
   prefers-reduced-motion rule near the top of this file.
   -------------------------------------------------------------------------- */

/* Hero: layered animated gradient mesh + dot grid, no images, no JS required */
body.page-about .about-hero { position: relative; overflow: hidden; }
body.page-about .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 46, 82, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
  pointer-events: none;
}
body.page-about .about-hero .hero-mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
body.page-about .about-hero .hero-mesh span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
body.page-about .about-hero .hero-mesh span:nth-child(1) {
  width: 420px; height: 420px; top: -160px; right: -90px;
  background: radial-gradient(circle, rgba(46, 107, 184, 0.5), transparent 70%);
  animation: about-drift-a 17s ease-in-out infinite;
}
body.page-about .about-hero .hero-mesh span:nth-child(2) {
  width: 340px; height: 340px; bottom: -170px; left: -70px;
  background: radial-gradient(circle, rgba(36, 90, 158, 0.42), transparent 70%);
  animation: about-drift-b 21s ease-in-out infinite;
}
body.page-about .about-hero .hero-mesh span:nth-child(3) {
  width: 240px; height: 240px; top: 35%; left: 58%;
  background: radial-gradient(circle, rgba(143, 178, 224, 0.32), transparent 70%);
  animation: about-drift-a 25s ease-in-out infinite reverse;
}
@keyframes about-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 24px) scale(1.08); }
}
@keyframes about-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, -20px) scale(1.05); }
}
body.page-about .about-hero .container { position: relative; z-index: 1; }

/* Pulsing live-dot on the hero eyebrow */
body.page-about .about-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: about-pulse-dot 2.2s ease-out infinite;
}
@keyframes about-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Hero entrance (plays once on load; killed for reduced-motion by the global rule) */
body.page-about .about-hero .eyebrow { animation: about-hero-rise 0.6s cubic-bezier(0.16, 0.8, 0.24, 1) both; }
body.page-about .about-hero h1 { animation: about-hero-rise 0.8s 0.06s cubic-bezier(0.16, 0.8, 0.24, 1) both; }
body.page-about .about-hero .lede { animation: about-hero-rise 0.8s 0.14s cubic-bezier(0.16, 0.8, 0.24, 1) both; }
body.page-about .about-hero .about-stats { animation: about-hero-rise 0.8s 0.22s cubic-bezier(0.16, 0.8, 0.24, 1) both; }
@keyframes about-hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero stat strip - reuses the site's existing .stats component */
body.page-about .about-stats { margin-top: 1.8rem; }
body.page-about .about-stats .stat-value { font-size: var(--fs-700); }

/* Scroll-reveal: handled by the sitewide system (layout.html head styles +
   main.js observer). This block only adds the About-specific stagger delays,
   which the global rule consumes via --reveal-delay. */

/* Stagger the value cards and team cards as they reveal */
body.page-about .value-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
body.page-about .value-grid .reveal:nth-child(2) { --reveal-delay: 90ms; }
body.page-about .value-grid .reveal:nth-child(3) { --reveal-delay: 180ms; }
body.page-about .team-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
body.page-about .team-grid .reveal:nth-child(2) { --reveal-delay: 80ms; }
body.page-about .team-grid .reveal:nth-child(3) { --reveal-delay: 160ms; }
body.page-about .team-grid .reveal:nth-child(4) { --reveal-delay: 240ms; }

/* Company at a Glance - turn the plain list into a soft info grid */
body.page-about .glance-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 700px) { body.page-about .glance-list { grid-template-columns: 1fr 1fr; } }
body.page-about .glance-list li {
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.page-about .glance-list li:hover { border-left-color: var(--green); }
body.page-about .glance-list strong { color: var(--navy); }

/* Value cards - animated icon treatment + lift on hover */
body.page-about .value-card { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
body.page-about .value-card:hover, body.page-about .value-card:focus-within { border-color: var(--blue); }
body.page-about .value-card .icon-circle { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease; }
body.page-about .value-card:hover .icon-circle, body.page-about .value-card:focus-within .icon-circle {
  transform: scale(1.12) rotate(-6deg);
  background: var(--blue);
  color: #fff;
}

/* Team cards - gradient ring avatars, depth, hover lift */
body.page-about .team-card { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
body.page-about .team-card:hover, body.page-about .team-card:focus-within { border-color: var(--blue); }
body.page-about .team-avatar-wrap {
  position: relative;
  width: 68px; height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
body.page-about .team-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), var(--on-dark), var(--navy-800), var(--blue));
  animation: about-ring-spin 6s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
@keyframes about-ring-spin { to { transform: rotate(360deg); } }
body.page-about .team-card .quote-avatar {
  position: relative;
  z-index: 1;
  width: 68px; height: 68px;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -8px rgba(30, 46, 82, 0.35);
}

/* What We Offer - pure-CSS checkmark list, no new markup needed */
body.page-about .offer-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.65rem; }
body.page-about .offer-list li { position: relative; padding-left: 1.9rem; }
body.page-about .offer-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.35em; height: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.78em;
  font-weight: 800;
}

/* CTA band - slow rotating sheen */
body.page-about .cta-band { position: relative; overflow: hidden; }
body.page-about .cta-band::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.12) 40deg, transparent 90deg);
  animation: about-cta-sheen 8s linear infinite;
  pointer-events: none;
}
@keyframes about-cta-sheen { to { transform: rotate(360deg); } }
body.page-about .cta-band > * { position: relative; z-index: 1; }
