/* Courtice Lawn & Snow: the one stylesheet for all three sample sites (Starter, Standard, Premium).
   Same brand and same polish at every package; the packages differ in scope (pages and features), never in quality.
   System fonts only, no third-party requests (tools/check.js enforces that). */
:root {
  --bg: #F5F7F1;
  --surface: #FFFFFF;
  --ink: #18231C;
  --muted: #55635A;
  --line: #D8DFD5;
  --lawn: #2B6A3A;
  --snow: #235C8E;
  --accent: var(--lawn);
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEDF;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-season="snow"] { --accent: var(--snow); --accent-soft: #DFEAF4; --bg: #F2F5F8; --line: #D3DCE4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101713; --surface: #18221C; --ink: #E6EDE7; --muted: #9BABA0; --line: #29362D;
    --lawn: #7CC58A; --snow: #86BDEB; --accent-ink: #0F1612; --accent-soft: #1C2D21; color-scheme: dark;
  }
  :root:not([data-theme="light"])[data-season="snow"] { --bg: #0F151B; --surface: #172029; --line: #26333F; --accent-soft: #19293A; }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; transition: background 0.25s; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: 20px; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); font-weight: 900; font-stretch: 112%; letter-spacing: -0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; font-stretch: 108%; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
h1 em { font-style: normal; color: var(--accent); }

/* The notice that says the business is made up, and which package this sample shows. On every page. */
.sample { background: #14172A; color: #F4F5F9; font: 0.85rem/1.4 system-ui, sans-serif; text-align: center; padding: 8px 16px; }
.sample a { color: #F4F5F9; }

/* Header and navigation */
header.top { padding-block: 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.brand { font-family: var(--font-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.phone { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.phone small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
nav.site a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 10px; border-radius: 8px; }
nav.site a:hover { background: var(--accent-soft); }
nav.site a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
nav.site a.cta { background: var(--accent); color: var(--accent-ink); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; width: 100%; }

/* Hero and inner-page heading */
.hero { padding-block: 28px 56px; }
.hero .wrap { display: grid; gap: 22px; }
.page-hero { padding-block: 36px 8px; }
.page-hero .wrap { display: grid; gap: 12px; }
.page-hero h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
.lede { font-size: 1.25rem; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 10px; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; margin: 6px 0 0; list-style: none; color: var(--muted); font-size: 0.98rem; }
.facts b { color: var(--ink); }
.switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: fit-content; }
.switch button { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--muted); padding: 8px 20px; border-radius: 999px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* Sections */
section { padding-block: 48px; border-top: 1px solid var(--line); }
.sec-top { display: grid; gap: 8px; align-content: start; margin-bottom: 24px; max-width: 60ch; }
.sec-top p { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.services article { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; display: grid; gap: 6px; align-content: start; }
.services p { color: var(--muted); font-size: 0.98rem; }
.services .from { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.steps li { counter-increment: s; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.steps p { color: var(--muted); }
.area { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.towns li { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 6px 14px; border-radius: 999px; }
dl.faq { margin: 0; display: grid; gap: 16px; }
dl.faq dt { font-weight: 700; }
dl.faq dd { margin: 2px 0 0; color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.card p { color: var(--muted); }
.card .from { color: var(--accent); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cta-band { background: var(--accent-soft); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }

/* Quote and booking forms (demo only: a sample sends nothing) */
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 5px; font-weight: 600; font-size: 0.95rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
.fine { font-size: 0.82rem; color: var(--muted); }
.ok { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 12px 14px; border-radius: 8px; }

/* Our work: coloured illustration tiles. A live site shows the client's own photos here. */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.tile { aspect-ratio: 4 / 3; border-radius: 14px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile.mow { background: repeating-linear-gradient(100deg, #3C8A4C 0 28px, #2F7A40 28px 56px); }
.tile.edge { background: linear-gradient(180deg, #A8D5A2 0 38%, #3C8A4C 38% 100%); }
.tile.hedge { background: radial-gradient(circle at 30% 60%, #2F7A40 0 22%, transparent 23%), radial-gradient(circle at 62% 58%, #3C8A4C 0 24%, transparent 25%), radial-gradient(circle at 82% 62%, #2B6A3A 0 18%, transparent 19%), #CFE3C6; }
.tile.drive { background: linear-gradient(180deg, #DCE7F1 0 50%, #B9C7D4 50% 100%); }
.tile.drive::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14%; height: 26%; background: #ECF2F8; border-radius: 40px 40px 6px 6px; }
.tile.walk { background: repeating-linear-gradient(0deg, #E8EFF6 0 22px, #D3DEE9 22px 24px); }
.tile.lot { background: linear-gradient(135deg, #C9D6E3 0 50%, #E6EDF4 50% 100%); }
figcaption { color: var(--muted); font-size: 0.92rem; }

/* A stand-in for the Google Map. A live site embeds an interactive Google Map; the sample draws one so it makes no outside requests. */
.map { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.map svg { display: block; width: 100%; height: auto; }
.map p { padding: 10px 14px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Blog */
.posts { display: grid; gap: 16px; }
.post-link { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.post-link:hover { border-color: var(--accent); }
.post-link small { color: var(--muted); }
article.post { max-width: 68ch; display: grid; gap: 14px; }
article.post h2 { margin-top: 10px; }
article.post p, article.post li { color: var(--ink); }
article.post ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: grid; gap: 6px; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }
