@font-face { font-family: "Archivo SemiCondensed"; src: url("../fonts/archivo-semicondensed-0.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-1.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* ==========================================================================
   TreeProfessionals.com - design system v1
   One stylesheet for the whole site. No framework and no build step needed.

   Idea: the palette is tree-crew safety gear. Forest green ground, hi-vis
   lime for progress and selection, blaze orange for the one action on
   each screen. "Ask" surfaces - hero
   and quote blocks - sit on forest with tree-ring line art. Everything that
   informs sits on warm paper or white.
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */


/* 2. Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* brand palette */
  --forest: #173D32;
  --forest-deep: #0F2B23;
  --canopy: #2F684A;
  --signal: #C9F25A;
  --action: #ED7041;
  --paper: #F6F4ED;
  --white: #FFFFFF;

  /* derived */
  --action-hover: #F1855B;
  --action-active: #E36A3B;
  --ink: #14241D;
  --ink-soft: #4A5A52;
  --line: #DDD8C8;
  --line-strong: #C6BFAC;
  --mist: #EDF3E6;
  --on-forest: #F6F4ED;
  --on-forest-soft: #C3D2C8;
  --forest-line: rgba(246, 244, 237, .16);
  --danger: #B3261E;

  /* type */
  --font-display: "Archivo SemiCondensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-hero: clamp(2.75rem, 1.35rem + 6vw, 5rem);
  --text-h1: clamp(2.125rem, 1.45rem + 2.9vw, 3.25rem);
  --text-h2: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --text-h2-prose: clamp(1.5rem, 1.3rem + .9vw, 1.875rem);
  --text-h3: 1.3125rem;
  --text-lede: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --text-body: 1.0625rem;
  --text-prose: clamp(1.125rem, 1.09rem + .18vw, 1.1875rem);
  --text-small: .9375rem;
  --text-micro: .8125rem;

  /* shape */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-lift: 0 1px 0 rgba(15, 43, 35, .05), 0 18px 40px -18px rgba(15, 43, 35, .45);
  --shadow-soft: 0 1px 0 rgba(15, 43, 35, .04), 0 10px 24px -16px rgba(15, 43, 35, .3);

  /* layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 84px;

  --focus-ring: var(--forest);
  --rings: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1400 1400%22 fill=%22none%22 stroke=%22%23F6F4ED%22%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%2226.0%22 ry=%2226.0%22 transform=%22rotate(145 700 700)%22 stroke-opacity=%220.093%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%2246.6%22 ry=%2247.4%22 transform=%22rotate(127 700 700)%22 stroke-opacity=%220.077%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%2267.6%22 ry=%2268.9%22 transform=%22rotate(5 700 700)%22 stroke-opacity=%220.070%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%2299.8%22 ry=%22100.2%22 transform=%22rotate(155 700 700)%22 stroke-opacity=%220.087%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22133.2%22 ry=%22131.0%22 transform=%22rotate(170 700 700)%22 stroke-opacity=%220.150%22 stroke-width=%222.2%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22155.9%22 ry=%22158.6%22 transform=%22rotate(99 700 700)%22 stroke-opacity=%220.061%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22197.2%22 ry=%22193.7%22 transform=%22rotate(27 700 700)%22 stroke-opacity=%220.083%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22226.0%22 ry=%22222.8%22 transform=%22rotate(123 700 700)%22 stroke-opacity=%220.068%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22242.8%22 ry=%22238.4%22 transform=%22rotate(115 700 700)%22 stroke-opacity=%220.067%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22257.1%22 ry=%22257.0%22 transform=%22rotate(155 700 700)%22 stroke-opacity=%220.081%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22284.5%22 ry=%22289.5%22 transform=%22rotate(146 700 700)%22 stroke-opacity=%220.150%22 stroke-width=%222.2%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22327.4%22 ry=%22327.3%22 transform=%22rotate(61 700 700)%22 stroke-opacity=%220.072%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22354.0%22 ry=%22361.8%22 transform=%22rotate(135 700 700)%22 stroke-opacity=%220.069%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22384.2%22 ry=%22386.5%22 transform=%22rotate(139 700 700)%22 stroke-opacity=%220.090%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22402.4%22 ry=%22409.9%22 transform=%22rotate(38 700 700)%22 stroke-opacity=%220.065%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22426.1%22 ry=%22435.3%22 transform=%22rotate(12 700 700)%22 stroke-opacity=%220.066%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22468.4%22 ry=%22466.1%22 transform=%22rotate(100 700 700)%22 stroke-opacity=%220.150%22 stroke-width=%222.2%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22504.2%22 ry=%22494.7%22 transform=%22rotate(45 700 700)%22 stroke-opacity=%220.067%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22522.4%22 ry=%22527.0%22 transform=%22rotate(60 700 700)%22 stroke-opacity=%220.091%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22561.3%22 ry=%22553.8%22 transform=%22rotate(60 700 700)%22 stroke-opacity=%220.057%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22576.6%22 ry=%22590.1%22 transform=%22rotate(134 700 700)%22 stroke-opacity=%220.074%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22605.2%22 ry=%22598.6%22 transform=%22rotate(56 700 700)%22 stroke-opacity=%220.058%22 stroke-width=%221.3%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22647.0%22 ry=%22634.5%22 transform=%22rotate(4 700 700)%22 stroke-opacity=%220.150%22 stroke-width=%222.2%22/%3E%3Cellipse cx=%22700%22 cy=%22700%22 rx=%22675.3%22 ry=%22674.5%22 transform=%22rotate(25 700 700)%22 stroke-opacity=%220.074%22 stroke-width=%221.3%22/%3E%3C/svg%3E");
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--text-body)/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: var(--forest-deep); }

/* 4. Utilities ------------------------------------------------------------ */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.surface-paper { background: var(--paper); }
.surface-white { background: var(--white); }
.surface-forest { background: var(--forest); color: var(--on-forest); --focus-ring: var(--signal); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
/* two-tone icons: the tinted layer takes the hi-vis accent */
.icon--duo [opacity] { opacity: 1; fill: var(--icon-accent, var(--signal)); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--signal); color: var(--forest-deep); font-weight: 700; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }

.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title { font-size: var(--text-h2); font-weight: 800; line-height: 1.04; letter-spacing: -.012em; }
.section-lede { font-size: var(--text-lede); color: var(--ink-soft); max-width: 40rem; text-wrap: pretty; }
.surface-forest .section-lede { color: var(--on-forest-soft); }

.text-link { color: var(--canopy); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--forest); text-decoration-thickness: 2.5px; }
.surface-forest .text-link { color: var(--signal); }

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: var(--radius-m);
  font: 700 1.125rem/1 var(--font-display); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.nav-menu__panel .icon { display: none; }
/* the one action: blaze orange, white lettering, a slight top-to-bottom gradient for depth.
   Lettering is 19px bold so it counts as large text for contrast (3:1). Do not make it smaller or lighter. */
.btn--action {
  background: linear-gradient(180deg, #ED7243 0%, #E9693B 50%, #DF5D31 100%);
  color: #FFFFFF; font-size: 1.1875rem; font-weight: 700; text-shadow: 0 1px 0 rgba(122, 40, 10, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 0 #C24E26, 0 4px 10px -6px rgba(184, 67, 31, .45);
}
.btn--action:hover { background: linear-gradient(180deg, #F07B4D 0%, #EC7043 50%, #E36438 100%); }
.btn--action:active { background: #DF5D31; box-shadow: inset 0 1px 2px rgba(122, 40, 10, .3); }
.btn--signal { background: var(--signal); color: var(--forest-deep); }
.btn--signal:hover { background: #D6F77A; }
.btn--outline { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--on-forest); }
.btn--quiet { background: transparent; color: var(--ink-soft); padding-inline: 12px; font-family: var(--font-body); font-weight: 600; font-size: var(--text-body); }
.btn--quiet:hover { color: var(--ink); background: rgba(20, 36, 29, .06); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 1rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; text-shadow: none; }

/* 6. Form fields ---------------------------------------------------------- */
.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: var(--text-small); color: var(--ink); }
.field__hint { font-size: var(--text-small); color: var(--ink-soft); }
.field__error { font-size: var(--text-small); color: var(--danger); font-weight: 600; }
.input, .textarea, .select {
  width: 100%; min-height: 54px; padding: 12px 16px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-m);
  font-size: 1.125rem; line-height: 1.3;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.input::placeholder, .textarea::placeholder { color: #8A9690; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--canopy); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--signal); border-radius: var(--radius-m); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2314241D'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }

/* ZIP entry: icon inside the field, place name confirmed beside it */
.zip { position: relative; }
.zip .icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--canopy); pointer-events: none; }
.zip .input { padding-left: 48px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.zip .input::placeholder { font-weight: 400; letter-spacing: 0; }
.zip__place { position: absolute; right: 14px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--forest); font-size: var(--text-small); font-weight: 600; }
.zip__place:empty { display: none; }

/* 7. Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--on-forest); --focus-ring: var(--signal); border-bottom: 1px solid var(--forest-line); }
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 60px; height: 60px; }
.brand__name { font: 800 1.625rem/1 var(--font-display); letter-spacing: -.01em; color: var(--on-forest); }
.brand__name span { color: inherit; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-right: 12px; }
.site-nav a { white-space: nowrap; padding: 10px 12px; border-radius: var(--radius-s); color: var(--on-forest); font-weight: 600; font-size: 1rem; text-decoration: none; }
.site-nav a:hover { background: rgba(246, 244, 237, .1); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.site-header__cta .short { display: none; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-s); list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .icon { width: 26px; height: 26px; }
.nav-menu[open] summary { background: rgba(246, 244, 237, .12); }
.nav-menu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); padding: 8px; display: grid; background: var(--white); color: var(--ink); border-radius: var(--radius-m); box-shadow: var(--shadow-lift); --focus-ring: var(--forest); }
.nav-menu__panel a { padding: 14px 14px; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
.nav-menu__panel a:hover { background: var(--paper); }
/* landing pages: logo only */
.site-header--bare { position: static; }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .nav-menu { display: block; }
  .brand img { width: 48px; height: 48px; }
  .brand__name { font-size: 1.1875rem; }
  .brand { gap: 8px; }
}
@media (max-width: 480px) {
  .site-header__cta .long { display: none; }
  .site-header__cta .short { display: inline; }
  .site-header__cta .icon { display: none; }
  .site-header__cta { padding-inline: 12px; font-size: .9375rem; }
  .site-header__in { gap: 6px; }
  .brand__name { font-size: 1.0625rem; }
}
@media (max-width: 380px) { .brand img { width: 40px; height: 40px; } .brand { gap: 6px; } .brand__name { font-size: .9375rem; } .site-header__cta { padding-inline: 10px; } }

/* 8. Hero ----------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; background: var(--forest); color: var(--on-forest); --focus-ring: var(--signal); }
/* growth rings, centred behind the quote card */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rings) no-repeat; background-size: 1280px; background-position: calc(50% + 420px) 46%; pointer-events: none; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--forest-line); border-radius: 999px; background: rgba(246, 244, 237, .06); color: var(--signal); font-weight: 600; font-size: var(--text-small); }
.hero__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.hero__title { font-size: var(--text-hero); font-weight: 800; line-height: .94; letter-spacing: -.018em; }
.hero__title span { display: block; }
/* longer landing-page headlines: one sentence per line */
.hero__title--long { font-size: clamp(2rem, 1rem + 4.2vw, 3.75rem); line-height: 1; }
.hero__lede { font-size: var(--text-lede); line-height: 1.45; color: var(--on-forest-soft); max-width: 31rem; }
.assurances { display: grid; gap: 10px; margin-top: 8px; font-weight: 600; }
.assurances li { display: flex; align-items: center; gap: 10px; }
.assurances .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--signal); color: var(--forest-deep); }

/* quote card (step 1 of the flow) */
.quote-card { display: grid; gap: 18px; width: 100%; max-width: 500px; justify-self: end; padding: clamp(20px, 3vw, 32px); background: var(--white); color: var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-lift); --focus-ring: var(--forest); }
.quote-card__head { display: grid; gap: 4px; }
.quote-card__title { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.quote-card__sub { color: var(--ink-soft); }
.quote-card__foot { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-soft); font-size: var(--text-small); text-align: center; }
.quote-card__foot .icon { color: var(--canopy); }

/* service picker: radio tiles */
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.picks legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: var(--text-small); }
.pick { position: relative; display: flex; align-items: center; gap: 9px; min-height: 56px; padding: 8px 10px 8px 9px; border-radius: var(--radius-m); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--paper); color: var(--forest); --icon-accent: #BFD3BE; transition: background-color .12s ease; }
.pick__icon .icon { width: 22px; height: 22px; }
.pick:hover { box-shadow: inset 0 0 0 1.5px var(--canopy); }
.pick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--forest); background: var(--mist); }
.pick:has(input:checked) .pick__icon { background: var(--signal); --icon-accent: #FFFFFF; }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero::before { background-size: 880px; background-position: calc(100% + 380px) -220px; }
  /* phone: headline, then the card, then the assurances. The copy wrapper dissolves so the card can sit between them. */
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 22px 32px; }
  .hero__copy { display: contents; }
  .hero__tag { display: none; }
  .hero__title { order: 1; }
  .hero__lede { order: 2; margin-top: 12px; font-size: 1.0625rem; }
  .quote-card { order: 3; margin-top: 20px; justify-self: stretch; max-width: none; gap: 14px; }
  .quote-card__sub { display: none; }
  .pick { min-height: 50px; }
  .assurances { order: 4; margin-top: 22px; }
}

/* 9. How it works --------------------------------------------------------- */
.how { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.how__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.how__body { display: grid; gap: 28px; }
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; padding-bottom: 28px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: var(--signal); font: 800 1.5rem/1 var(--font-display); }
/* the line that ties one step to the next */
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 60px; bottom: 8px; width: 2px; background: var(--line-strong); }
.steps h3 { font-size: var(--text-h3); font-weight: 700; line-height: 1.2; margin-top: 5px; }
.steps p { grid-column: 2; margin-top: 6px; color: var(--ink-soft); max-width: 34rem; }
.how__note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-m); background: var(--white); font-weight: 600; }
.how__note .icon { width: 24px; height: 24px; color: var(--canopy); margin-top: 1px; }
.how__note span { font-weight: 400; color: var(--ink-soft); }
.how__note strong { color: var(--ink); font-weight: 700; }
/* compact, photo-free version for landing pages */
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps--row li { padding-bottom: 0; }
.steps--row li:not(:last-child)::after { display: none; }

@media (max-width: 900px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how__photo { order: 2; }
  .steps--row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* 10. Services ------------------------------------------------------------ */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px); }
.svc { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.svc__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.svc__body { display: grid; gap: 8px; align-content: start; }
.svc__title { font-size: 1.4375rem; font-weight: 800; line-height: 1.12; letter-spacing: -.005em; }
.svc__text { color: var(--ink-soft); }
.svc__actions { margin-top: 8px; }
.svc__guides { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: var(--text-small); }
/* the sixth tile is not a service: it is the "say it your way" route */
.svc--open { grid-template-rows: 1fr; padding: clamp(22px, 2.5vw, 30px); border-radius: var(--radius-l); background: var(--forest); color: var(--on-forest); --focus-ring: var(--signal); }
.svc--open .svc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; }
.svc--open .svc__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 14px; background: var(--signal); color: var(--forest-deep); --icon-accent: #FFFFFF; }
.svc--open .svc__icon .icon { width: 30px; height: 30px; }
.svc--open .svc__text { color: var(--on-forest-soft); }

@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .services { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto; gap: 14px; align-items: start; }
  .svc__photo img { aspect-ratio: 1; border-radius: var(--radius-m); }
  .svc__title { font-size: 1.25rem; }
  .svc__text { font-size: 1rem; }
  .svc--open { grid-template-columns: minmax(0, 1fr); }
}

/* 11. Question index ------------------------------------------------------ */
.qindex { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.qindex__head { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 32px); }
.qlist { border-top: 2px solid var(--ink); }
.qlist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.qlist__q { font: 700 1.25rem/1.2 var(--font-display); }
.qlist__topic { grid-row: 2; color: var(--ink-soft); font-size: var(--text-small); }
.qlist .icon { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--canopy); transition: translate .15s ease; }
.qlist a:hover .qlist__q { color: var(--canopy); }
.qlist a:hover .icon { translate: 4px 0; }

.topics-head { margin: clamp(48px, 6vw, 80px) 0 20px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.topics-head h3 { font-size: 1.625rem; font-weight: 800; letter-spacing: -.005em; }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 16px; background: var(--white); border-radius: var(--radius-m); text-decoration: none; transition: box-shadow .15s ease; }
.topic__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--forest); --icon-accent: #B9D4A4; }
.topic__icon .icon { width: 26px; height: 26px; }
.topic__name { font: 700 1.125rem/1.2 var(--font-display); }
.topic__count { color: var(--ink-soft); font-size: var(--text-small); }
.topic:hover { box-shadow: inset 0 0 0 2px var(--forest); }

@media (max-width: 1000px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .qindex { grid-template-columns: minmax(0, 1fr); }
  .qindex__head { position: static; }
}
@media (max-width: 520px) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .topic { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px; align-content: start; }
  .topic__icon { grid-row: auto; width: 40px; height: 40px; margin-bottom: 8px; }
  .qlist__q { font-size: 1.125rem; }
}

/* 12. Service FAQ --------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq__head { display: grid; gap: 20px; justify-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__list > div { display: grid; gap: 8px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.faq__list dt { font: 700 1.25rem/1.2 var(--font-display); }
.faq__list dd { color: var(--ink-soft); max-width: 40rem; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* 13. Closing band and inline quote block --------------------------------- */
.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-deep); color: var(--on-forest); --focus-ring: var(--signal); }
.closing__photo { position: absolute; inset: 0; z-index: -2; }
.closing__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--forest-deep) 0%, rgba(15, 43, 35, .94) 34%, rgba(15, 43, 35, .55) 68%, rgba(15, 43, 35, .2) 100%); }
.closing__in { display: grid; gap: 22px; justify-items: start; padding-block: clamp(64px, 9vw, 128px); max-width: 36rem; margin-inline: 0; }
.closing__title { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); font-weight: 800; line-height: .98; letter-spacing: -.015em; }
.closing__lede { font-size: var(--text-lede); color: var(--on-forest-soft); }
.zip-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: 100%; max-width: 30rem; }
.zip-form .input { border-color: transparent; }
@media (max-width: 640px) {
  .closing::after { background: linear-gradient(180deg, rgba(15, 43, 35, .78) 0%, var(--forest-deep) 62%); }
  .closing__in { padding-block: 132px 48px; }
  .zip-form { grid-template-columns: minmax(0, 1fr); }
}

.quote-block { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: var(--forest); color: var(--on-forest); --focus-ring: var(--signal); }
.quote-block::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rings) no-repeat; background-size: 760px; background-position: calc(100% + 300px) 50%; }
.quote-block__title { font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.125rem); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; max-width: 22ch; }
.quote-block__text { color: var(--on-forest-soft); max-width: 34rem; }

/* 14. Footer -------------------------------------------------------------- */
.site-footer { background: var(--forest-deep); color: var(--on-forest-soft); --focus-ring: var(--signal); font-size: var(--text-small); }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-block: clamp(48px, 6vw, 72px) 32px; }
.site-footer__brand { display: grid; gap: 14px; align-content: start; max-width: 22rem; }
.site-footer h2 { font: 700 1rem/1.2 var(--font-display); color: var(--on-forest); margin-bottom: 12px; letter-spacing: .01em; }
.site-footer ul { display: grid; gap: 2px; list-style: none; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer li a:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--forest-line); font-size: var(--text-micro); line-height: 1.5; }
.site-footer__legal p { max-width: 52rem; }
.site-footer--bare .site-footer__in { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
@media (max-width: 800px) { .site-footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }

/* 15. Content pages: head, breadcrumb, answer ------------------------------ */
.crumbs { padding-top: 20px; font-size: var(--text-small); color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); rotate: 45deg; }
.crumbs a { color: var(--canopy); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-head { display: grid; gap: clamp(20px, 3vw, 28px); padding-block: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 44px); }
.page-title { font-size: var(--text-h1); font-weight: 800; line-height: 1.03; letter-spacing: -.015em; max-width: 21ch; }
/* the short answer: first thing after the H1, sized to be lifted whole */
.answer { position: relative; max-width: 50rem; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); border-radius: var(--radius-l); background: var(--forest); color: var(--on-forest); font-size: clamp(1.1875rem, 1.1rem + .45vw, 1.375rem); line-height: 1.45; }
.answer::before { content: "The short answer"; display: block; margin-bottom: 8px; color: var(--signal); font: 700 var(--text-small)/1.2 var(--font-display); letter-spacing: .02em; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.article-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-layout > aside { display: none; } }

/* 16. Prose --------------------------------------------------------------- */
.prose { max-width: 44rem; font-size: var(--text-prose); line-height: 1.65; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-size: var(--text-h2-prose); font-weight: 800; line-height: 1.12; letter-spacing: -.008em; }
.prose h3 { margin-top: 1.8em; font-size: var(--text-h3); font-weight: 700; line-height: 1.2; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--canopy); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--forest); text-decoration-thickness: 2.5px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--canopy); font-weight: 700; }
.prose strong { font-weight: 700; }
.editorial-photo { max-width: 44rem; }
.prose figure img, .editorial-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); }
.prose figcaption { margin-top: 8px; font-size: var(--text-small); color: var(--ink-soft); }

/* tables: scroll inside their own box, never the page. Edge shadows appear only when there is more to scroll to. */
.table-wrap {
  margin-block: 1.6em; overflow-x: auto; border-radius: var(--radius-l); padding: 6px clamp(14px, 2.5vw, 24px) 10px;
  background:
    linear-gradient(to right, var(--white) 40%, rgba(255, 255, 255, 0)) left center / 36px 100% no-repeat local,
    linear-gradient(to left, var(--white) 40%, rgba(255, 255, 255, 0)) right center / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(15, 43, 35, .2), rgba(15, 43, 35, 0)) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(15, 43, 35, .2), rgba(15, 43, 35, 0)) right center / 12px 100% no-repeat scroll,
    var(--white);
}
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.45; }
.table-wrap caption { caption-side: top; text-align: left; padding: 16px 0 10px; max-width: calc(100vw - 2 * var(--gutter) - 2 * clamp(14px, 2.5vw, 24px)); font: 800 1.1875rem/1.2 var(--font-display); }
.table-wrap th { text-align: left; padding: 10px 16px 10px 0; border-bottom: 2px solid var(--ink); font-size: var(--text-small); font-weight: 700; color: var(--ink-soft); vertical-align: bottom; }
.table-wrap td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; }
/* price cells: add class "is-money" to any cell whose whole text is a dollar figure or range */
.table-wrap td.is-money { font: 800 1.125rem/1.35 var(--font-display); color: var(--forest); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap th:last-child, .table-wrap td:last-child { padding-right: 0; }

/* hub pages: every question in the cluster */
.q-accordion { display: grid; gap: 8px; margin-top: 1.2em; }
.q-item { background: var(--white); border-radius: var(--radius-m); }
.q-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 12px; padding: 16px 18px; font: 700 1.1875rem/1.25 var(--font-display); list-style: none; cursor: pointer; }
.q-item summary::-webkit-details-marker { display: none; }
.q-item summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23173D32'%3E%3Cpath d='M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z'/%3E%3C/svg%3E") center / 14px no-repeat; transition: rotate .15s ease; }
.q-item[open] summary::after { rotate: 45deg; background-color: var(--signal); }
.q-item summary:hover { color: var(--canopy); }
.q-a { display: grid; gap: 10px; padding: 0 18px 18px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }
.q-link { margin: 0; }

/* quick answers: the page's FAQ, always open */
.quick { margin-top: clamp(40px, 6vw, 64px); max-width: 44rem; }
.quick h2 { font-size: var(--text-h2-prose); font-weight: 800; line-height: 1.12; margin-bottom: 8px; }
.quick dl { border-top: 2px solid var(--ink); }
.quick dl > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quick dt { font: 700 1.1875rem/1.25 var(--font-display); }
.quick dd { color: var(--ink-soft); }

.after-article { display: grid; gap: clamp(32px, 5vw, 48px); margin-top: clamp(40px, 6vw, 64px); max-width: 44rem; }
.related h2 { font-size: var(--text-h2-prose); font-weight: 800; line-height: 1.12; margin-bottom: 8px; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-small); color: var(--ink-soft); }
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--canopy); }

/* 17. Article aside -------------------------------------------------------- */
.side-quote { display: grid; gap: 14px; padding: 22px; background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }
.side-quote h2 { font-size: 1.375rem; font-weight: 800; line-height: 1.12; }
.side-quote p { color: var(--ink-soft); font-size: var(--text-small); }
.side-quote .assurances { gap: 6px; margin: 0; font-size: var(--text-small); font-weight: 600; }
.side-quote .assurances .icon { width: 18px; height: 18px; padding: 3px; }
.toc { display: grid; gap: 10px; padding: 0 6px; font-size: var(--text-small); }
.toc h2 { font: 700 var(--text-small)/1.2 var(--font-display); color: var(--ink-soft); }
.toc ol { display: grid; gap: 2px; list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--forest); border-left-color: var(--forest); }

/* 18. Quote flow ------------------------------------------------------------ */
.flow { width: min(640px, calc(100% - 32px)); max-width: none; height: min(760px, calc(100vh - 48px)); height: min(760px, calc(100dvh - 48px)); max-height: none; padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lift); overflow: hidden; }
.flow::backdrop { background: rgba(15, 43, 35, .78); }
.flow__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; background: var(--white); color: var(--ink); --focus-ring: var(--forest); container-type: inline-size; }
.flow__bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.flow__iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.flow__iconbtn:hover { background: var(--paper); }
.flow__iconbtn[hidden] { display: block; visibility: hidden; }
.flow__iconbtn .icon { width: 22px; height: 22px; }
.flow__progress { height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.flow__progress span { display: block; height: 100%; border-radius: 999px; background: var(--canopy); transition: width .25s ease; }
.flow__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 32px) clamp(20px, 5vw, 40px) 24px; display: grid; align-content: start; gap: 18px; }
.flow__count { color: var(--ink-soft); font-size: var(--text-small); font-weight: 600; }
.flow__q { font-size: clamp(1.625rem, 1.35rem + 1.3vw, 2.125rem); font-weight: 800; line-height: 1.08; letter-spacing: -.012em; }
.flow__sub { color: var(--ink-soft); margin-top: -8px; }
.flow__foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px clamp(20px, 5vw, 40px) max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.flow__foot:empty { display: none; }
.flow__foot .btn--action { flex: 1; }
.flow__foot .btn--quiet + .btn--action { flex: 0 1 220px; }
/* contact step: the consent wording sits directly above the button it refers to */
.flow__foot--stack { flex-direction: column; align-items: stretch; gap: 10px; }
.flow__foot--stack .btn--action { flex: none; }

.opts { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 26px; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--white); cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease; }
.opt:has(.opt__icon) { grid-template-columns: 44px minmax(0, 1fr) 26px; }
.opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opt__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--forest); --icon-accent: #BFD3BE; }
.opt__icon .icon { width: 26px; height: 26px; }
.opt__label { display: block; font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.opt__sub { display: block; margin-top: 2px; color: var(--ink-soft); font-size: var(--text-small); line-height: 1.35; }
/* the mark: empty ring, then a lime disc with a check */
.opt__mark { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--white) center / 14px no-repeat; }
.opt--multi .opt__mark { border-radius: 8px; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--canopy); }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--forest); background: var(--mist); }
.opt:has(input:checked) .opt__icon { background: var(--signal); --icon-accent: #FFFFFF; }
.opt:has(input:checked) .opt__mark { box-shadow: none; background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%230F2B23'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* count: four big numerals in a row */
.opts--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts--tiles .opt { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; min-height: 104px; padding: 14px 8px; gap: 2px; }
.opts--tiles .opt__label { font: 800 2rem/1 var(--font-display); }
.opts--tiles .opt__sub { font-size: var(--text-micro); }
.opts--tiles .opt__mark { display: none; }

/* height: tree drawn against a house */
.opts--scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--scale .opt { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; align-content: end; min-height: 0; padding: 12px 8px 14px; gap: 8px; }
.opts--scale .opt svg { width: 100%; max-width: 132px; height: auto; }
.opts--scale .opt__label { font-size: 1rem; line-height: 1.2; }
.opts--scale .opt__mark { display: none; }
.opts--scale .opt--wide { grid-column: 1 / -1; min-height: 56px; align-content: center; }

/* photos */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-slot { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 1; border-radius: 14px; border: 2px dashed var(--line-strong); background: var(--paper); color: var(--ink-soft); font-size: var(--text-small); font-weight: 600; text-align: center; cursor: pointer; overflow: hidden; }
.photo-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-slot .icon { width: 28px; height: 28px; color: var(--canopy); }
.photo-slot:hover { border-color: var(--canopy); color: var(--forest); }
.photo-slot:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.photo-slot.is-filled { border: 0; }
.photo-slot.is-filled img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.is-filled .photo-slot__done { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--forest-deep); }
.photo-slot__done .icon { width: 14px; height: 14px; color: inherit; }

/* job brief (free-text route) */
.brief { border-radius: 14px; background: var(--paper); padding: 6px 16px; }
.brief > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.brief > div:last-child { border-bottom: 0; }
.brief dt { color: var(--ink-soft); font-size: var(--text-small); font-weight: 600; }
.brief .select { min-height: 44px; padding-block: 8px; font-size: 1rem; font-weight: 600; }
.followup { display: grid; gap: 10px; }
.followup h3 { font: 700 1.125rem/1.2 var(--font-display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--white); font-weight: 600; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--canopy); }
.chip:has(input:checked) { background: var(--forest); color: var(--on-forest); box-shadow: none; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.counter { justify-self: end; margin-top: -10px; color: var(--ink-soft); font-size: var(--text-micro); font-variant-numeric: tabular-nums; }

/* contact + consent */
.fields { display: grid; gap: 14px; }
.fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.consent { color: var(--ink-soft); font-size: var(--text-micro); line-height: 1.5; }
.consent a { color: var(--canopy); font-weight: 600; text-underline-offset: 2px; }
.reassure { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-m); background: var(--mist); color: var(--forest); font-size: var(--text-small); font-weight: 600; }
.reassure .icon { width: 20px; height: 20px; margin-top: 1px; }

/* confirmation */
.done { display: grid; gap: 18px; justify-items: start; }
.flow__body > .done__mark { margin-bottom: -4px; }
.done__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--signal); color: var(--forest-deep); }
.done__mark .icon { width: 32px; height: 32px; }
.done__next { display: grid; gap: 12px; width: 100%; padding: 18px; border-radius: 14px; background: var(--paper); }
.done__next h3 { font: 700 1.125rem/1.2 var(--font-display); }
.done__next li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.done__next li .icon { width: 22px; height: 22px; color: var(--canopy); margin-top: 2px; }
.done__next ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }

@media (max-width: 640px) {
  .flow { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
}
@container (max-width: 520px) {
  .opts--tiles .opt { min-height: 88px; }
  .fields--two { grid-template-columns: minmax(0, 1fr); }
  .brief > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* the flow on its own page (/get-a-quote/) */
.flow-page { display: grid; justify-items: center; padding-block: clamp(20px, 5vw, 56px) var(--section); }
.flow-page [data-flow-inline] { width: 100%; max-width: 640px; }
.flow-page .flow__panel { min-height: 560px; height: auto; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); }

/* 19. Landing pages -------------------------------------------------------- */
.lp-points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-points__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.ticks { display: grid; gap: 18px; margin-top: 24px; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.ticks .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--forest); color: var(--signal); margin-top: 1px; }
.ticks strong { display: block; font: 700 1.1875rem/1.25 var(--font-display); }
.ticks span { color: var(--ink-soft); }
@media (max-width: 900px) { .lp-points { grid-template-columns: minmax(0, 1fr); } }

/* 20. Plain pages (legal, about, index lists) ------------------------------ */
.plain { padding-block: clamp(28px, 5vw, 56px) var(--section); }
.plain .page-title { margin-bottom: clamp(20px, 3vw, 32px); }

/* 21. Motion and print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .closing, .quote-block, .article-layout > aside, .flow { display: none !important; }
  body { background: #fff; }
  .answer { background: #fff; color: #000; border: 2px solid #000; }
  .answer::before { color: #000; }
}


/* logo sample "Lockup": shield image (assets/img/shield-192.webp) + live-text wordmark, stacked:
   TREE / PROFESSIONALS.COM in heavy italic caps, .COM in lime, lime rule underneath.
   Markup unchanged: <span class="brand__name">Tree<span>Professionals</span></span>; ".com" comes from CSS. */
.logo-lockup .brand { gap: 10px; }
.logo-lockup .brand img { width: auto; height: 58px; }
.logo-lockup .brand__name { display: grid; justify-items: start; gap: 3px; font-family: "Archivo SemiCondensed", "Arial Narrow", Arial, sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.75rem; line-height: .86; letter-spacing: -.005em; color: var(--on-forest); }
.logo-lockup .brand__name span { margin: 0; font-family: inherit; font-weight: 800; font-size: .64em; line-height: 1; letter-spacing: .015em; padding-bottom: 6px; background: linear-gradient(90deg, rgba(140,203,20,0), #8CCB14 18%, #74B800 85%, rgba(116,184,0,0)) left bottom / 100% 3px no-repeat; }
.logo-lockup .brand__name span::after { content: ".com"; color: #8CCB14; }
@media (max-width: 900px) { .logo-lockup .brand img { width: auto; height: 46px; } .logo-lockup .brand__name { font-size: 1.3125rem; } }
@media (max-width: 480px) { .logo-lockup .brand img { width: auto; height: 38px; } .logo-lockup .brand { gap: 6px; } .logo-lockup .brand__name { font-size: 1.0625rem; } .logo-lockup .brand__name span { padding-bottom: 4px; background-size: 100% 2px; } }
/* wordmark: one colour, set solid as "TreeProfessionals". "Tree" in bold, "Professionals" in regular;
   the weight change does the job of the space.
   Archivo SemiCondensed is only loaded from 600 up, so "Professionals" uses the body face (Source Sans 3 / Poppins) at 400.
   Markup stays as is: <span class="brand__name">Tree<span>Professionals</span></span> */
.brand__name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; }
.brand__name span { color: inherit; margin-left: 0; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }

/* design.css section 10 update: service card footer. Quote button full width with an arrow,
   guide links as labelled chips under a divider, both pinned to the bottom so cards line up. */
.svc:not(.svc--open) .svc__body { grid-template-rows: auto 1fr auto auto; }
.svc:not(.svc--open) .svc__text { align-self: start; }
.svc:not(.svc--open) .svc__actions { order: 2; margin-top: 6px; }
.svc:not(.svc--open) .svc__guides { order: 1; }
.svc:not(.svc--open) .svc__actions .btn { width: 100%; justify-content: space-between; padding-inline: 18px; }
.svc:not(.svc--open) .svc__actions .btn::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: translate .15s ease; }
.svc:not(.svc--open) .svc__actions .btn:hover::after { translate: 3px 0; }
.svc__guides { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.svc__guides::before { content: "Guides"; margin-right: 2px; color: var(--ink-soft); font-size: var(--text-micro); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.svc__guides .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--mist); color: var(--forest); font-weight: 600; text-decoration: none; transition: background-color .12s ease, color .12s ease; }
.svc__guides .text-link::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h64a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h64a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc__guides .text-link:hover { background: var(--forest); color: var(--on-forest); text-decoration: none; }
.article-layout > aside, .qindex__head { top: calc(var(--header-h) + 24px); }
html { scroll-padding-top: calc(var(--header-h) + 20px); }


/* ---- production additions (simple pages, index pages, storm desk, flow error) ---- */
.simple-page { padding-bottom: clamp(48px, 8vw, 96px); }
.simple-page .page-head { margin-bottom: clamp(20px, 3vw, 32px); }
.page-lede { max-width: 44rem; margin-top: 14px; font-size: var(--text-lede); line-height: 1.5; color: var(--ink-soft); }
.eyebrow { margin-bottom: 8px; color: var(--canopy); font: 700 var(--text-small)/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.simple-page > .note { max-width: 44rem; margin-bottom: 24px; }
.index-page { display: grid; gap: clamp(28px, 4vw, 44px); max-width: 52rem; }
.index-page h2 { font-size: var(--text-h3); font-weight: 800; margin-bottom: 4px; }
.index-page h2 a { color: var(--forest); text-decoration: none; }
.index-page h2 a:hover { text-decoration: underline; }
.index-page > h2 + p { color: var(--ink-soft); margin-bottom: 12px; }
.simple-page .qlist { max-width: 52rem; }
.simple-page .quote-block { margin-top: clamp(32px, 5vw, 56px); max-width: 52rem; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 800px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 20px; background: var(--white); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; transition: box-shadow .15s ease; }
.guide-card:hover { box-shadow: inset 0 0 0 2px var(--forest); }
.guide-card__name { font: 800 1.375rem/1.15 var(--font-display); color: var(--forest); }
.guide-card__text { color: var(--ink-soft); line-height: 1.45; }
.guide-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--canopy); font-weight: 700; }
.guide-card__go .icon { width: 18px; height: 18px; }
.simple-page .topics-head { margin-bottom: 14px; }
.storm-desk { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow-soft); }
.storm-desk__status { font-weight: 600; }
.storm-desk__summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.storm-desk__stat { padding: 14px 16px; border-radius: var(--radius-m); background: var(--mist); }
.storm-desk__stat b { display: block; font: 800 1.75rem/1 var(--font-display); color: var(--forest); }
.storm-desk__stat span { font-size: var(--text-small); color: var(--ink-soft); }
.storm-desk__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; }
.storm-desk__filter select { width: auto; min-width: 200px; }
.storm-desk__source { font-size: var(--text-small); color: var(--ink-soft); }
.storm-desk td:first-child { white-space: nowrap; }
.flow__error { flex-basis: 100%; margin: 0 0 8px; }
[hidden] { display: none !important; }

/* keep the progress bar centred when Back is hidden on the first step */
.flow__bar .flow__iconbtn[hidden] { display: inline-flex !important; visibility: hidden; }

/* the question heading takes focus for screen readers on each step; it is not interactive, so no focus ring */
#flow-q:focus { outline: none; }

/* quote page: the form scrolls with the page, not inside its own box; Next stays in reach on long steps */
.flow-page .flow__panel { overflow: clip; }
.flow-page .flow__body { overflow: visible; overscroll-behavior: auto; }
.flow-page .flow__foot { position: sticky; bottom: 0; z-index: 2; border-radius: 0 0 24px 24px; }
