/* ==========================================================================
   LessRework - site styles
   Plain CSS, no build step. Organised as:
   1. Tokens  2. Reset/base  3. Layout  4. Components  5. Sections
   6. Forms   7. Footer      8. Motion  9. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #101e1a;
  --ink-soft:   #1b2f29;
  --muted:      #55665f;
  --muted-dark: #a9bab3;
  --paper:      #f5f7f2;
  --paper-warm: #eef2e4;
  --card:       #ffffff;
  --line:       #e0e6dd;
  --line-dark:  #32453e;
  --green:      #145843;
  --green-soft: #e7f1ea;
  --lime:       #cbeb62;
  --lime-dark:  #b2d443;
  --clay:       #b9553c;
  --clay-soft:  #fbeeea;
  --focus:      #0b7a5a;

  /* Type */
  --font-sans: "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui,
               -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;

  /* Space + shape */
  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 26, .05), 0 6px 16px rgba(16, 30, 26, .04);
  --shadow-lg: 0 24px 60px rgba(16, 30, 26, .10);
  --section-y: clamp(64px, 9vw, 112px);

  color-scheme: light;
}

/* 2. Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); letter-spacing: -0.02em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 3. Layout ------------------------------------------------------------- */
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

section { padding-block: var(--section-y); }

/* Keep in-page links clear of the sticky header. */
[id] { scroll-margin-top: 92px; }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--muted);
  margin-top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--lime-dark);
  border-radius: 2px;
}

.band-dark { background: var(--ink); color: #fff; }
.band-dark .eyebrow { color: var(--lime); }
.band-dark .eyebrow::before { background: var(--lime); }
.band-dark .section-head p,
.band-dark .lede { color: var(--muted-dark); }
.band-dark a { color: var(--lime); }
/* Buttons keep their own colours inside dark bands. */
.band-dark a.btn { color: #fff; }
.band-dark a.btn--primary { color: var(--ink); }

.band-warm { background: var(--paper-warm); }

/* 4. Components --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--ink-soft); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 1px 0 var(--lime-dark); }
.btn--primary:hover { background: var(--lime-dark); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #c8d2c8; }
.band-dark .btn--ghost { color: #fff; border-color: var(--line-dark); }
.band-dark .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
}

.icon {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 1.1rem;
}

/* Site header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 242, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header[data-stuck="true"] { border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.2rem; font-weight: 750; letter-spacing: -.035em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 750; }
.brand span { color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
}
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-links a.btn { color: #fff; }
.nav-panel a.btn { color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .625rem .8rem;
  font: inherit; font-weight: 600; cursor: pointer;
}
.nav-panel { display: none; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}
.hero-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }

.trust {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .9375rem; color: var(--muted);
}
.trust li { display: flex; align-items: flex-start; gap: .5rem; }
.trust .icon { width: 18px; height: 18px; color: var(--green); margin-top: .18rem; }
.trust b { color: var(--ink); font-weight: 650; }

/* Before / after flow diagram */
.flow {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-lg);
}
.flow-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .75rem;
}
.flow-label .cost { letter-spacing: 0; text-transform: none; font-weight: 600; font-size: .8125rem; }
.flow-stage--before .flow-label .cost { color: var(--clay); }
.flow-stage--after  .flow-label .cost { color: var(--green); }

.flow-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fcfdfb;
}
.flow-stage--before .flow-box { background: var(--clay-soft); border-color: #f0ddd7; }
.flow-stage--after  .flow-box { background: var(--green-soft); border-color: #d4e6da; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .7rem;
  font-size: .8125rem; font-weight: 550;
  color: var(--ink-soft);
}
.chip .icon { width: 15px; height: 15px; color: var(--muted); }
.flow-stage--before .chip { border-color: #ecd6cf; }
.flow-stage--before .chip .icon { color: var(--clay); }
.flow-stage--after  .chip { border-color: #d2e5d8; }
.flow-stage--after  .chip .icon { color: var(--green); }

.flow-hand {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .8125rem; color: var(--muted);
  margin-top: .85rem;
}
.flow-hand .icon { width: 16px; height: 16px; color: var(--clay); margin-top: .1rem; }

.flow-connector {
  display: flex; align-items: center; gap: .75rem;
  margin: .9rem 0;
}
.flow-connector .rule {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(to right, #ccd6cd 0 6px, transparent 6px 12px);
}
.flow-connector .pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  padding: .45rem .85rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap;
}
.flow-connector .pill .icon { width: 14px; height: 14px; color: var(--lime); }

.flow-result {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9375rem; font-weight: 600; color: var(--green);
  margin-top: .85rem;
}
.flow-result .icon { width: 18px; height: 18px; margin-top: .14rem; }

/* 5. Sections ----------------------------------------------------------- */
/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; list-style: none; }
.quote {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
  font-size: 1.0625rem;
}
.quote::before {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
  margin-bottom: .9rem;
}
.quotes-foot { margin-top: 1.75rem; color: var(--muted-dark); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service h3 { margin-bottom: .6rem; }
.service > p { color: var(--muted); }
.service-list {
  list-style: none;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid; gap: .5rem;
  font-size: .9375rem;
}
.service-list li { display: flex; gap: .55rem; align-items: flex-start; }
.service-list .icon { width: 17px; height: 17px; margin-top: .22rem; color: var(--green); }

/* Examples */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.example { display: flex; flex-direction: column; }
.example-tag {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); margin-bottom: .7rem;
}
.example h3 { margin-bottom: .75rem; }
.example blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
}
.example > p { color: var(--muted); }
.example-solution {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.example-solution dt {
  display: flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: .4rem;
}
.example-solution dt .icon { width: 15px; height: 15px; }
.example-solution dd { margin: 0; color: var(--muted); }
.examples-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }

/* Small-is-fine band */
.pitch {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.pitch h2 { margin-bottom: 1rem; }
.pitch p { color: var(--muted); font-size: 1.0625rem; max-width: 38rem; }
.pitch-list { list-style: none; display: grid; gap: .625rem; }
.pitch-list li {
  display: flex; gap: .625rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  font-size: .9375rem;
  box-shadow: var(--shadow-sm);
}
.pitch-list .icon { width: 18px; height: 18px; color: var(--green); margin-top: .18rem; }

.band-dark .pitch p { color: var(--muted-dark); }
.band-dark .pitch-list li {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-dark);
  color: #fff;
  box-shadow: none;
}
.band-dark .pitch-list .icon { color: var(--lime); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; list-style: none; }
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 750; font-size: 1.0625rem;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--green); }
.plan-flag {
  display: inline-block;
  align-self: flex-start;
  font-size: .6875rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  border-radius: 999px; padding: .28rem .6rem;
  margin-bottom: .9rem;
}
.plan h3 { margin-bottom: .6rem; }
.plan-price { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; display: block; }
.plan-price small { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .3rem; }
.plan > p { color: var(--muted); margin-top: .9rem; }
.plan-list {
  list-style: none; display: grid; gap: .5rem;
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--muted);
}
.plan-list li { display: flex; gap: .55rem; align-items: flex-start; }
.plan-list .icon { width: 17px; height: 17px; color: var(--green); margin-top: .22rem; }

.chat-offer {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.chat-offer h3 { font-size: clamp(1.3rem, 2.2vw, 1.625rem); margin-bottom: .5rem; }
.chat-offer p { color: var(--muted-dark); max-width: 48rem; }
.price-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 60px); }
.about p { color: var(--muted); font-size: 1.0625rem; }
.about-quote {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
  border-left: 3px solid var(--lime);
  padding-left: 1.25rem;
}
.about-facts { list-style: none; display: grid; gap: .75rem; margin-top: 1.5rem; }
.about-facts li { display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.about-facts .icon { width: 18px; height: 18px; color: var(--green); margin-top: .2rem; }
.about-facts b { color: var(--ink); font-weight: 650; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .25rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0;
  font-weight: 650; font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq .faq-body { padding: 0 0 1.1rem; color: var(--muted); max-width: 46rem; }

/* 6. Forms -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-aside h2 { margin-bottom: 1rem; }
.contact-aside p { color: var(--muted-dark); }
.contact-details {
  list-style: none; display: grid; gap: .875rem;
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .9375rem; color: var(--muted-dark);
}
.contact-details li { display: flex; gap: .625rem; align-items: flex-start; }
.contact-details .icon { width: 18px; height: 18px; color: var(--lime); margin-top: .2rem; }
.contact-details b { color: #fff; display: block; font-weight: 650; }

.form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
/* The card is light even inside a dark band, so links go back to green. */
.band-dark .form-card a { color: var(--green); }
.band-dark .form-card a:hover { color: var(--ink); }

.form-grid { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: grid; gap: .375rem; }
.field p { margin: 0; }
.field label { font-size: .875rem; font-weight: 650; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field .hint { font-size: .8125rem; color: var(--muted); }

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid #cbd5cd;
  border-radius: var(--radius-sm);
  padding: .75rem .875rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #b4c2b8; }
input:focus, select:focus, textarea:focus {
  background: #fff;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(11, 122, 90, .16);
  outline: none;
}
textarea { min-height: 132px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2355665f' stroke-width='1.75' stroke-linecap='round'><path d='M4 6.5l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.field-error { font-size: .8125rem; font-weight: 600; color: #a33f28; }
.field-error:empty { display: none; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea,
.field[data-invalid="true"] select { border-color: #c0553a; background: #fffaf8; }

.form-foot { display: grid; gap: .875rem; }
.form-status {
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  font-size: .9375rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.form-status[hidden] { display: none; }
.form-status--error  { border-color: #e4bdb1; background: var(--clay-soft); color: #7e3621; }
.form-status--notice { border-color: #d9e2c9; background: var(--paper-warm); color: var(--ink-soft); }
.form-status--ok     { border-color: #c8e0d1; background: var(--green-soft); color: #0f4b38; }
.form-status p + p { margin-top: .5rem; }
.form-status a { font-weight: 650; }
.form-legal { font-size: .8125rem; color: var(--muted); }

/* 7. Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: clamp(48px, 6vw, 72px) 2rem; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand span { color: var(--lime); }
.footer-brand p { margin-top: 1rem; max-width: 30rem; font-size: .9375rem; }
.footer-col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .625rem; font-size: .9375rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  margin-top: clamp(32px, 4vw, 56px); padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem;
}
.footer-areas { margin-top: 1.25rem; font-size: .8125rem; color: #8b9d96; max-width: 36rem; }

/* 8. Motion ------------------------------------------------------------- */
/* Only hide content when JavaScript is running, so it never disappears
   for visitors (or crawlers) without it. */
.js .reveal { opacity: 0; transform: translateY(14px); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transition: opacity .5s ease, transform .5s ease; }
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* 9. Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid,
  .pitch,
  .about,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .lede { max-width: 52ch; }
  .services,
  .steps,
  .pricing,
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes li:last-child,
  .services > *:last-child,
  .steps > *:last-child,
  .pricing > *:last-child { grid-column: 1 / -1; }
  .chat-offer { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* The inline nav needs room for six items; below that it becomes a menu. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel[data-open="true"] {
    display: grid;
    padding: .25rem 0 1.25rem;
    border-top: 1px solid var(--line);
  }
  .nav-panel a {
    padding: .8rem .25rem;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-panel .btn { margin-top: 1rem; border-bottom: 0; justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .services,
  .steps,
  .pricing,
  .quotes,
  .examples,
  .field-row,
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .quotes li:last-child,
  .services > *:last-child,
  .steps > *:last-child,
  .pricing > *:last-child { grid-column: auto; }
  .btn-row .btn { width: 100%; }
  .flow { padding: 16px; }
  /* Let the connector label wrap on narrow phones instead of pushing wide. */
  .flow-connector .pill { white-space: normal; text-align: center; }
  .chips { gap: .4rem; }
  .chip { font-size: .75rem; padding: .35rem .6rem; }
  .about-quote { padding-left: 1rem; }
}
