:root { color-scheme: light; }
html { background: #faf9f6; }

body.home-page {
  --paper: #faf9f6;
  --white: #ffffff;
  --ink: #18232d;
  --muted: #5d6872;
  --line: #dfe2df;
  --soft: #f0eee8;
  --green: #176a59;
  --green-dark: #105247;
  --green-soft: #e8f1ee;
  --bg: var(--paper);
  --panel: var(--white);
  --panel-soft: var(--soft);
  --text: var(--ink);
  --accent: var(--green);
  --accent-strong: var(--green-dark);
  --border: var(--line);
  --border-strong: #c7ccc8;
  --shadow: none;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.home-page *, body.home-page *::before, body.home-page *::after { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
body.home-page h1, body.home-page h2, body.home-page h3 { color: var(--ink); font-family: 'Manrope', 'DM Sans', sans-serif; letter-spacing: -0.035em; }
body.home-page p { color: var(--muted); }
body.home-page a { color: var(--green-dark); }
body.home-page .container { width: min(1120px, calc(100% - 40px)); }

.site-header { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.site-header .brand { margin-right: auto; color: var(--ink); gap: 9px; }
.site-header .brand-logo { width: 42px; height: 30px; object-fit: contain; filter: none; }
.site-header .brand-name { font-size: 13px; letter-spacing: .06em; }
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a { padding: 5px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--ink); background: transparent; }
.header-button { padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 700; }

.intro-label { margin: 0 0 10px; color: var(--green) !important; font-size: 13px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; text-align: center; transition: background .15s ease, border-color .15s ease; }
.button--dark { background: var(--ink); color: #fff !important; }
.button--dark:hover { background: #293844; color: #fff; }
.button--plain { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }
.button--outline { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.button--outline:hover { background: var(--soft); }
.button--light { background: #fff; color: var(--ink) !important; }

.hero-simple { padding: clamp(64px, 9vw, 112px) 0 72px; }
.hero-simple__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr); gap: clamp(48px, 9vw, 110px); align-items: center; }
.hero-simple h1 { max-width: 700px; margin: 0 0 24px; font-size: clamp(48px, 7vw, 78px); line-height: .98; }
.hero-text { max-width: 650px; margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-buttons { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.quick-facts span::before { content: '✓'; margin-right: 6px; color: var(--green); }
.hero-list { padding: 26px; border: 1px solid var(--line); background: var(--white); }
.hero-list p { margin: 0 0 15px; color: var(--ink); font-weight: 700; }
.hero-list ul { display: grid; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--muted); }
.hero-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.hero-list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.hero-list small { display: block; padding-top: 15px; border-top: 1px solid var(--line); color: var(--green-dark); font-weight: 700; }

.pricing-simple { padding: 84px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { max-width: 690px; margin-bottom: 34px; }
.section-title h2 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.section-title > p:last-child { margin: 0; font-size: 17px; line-height: 1.6; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.price-card--main { border: 2px solid var(--green); padding: 29px; background: var(--white); }
.popular-tag { position: absolute; top: 0; right: 24px; transform: translateY(-50%); padding: 5px 10px; border-radius: 99px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; }
.price-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.package-type { margin: 0 0 4px; color: var(--green) !important; font-size: 13px; font-weight: 700; }
.price-card h3 { margin: 0; font-size: 25px; }
.price { flex: 0 0 auto; margin: 0; text-align: right; }
.price strong, .price span { display: block; }
.price strong { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 35px; line-height: 1; }
.price span { margin-top: 5px; font-size: 12px; }
.package-copy { min-height: 74px; margin: 24px 0 0; font-size: 16px; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); }
.price-card li::before { content: '✓'; margin-right: 8px; color: var(--green); font-weight: 700; }
.price-card .button { width: 100%; margin-top: auto; }
.cost-note { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 18px 20px; background: var(--green-soft); }
.cost-note p { margin: 0; font-size: 14px; }
.cost-note strong { color: var(--ink); }
.cost-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.process-simple { padding: 84px 0; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.process-list li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-weight: 700; }
.process-list h3 { margin: 4px 0 7px; font-size: 19px; }
.process-list p { margin: 0; font-size: 15px; line-height: 1.55; }

.hampshire-home { padding: 84px 0; border-top: 1px solid var(--line); background: var(--white); }
.hampshire-home__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, .75fr); gap: clamp(48px, 8vw, 96px); align-items: start; }
.hampshire-home h2 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; }
.hampshire-home p { margin: 0 0 18px; }
.text-link { display: inline-flex; gap: 7px; color: var(--ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.area-summary { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.area-summary > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.area-summary strong, .area-summary span { display: block; }
.area-summary strong { color: var(--ink); font-size: 14px; }
.area-summary span { margin-top: 3px; color: var(--muted); font-size: 14px; }

.plain-help { padding: 0 0 84px; }
.plain-help__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px; background: var(--green-dark); }
.plain-help h2 { margin: 0 0 6px; color: #fff !important; font-size: 28px; }
.home-page .plain-help p { margin: 0; color: #d9e7e2; }
.plain-help .button { flex: 0 0 auto; }

.questions-simple { padding: 84px 0; background: var(--soft); }
.questions-grid { display: grid; grid-template-columns: .75fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.question-list { border-top: 1px solid var(--border-strong); }
.question-list details { border-bottom: 1px solid var(--border-strong); }
.question-list summary { position: relative; padding: 20px 34px 20px 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: '+'; position: absolute; right: 4px; font-size: 22px; font-weight: 400; }
.question-list details[open] summary::after { content: '–'; }
.question-list details p { margin: -6px 30px 20px 0; font-size: 15px; }

.end-cta { padding: 70px 0; background: var(--white); }
.end-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.end-cta h2 { margin: 0 0 5px; font-size: 34px; }
.end-cta p { margin: 0; }

.site-footer { padding: 24px 0; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row > div { display: flex; gap: 18px; }
.footer-row a { color: var(--muted) !important; }

body.home-page .cookie-banner { width: min(480px, calc(100% - 28px)); padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 12px 35px rgba(24,35,45,.15); }
body.home-page .cookie-banner .small { color: var(--muted); }
body.home-page .cookie-banner .btn { min-height: 40px; padding: 8px 13px; border-radius: 7px; background: var(--ink); color: #fff; box-shadow: none; }
body.home-page .cookie-banner .btn.secondary { background: var(--white); color: var(--ink); border-color: var(--line); }

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .hero-simple__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-list { max-width: 620px; }
  .price-grid { grid-template-columns: 1fr; }
  .package-copy { min-height: 0; }
  .process-list { grid-template-columns: 1fr; gap: 26px; }
  .questions-grid { grid-template-columns: 1fr; gap: 12px; }
  .hampshire-home__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  body.home-page { font-size: 15px; }
  body.home-page .container { width: min(100% - 32px, 1120px); }
  .header-row { min-height: 62px; gap: 10px; }
  .site-header .brand-logo { width: 36px; }
  .site-header .brand-name { font-size: 11px; }
  .header-button { padding: 9px 10px; font-size: 11px; }
  .hero-simple { padding: 54px 0 50px; }
  .hero-simple h1 { margin-bottom: 19px; font-size: clamp(38px, 10.8vw, 42px); line-height: 1; }
  .hero-text { font-size: 17px; }
  .hero-buttons { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .hero-buttons .button { width: 100%; }
  .quick-facts { display: grid; gap: 7px; margin-top: 20px; }
  .hero-list { padding: 20px; }
  .pricing-simple, .process-simple, .questions-simple, .hampshire-home { padding: 58px 0; }
  .section-title { margin-bottom: 26px; }
  .section-title h2 { font-size: 34px; }
  .section-title > p:last-child { font-size: 16px; }
  .price-card, .price-card--main { padding: 22px 20px; }
  .price-card__heading { display: block; }
  .price { margin-top: 17px; text-align: left; }
  .price strong, .price span { display: inline; }
  .price span { margin-left: 7px; }
  .package-copy { margin-top: 18px; }
  .cost-note { flex-direction: column; gap: 8px; padding: 16px; }
  .plain-help { padding-bottom: 58px; }
  .plain-help__inner { align-items: stretch; flex-direction: column; padding: 24px 20px; }
  .plain-help .button { width: 100%; }
  .end-cta { padding: 52px 0; }
  .end-cta__inner { align-items: stretch; flex-direction: column; gap: 20px; }
  .end-cta h2 { font-size: 30px; }
  .end-cta .button { width: 100%; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-row > div { flex-wrap: wrap; gap: 8px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
