/* Grox Co. site styles
   Layout: full-width bands, 1120px inner column, sticky header, mobile sticky "Book a call" bar.
   Palette: forest, cream, clay, sage, charcoal. Type: Archivo (display, wide), Instrument Sans (body), IBM Plex Mono (labels). */
:root {
  --bg: #F5F0E7;
  --surface: #ECE5D8;
  --ink: #292D29;
  --heading: #213B32;
  --muted: #586057;
  --line: #D6CDBD;
  --accent: #C36D43;
  --accent-on-dark: #D29171; /* small accent text on dark bands (eyebrows, footer headings): 4.6:1 */
  --accent-ink: #9A532F;
  --sage: #D8DCCF;
  --btn-bg: #213B32;
  --btn-fg: #F5F0E7;
  --band-bg: #213B32;
  --band-fg: #F1EBDF;
  --band-muted: #B9C4B8;
  --band-line: #355246;
  --field-bg: #FBF8F2;
  --header-bg: rgba(245, 240, 231, 0.92);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 4.9rem);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131C18; --surface: #1A2621; --ink: #E7E1D5; --heading: #F3EDE2; --muted: #A4AEA3;
    --line: #2D3C35; --accent: #D98C66; --accent-on-dark: #D98C66; --accent-ink: #E9A784; --sage: #26352E;
    --btn-bg: #D98C66; --btn-fg: #131C18; --band-bg: #0E1512; --band-fg: #EDE6DA;
    --band-muted: #9FAB9F; --band-line: #26352E; --field-bg: #1F2D27; --header-bg: rgba(19, 28, 24, 0.92);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131C18; --surface: #1A2621; --ink: #E7E1D5; --heading: #F3EDE2; --muted: #A4AEA3;
  --line: #2D3C35; --accent: #D98C66; --accent-on-dark: #D98C66; --accent-ink: #E9A784; --sage: #26352E;
  --btn-bg: #D98C66; --btn-fg: #131C18; --band-bg: #0E1512; --band-fg: #EDE6DA;
  --band-muted: #9FAB9F; --band-line: #26352E; --field-bg: #1F2D27; --header-bg: rgba(19, 28, 24, 0.92);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 780px; }
.band { padding-block: clamp(60px, 8vw, 104px); }
.band--tight { padding-block: clamp(40px, 6vw, 64px); }
.band--surface { background: var(--surface); }
.band--dark { background: var(--band-bg); color: var(--band-fg); }
.band--dark h2, .band--dark h3 { color: var(--band-fg); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.band--dark .eyebrow { color: var(--accent-on-dark); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 40rem; }
.band--dark .section-head p:not(.eyebrow) { color: var(--band-muted); }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 38rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--heading); }
/* Primary buttons on dark bands use the accent so they don't disappear into the band */
.band--dark .btn:not(.btn--ghost) { background: var(--accent); border-color: var(--accent); color: #131C18; }
.band--dark .btn--ghost { color: var(--band-fg); border-color: var(--band-line); }
.band--dark .btn--ghost:hover { border-color: var(--band-fg); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { color: var(--accent-ink); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.wordmark {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: 1.55rem; letter-spacing: -0.03em; color: var(--heading); text-decoration: none; line-height: 1;
}
.wordmark span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.97rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--heading); }
.nav-links a[aria-current="page"] { color: var(--heading); border-bottom-color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--heading); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; font-size: 1.1rem; color: var(--heading); border-bottom: 0; }
  .nav-links .mobile-cta { border-top: 0; padding-top: 16px; }
  .nav-links .mobile-cta .btn { display: flex; width: 100%; }
}
@media (min-width: 941px) { .nav-links .mobile-cta { display: none; } }

/* Breadcrumbs */
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--heading); text-decoration: underline; }

/* Home hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(60px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 850; line-height: 0.96; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--accent); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: var(--step--1); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Pipeline visual */
.flow { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 22px; min-width: 0; }
.flow-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.flow-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 34px; }
.flow-steps li:last-child { padding-bottom: 0; }
.flow-steps li::before { content: ""; position: absolute; left: 6px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--heading); }
.flow-steps li::after { content: ""; position: absolute; left: 11px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.flow-steps li:last-child::after { display: none; }
.step-name { font-weight: 650; color: var(--heading); font-size: 1.05rem; }
.step-note { color: var(--muted); font-size: 0.95rem; }
.flow-steps li.stuck::before { background: var(--accent); border-color: var(--accent); animation: pulse 2.4s ease-out infinite; }
.flow-steps li.stuck .step-name { color: var(--accent-ink); }
.flag { justify-self: start; margin-top: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 4px 10px; border-radius: 999px; }
.flow-foot { border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.98rem; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* Inner page hero */
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: var(--step-4); font-weight: 850; max-width: 18ch; line-height: 0.98; }
.page-hero .lede { max-width: 42rem; }
.page-hero--split .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; column-gap: clamp(32px, 6vw, 72px); }
.page-hero--split .crumbs, .page-hero--split .eyebrow { grid-column: 1 / -1; }
.hero-aside { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 12px; min-width: 0; }
.hero-aside h2 { font-size: 1.15rem; font-stretch: 105%; }
.hero-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hero-aside li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.97rem; }
.hero-aside li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
@media (max-width: 860px) { .page-hero--split .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 22px 18px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; color: var(--heading); font-size: 1.12rem; }
.trust-item span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) {
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Pain list */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 48px; }
.pains li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 22px; border-top: 1px solid var(--line); }
.pains li::before { content: "→"; color: var(--accent-ink); font-weight: 700; }
.pains strong { display: block; color: var(--heading); font-weight: 650; font-size: 1.08rem; margin-bottom: 4px; }
.pains span { color: var(--muted); }

/* Steps / pricing */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.band--surface .step { background: var(--bg); }
.step--lead { border-color: var(--heading); border-width: 2px; }
.step-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step-num { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.step--lead .tag { color: var(--btn-fg); background: var(--btn-bg); border-color: var(--btn-bg); }
.step h3 { font-size: var(--step-2); font-weight: 800; }
.price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.ticks li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.step-time { font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.fine { margin-top: 22px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Card grids (services, industries, resources) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
  text-decoration: none; color: inherit; min-width: 0; transition: border-color .15s ease, transform .15s ease;
}
.band--surface .card { background: var(--bg); }
a.card:hover { border-color: var(--heading); transform: translateY(-2px); }
.card .eyebrow { font-size: 0.7rem; }
.card h3 { font-size: 1.35rem; font-stretch: 108%; font-weight: 800; }
.card p { color: var(--muted); }
.card .more { color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; }

/* Two-column feature rows */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 18px; }
.big-statement { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: var(--step-2); line-height: 1.15; color: var(--heading); text-wrap: balance; }
.big-statement em { font-style: normal; color: var(--accent-ink); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li, .chips a { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 9px 16px; font-size: 0.95rem; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--heading); }

/* Numbered process (real sequences only) */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: proc; }
.process li { counter-increment: proc; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-block: 24px; border-top: 1px solid var(--line); }
.process li::before { content: counter(proc, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.process h3 { font-size: 1.25rem; font-stretch: 106%; margin-bottom: 6px; }
.process p { color: var(--muted); }
.band--dark .process li { border-top-color: var(--band-line); }
.band--dark .process p { color: var(--band-muted); }

/* Feature list (what we look at / build) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.feature { padding-block: 22px; border-top: 2px solid var(--heading); display: grid; gap: 8px; }
.feature h3 { font-size: 1.2rem; font-stretch: 105%; font-weight: 750; }
.feature p { color: var(--muted); }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .features--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Promises (dark band) */
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.promises li { padding-block: 24px; border-top: 1px solid var(--band-line); display: grid; gap: 6px; }
.promises strong { font-family: var(--font-display); font-stretch: 108%; font-size: var(--step-1); font-weight: 750; color: var(--band-fg); }
.promises span { color: var(--band-muted); }
@media (max-width: 760px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Name math */
.name-math { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: var(--step-3); line-height: 1; }
.name-math .part { color: color-mix(in srgb, var(--heading) 55%, transparent); }
.name-math .part b { color: var(--accent); font-weight: 900; }
.name-math .op { color: var(--muted); font-weight: 500; }
.name-math .result { color: var(--heading); }

/* Pricing comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.97rem; }
table.compare th, table.compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-family: var(--font-display); font-stretch: 108%; color: var(--heading); font-size: 1.05rem; background: var(--surface); }
table.compare tbody th { color: var(--heading); font-weight: 600; width: 22%; }
table.compare td { color: var(--muted); }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
/* On phones, the comparison table turns into one block per row, labelled by offer */
@media (max-width: 640px) {
  .table-wrap:has(.compare--stack) { overflow: visible; }
  table.compare--stack { min-width: 0; }
  table.compare--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare--stack tr, table.compare--stack th, table.compare--stack td { display: block; width: auto; }
  table.compare--stack tbody tr { border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
  table.compare--stack tbody tr:last-child { border-bottom: 0; }
  table.compare--stack tbody th { width: auto; padding: 12px 18px 4px; border: 0; font-family: var(--font-display); font-size: 1.05rem; }
  table.compare--stack td { padding: 4px 18px; border: 0; }
  table.compare--stack td::before { content: attr(data-label) ": "; color: var(--heading); font-weight: 600; }
}

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 650; font-size: 1.12rem; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--accent-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 44rem; display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 12px; }

/* Prose (articles, privacy) */
.prose { max-width: 44rem; display: grid; gap: 20px; font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: var(--step-2); margin-top: 22px; }
.prose h3 { font-size: 1.3rem; font-stretch: 105%; margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose .callout { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); }
.prose .callout p + p { margin-top: 10px; }
.article-meta { color: var(--muted); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.cta-band h2 { font-size: var(--step-3); font-weight: 800; }
.cta-band p { color: var(--band-muted); font-size: var(--step-1); margin-top: 14px; max-width: 34rem; line-height: 1.5; }
.cta-band .actions { justify-content: flex-end; }
.cta-band .reassure { grid-column: 1 / -1; color: var(--band-muted); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.cta-band .reassure span::before { content: "✓ "; color: var(--accent); }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .actions { justify-content: flex-start; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact > * { min-width: 0; }
.contact-intro { display: grid; gap: 22px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: nx; }
.next-steps li { counter-increment: nx; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-steps li::before { content: counter(nx); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #131C18; font-weight: 700; font-size: 0.95rem; }
.next-steps strong { display: block; color: inherit; }
.next-steps span { color: var(--muted); font-size: 0.97rem; }
.band--dark .next-steps span { color: var(--band-muted); }
.contact-details { display: grid; gap: 14px; }
.contact-details div { display: grid; gap: 2px; }
.contact-details b { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.band--dark .contact-details b { color: var(--accent-on-dark); }
.contact-details .copyable { user-select: all; }
@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact--form-first .lead-form { order: -1; }
}

form.lead-form { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; }
.lead-form h2 { font-size: 1.5rem; font-stretch: 108%; }
.band--dark .lead-form h2 { color: var(--heading); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
label { font-weight: 600; font-size: 0.95rem; color: var(--heading); }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field-bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--muted); font-size: 0.86rem; max-width: 24rem; }
.form-foot small a { color: inherit; }
.form-submit { display: grid; gap: 6px; justify-items: center; }
.form-note { color: var(--muted); font-size: 0.86rem; }
::placeholder { color: var(--muted); opacity: 1; }
.form-status { border-radius: 10px; padding: 14px 16px; background: var(--sage); color: var(--heading); font-size: 0.97rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Microcopy beside primary CTAs */
.cta-note { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: var(--step--1); }
.cta-note span::before { content: "✓ "; color: var(--accent-ink); }

/* Answer-first summary under page heroes */
.summary-band { padding-bottom: clamp(36px, 5vw, 56px); }
.summary { max-width: 52rem; border-left: 3px solid var(--accent); padding: 2px 0 2px 20px; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.summary b { color: var(--heading); }

/* Related pages block */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(36px, 5vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.related > * { min-width: 0; }
.related h3 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; font-stretch: 100%; margin-bottom: 10px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related a { color: var(--heading); font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* Fit / not a fit */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fit > div { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 28px); background: var(--bg); display: grid; gap: 14px; align-content: start; min-width: 0; }
.fit h3 { font-size: 1.3rem; font-stretch: 106%; }
.ticks--no li::before { content: "×"; width: auto; height: auto; background: none; top: -0.05em; left: 3px; color: var(--muted); font-weight: 700; }
@media (max-width: 760px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Key facts list */
.facts { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--heading); padding-right: 16px; }
.facts dd { color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { border-bottom: 0; padding-bottom: 0; } .facts dd { padding-top: 4px; } }

/* Sample deliverable outline */
.sample { border: 1px dashed var(--muted); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: var(--bg); display: grid; gap: 18px; max-width: 52rem; }
.sample-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.sample ol { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; }
.sample li strong { display: block; color: var(--heading); }
.sample li span { color: var(--muted); }
.sample li em { display: block; margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--band-bg); color: var(--band-muted); padding-block: 56px 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand .wordmark { color: var(--band-fg); font-size: 1.4rem; }
.footer-brand .tagline { color: var(--band-fg); font-weight: 600; }
.site-footer h2 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-dark); font-weight: 500; margin-bottom: 12px; font-stretch: 100%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--band-muted); }
.site-footer a:hover { color: var(--band-fg); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: var(--step--1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; min-height: 50px; }
  body.has-sticky { padding-bottom: 76px; }
}

/* Tap targets: at least 44px tall on touch screens, without moving the layout
   (extra padding is cancelled out by an equal negative margin). */
.text-link, .trust-item b a, .contact-details a { padding-block: 12px; margin-block: -12px; }
.crumbs a, .form-foot small a, .footer-bottom a { padding-block: 14px; margin-block: -14px; }
.wordmark { padding-block: 11px; }
.site-footer ul, .related ul { gap: 0; }
.site-footer ul a, .related a { display: inline-block; padding-block: 11px; }
.chips li, .chips a { min-height: 44px; display: inline-flex; align-items: center; }
.chips li:has(> a) { padding: 0; border: 0; background: none; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-steps li.stuck::before { animation: none; }
  .btn, .btn .arrow, .faq summary::after, .card, .sticky-cta { transition: none; }
}

/* ---------- Recruitment agency page (30-Day Client Revival) ---------- */
.monday { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; min-width: 0; align-self: start; }
.monday-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.monday h2 { font-size: 1.25rem; font-stretch: 105%; }
.monday-rows { margin: 0; display: grid; gap: 0; }
.monday-rows div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.monday-rows dt { font-weight: 600; color: var(--heading); }
.monday-rows dd { margin: 0; color: var(--muted); font-size: 0.94rem; }
.monday-foot { margin: 0; font-size: 0.85rem; color: var(--muted); }

.calc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; min-width: 0; }
.calc input { width: 100%; }
.calc-money { display: flex; align-items: center; gap: 8px; }
.calc-money span { font-weight: 600; color: var(--heading); }
.calc-out { border-top: 2px solid var(--heading); padding-top: 16px; display: grid; gap: 8px; }
.calc-result { margin: 0; font-size: 1.15rem; color: var(--heading); }
.calc-result strong { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; color: var(--accent-ink); white-space: nowrap; }
.calc-detail { margin: 0; color: var(--muted); }
.calc-note { margin: 0; font-size: 0.85rem; color: var(--muted); }

.offer-stack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; counter-reset: stack; }
.offer-stack li { counter-increment: stack; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding-block: 22px; border-top: 2px solid var(--heading); }
.offer-stack li::before { content: counter(stack, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 1.4rem; color: var(--accent); line-height: 1.2; }
.offer-stack h3 { font-size: 1.2rem; font-stretch: 105%; font-weight: 750; margin-bottom: 6px; }
.offer-stack p { color: var(--muted); }
@media (max-width: 760px) { .offer-stack { grid-template-columns: minmax(0, 1fr); } }

.guarantee { max-width: 880px; display: grid; gap: 18px; }
.guarantee h2 { font-size: var(--step-3); }
.guarantee-text { font-size: var(--step-1); line-height: 1.45; color: var(--band-fg); border-left: 4px solid var(--accent-on-dark); padding-left: 20px; margin: 0; }
.guarantee-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.guarantee-sides > div { border-top: 1px solid var(--band-line); padding-top: 18px; }
.guarantee-sides h3 { color: var(--band-fg); font-size: 1.15rem; margin-bottom: 10px; }
.guarantee-sides .ticks li { color: var(--band-muted); }
.guarantee-fine { margin: 0; color: var(--band-muted); font-size: 0.95rem; }
@media (max-width: 640px) { .guarantee-sides { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.not-included { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.not-included h3 { font-size: 1.1rem; margin-bottom: 6px; }
.not-included p { color: var(--muted); margin: 0; }

.founding-count { margin: 0; font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--heading); }
.founding-count b { color: var(--accent-ink); }
.fit--single { grid-template-columns: minmax(0, 1fr); gap: 28px; }

/* Home page: a visible pointer to the agency offer near the top */
.niche-band { background: var(--heading); color: var(--band-fg); }
.niche-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.niche-band p { margin: 0; font-weight: 600; }
.niche-band a { color: var(--band-fg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-on-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .niche-band { background: var(--surface); color: var(--ink); } :root:not([data-theme="light"]) .niche-band a { color: var(--heading); } }
:root[data-theme="dark"] .niche-band { background: var(--surface); color: var(--ink); }
:root[data-theme="dark"] .niche-band a { color: var(--heading); }
.entry-points { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); display: grid; gap: 10px; margin-bottom: 8px; }
.page-hero h1.h1--long, h1.h1--long { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 3.9rem); }

/* Agency page: Monday view mockup (hero) */
.monday-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.monday-day { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); }
.mv { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mv li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.mv-k { grid-column: 1; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mv-v { grid-column: 1; font-weight: 600; color: var(--heading); font-size: 0.95rem; line-height: 1.3; }
.mv-s { grid-column: 2; grid-row: 1 / span 2; font-size: 0.78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--sage); color: var(--heading); white-space: nowrap; }
.mv-s--ok { background: var(--btn-bg); color: var(--btn-fg); }
.mv-s--due { background: var(--accent); color: #131C18; }
@media (max-width: 420px) { .mv li { grid-template-columns: minmax(0, 1fr); } .mv-s { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; } }

/* Agency page: example check-in email */
.mail { margin: 0; background: var(--field-bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(19, 28, 24, 0.45); min-width: 0; align-self: start; }
.mail-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mail-head { padding: 12px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.mail-head p { margin: 0; font-size: 0.92rem; color: var(--heading); overflow-wrap: anywhere; }
.mail-head span { display: inline-block; min-width: 4.6rem; color: var(--muted); font-size: 0.82rem; }
.mail-body { padding: 18px 20px 20px; display: grid; gap: 12px; color: var(--ink); line-height: 1.55; }
.mail-body p { margin: 0; }
.mail-opt { font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* Agency page: comparison, with the recommended option highlighted */
table.compare--pick thead th:last-child { background: var(--btn-bg); color: var(--btn-fg); }
table.compare--pick td:last-child { color: var(--heading); font-weight: 600; background: color-mix(in srgb, var(--accent) 9%, transparent); }
@media (max-width: 640px) { table.compare--pick td:last-child { background: none; } table.compare--pick td:last-child::before { color: var(--accent-ink); } }

/* Agency page: buttons inside cards and the calculator */
.step-btn { justify-self: start; }
.calc-cta { justify-self: start; }
.calc-cta[hidden] { display: none; }
.guarantee .actions { margin-top: 6px; }

/* Home page: agency feature band */
.agency-feature h2 em { font-style: normal; color: var(--accent-on-dark); }
.agency-feature .lede { color: var(--band-muted); }
.agency-feature .ticks li { color: var(--band-fg); }
.agency-feature .monday { color: var(--ink); }
.agency-feature .monday h3 { color: var(--heading); font-size: 1.25rem; font-stretch: 105%; }
.trust-item { align-content: start; }
