/* Hometown Site Care: the business's own website, in the "Dispatch board" look the user chose on 2026-11-12
   (the three options are in the vault, Website/design-options/). Same colours and type as the Client Portal app,
   so a client who goes from this site to their portal stays in one look: dark pine, work green for actions,
   hi-vis amber for the thing that needs attention; Barlow for text, Barlow Semi Condensed for headings.
   Not a client site: those are built by Website/client-sites/ in their own five designs. */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Semi+Condensed:wght@600;700&display=swap");

:root {
  --brand: #1F7A4D; --brand-soft: #DDF0E4; --pine: #0F2A22; --pine-2: #183A2F; --amber: #F0A92E; --amber-soft: #FDF0D2; --amber-ink: #8A5A00;
  --ink: #14201B; --paper: #FFFFFF; --surface: #F3F5F1; --line: #D9E0D8; --muted: #55625B; --on-pine: #CFE0D6;
  --font: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --radius: 7px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); letter-spacing: -.01em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.2; }
a { color: var(--brand); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 34rem; }
.icon { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Draft markers, for anything on a page that is still to be confirmed. */
.draft { margin: 0; padding: var(--s2) var(--s4); background: var(--amber-soft); color: var(--amber-ink); font-size: .9375rem; font-weight: 600; text-align: center; }
.tbc { display: inline-block; padding: .1em .5em; border-radius: var(--radius); background: var(--amber-soft); color: var(--amber-ink); font-size: .8125rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--s2) var(--s5);
  border: 2px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: var(--paper);
  font: 700 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pine); border-color: var(--pine); }
.btn--line { background: transparent; color: var(--brand); }
.btn--line:hover { background: var(--brand); border-color: var(--brand); color: var(--paper); }
/* On the pine bands the main button is amber, the one thing on the page that is asking to be pressed. */
.btn--amber { border-color: var(--amber); background: var(--amber); color: var(--pine); }
.btn--amber:hover { border-color: var(--paper); background: var(--paper); color: var(--pine); }
.btn--ghost { border-color: #3B5E50; background: transparent; color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: transparent; }

/* The top bar and the hero are one pine band. */
.top { background: var(--pine); color: var(--paper); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); min-height: 4.5rem; padding-block: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); margin-right: auto; color: var(--paper); font: 700 1.4rem/1 var(--head); text-decoration: none; }
.mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: var(--radius); background: var(--amber); color: var(--pine); font: 700 1.5rem/1 var(--head); }
.top nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
.top nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-pine); font-weight: 500; text-decoration: none; }
.top nav a:hover { color: var(--paper); text-decoration: underline; }
.top :focus-visible, .hero :focus-visible { outline-color: var(--paper); }

.hero { background: var(--pine); color: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: var(--s7); padding-top: var(--s7); }
.hero-text { display: grid; gap: var(--s5); justify-items: start; align-self: center; padding-bottom: var(--s8); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: var(--on-pine); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.fine { color: var(--muted); font-size: .9375rem; }
.hero .fine { color: #9DB8AA; }

/* The picture in the hero: the day board an owner sees in their portal, drawn here with made-up names. */
.dayboard { margin: 0; align-self: end; }
.dayboard-card { padding: var(--s5) var(--s5) var(--s6); border-radius: 14px 14px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -20px 60px -30px rgb(0 0 0 / .7); }
.dayboard-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s4); margin-bottom: var(--s3); }
.dayboard-head b { font: 700 1.35rem/1.1 var(--head); }
.dayboard-head span { margin-left: auto; color: var(--muted); font-size: .9375rem; }
.timeline li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); min-height: 2.5rem; border-top: 1px solid var(--line); }
.timeline li > span { padding-top: .2rem; color: var(--muted); font-size: .8125rem; }
.timeline li > div { min-width: 0; padding: 3px 0; }
.job { display: flex; align-items: center; gap: var(--s3); min-width: 0; min-height: 2.1rem; padding: .25rem var(--s3); border-left: 4px solid var(--brand); border-radius: 6px; background: var(--brand-soft); font-size: .9375rem; }
.job b { font-weight: 600; white-space: nowrap; }
.job span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.job em { margin-left: auto; font-style: normal; font-weight: 600; font-size: .8125rem; white-space: nowrap; color: var(--brand); }
.job--ask { border-left-color: var(--amber); border-left-style: dashed; background: var(--amber-soft); }
.job--ask em { color: var(--amber-ink); }
.job--own { border-left-color: #8A978F; background: #E9EDE7; }
.job--own em { color: var(--muted); }
.caption { padding: var(--s2) var(--s5) var(--s3); background: var(--surface); color: var(--muted); font-size: .8125rem; }

section { scroll-margin-top: var(--s5); }
.block { padding-block: var(--s8); }
.block--tint { background: var(--surface); border-block: 1px solid var(--line); }
.block-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 40rem; }

/* What you get: ten rows in two columns, ruled like a job sheet, not ten boxes. */
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); border-top: 2px solid var(--pine); }
.item { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: var(--s1) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.item p { grid-column: 2; color: var(--muted); font-size: 1rem; }
.tile { grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand); }
/* Two tones only: green for what runs by itself, amber for what brings customers in. */
.c-orange, .c-yellow { background: var(--amber-soft); color: var(--amber-ink); }

.steps { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: step; }
.steps li { display: grid; gap: var(--s2); align-content: start; padding-top: var(--s4); border-top: 2px solid var(--pine); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: var(--pine); color: var(--amber); font: 700 1.4rem/1 var(--head); }
.steps p { color: var(--muted); }

.two { display: grid; gap: var(--s7); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.ticks { display: grid; gap: var(--s3); }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; }
.ticks .icon { margin-top: .15rem; color: var(--brand); }
.ticks--no .icon { color: var(--muted); }

.price { display: grid; gap: var(--s4); justify-items: start; padding: var(--s6); border-radius: var(--radius); background: var(--pine); color: var(--paper); }
.price-big { font: 700 clamp(3.5rem, 8vw, 5rem)/.95 var(--head); color: var(--amber); }
.price-big small { font: 500 1.125rem/1 var(--font); color: var(--on-pine); }
.price .fine { color: #9DB8AA; }
.price :focus-visible { outline-color: var(--paper); }

.start { background: var(--pine); color: var(--paper); }
.start .wrap { display: grid; gap: var(--s4); justify-items: start; padding-block: var(--s8); }
.start p { color: var(--on-pine); max-width: 36rem; }
.start a:not(.btn) { color: var(--paper); }
.start :focus-visible { outline-color: var(--paper); }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); padding-block: var(--s5); }

@media (max-width: 56rem) {
  .hero .wrap, .two { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: var(--s5); }
  .hero-text { padding-bottom: 0; }
  .block, .start .wrap { padding-block: var(--s7); }
  .items { grid-template-columns: minmax(0, 1fr); }
  .top nav { display: none; } /* three in-page links; on a phone the page is short enough to scroll */
}
@media (max-width: 30rem) { .job { flex-wrap: wrap; gap: 0 var(--s2); } .job span { order: 3; flex: 1 1 100%; white-space: normal; } }

.stack { display: grid; gap: var(--s4); }

/* The "Get started" form: a white card on the pine band. It posts to the portal app. */
.start-text { display: grid; gap: var(--s4); align-content: start; }
.form { justify-self: stretch; display: grid; gap: var(--s4); width: 100%; padding: var(--s5); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.form label { display: grid; gap: var(--s1); font-size: .9375rem; font-weight: 600; }
.form input, .form textarea, .form select { width: 100%; min-height: 3rem; padding: var(--s2) var(--s3); border: 1px solid var(--muted); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--font); }
.form textarea { min-height: 5.5rem; }
.form .check { display: flex; align-items: flex-start; gap: var(--s2); font-weight: 400; }
.form .check input { flex: none; width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: .2rem; }
.form-pair { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.start .form p { color: var(--muted); max-width: none; }
.start .form :focus-visible { outline-color: var(--ink); }
.start .form a:not(.btn) { color: var(--brand); } /* links inside the white form card: the pine band around it makes links white */
.hide { position: absolute; left: -9999px; }
.form .tbc { white-space: normal; }

/* The privacy and terms pages: one readable column. */
.doc { display: grid; gap: var(--s4); max-width: 46rem; padding-block: var(--s7); }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.doc h2 { margin-top: var(--s4); font-size: 1.5rem; }
.doc ul { display: grid; gap: var(--s2); padding-left: 1.25rem; list-style: disc; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }

/* The sheet of icon drawings at the top of each page takes no room (it left a white strip above the pine bar). */
body > svg:first-child { position: absolute; }
/* An outlined button on the pine top bar (the privacy and terms pages) needs light ink. */
.top .btn--line { border-color: #3B5E50; color: var(--paper); }
.top .btn--line:hover { border-color: var(--paper); background: transparent; }
@media (max-width: 30rem) { .top .btn--amber { display: none; } } /* the hero has the same button just below */
