/* =====================================================================
   Brevity.Tech — styles.css
   ---------------------------------------------------------------------
   HOW TO EDIT (for non-front-end owners):
   • Colors, fonts, radius, spacing → the :root token block below.
     Change a value once here and it updates everywhere.
   • Copy (the words on the page) → lives in index.html, not here.
   • Dark theme overrides → the [data-theme="dark"] block.
   ===================================================================== */

/* ---------- 0. SELF-HOSTED FONTS (latin subset from Google Fonts) ----------
   Body: Source Sans 3.  Headings: Spectral.  Regenerate: scripts/fetch_fonts.py */
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/sourcesans3-400.woff2') format('woff2');}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/sourcesans3-600.woff2') format('woff2');}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/sourcesans3-700.woff2') format('woff2');}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/sourcesans3-800.woff2') format('woff2');}
@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/spectral-600.woff2') format('woff2');}
@font-face{font-family:'Spectral';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/spectral-700.woff2') format('woff2');}

/* ---------- 1. BRAND TOKENS  (edit these) ---------- */
:root {
  /* Palette — "Slate & Amber Luxe" (premium).
     Rule of thumb: deep SLATE-NAVY does the work (text, buttons, links, checks);
     warm AMBER is jewelry only (featured outline, badge, wordmark dot, hero
     accents). All pairings verified against WCAG AA contrast. */
  --slate:       #1E2A38;   /* deep slate-navy — primary brand + CTAs on light */
  --slate-2:     #22303F;   /* lighter slate — hero/gradient partner          */
  --blue:        #2F6DA8;   /* focus ring (kept name for compatibility)       */
  --ink:         #1A2430;   /* headings / darkest text (deep slate)           */
  --muted:       #4E5A66;   /* body / secondary text (slate grey)             */
  --bg:          #F3F1EB;   /* page background (warm greige)                  */
  --card:        #FFFFFF;   /* card surfaces (clean white)                    */
  --hairline:    #E4E0D6;   /* borders / dividers (warm neutral)              */
  --accent:      #1E2A38;   /* primary interactive = deep slate-navy          */
  --accent-ink:  #1E2A38;   /* accent text on light bg (links, checks)        */
  --btn-fg:      #FFFFFF;   /* label color on the primary (slate) button      */

  /* Warm amber — decorative accents only (see rule above) */
  --amber:       #C98A1E;   /* featured-card outline, hairline accents        */
  --amber-soft:  #E0A73B;   /* light amber — buttons on dark grounds          */
  --amber-deco:  #DCA033;   /* featured-plan badge fill (dark ink on top)     */

  /* Premium slate gradient (hero + final CTA band) */
  --gradient: linear-gradient(160deg, #24313F 0%, #18222E 100%);

  /* Type — self-hosted (see @font-face at top of file). System fallbacks keep
     text readable before the web fonts finish loading. */
  --font:         "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, Helvetica, Arial, sans-serif;          /* body + UI */
  --font-display: "Spectral", Georgia, "Times New Roman", serif; /* headings   */

  /* Shape & depth */
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 31, .06), 0 1px 3px rgba(20, 26, 31, .05);
  --shadow-md: 0 4px 12px rgba(20, 26, 31, .07), 0 2px 4px rgba(20, 26, 31, .05);
  --shadow-lg: 0 18px 40px rgba(20, 26, 31, .12);

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- 2. DARK THEME  (optional toggle) ---------- */
/* On dark grounds, amber becomes the primary interactive color and the
   primary button flips to amber with dark ink (all AA-verified). */
:root[data-theme="dark"] {
  --slate:     #52657A;   /* lifted slate for dark surfaces */
  --blue:      #4C8FD6;   /* focus ring on dark */
  --ink:       #E9EAE4;   /* warm cream-grey text */
  --muted:     #9EAAB5;
  --bg:        #0E151C;   /* deep slate-black */
  --card:      #172230;
  --hairline:  #263341;
  --accent:     #E0A73B;  /* amber primary on dark */
  --accent-ink: #E0A73B;  /* amber links / checks on dark */
  --btn-fg:     #241A05;  /* dark ink label on the amber button */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,.45);
  --shadow-lg: 0 18px 40px rgba(0,0,0,.55);
}

/* ---------- 3. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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: 1.0625rem;         /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.16; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1rem; text-wrap: pretty; }   /* avoid orphans / short last lines */

/* Accessible focus ring — visible for keyboard users everywhere. */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: var(--card); color: var(--ink); padding: .6rem 1rem;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- 4. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--card); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: .75rem;
}
.lead { color: var(--muted); font-size: 1.1rem; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;           /* long labels wrap cleanly instead of overflowing */
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary button follows the theme: deep slate + white label on light grounds,
   amber + dark ink on dark grounds. brightness() hover works either way. */
.btn--primary { background: var(--accent); color: var(--btn-fg); box-shadow: var(--shadow-md); }
.btn--primary:hover { filter: brightness(1.06); box-shadow: var(--shadow-lg); }

/* The hero and final-CTA band are always the slate gradient, in either theme —
   so their primary button is warm amber (pops on slate) with dark ink. */
.hero .btn--primary,
.cta-band .btn--primary { background: var(--amber-soft); color: #241A05; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--muted); }

/* On the dark gradient hero / CTA band, the ghost button needs light borders/text. */
.hero .btn--ghost, .cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }

/* Wordmark: "Brevity" + subtle "." + smaller "Tech" */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0; text-decoration: none;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink);
}
.wordmark__logo { width: 28px; height: 28px; margin-right: .55rem; align-self: center; }
.wordmark__dot { color: var(--amber); font-weight: 800; }   /* amber dot — the brand's bit of jewelry */
.wordmark__tech { color: var(--muted); font-weight: 700; font-size: .95em; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--hairline) 60%, transparent); }
.nav-cta { margin-left: .5rem; }

.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--hairline); border-radius: 10px;
  color: var(--muted); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none; width: 44px; height: 44px; background: transparent;
  border: 1px solid var(--hairline); border-radius: 10px; cursor: pointer;
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--card); border-bottom: 1px solid var(--hairline);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow-lg);
    transform: translateY(-120%); max-height: calc(100dvh - 68px); overflow-y: auto;
    /* visibility:hidden removes the closed menu from keyboard focus + screen
       readers (WCAG 2.4.3 / 1.3.2); it's held until the slide-up finishes. */
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links[data-open="true"] { transform: translateY(0); visibility: visible; transition: transform .25s ease, visibility 0s; }
  .nav-links a { padding: .8rem .75rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- 7. HERO (full-bleed photo + slate scrim) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  display: grid; align-items: center;
  min-height: clamp(460px, 72vh, 660px);
  background: var(--slate);                 /* fallback behind the photo */
}
.hero__bg {                                 /* the photo fills the whole hero */
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero::after {                              /* slate scrim: dark at the headline, clearing right */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,30,42,.93) 0%, rgba(20,30,42,.72) 42%, rgba(20,30,42,.30) 100%);
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 5rem); }
.hero__copy { max-width: 36rem; }
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 1px 20px rgba(10,16,24,.35); }
.hero__sub { color: rgba(255,255,255,.94); font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__note { margin-top: 1.5rem; font-size: .95rem; color: rgba(255,255,255,.88); }

@media (max-width: 860px) {
  .hero { min-height: clamp(520px, 82vh, 640px); }
  /* Narrow screens: uniform darker scrim so text is legible over any crop. */
  .hero::after { background: linear-gradient(180deg, rgba(20,30,42,.70) 0%, rgba(20,30,42,.88) 78%); }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- 8. GRID + CARDS ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Flexible grid for an odd number of cards (the 5 services). Wraps to 3 + 2
   with the short row centred, instead of leaving an orphan in a fixed grid. */
.grid--flow { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; }
.grid--flow > * { flex: 1 1 280px; max-width: 370px; }
@media (max-width: 620px) { .grid--flow > * { max-width: none; } }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }

/* Photo header inside a card — bleeds to the card edges. */
.card__media {
  margin: -1.6rem -1.6rem 1.25rem;              /* cancel card padding (top/left/right) */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 16 / 10;
}

/* ---------- MEDIA (photos): light editorial grade ----------
   The photography is already an art-directed, on-brand set (slate + amber tones),
   so it keeps its natural colour. Just a touch of desaturation for polish, plus a
   crisp edge and a whisper of warmth. */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--card); }
.media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: filter .35s ease, transform .5s ease;
}
.media::before {                                 /* faint warmth + crisp edge */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(224,167,59,.04), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(20,26,30,.06);
}
/* Gentle life on hover — full saturation and a small lift. */
.card:hover .media img { filter: saturate(1.02) contrast(1.03); transform: scale(1.02); }
.card__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: color-mix(in srgb, var(--slate) 12%, transparent);
  color: var(--slate); margin-bottom: 1rem;
}
:root[data-theme="dark"] .card__icon { color: var(--accent-ink); }
.card__tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .8rem;
}

/* ---------- 9. PRICING ---------- */
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price-card {
  position: relative; background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.price-card--featured {
  border-color: transparent; box-shadow: var(--shadow-lg);
  outline: 2px solid var(--amber); transform: translateY(-6px);   /* amber highlight */
}
@media (max-width: 900px) { .price-card--featured { transform: none; } }
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber-deco); color: #241A05; font-size: .75rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px;
  white-space: nowrap;
}
.price-card__name { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.price-card__price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card__price span { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card__who { color: var(--muted); font-size: .92rem; margin: .6rem 0 0;
  padding-bottom: .9rem; border-bottom: 1px solid var(--hairline); }
.price-features { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.price-features li { display: flex; gap: .6rem; font-size: .95rem; color: var(--muted); align-items: flex-start; }
.price-features .yes { color: var(--accent-ink); font-weight: 800; flex: none; }
.price-features .no  { color: var(--hairline); font-weight: 800; flex: none; }
.price-features b { color: var(--ink); font-weight: 600; }

/* Full comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hairline); font-size: .95rem; }
table.compare thead th { font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--bg) 60%, transparent); position: sticky; top: 0; }
table.compare td:first-child, table.compare th:first-child { color: var(--muted); font-weight: 600; }
table.compare tbody td { color: var(--muted); }
table.compare .col-featured { background: color-mix(in srgb, var(--accent) 8%, transparent); font-weight: 600; color: var(--ink); }
table.compare tr:last-child td { border-bottom: none; }
.yes { color: var(--accent-ink); font-weight: 800; }
.no  { color: var(--muted); opacity: .5; }

/* Table body text should read as content, not fine print. Only the
   "not included" cells are muted. */
table.compare tbody td { color: var(--ink); }
table.compare td.na { color: var(--muted); }
/* Group header rows inside the feature table. */
table.compare tr.group td {
  background: color-mix(in srgb, var(--slate) 6%, transparent);
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-block: .55rem;
}
/* Keep the row label visible while the table scrolls sideways on mobile. */
table.compare th:first-child, table.compare td:first-child {
  position: sticky; left: 0; background: var(--card); z-index: 1;
}
table.compare tr.group td:first-child { background: color-mix(in srgb, var(--slate) 6%, var(--card)); }
table.compare thead th:first-child { z-index: 2; }

/* "In every plan" strip above the pricing table. */
.plan-strip {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.plan-strip h3 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font); margin: 0 0 .75rem; }
.plan-strip ul { list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.plan-strip li { display: flex; gap: .5rem; color: var(--muted); font-size: .93rem; align-items: baseline; }
.plan-strip li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; }

/* Headcount calculator. */
.calc { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); margin-top: 1.75rem; }
.calc h3 { margin-bottom: .3rem; }
.calc__intro { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.calc__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
@media (max-width: 560px) { .calc__controls { grid-template-columns: 1fr; } }
.calc__controls label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.calc__controls select, .calc__controls input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: .7rem .8rem;
}
.calc__controls select:focus, .calc__controls input:focus {
  border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent);
}
.calc__out { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.calc__total { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em;
  font-family: var(--font); font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc__total span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc__note { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }

.addons { margin-top: 1.75rem; display: grid; gap: .6rem; }
.addons li { display: flex; gap: .6rem; color: var(--muted); }
.addons b { color: var(--ink); font-weight: 600; }
.pricing-caption { text-align: center; margin-top: 1.75rem; color: var(--muted); }

/* Solo plan: a flat one-person plan, shown as a wide banner above the per-user
   tiers because it is a different unit ($199 flat, not per user). */
.solo-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem; max-width: 760px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(1.25rem, 3vw, 1.75rem); }
.solo-card__body { flex: 1 1 320px; }
.solo-card__body h3 { margin: .25rem 0 .4rem; }
.solo-card__body p { color: var(--muted); margin: 0; font-size: .95rem; }
.solo-card__buy { flex: 0 0 auto; text-align: center; display: grid; gap: .8rem; }
.solo-card__buy .price-card__price { border: none; padding: 0; }
.solo-card__buy .btn { justify-content: center; }
.pricing-subhead { text-align: center; color: var(--muted); font-weight: 600;
  margin: 2rem 0 1.25rem; }
.calc__controls input:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 10. HONEST-SCOPE + WHY TABLE ---------- */
.scope-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 700px) { .scope-box { grid-template-columns: 1fr; } }
.scope-box .card h3 { display: flex; align-items: center; gap: .5rem; }
.scope-box ul, .checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .6rem; color: var(--muted); align-items: flex-start; }

/* ---------- 11. TESTIMONIALS ---------- */
.quote-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
.quote-card cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: .9rem; }
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
  margin-top: 2rem;
}
.logo-slot {
  display: grid; place-items: center; height: 56px; min-width: 140px; flex: 1 1 140px; max-width: 180px;
  border: 1px dashed var(--hairline); border-radius: var(--radius);
  color: var(--muted); font-size: .8rem; font-weight: 600;
}

/* ---------- 12. FINAL CTA + FORM ---------- */
.cta-band { background: var(--gradient); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.9); }
.cta-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .cta-layout { grid-template-columns: 1fr; } }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field .req { color: #c0392b; }
:root[data-theme="dark"] .field .req { color: #ff8a80; }
.field .optional { color: var(--muted); font-weight: 500; font-size: .85em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: .75rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #c0392b; }
.field .error { color: #c0392b; font-size: .85rem; margin-top: .35rem; display: none; }
.field[data-invalid="true"] .error { display: block; }
:root[data-theme="dark"] .field .error { color: #ff8a80; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.form-status { border-radius: var(--radius); padding: .9rem 1rem; margin-bottom: 1rem; font-weight: 600; display: none; }
.form-status.ok  { display: block; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-ink); border: 1px solid var(--accent); }
.form-status.err { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }
.form-fallback { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-block: 3rem; }
:root[data-theme="dark"] .site-footer { background: #060c0f; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2.4fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols p { font-size: .95rem; margin-bottom: .6rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-list a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-area { font-size: .92rem; line-height: 1.7; color: rgba(255,255,255,.7); max-width: 60ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: .5rem 0 0; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-contact { font-size: .95rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-legal a:hover { color: #fff; }

/* ---------- 14. STICKY MOBILE CTA BAR ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; padding: .7rem var(--gutter);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--hairline);
  box-shadow: 0 -6px 20px rgba(20,26,31,.08);
}
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .mobile-cta { display: block; } body { padding-bottom: 72px; } }

/* ---------- 15. HOW IT WORKS (numbered steps) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--amber-soft); color: #241A05; font-weight: 800; font-size: 1.15rem;
  font-variant-numeric: tabular-nums; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; }
/* Connector line between steps (desktop only). */
@media (min-width: 821px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 21px; left: 56px; right: -1.5rem; height: 2px;
    background: var(--hairline);
  }
}

/* ---------- 16. AUTOMATION IN ACTION ---------- */
.auto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (max-width: 860px) { .auto { grid-template-columns: 1fr; } }
.auto-list { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .75rem; }
.auto-list li {
  display: flex; gap: .6rem; color: var(--muted); align-items: baseline;
  padding-bottom: .75rem; border-bottom: 1px solid var(--hairline);
}
.auto-list li:last-child { border-bottom: none; padding-bottom: 0; }
.auto-list b { color: var(--ink); font-weight: 700; }

/* ---------- 16b. Q&A LIST (the "why us" section) ----------
   Question left, answer right, collapsing to stacked on mobile. */
.qa { margin: 0; padding: 0; background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.qa__row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1rem, 3vw, 2rem);
  padding: 1.35rem clamp(1.1rem, 3vw, 1.75rem); border-top: 1px solid var(--hairline); }
.qa__row:first-child { border-top: none; }
@media (max-width: 720px) { .qa__row { grid-template-columns: 1fr; gap: .5rem; } }
.qa dt { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--ink); line-height: 1.3; }
.qa dt::before { content: "“"; } .qa dt::after { content: "”"; }
.qa dd { margin: 0; color: var(--muted); }

/* ---------- 17. FAQ (native <details>, no JS needed) ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .75rem; }
.faq details {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--amber); font-weight: 800; font-size: 1.4rem; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "\2212"; }   /* minus */
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
.faq details > p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* ---------- 18. STATS BAND ---------- */
.stats-band { background: var(--card); border-block: 1px solid var(--hairline); }
.stats { list-style: none; margin: 0; padding: clamp(1.75rem, 4vw, 2.6rem) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats li { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.stats b { font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.stats li i { width: 26px; height: 3px; border-radius: 2px; background: var(--amber-soft); }  /* amber tick */
.stats li span { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- 19. WORKS-WITH STRIP ---------- */
.works-label { text-align: center; color: var(--muted); font-size: .8rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; margin: 0 0 1.35rem; }
.works-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 1rem 2.5rem; }
.works-strip li { color: var(--muted); font-weight: 700; font-size: 1.05rem;   /* muted passes AA, unlike the old opacity trick */
  letter-spacing: -.01em; transition: color .2s ease; }
.works-strip li:hover { color: var(--ink); }

/* ---------- 21. CTA BAND TEXTURE (quiet dot grid) ---------- */
.cta-band { position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.6px); background-size: 22px 22px; }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- 22. FOOTER SERVICE-AREA MAP ---------- */
.footer-map { width: 100%; max-width: 340px; height: auto; display: block; margin: .5rem 0 1.1rem; font-family: var(--font); }

/* ---------- 23. SCROLL-REVEAL (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
/* If JS is off, never hide content. */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 23b. INTERIOR PAGES (services / locations / industries / blog) ---------- */
.page-hero { position: relative; background: var(--gradient); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.6px); background-size: 22px 22px; }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 58ch; margin: 0; }
.page-hero .eyebrow { color: var(--amber-soft); }

/* Breadcrumbs */
.crumbs { font-size: .85rem; margin: 0 0 1rem; color: rgba(255,255,255,.75); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }

/* Long-form prose */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.15rem; display: grid; gap: .5rem; color: var(--muted); }
.prose li::marker { color: var(--amber); }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 1.75rem 0; padding: .25rem 0 .25rem 1.15rem;
  border-left: 3px solid var(--amber); color: var(--ink); font-size: 1.05rem; }

/* Two-column interior layout with a sticky aside */
.page-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; }
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 88px; display: grid; gap: 1rem; }
@media (max-width: 900px) { .aside { position: static; } }
.aside__card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 1.35rem; box-shadow: var(--shadow-sm); }
.aside__card h2, .aside__card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.aside__card p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.aside__card .btn { width: 100%; justify-content: center; }
.aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.aside__list a { display: block; padding: .45rem .6rem; border-radius: 8px; color: var(--muted);
  text-decoration: none; font-size: .93rem; font-weight: 600; }
.aside__list a:hover { background: color-mix(in srgb, var(--hairline) 55%, transparent); color: var(--ink); }
.aside__list a[aria-current="page"] { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--ink); }

/* Link grid (related pages / hub listings) */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .link-grid { grid-template-columns: 1fr; } }
.link-card { display: block; background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.link-card b { display: block; color: var(--ink); font-weight: 700; margin-bottom: .2rem; font-family: var(--font-display); }
.link-card span { color: var(--muted); font-size: .9rem; }

/* Case-study headline number. The number is the point, so it gets the size. */
.cs-headline { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  padding: 1.1rem 1.3rem; margin: 0 0 1.5rem; background: var(--card);
  border: 1px solid var(--hairline); border-left: 4px solid var(--amber);
  border-radius: var(--radius); }
.cs-headline b { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em;
  font-family: var(--font); font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink); }
.cs-headline span { color: var(--muted); font-size: .95rem; }
.cs-headline--sm { margin-bottom: 1rem; padding: .7rem .9rem; }
.cs-headline--sm b { font-size: 1.5rem; }

.cs-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--hairline); }
.cs-meta dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-meta dd { margin: .2rem 0 0; font-weight: 600; color: var(--ink); }

/* Compact inline link list, for sibling-page navigation. */
.inline-links { list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .65rem; }
.inline-links a { display: inline-block; padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--card); color: var(--muted);
  text-decoration: none; font-size: .9rem; font-weight: 600; transition: all .18s ease; }
.inline-links a:hover { border-color: var(--amber); color: var(--ink); }

/* Blog listing + article meta */
.post-list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.post-card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 1.5rem; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-card h2 { font-size: 1.25rem; margin-bottom: .35rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent-ink); }
.post-card p { color: var(--muted); margin: 0 0 .6rem; }
.post-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.post-meta time { font-variant-numeric: tabular-nums; }

/* Key-takeaways / summary box (good for featured snippets) */
.takeaway { background: var(--card); border: 1px solid var(--hairline); border-left: 3px solid var(--amber);
  border-radius: var(--radius); padding: 1.15rem 1.3rem; margin: 1.75rem 0; }
.takeaway h2, .takeaway h3 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font); margin: 0 0 .6rem; }
.takeaway ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; color: var(--muted); }

/* ---------- 24. INTERACTION POLISH ---------- */
/* Gentle, consistent lift on every card. */
.card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card { transition: transform .18s ease, box-shadow .18s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.faq details { transition: box-shadow .18s ease; }
.faq details:hover { box-shadow: var(--shadow-md); }
/* Animated link underline for inline text links. */
.lead a, .pricing-caption a, .form-fallback a {
  background: linear-gradient(var(--accent-ink), var(--accent-ink)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s ease; padding-bottom: 1px; text-decoration: none;
}
.lead a:hover, .pricing-caption a:hover, .form-fallback a:hover { background-size: 100% 1.5px; }

/* Hero copy rises in on load (once). */
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__copy { animation: heroRise .7s .05s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero__copy { animation: none; } }

/* ---------- 25. ABOUT (founder) ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center; max-width: 780px; margin-inline: auto; }
@media (max-width: 620px) { .about { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.about__photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow-md); border: 3px solid var(--card); background: var(--slate);
  display: grid; place-items: center; flex: none; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--mono img { width: 56%; height: 56%; object-fit: contain; }  /* logo-mark fallback */
.about__body .lead { margin-bottom: 1rem; }
.about__name { font-weight: 700; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.about__name span { display: block; font-family: var(--font); font-weight: 600; font-size: .9rem; color: var(--muted); }

/* ---------- 26. TESTIMONIALS (premium) ---------- */
.quote-card { display: flex; flex-direction: column; }
.quote-card::before { content: "\201C"; font-family: var(--font-display); color: var(--amber);
  font-size: 3rem; line-height: .6; margin-bottom: .5rem; height: 1.4rem; }
.quote-card blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--slate); }
.quote-card .who { display: flex; flex-direction: column; line-height: 1.3; }
.quote-card .who cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: .92rem; }
.quote-card .who small { color: var(--muted); font-size: .82rem; }
