/* Conversion refinements: keep Build Flow's forest, paper and orange identity. */
:root {
  --cta: #b9431f;
  --cta-hover: #9c3518;
  --text-subtle: #4f5d56;
}

html { scroll-padding-top: 100px; }
body { overflow-wrap: break-word; }
main, section, .wrap, .hero-side, .contact-grid > *, .section-heading > * { min-width: 0; }
main p, .section-cta p, .persona-card dd { max-width: 65ch; }
.button, .button.small {
  background: var(--cta);
  color: #fff;
  font-size: 16px;
  min-height: 48px;
  line-height: 1.4;
  text-align: left;
}
.button:hover { background: var(--cta-hover); }
.button.small { gap: 16px; }
.text-link { font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 4px;
}
.dark-section a:focus-visible, .dark-section button:focus-visible,
.hero a:focus-visible { outline-color: #f7b89e; }
.header-inner { gap: 24px; }
.header-inner nav { gap: 22px; }
.header-demo { white-space: nowrap; }

.hero-copy {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  padding: 60px 0 44px;
}
.hero h1 {
  font-size: clamp(48px, 5.1vw, 76px);
  letter-spacing: -.055em;
  line-height: 1.08;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-side > p { font-size: 18px; line-height: 1.6; max-width: 48ch; }
.hero-side > .local-proof {
  margin-top: 16px;
  font-size: 16px;
  color: #d7e2d8;
}
.hero-side > .hero-reassurance {
  margin-top: 16px;
  font-size: 16px;
  color: #d7e2d8;
}
.hero-side > .hero-note {
  display: block;
  margin-top: 16px;
  color: #d7e2d8;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}
.hero-buttons { gap: 20px; }
.hero-buttons .button, .hero-buttons .text-link { font-size: 16px; }
.mockup-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.hero > .mockup-caption {
  max-width: var(--wrap);
  margin-inline: auto;
  color: #d7e2d8;
}
.intro-grid, .section-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
}
.intro-grid > p, .section-heading > p { max-width: 48ch; }
.intro h2, .section-heading h2 { font-size: clamp(38px, 4.5vw, 64px); }
.before-after { margin-top: 40px; }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  width: 50%;
  text-align: left;
  vertical-align: top;
  font-size: 17px;
  line-height: 1.5;
}
.comparison-table th {
  font: 650 22px/1.3 Manrope, sans-serif;
  background: #e5eae4;
  letter-spacing: -.035em;
}
.comparison-table th:last-child { background: var(--dark); color: var(--paper); }
.comparison-table td { border-top: 1px solid #c7d0c6; background: #e5eae4; }
.comparison-table td:last-child { background: #dce6dc; }
.comparison-table td svg { width: 18px; height: 18px; vertical-align: -.15em; margin-right: 8px; }
.comparison-table td strong { font-weight: 650; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 32px 0 0;
  padding: 0;
}
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.5; }
.trust-list svg { width: 20px; height: 20px; color: var(--green); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.feature-group { min-width: 0; background: #e5eae4; }
.feature-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 24px 24px 20px;
  min-height: 88px;
  list-style: none;
  cursor: default;
}
.feature-group summary::-webkit-details-marker { display: none; }
.feature-group summary::marker { content: ''; }
.feature-group summary h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.035em;
}
.feature-group summary > span { color: var(--text-subtle); font-size: 14px; line-height: 1.5; }
.feature-group summary > svg, .feature-group summary > .expand-icon { display: none; }
.feature-list { margin: 0; padding: 0 24px 10px; }
.feature-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 0;
}
.feature-icon { display: flex; padding-top: 2px; color: var(--green); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-item strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; }
.feature-item p { font-size: 16px; line-height: 1.5; color: var(--text-subtle); margin-top: 4px; }
.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  margin-top: 32px;
}
.section-cta p { font-size: 18px; line-height: 1.5; }
.section-cta .button { flex-shrink: 0; }

.personas { padding-bottom: 112px; }
.persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.persona-card { background: #dce6dc; padding: 28px; min-width: 0; }
.persona-card h3 { font-size: 25px; font-weight: 650; letter-spacing: -.035em; line-height: 1.3; }
.persona-card > svg { color: var(--green); width: 28px; height: 28px; margin-bottom: 20px; }
.persona-card dl { margin: 24px 0 0; }
.persona-card dt { margin-top: 22px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.persona-card dt:first-child { margin-top: 0; }
.persona-card dd { margin: 6px 0 0; font-size: 16px; color: var(--ink); line-height: 1.55; }
.persona-card dd:last-child { color: var(--text-subtle); }
.field-copy h2 { margin-top: 0; }
.field-copy > p, .field-list li, .role-panel > p, .role-panel li { font-size: 16px; }
.role-buttons button { font-size: 16px; line-height: 1.5; }
.field-copy .small-note, .roles-caption, .role-footnote { font-size: 14px; line-height: 1.6; }
.roles-caption { margin-top: 20px; }
.onboarding .section-heading { margin-bottom: 40px; }
ol.onboarding-grid {
  list-style: none;
  counter-reset: setup;
  padding: 0;
  margin: 0;
}
.onboarding-grid > li { counter-increment: setup; }
.onboarding-grid > li::before {
  content: '0' counter(setup);
  display: block;
  color: #efb39b;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.onboarding-grid h3 { line-height: 1.3; }
.onboarding-grid p { max-width: 40ch; font-size: 16px; line-height: 1.6; }
.faq-intro > p { font-size: 18px; line-height: 1.6; max-width: 40ch; margin-bottom: 24px; }
.faq .section-cta { grid-column: 1 / -1; padding-top: 0; margin-top: 0; }
.faq-list p { max-width: 65ch; line-height: 1.6; }
.faq-list p .button { margin-top: 16px; }
.faq-list details > .button { margin: 0 0 24px; }
.contact label, .contact input::placeholder { font-size: 16px; }
.contact label > span { color: var(--muted); font-weight: 400; }
.contact input, .contact select { min-height: 48px; }
.contact form .form-note { color: var(--text-subtle); font-size: 14px; line-height: 1.6; }
.contact form .demo-reassurance { font-size: 16px; color: var(--ink); margin: 16px 0 0; }
.need-options { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; }
.need-options legend { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; padding: 0; }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .need-chips label { display: block; margin: 0; position: relative; cursor: pointer; font-weight: 500; }
.need-chips input[type='checkbox'] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
}
.contact .need-chips label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  background: #e5eae4;
  border: 1px solid #9aa99b;
  color: var(--ink);
  line-height: 1.4;
}
.need-chips label:has(input:checked) > span { background: var(--dark); color: #fff; border-color: var(--dark); }
.need-chips label > span > svg { display: none; width: 16px; height: 16px; }
.need-chips label:has(input:checked) > span > svg { display: block; }
.need-chips input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 3px; }
.mobile-contact-bar { display: none; }

@media (max-width: 1100px) {
  .header-inner nav { gap: 16px; font-size: 13px; }
  .header-actions { gap: 12px; }
  .hero-copy { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { max-width: 21ch; font-size: clamp(48px, 6.5vw, 72px); }
  .hero-side { display: block; }
  .hero-side > p { max-width: 65ch; }
  .hero-buttons { margin-top: 24px; }
  .intro-grid, .section-heading { gap: 32px; }
  .feature-grid { gap: 16px; }
  .feature-group summary { padding: 22px 20px 18px; }
  .feature-list { padding: 0 20px 8px; }
  .persona-card { padding: 24px; }
  .persona-card h3 { font-size: 23px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 90px; scroll-padding-bottom: 100px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .header-demo { display: none !important; }
  .hero h1 { font-size: clamp(42px, 7.7vw, 62px); max-width: 22ch; }
  .hero-side > p { font-size: 16px; }
  .intro-grid, .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-group summary { min-height: 78px; padding: 20px; flex-wrap: nowrap; cursor: pointer; }
  .feature-group summary h3 { flex: 1; font-size: 22px; }
  .feature-group summary > span { font-size: 14px; }
  .feature-group summary > svg, .feature-group summary > .expand-icon { display: block; width: 20px; height: 20px; }
  .feature-group[open] summary > svg, .feature-group[open] summary .expand-icon svg { transform: rotate(45deg); }
  .feature-list { padding: 0 20px 8px; }
  .feature-item { padding: 17px 0; }
  .section-cta { align-items: flex-start; flex-direction: column; gap: 18px; padding-top: 20px; margin-top: 24px; }
  .persona-grid { grid-template-columns: 1fr; gap: 16px; }
  .persona-card { padding: 28px; }
  .persona-card h3 { font-size: 25px; max-width: 27ch; }
  .persona-card dl { margin-top: 20px; }
  .persona-card dt { margin-top: 18px; }
  .personas { padding-bottom: 72px; }
  .onboarding-grid { gap: 32px; }
  .onboarding-grid > li::before { margin-bottom: 12px; }
  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-top: 2px solid #aebbae;
  }
  .mobile-contact-bar a { min-width: 0; min-height: 48px; font-size: 16px; gap: 8px; }
  .mobile-contact-bar .button { justify-content: center; padding: 12px; }
  .whatsapp-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #71836f; padding: 10px; color: var(--dark); font-weight: 600; }
  .whatsapp-button svg { width: 20px; height: 20px; }
}

@media (max-width: 700px) {
  .hero-copy { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(40px, 10vw, 56px); line-height: 1.09; max-width: 16ch; }
  .hero-side { margin-top: 24px; }
  .hero-side > p { line-height: 1.55; }
  .hero-buttons { align-items: stretch; gap: 16px; flex-wrap: wrap; }
  .hero-buttons .button { font-size: 16px; padding: 14px 18px; }
  .hero-buttons .text-link { min-height: 48px; font-size: 16px; }
  .hero-side > .local-proof, .hero-side > .hero-reassurance { font-size: 16px; margin-top: 16px; }
  .hero-side > .hero-note { font-size: 16px; letter-spacing: 0; }
  .intro h2, .section-heading h2 { font-size: clamp(36px, 9.4vw, 50px); line-height: 1.1; }
  .before-after { margin-top: 28px; }
  .comparison-table th, .comparison-table td { padding: 16px 12px; font-size: 16px; line-height: 1.5; }
  .comparison-table th { font-size: 18px; }
  .comparison-table td svg { display: none; }
  .trust-list { gap: 14px; margin-top: 24px; }
  .feature-group summary { padding: 18px; gap: 10px; }
  .feature-group summary h3 { font-size: 20px; }
  .feature-group summary > span { max-width: 95px; text-align: right; font-size: 13px; }
  .feature-list { padding-inline: 18px; }
  .feature-item { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
  .feature-item strong { font-size: 17px; }
  .feature-item p { font-size: 16px; }
  .section-cta p { font-size: 16px; }
  .section-cta .button { min-height: 48px; font-size: 16px; }
  .persona-card { padding: 24px; }
  .persona-card h3 { font-size: 24px; }
  .field-grid { overflow: hidden; }
  .field-visual { min-width: 0; max-width: 100%; }
  .role-buttons button { font-size: 16px; min-height: 60px; }
  .role-panel li { align-items: flex-start; }
  .role-panel li svg { margin-top: 4px; }
  .faq-intro > p { font-size: 16px; }
  .faq-list summary { min-height: 76px; }
  .contact label { font-size: 16px; }
  .contact form .button { font-size: 16px; gap: 12px; }
  .need-chips { gap: 8px; }
  .contact .need-chips label > span { padding: 10px 12px; }
  .mobile-contact-bar { padding-inline: 16px; grid-template-columns: 1fr 1.55fr; }
  .mobile-contact-bar a { font-size: 16px; }
  .mobile-contact-bar .button svg { display: none; }
  .footer-bottom { font-size: 13px; }
  #mobile-nav a { min-height: 48px; font-size: 16px; }
}

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

/* Explicit state and compact inventory for the conversion path. */
.roles-inventory { display: flex; flex-wrap: wrap; gap: 10px 20px; max-width: none; padding: 0; }
.roles-inventory li { font-size: 16px; }
.contact form .form-reassurance { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.contact form .form-note { margin: 12px 0 0; }
.chip-hint { font-size: 16px; margin: 0 0 12px; color: var(--text-subtle); }
.faq-cta { grid-column: 1 / -1; }

.faq-list details > p { padding-bottom: 14px; }
.faq-list details > p:last-child { padding-bottom: 24px; }
/* Checkboxes use form-field borders to keep the selected state readable. */
@media (min-width: 851px) { .feature-group > summary { pointer-events: none; } }
@media (max-width: 700px) {
  .contact-grid { gap: 24px; }
  .contact-grid > div { display: contents; }
  .contact-grid > div > h2 { grid-row: 1; margin: 0; }
  .contact-grid > div > p { grid-row: 2; }
  .contact-grid > form { grid-row: 3; }
  .contact-grid > div > .trust-list { grid-row: 4; margin-top: 8px; }
  .contact-grid > div > .direct-contact { grid-row: 5; margin: 8px 0 0; }
}
.brand, .language { min-height: 44px; }
.language { min-width: 44px; }
.footer-main > div:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
.header-inner nav a:hover, .header-inner nav a:focus-visible, .text-link:hover { color: var(--cta); }
.hero .text-link:hover { color: #f7b89e; }
@media (max-width: 700px) {
  .role-footnote, .field-copy .small-note, .contact form .form-note, .demo-note { font-size: 16px; }
  .segmented button, .flow-steps .flow-step-label, .demo-controls button { font-size: 16px; }
}
