@font-face {
  font-family: Labrada;
  src: url("assets/Labrada-Variable.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/Inter-Variable.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #1b2741;
  --cream: #fdf9f3;
  --green: #184b23;
  --leaf: #cfe0a1;
  --water: #bad2d2;
  --muted: #526071;
  --paper: #fffdf9;
  --line: #d7d9d3;
  --soft: #f4eee5;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 1rem/1.6 Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .67; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #2d7a53; outline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--leaf); }

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: Labrada, Georgia, serif;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 7vw, 5.65rem); letter-spacing: -.055em; font-weight: 550; }
h2 { font-size: clamp(2.05rem, 4.8vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h4 { font-size: 1.05rem; line-height: 1.38; }
p { text-wrap: pretty; }
li + li { margin-top: .5rem; }

.wrap { width: min(100% - 2.25rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.soft { background: var(--soft); }
.section-intro { margin-top: .85rem; max-width: 54ch; color: var(--muted); }
.section-note { margin-top: 1.5rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .9rem; }
.text-list { margin: 1.15rem 0; padding-inline-start: 1.25rem; }
.text-link, .text-button { color: var(--green); font-weight: 650; }
.text-button {
  background: none;
  border: 0;
  border-radius: 4px;
  min-height: 44px;
  padding: .3rem .1rem;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.sr-only, .skip:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 1; background: var(--paper); padding: .65rem; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; padding-block: .4rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: clamp(5.4rem, 16vw, 7.6rem); height: auto; }
.header-nav, .langs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.55rem, 2vw, 1.7rem); }
.header-nav a, .langs a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.header-nav a:hover, .langs a:hover { text-decoration: underline; }

.hero { padding: clamp(2.9rem, 7.5vw, 6.15rem) 0 0; }
.hero-grid { display: grid; align-items: center; }
.hero-example { grid-row: 4; margin-top: 1.25rem; }
.hero-intro { color: var(--muted); font-size: clamp(1rem, 2vw, 1.14rem); margin: 1.1rem 0 1.45rem; max-width: 55ch; }
.hero-actions, .checkout-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .66rem 1rem;
  font-weight: 650;
  font-size: .94rem;
  text-align: center;
  text-decoration: none;
}
.primary { background: var(--green); color: white; }
.primary:hover:not(:disabled) { background: #103918; }
.secondary { border-color: #9baa9d; background: transparent; color: var(--green); }
.secondary:hover:not(:disabled) { background: #edf2e8; }

.hero-example {
  overflow: hidden;
  display: grid;
  gap: .65rem;
  padding: clamp(1rem, 4vw, 2.1rem);
  border-radius: var(--radius);
  background: var(--navy);
  background-image: radial-gradient(ellipse at 87% 1%, #354e57, transparent 70%);
  color: white;
}
.hero-example figcaption { color: var(--leaf); font-size: .84rem; font-weight: 650; margin-bottom: .23rem; }
.message { padding: .65rem .85rem; border-radius: 10px; font-size: .9rem; max-width: 90%; }
.incoming { justify-self: start; border-bottom-left-radius: 0; background: var(--paper); color: var(--navy); }
.outgoing { justify-self: end; border-bottom-right-radius: 0; background: var(--water); color: var(--navy); }
.example-booking { display: flex; align-items: center; gap: .8rem; margin-top: .25rem; border-top: 1px solid #ffffff3d; padding-top: .8rem; font-size: .88rem; }
.example-booking small { display: block; color: var(--leaf); font-size: .78rem; }
.calendar-mark { flex: 0 0 1.35rem; height: 1.3rem; border: 1.5px solid var(--leaf); border-top-width: 5px; border-radius: 3px; }

.trust { list-style: none; padding: 0; margin: 1.8rem 0 1.25rem; display: flex; gap: .35rem 1rem; flex-wrap: wrap; color: var(--muted); font-size: .875rem; }
.trust li { margin: 0; }
.trust li::before { content: ''; vertical-align: middle; display: inline-block; height: .4rem; width: .4rem; margin-inline-end: .45rem; border-radius: 50%; background: var(--green); }
.sectors { border-block: 1px solid var(--line); padding-block: .9rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.1rem; }
.sectors > span { font-size: .875rem; font-weight: 650; }
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 50rem; font-size: .875rem; text-decoration: none; }
.chip:hover { background: var(--soft); border-color: var(--green); }
.chip[aria-current] { background: var(--navy); border-color: var(--navy); color: white; }

.pain-grid { margin-top: 1.45rem; display: grid; gap: 1rem; }
.pain-grid article { border-inline-start: 3px solid var(--water); padding-inline-start: 1rem; }
.pain-grid h3 { font: 650 1.05rem/1.36 Inter, sans-serif; letter-spacing: -.02em; text-wrap: pretty; }
.pain-grid p { margin-top: .4rem; color: var(--muted); }

.calculator-section { background: var(--navy); color: var(--cream); }
.calculator-section .section-intro { color: #d5deeb; }
#wizard { margin-top: 1.45rem; color: var(--navy); }
.wizard-panel, .result { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 4vw, 2.45rem); }
.wizard-panel { max-width: 46rem; }
.wizard-start { display: inline-block; padding: .35rem; background: var(--leaf); border-color: var(--leaf); }
.progress-label { font-size: .875rem; font-weight: 650; color: var(--green); }
progress { display: block; inline-size: 100%; block-size: .5rem; margin: .45rem 0 1.25rem; border: 0; border-radius: 1rem; accent-color: var(--green); overflow: hidden; }
progress::-webkit-progress-bar { background: #e8ebe4; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
#question-title:focus, .verdict-title:focus, main:focus { outline: none; }
.option-grid { display: grid; gap: .55rem; margin-top: 1.1rem; }
.option { background: var(--paper); color: var(--navy); border: 1px solid #aeb9af; border-radius: 8px; min-height: 48px; padding: .62rem .8rem; font-weight: 550; text-align: left; }
.option:hover, .option[aria-pressed="true"] { border-color: var(--green); background: #edf2e8; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.ticket-question { margin-top: .8rem; }
.ticket-question output { display: block; font-size: 1.4rem; font-weight: 650; }
.ticket-question p { color: var(--muted); margin: -.25rem 0 .7rem; }
input[type="range"] { margin: 0; width: 100%; min-height: 44px; accent-color: var(--green); }
.ticket-question button { margin: 0 .25rem .4rem 0; }

.stats { display: grid; gap: .55rem; margin: 1.2rem 0; }
.stats > div { background: #eef1e8; border-radius: 8px; padding: .8rem 1rem; }
.stats dt { font-size: .9rem; font-weight: 600; }
.stats dd { margin-top: .25rem; font: 650 clamp(1.55rem, 4vw, 2.25rem)/1.12 Labrada, Georgia, serif; }
.stats dd.long-stat { font-size: 1.45rem; }
.stats small { display: block; margin-top: .3rem; color: var(--muted); font: 500 .85rem/1.45 Inter, sans-serif; }
.flags, .call-note { background: #f5eee2; border-inline-start: 3px solid #ad8b59; padding: .65rem .8rem .65rem 1rem; margin: .7rem 0; }
.flags { padding-inline-start: 1.95rem; }
.default-note { margin: .8rem 0; color: var(--muted); }
.default-note ul { display: flex; flex-wrap: wrap; gap: .3rem .5rem; list-style: none; padding: 0; margin: .4rem 0 0; }
.default-note li { margin: 0; padding: .13rem .5rem; border: 1px solid var(--line); border-radius: 5px; font-size: .875rem; }
.result-tasks { margin: 1.2rem 0; }
.result-tasks ul { padding-inline-start: 1.2rem; margin: .4rem 0 .8rem; }
.result-tasks p { color: var(--green); font-weight: 600; }
.explanation, .action-form { border: 1px solid var(--line); border-radius: 8px; margin: .75rem 0; padding: 0 .85rem; }
summary { font-weight: 650; }
.explanation > summary, .action-form > summary, .guide summary { padding-block: .7rem; color: var(--green); }
.explanation[open], .action-form[open] { padding-bottom: .85rem; }
.explanation h4 { margin: 1.2rem 0 .6rem; }
.result-actions { border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: .4rem; }
.result-actions > p { margin-top: .55rem; }
.edit-questions { margin-top: .35rem; }
.guide h4 { margin-top: .55rem; }
.guide ol { margin: 0 0 .9rem; padding-inline-start: 1.3rem; }

form, fieldset { min-width: 0; }
form > * + * { margin-top: .85rem; }
fieldset { margin-inline: 0; border: 1px solid var(--line); border-radius: 8px; padding: .65rem .7rem .75rem; }
legend { font-size: .9rem; font-weight: 650; }
.field-grid, .service-fields { display: grid; gap: .75rem; }
.field-grid > *, .service-fields > * { min-width: 0; }
label { display: grid; align-content: start; font-size: .9rem; font-weight: 600; gap: .23rem; }
input:not([type="checkbox"], [type="range"]), select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #aeb9af;
  border-radius: 6px;
  padding: .45rem .5rem;
  background: white;
  color: var(--navy);
  font-size: 1rem;
}
input:disabled { opacity: .7; }
input:invalid:not(:placeholder-shown):focus { border-color: #a13e2d; }
.check { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.check input { margin: 0; inline-size: 1.1rem; block-size: 1.1rem; flex-shrink: 0; accent-color: var(--green); }
.assumption-group { grid-column: 1 / -1; }
.service + .service { margin-top: .7rem; }
.service-list { margin-bottom: .75rem; }
.remove-service { margin-top: .3rem; }
.schedule-day { border: none; padding: 0; }
.schedule-day + .schedule-day { border-top: 1px solid var(--line); }
.schedule-day legend { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.day-fields { padding: 0 0 .65rem .2rem; }
.form-status { font-size: .9rem; color: var(--green); }
.form-status:empty { margin: 0; }
.error { color: #922e23; }
.checkout { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.stand { margin-top: 1.25rem; scroll-margin-block-start: 1rem; }
.stand table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.stand caption { text-align: start; color: var(--muted); padding-bottom: .55rem; }
.stand th, .stand td { text-align: start; vertical-align: top; }
.stand-mobile-label { display: block; font-size: .79rem; font-weight: 650; color: var(--green); margin-bottom: .1rem; }
.step-number { display: inline-block; color: var(--green); font-weight: 700; margin-inline-end: .35rem; }
.stand tbody th { font-weight: 400; background: #e8eedb; }
.stand-action { margin-top: 1rem; }
.chat-columns { display: grid; gap: .75rem; align-items: start; }
.chat-panel {
  min-width: 0;
  padding: clamp(.65rem, 2vw, 1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.chat-panel-title { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .85rem; }
.chat-panel > p { font-size: .9rem; }
.chat-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; margin-bottom: .65rem; }
.chat-tabs button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  padding: .35rem .25rem;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}
.chat-tabs [aria-selected="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.chat-window { border-radius: 8px; border: 1px solid #ccd7cb; background: #e9eee7; }
.chat-window h4 { padding: .65rem .8rem; border-radius: 7px 7px 0 0; background: var(--green); color: white; }
.chat-window h4:focus-visible { outline-color: var(--navy); }
.chat-messages {
  height: clamp(12rem, 38vh, 20rem);
  overflow-y: auto;
  padding: .75rem;
  background-color: #edf1e8;
  background-image: radial-gradient(#cfd9cc 1px, transparent 1px);
  background-size: 15px 15px;
}
.chat-bubble {
  width: fit-content;
  max-width: 93%;
  padding: .46rem .7rem;
  border-radius: 9px;
  font-size: .9rem;
  line-height: 1.48;
  white-space: pre-wrap;
  text-wrap: wrap;
}
.chat-bubble + .chat-bubble { margin-top: .5rem; }
.from-client { margin-inline-start: auto; background: #d3e6ba; border-bottom-right-radius: 2px; }
.from-assistant { background: white; border-bottom-left-radius: 2px; }
.chat-compose { padding: .35rem .6rem .65rem; background: var(--paper); border-radius: 0 0 7px 7px; }
.chat-typing { min-block-size: 1.4rem; font-size: .84rem; color: var(--muted); }
.chat-compose-row { display: flex; align-items: end; gap: .4rem; margin-top: .25rem; }
.chat-compose textarea {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: .45rem .55rem;
  resize: vertical;
  border-radius: 7px;
  border: 1px solid #aeb9af;
  background: white;
  color: var(--navy);
}
.chat-remaining { font-weight: 650; color: var(--green); }
.chat-activity-empty { color: var(--muted); }
.chat-remaining:not(:empty) + .chat-activity-empty { margin-top: .55rem; }
.chat-event { margin-top: .65rem; padding: .65rem .75rem; background: #edf2e8; border-inline-start: 3px solid var(--green); border-radius: 5px; font-size: .9rem; }
.chat-event p { margin-top: .3rem; color: var(--muted); }
.chat-notice p:not(:empty) { margin-top: .75rem; padding: .65rem .85rem; border-inline-start: 3px solid #ad8b59; background: #f5eee2; }
.chat-notice button { margin-top: .55rem; }

.split { display: grid; gap: .9rem; margin-top: 1.25rem; }
.scope-card, .price-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.55rem); border-radius: var(--radius); }
.scope-card ul { margin-bottom: 0; }
.control-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .8rem; }
.control-grid li { display: grid; margin: 0; align-content: start; padding: .7rem .95rem; border-inline-start: 3px solid var(--water); }
.price-card dl { display: flex; flex-wrap: wrap; gap: 1rem; margin: .9rem 0; }
.price-card dl > div { min-width: 6.3rem; }
.price-card dt { color: var(--muted); font-size: .85rem; }
.price-card dd { font-weight: 700; font-size: 1.25rem; }
.faq { margin-top: 1.2rem; }
.faq details { border-bottom: 1px solid #d5d5cf; }
.faq summary { padding: .8rem 0; }
.faq p { max-width: 70ch; padding: 0 0 .85rem; color: var(--muted); }

.site-footer { padding-block: 2rem; background: var(--navy); color: var(--cream); font-size: .9rem; }
.footer-main, .footer-bottom { display: flex; flex-wrap: wrap; gap: .9rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-main .logo img { width: 8rem; }
.footer-main address { font-style: normal; color: #e0e5ed; }
.footer-bottom { border-top: 1px solid #ffffff40; margin-top: 1.25rem; padding-top: .75rem; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .1rem .85rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 699px) {
  .chat-panel-title { display: none; }
  .stand table, .stand tbody, .stand tr, .stand td, .stand th { display: block; }
  .stand thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .stand tbody { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
  .stand tbody + tbody { margin-top: .65rem; }
  .stand tbody td, .stand tbody th { padding: .6rem .75rem; }
  .stand tbody td + td { border-top: 1px solid var(--line); }
}

@media (min-width: 550px) {
  .wrap { width: min(100% - 3.5rem, 72rem); }
  .option-grid, .field-grid, .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-fields { grid-template-columns: 2fr 1fr 1fr; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-example { max-width: 34rem; }
}

@media (min-width: 700px) {
  .chat-columns { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); }
  .pain-grid, .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stand thead th { width: 33.333%; background: var(--navy); color: white; padding: .65rem .8rem; }
  .stand thead th:first-child { border-top-left-radius: 8px; }
  .stand thead th:last-child { border-top-right-radius: 8px; }
  .stand tbody td, .stand tbody th { border-bottom: 1px solid var(--line); padding: .7rem .8rem; }
  .stand tbody td { background: var(--paper); border-inline-end: 1px solid var(--line); }
  .stand-mobile-label { display: none; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); column-gap: clamp(2.4rem, 7vw, 6rem); }
  .hero-example { grid-area: 1 / 2; margin-top: 0; }
  .trust, .sectors { grid-column: 1 / -1; }
  .trust { margin-top: 2.4rem; }
}

@media (max-width: 359px) {
  .hero-actions .button { width: 100%; }
}
