/* Visual language shared with the Flow22 reference. Base components live in styles.css. */
:root {
  --paper: #eeede9;
  --ink: #222222;
  --muted: #696a68;
  --accent: #2463eb;
  --line: #d2d0ca;
  --surface: #fafaf7;
  --radius: 6px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
}

html { scroll-padding-top: 112px; }
body { background: var(--paper); font-size: 20px; line-height: 1.7; }
p { font-size: 20px; line-height: 1.7; }
h1, h2, h3 { font-family: inherit; }
h2 { font-size: 39px; line-height: 1.16; font-weight: 600; letter-spacing: -1px; }
h3 { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.4px; }
.container { width: min(1080px, calc(100% - 96px)); }
.section { padding-block: 104px; }
.eyebrow, .overline { font-size: 18px; font-weight: 400; letter-spacing: .025em; }
.eyebrow { margin-bottom: 24px; }
.button {
  background: var(--accent); color: #fff; border-radius: 6px;
  font-size: 18px; line-height: 1.5; font-weight: 600;
  padding: 16px 26px; gap: 26px; min-height: 54px;
  transition: background .15s ease;
}
.button:hover { background: #1d4ed8; color: #fff; transform: none; }
.button-small { padding: 10px 18px; font-size: 18px; min-height: 44px; gap: 22px; }
.text-link { color: var(--accent); font-size: 18px; }
.text-link:hover, .inline-link:hover { color: #1d4ed8; }
input, select, textarea { background: var(--surface); border-color: var(--line); border-radius: 5px; }
input::placeholder, textarea::placeholder { color: #72736e; }
.prototype-strip { background: #e7e6e2; color: #5f605c; letter-spacing: 0; }

/* Full-width sticky navigation, matching Flow22's understated header. */
.header {
  position: sticky; top: 0; z-index: 30; width: 100%; height: 92px;
  padding-inline: max(48px, calc((100% - 1080px) / 2));
  background: rgba(238, 237, 233, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); gap: 30px;
}
.brand { font-size: 28px; font-weight: 700; letter-spacing: -1px; gap: 7px; }
.brand-mark { width: 30px; height: 30px; background: var(--accent); color: #fff; }
.brand-mark span { color: #fff; }
.brand-ai { color: var(--accent); font-size: 18px; font-weight: 600; margin-top: -10px; }
.header nav { gap: 25px; }
.header nav > a:not(.button) { color: var(--ink); font-weight: 500; font-size: 18px; }
.header nav > a:not(.button):hover { color: var(--accent); }

/* Keep the approved Stackworth22 photograph, now behind the centered hero copy. */
.hero {
  position: relative; isolation: isolate; width: 100%; margin: 0;
  min-height: calc(100svh - 92px); padding: 86px 48px;
  background: var(--ink); display: grid; place-items: center;
  text-align: center; color: #fff;
}
.hero-content { position: relative; z-index: 2; width: min(950px, 100%); }
.hero h1 { color: #fff; font-size: 68px; line-height: 1.12; font-weight: 700; letter-spacing: -1.6px; }
.hero h1 > span { color: inherit; }
.hero .eyebrow { color: #f0f0ed; font-size: 18px; font-weight: 400; letter-spacing: .025em; margin-bottom: 28px; }
.tiny-rule { display: none; }
.hero-description { color: #f1f1ed; max-width: 800px; font-size: 20px; line-height: 1.7; margin: 28px auto 34px; }
.hero-actions { flex-wrap: wrap; gap: 28px; }
.hero-actions .button { font-size: 18px; }
.hero-actions .text-link { color: #fff; font-size: 18px; }
.hero-actions .text-link:hover { color: #dce6ff; }
.reassurances { color: #f0f0ed; margin: 27px 0 0; gap: 28px; font-size: 18px; flex-wrap: wrap; }
.reassurances li::before { color: #fff; }
.hero-visual { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.51), rgba(0,0,0,.59)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }

/* Broad, quiet sections with minimal card treatment. */
.opportunity-band { background: var(--surface); }
.opportunity { padding-block: 76px; grid-template-columns: .95fr 1.05fr; gap: 96px; }
.opportunity .large-copy { font-size: 21px; line-height: 1.6; letter-spacing: -.2px; }
.opportunity-copy .text-link { margin-top: 8px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 720px; margin: 20px auto 0; }
.calculator-section { background: var(--paper); }
.calculator { border: 1px solid var(--line); border-radius: 6px; box-shadow: none; background: #fff; }
.calculator-inputs, .calculator-result { padding: 38px; }
.calculator-inputs { background: #fff; }
.calculator-inputs label { font-size: 18px; font-weight: 500; }
.calculator-result { background: var(--surface); color: var(--ink); border-left: 1px solid var(--line); }
.calculator-result output { font-size: 50px; color: var(--accent); font-weight: 600; letter-spacing: -1.4px; }
.calculator-result .overline, .calculator-result p, .calculator-result #result-explanation,
.calculator-result .result-note, .calculator-result .assumptions { color: var(--muted); }
.result-rule { border-color: var(--line); }
.assumptions summary { color: var(--ink); }
.quick-estimates button { font-size: 18px; border-radius: 5px; color: var(--muted); }
.quick-estimates button.active { background: #edf2ff; color: #1d4ed8; border-color: var(--accent); }
.calculator-result .button { font-size: 18px; }
.calculator-disclaimer { max-width: none; margin-top: 22px; }
.split-heading { gap: 96px; grid-template-columns: .95fr 1.05fr; align-items: start; }
.split-heading > p { max-width: none; }
.principles { gap: 36px; margin-top: 48px; }
.principles h3 { font-size: 22px; }
.principles p { font-size: 18px; line-height: 1.7; }
.principle-number, .process li > span { font-family: inherit; font-size: 18px; color: var(--accent); }
.review-block { background: var(--surface); border-radius: 6px; gap: 60px; padding: 38px; }
.review-block h3 { font-size: 26px; }
.review-block p, .review-list li { font-size: 18px; }
.review-list li::before { color: var(--accent); }
.process-section { background: var(--surface); border: 0; }
.process { gap: 24px; margin-top: 52px; }
.process h3 { font-size: 21px; margin-top: 24px; }
.process p { font-size: 18px; line-height: 1.7; }
.process li { border-top-color: var(--line); }
.process-note { font-size: 18px; }

/* Charcoal assessment band and light form, as in Flow22's contact section. */
.assessment-band { background: #272725; color: #f7f6f2; }
.assessment-section { grid-template-columns: .95fr 1.05fr; gap: 80px; }
.assessment-intro h2 { color: #f7f6f2; font-size: 39px; }
.assessment-intro p, .assessment-intro .eyebrow, .assessment-intro .overline { color: #c5c5be; }
.assessment-intro > p:not(.eyebrow) { font-size: 18px; }
.assessment-includes li { font-size: 18px; color: #f0f0e9; }
.assessment-includes li::before { color: #c6d6ff; }
.test-notice { border-color: #575752; }
.test-notice strong { color: #f7f6f2; }
.test-notice p { font-size: 18px; }
.form-wrap { background: #fff; color: var(--ink); padding: 28px; border: 0; border-radius: 6px; }
.form-heading h3 { font-size: 24px; }
.form-grid { grid-template-columns: 1fr; gap: 18px; }
.form-grid input, .form-grid select, .form-grid textarea { background: var(--surface); font-size: 18px; padding: 12px 14px; min-height: 50px; }
.form-grid label { font-size: 18px; font-weight: 500; }
.form-grid label > span { color: var(--muted); }
.check-label { font-size: 18px; color: var(--muted); }
.check-label input { width: 16px; height: 16px; min-height: 16px; margin-top: 4px; }
.form-wrap p { color: var(--muted); }
.form-wrap .error { color: #a13020; }
.submit-button { font-size: 18px; }
.faq-section { background: var(--paper); }
.faq-layout { gap: 80px; grid-template-columns: .95fr 1.05fr; }
.faq-list summary { font-size: 18px; font-weight: 500; padding-block: 23px; }
.faq-list details p { font-size: 18px; line-height: 1.7; }
.faq-list details { border-color: var(--line); }
.final-cta { border-top: 1px solid var(--line); padding-block: 76px; }
.final-cta h2 { font-size: 44px; font-weight: 600; }
.final-cta > p:last-child { font-size: 18px; }
.footer { padding-block: 32px; }
.footer-bottom { font-size: 18px; }
.modal { background: var(--surface); }
.modal p, .modal li { font-size: 18px; }
.email-metadata { font-size: 18px; }
.success-mark { background: #edf2ff; color: var(--accent); }
.test-lead pre { background: var(--paper); }
.close-modal { min-width: 34px; }

@media (max-width: 1050px) {
  .header { padding-inline: 32px; gap: 20px; }
  .header nav { gap: 16px; }
  .brand { font-size: 25px; }
  .container { width: calc(100% - 64px); }
  .opportunity, .split-heading, .assessment-section, .faq-layout { gap: 48px; }
  .calculator-inputs, .calculator-result { padding: 30px; }
  .review-block { gap: 36px; }
  .hero h1 { font-size: 60px; }
}

@media (max-width: 1100px) {
  .header { height: 78px; padding-inline: 24px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; font-size: 18px; border: 0; background: none; padding: 12px 0 12px 12px; }
  .header nav { display: none; position: absolute; top: 77px; left: 0; right: 0; padding: 18px 24px 24px; background: var(--paper); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: 0 12px 20px #2222220a; }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .header nav > a:not(.button) { padding-block: 12px; }
  .header nav .button { margin-top: 12px; }
  .hero { min-height: calc(100svh - 78px); }
  .hero h1 { font-size: 54px; }
  .hero-description { font-size: 19px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { display: flex; gap: 24px; padding: 22px 0; }
  .process li > span { min-width: 22px; padding-top: 3px; }
  .process h3 { margin-top: 0; margin-bottom: 9px; }
  .process li:last-child { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 98px; }
  .prototype-strip { display: block; padding: 6px 16px; text-align: center; }
  .prototype-strip .status-dot { vertical-align: middle; margin-right: 8px; }
  .prototype-message { display: block; }
  .container { width: calc(100% - 48px); }
  .section { padding-block: 64px; }
  h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.7px; }
  h3 { font-size: 22px; }
  p { font-size: 18px; }
  .brand { font-size: 26px; }
  .hero { width: 100%; margin: 0; padding: 72px 24px; min-height: calc(100svh - 78px); }
  .hero h1 { font-size: clamp(40px, 7.5vw, 54px); line-height: 1.15; letter-spacing: -1px; }
  .hero .eyebrow { font-size: 18px; letter-spacing: 0; line-height: 1.6; margin-bottom: 24px; }
  .hero-description { font-size: 18px; line-height: 1.7; margin: 24px auto 28px; }
  .hero-actions { flex-direction: column; gap: 22px; }
  .hero-actions .button { width: auto; max-width: 100%; gap: 20px; font-size: 18px; padding: 16px 22px; }
  .reassurances { font-size: 18px; gap: 12px 22px; margin-top: 26px; }
  .hero-visual { aspect-ratio: auto; }
  .hero-visual img { object-position: 50% 50%; }
  .hero-visual::after { background: rgba(0,0,0,.62); }
  .opportunity, .split-heading, .calculator, .assessment-section, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .opportunity p { font-size: 18px; }
  .opportunity .large-copy { font-size: 20px; }
  .opportunity .text-link { font-size: 18px; }
  .section-heading { text-align: left; margin-bottom: 32px; }
  .section-heading > p:last-child { font-size: 18px; max-width: none; margin-top: 20px; }
  .calculator { gap: 0; }
  .calculator-inputs, .calculator-result { padding: 28px 24px; }
  .calculator-result { border-left: 0; border-top: 1px solid var(--line); }
  .calculator-result output { font-size: 42px; }
  .calculator-result .button { font-size: 18px; padding-inline: 14px; }
  .split-heading > p { font-size: 18px; }
  .principles { gap: 28px; }
  .principles h3 { font-size: 22px; }
  .principles p { font-size: 18px; }
  .review-block { padding: 28px 24px; gap: 28px; margin-top: 40px; }
  .review-block h3 { font-size: 24px; }
  .review-block p, .review-list li { font-size: 18px; }
  .process p { font-size: 18px; }
  .assessment-intro h2 { font-size: 34px; }
  .assessment-intro > p:not(.eyebrow) { font-size: 18px; }
  .assessment-includes li { font-size: 18px; }
  .form-wrap { padding: 26px 22px; }
  .form-grid { gap: 18px; }
  .form-grid input, .form-grid select, .form-grid textarea { font-size: 18px; }
  .form-heading h3 { font-size: 24px; }
  .check-label, .form-privacy, .form-mode-note { font-size: 18px; }
  .submit-button { font-size: 18px; padding-inline: 16px; }
  .faq-list summary { font-size: 18px; }
  .faq-list details p { font-size: 18px; }
  .final-cta { padding-block: 64px; }
  .final-cta h2 { font-size: 36px; }
  .footer > div:first-child { gap: 28px; }
  .footer-bottom { gap: 20px; }
  .footer button { font-size: 18px; }
  .modal h2 { font-size: 28px; }
  .modal p, .modal li { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* Site-wide readability: supporting text and controls never drop below 18px. */
.button { min-height: 58px; }
.button-small { min-height: 50px; }
.hero-actions .button { max-width: 100%; }
.prototype-strip { line-height: 1.55; }
.quick-estimates { gap: 12px; }
.quick-estimates button { min-height: 46px; padding: 9px 14px; }
.input-unit > span { top: 23px; }
.form-grid input, .form-grid select, .form-grid textarea { min-height: 56px; }
.form-grid label { margin-bottom: 10px; }
.check-label { gap: 12px; line-height: 1.65; }
.check-label input { width: 22px; height: 22px; min-height: 22px; margin-top: 4px; }
.secondary-button { min-height: 46px; }
.lead-controls select { min-height: 46px; }
.footer-bottom { align-items: start; gap: 24px; }
.footer-bottom > div { gap: 18px 26px; }
.footer button { padding-block: 9px; }
.principles p, .process p, .split-heading > p, .opportunity-copy p,
.assessment-intro > p:not(.eyebrow) { font-size: 20px; }

@media (max-width: 760px) {
  .header { padding-inline: 20px; gap: 14px; }
  .brand { font-size: 25px; gap: 5px; }
  .brand-mark { flex-shrink: 0; }
  .brand-ai { margin-top: -7px; }
  .menu-toggle { flex-shrink: 0; gap: 8px; padding-left: 0; }
  .eyebrow, .overline { letter-spacing: 0; }
  .hero-actions .button { padding-inline: 18px; }
  .hero-actions .button > span, .calculator-result .button > span,
  .submit-button > span { flex-shrink: 0; }
  .form-wrap { padding-inline: 20px; }
  .calculator-result .button, .submit-button { line-height: 1.55; }
  .review-toolbar { gap: 14px; }
  .footer-bottom > div { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 32px); }
  .form-wrap { padding-inline: 16px; }
}

/* FAQs are grouped so vendors can find eligibility, review and payment answers. */
.faq-intro > p { margin-top: 20px; }
.faq-intro .faq-updated { font-size: 18px; margin-top: 28px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h3 { font-size: 22px; margin-bottom: 18px; }
.faq-group > details:first-of-type { border-top: 1px solid var(--line); }
.faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.faq-list a:hover { color: #1d4ed8; }
.faq-list details p { overflow-wrap: anywhere; }

/* Assessment draft: the supplied form's collection and review method. */
.assessment-method { margin-top: 32px; border-block: 1px solid var(--line); }
.assessment-method > summary { cursor: pointer; padding: 22px 0; font-size: 22px; font-weight: 600; line-height: 1.4; }
.assessment-method-content { max-width: 840px; padding: 4px 0 28px; }
.assessment-method-content h3 { margin: 24px 0 10px; }
.assessment-method-content p { font-size: 18px; }
.assessment-method-content p:last-child { margin-bottom: 0; }

/* Core questions on the landing page; full vendor FAQ on its own page. */
.faq-more-link { margin-top: 8px; }
.faq-more { margin-top: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.faq-more h3 { margin-bottom: 12px; }
.faq-more p { font-size: 18px; }
.faq-page-intro { padding-block: 64px 52px; }
.faq-page-intro .eyebrow { margin-top: 44px; }
.faq-page-intro h1 { font-size: 56px; line-height: 1.12; font-weight: 600; letter-spacing: -1.4px; }
.faq-page-intro > p { max-width: 820px; margin-top: 24px; }
.faq-page-intro .faq-updated { font-size: 18px; }
.faq-page-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-bottom: 56px; }
.faq-topics { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.faq-topics h2 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 8px; }
.faq-topics a { font-size: 18px; line-height: 1.5; }
.faq-topics a:hover { color: var(--accent); }
.faq-topics .text-link { margin-top: 12px; }
.faq-page-questions .faq-group > h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 22px; }
.faq-page-questions .faq-group, .faq-page-questions details { scroll-margin-top: 116px; }
.header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 760px) {
  .faq-more { padding: 24px; }
  .faq-page-intro { padding-block: 36px 32px; }
  .faq-page-intro .eyebrow { margin-top: 32px; }
  .faq-page-intro h1 { font-size: 40px; letter-spacing: -1px; }
  .faq-page-layout { grid-template-columns: 1fr; gap: 40px; padding-bottom: 16px; }
  .faq-topics { position: static; padding-block: 24px; border-block: 1px solid var(--line); }
  .faq-page-questions .faq-group > h2 { font-size: 24px; }
  .faq-page-questions .faq-group, .faq-page-questions details { scroll-margin-top: 92px; }
}

/* Vendor payout estimator, integrated from the approved standalone tool. */
.vendor-estimator-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.vendor-estimator .estimator-form, .vendor-estimator .result { padding: 32px; border: 1px solid var(--line); border-radius: 6px; }
.vendor-estimator .estimator-form { background: #fff; }
.vendor-estimator .estimator-form h2, .vendor-estimator .result h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
.vendor-estimator .sub { font-size: 18px; margin-top: 12px; margin-bottom: 28px; }
.vendor-estimator .field { margin-bottom: 24px; }
.vendor-estimator .field label { display: block; font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.vendor-estimator .num { color: var(--accent); font-size: 18px; margin-right: 8px; font-weight: 400; }
.vendor-estimator select { font-size: 18px; }
.vendor-estimator .hint { font-size: 18px; line-height: 1.6; margin: 10px 0 0; }
.vendor-estimator .rights { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border-radius: 5px; padding: 16px; margin: 28px 0 22px; font-size: 18px; line-height: 1.6; }
.vendor-estimator .rights input { width: 22px; height: 22px; min-height: 22px; padding: 0; margin: 4px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.vendor-estimator .estimator-submit { width: 100%; }
.vendor-estimator .sample { display: block; border: 0; background: none; color: var(--muted); font-size: 18px; text-decoration: underline; text-underline-offset: 4px; margin: 18px auto 0; padding: 8px; }
.vendor-estimator .result { position: static; background: var(--surface); scroll-margin-top: 112px; }
.vendor-estimator .result .eyebrow { color: var(--accent); }
.vendor-estimator .empty-number { font-size: 50px; color: var(--accent); margin: 24px 0 12px; letter-spacing: -1.5px; }
.vendor-estimator .result .lead { font-size: 18px; }
.vendor-estimator .feature { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 1.6; margin: 18px 0; }
.vendor-estimator .check { color: var(--accent); }
.vendor-estimator .usd { display: block; font-size: 18px; color: var(--muted); margin-top: 24px; }
.vendor-estimator .amount { font-size: 48px; color: var(--accent); line-height: 1.2; font-weight: 600; letter-spacing: -1.5px; margin: 10px 0 24px; }
.vendor-estimator .feedback { background: #edf2ff; border-radius: 5px; padding: 20px; margin-top: 24px; }
.vendor-estimator .feedback p { font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.vendor-estimator .feedback p:last-child { margin-bottom: 0; }
.vendor-estimator .review { font-size: 28px; line-height: 1.35; color: var(--ink); margin-block: 24px; }
.vendor-estimator .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.vendor-estimator .actions button { font-size: 18px; min-height: 48px; }
.vendor-estimator .status { font-size: 18px; margin: 14px 0 0; }
.vendor-estimator .status:empty { display: none; }
.vendor-estimator .estimator-assessment-cta { width: 100%; margin-top: 24px; padding-inline: 18px; gap: 16px; }
.vendor-estimator .fine { font-size: 18px; border-top: 1px solid var(--line); padding-top: 24px; margin: 28px 0 0; }
.vendor-estimator .estimator-method { margin-top: 48px; }
.vendor-estimator .estimator-method details p { max-width: 940px; }
.lead-estimate-summary { background: #edf2ff; padding: 18px; color: var(--ink); font-size: 18px; line-height: 1.6; border-radius: 5px; margin-bottom: 24px; }
@media (max-width: 760px) {
  .vendor-estimator-layout { grid-template-columns: 1fr; gap: 24px; }
  .vendor-estimator .estimator-form, .vendor-estimator .result { padding: 24px 20px; }
  .vendor-estimator .result { position: static; scroll-margin-top: 100px; }
  .vendor-estimator .amount { font-size: 40px; }
  .vendor-estimator .feedback { padding: 16px; }
}
.vendor-estimator .result:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Original Stackworth22 wordmark; clip its blank canvas without altering the asset. */
.brand { position: relative; display: block; width: 260px; aspect-ratio: 1848 / 255; flex-shrink: 0; overflow: hidden; }
.brand .brand-logo { position: absolute; inset: 0 auto auto 0; width: 110.822511%; max-width: none; height: auto; transform: translate(-5.078125%, -32.552083%); mix-blend-mode: multiply; }
.email-brand { width: 280px; max-width: 100%; margin-bottom: 30px; }
@media (max-width: 1050px) and (min-width: 761px) {
  .header { padding-inline: 28px; gap: 22px; }
  .header .brand { width: 230px; }
  .header nav { gap: 18px; }
  .header nav > a:not(.button), .header nav .button { font-size: 18px; }
}
@media (max-width: 760px) {
  .header .brand, .footer .brand { width: 230px; }
  .header { gap: 16px; }
  .header .menu-toggle { gap: 8px; padding-left: 0; flex-shrink: 0; }
}
@media (max-width: 400px) {
  .header .brand, .footer .brand { width: 215px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .header { height: 80px; }
  .header .menu-toggle { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 0 12px 12px; font-size: 18px; }
  .header nav { display: none; position: absolute; top: 78px; left: 24px; right: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 22px; box-shadow: 0 12px 20px #22222210; }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .header nav > a:not(.button) { padding: 12px 0; }
}
@media (max-width: 760px) {
  .footer > div:first-child { flex-direction: column; gap: 20px; }
  .footer > div:first-child p { text-align: left; max-width: 100%; }
}
@media (max-width: 360px) {
  .header { padding-inline: 16px; gap: 12px; }
  .header .brand { width: 190px; }
}

/* Clear first assessment and named contacts for visitors arriving from outreach. */
.hero-assurance { font-size: 18px; line-height: 1.6; font-weight: 400; color: #f1f1ed; margin: 20px auto 0; max-width: 820px; }
.team-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; padding-block: 76px; }
.team-intro h2 { margin-bottom: 24px; }
.team-intro > p:not(.eyebrow) { font-size: 18px; }
.team-email { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.team-profiles { display: grid; gap: 32px; align-content: start; }
.team-profile { padding-top: 24px; border-top: 1px solid var(--line); }
.team-profile h3 { font-size: 24px; line-height: 1.3; }
.team-profile .team-role { color: var(--accent); font-size: 18px; margin: 10px 0 14px; }
.team-profile > p { font-size: 18px; line-height: 1.65; }
.team-profile .text-link { font-size: 18px; }
.estimate-basis { font-size: 18px; line-height: 1.6; color: var(--muted); margin: -8px 0 20px; }
.footer > div:first-child p a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero-assurance { font-size: 18px; margin: 20px auto 0; }
  .team-section { grid-template-columns: 1fr; gap: 36px; padding-block: 64px; }
  .team-profile h3 { font-size: 22px; }
}

.vendor-estimator .feedback:empty { display: none; }

/* The process section contains only its steps. */
.process-section .process { margin-block: 0; }

/* One commercial purpose per section; preserve the established visual language. */
.opportunity-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; padding-block: 76px; }
.opportunity-section h2 { font-size: 40px; line-height: 1.18; }
.opportunity-section p { font-size: 20px; }
.opportunity-section p:last-child { margin-bottom: 0; }
.process-section .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.team-intro p { margin-top: 24px; }
.disclosure-hint { font-size: 18px; line-height: 1.6; }
.faq-intro > .disclosure-hint { margin-top: 24px; }
.faq-intro .text-link { margin-top: 8px; }
.faq-list summary:hover, .faq-list details[open] > summary { color: var(--accent); }
.contact-email { color: #fff; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; max-width: 100%; }
.assessment-intro > .contact-email { margin-top: 8px; }
.form-success > .inline-link { margin-top: 24px; }
@media (max-width: 760px) {
  .opportunity-section { grid-template-columns: 1fr; gap: 24px; padding-block: 64px; }
  .opportunity-section h2 { font-size: 34px; }
  .opportunity-section p { font-size: 18px; }
  .process-section .process { grid-template-columns: 1fr; gap: 0; }
  .assessment-section { gap: 28px; }
  .assessment-intro h2 { font-size: 36px; }
  .assessment-intro > .contact-email { margin-top: 0; }
}

/* Four named team members, with original portraits and concise biographies. */
.team-section { display: block; }
.team-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.team-intro h2 { margin-bottom: 0; }
.team-intro p { margin: 0; }
.team-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; margin-top: 40px; }
.team-profile { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: start; }
.team-portrait { position: relative; width: 132px; aspect-ratio: 1; overflow: hidden; border-radius: 5px; }
.team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Show only x=704..1184 and y=48..528 of Theo’s supplied 1200×831 composite. */
.team-portrait--theo img { position: absolute; width: 250%; height: auto; max-width: none; left: -146.666667%; top: -10%; object-fit: initial; }
.team-profile-copy p { font-size: 18px; line-height: 1.65; }
.team-profile .team-role { margin: 10px 0 12px; }
@media (max-width: 1050px) {
  .team-intro { gap: 40px; }
  .team-profiles { gap: 32px; }
  .team-profile { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .team-portrait { width: 112px; }
}
@media (max-width: 760px) {
  .team-intro { grid-template-columns: 1fr; gap: 24px; }
  .team-profiles { grid-template-columns: 1fr; margin-top: 32px; }
  .team-profile { grid-template-columns: 100px minmax(0, 1fr); gap: 20px; }
  .team-portrait { width: 100px; }
}
@media (max-width: 400px) {
  .team-profile { grid-template-columns: 1fr; gap: 18px; }
  .team-portrait { width: 120px; }
}
