:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5d6b63;
  --line: #dfe8e2;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --soft: #eef6f0;
  --accent: #167b4b;
  --accent-dark: #0f5c37;
  --danger: #a33b27;
  --danger-soft: #fff0eb;
  --gold: #c98b2b;
  --teal: #0d7c85;
  --shadow: 0 24px 70px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(223, 232, 226, 0.86);
  background: rgba(251, 252, 250, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.service-area,
.header-cta {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-area {
  color: var(--accent-dark);
  background: var(--soft);
}

.header-cta {
  color: #ffffff;
  background: var(--ink);
}

.header-cta:hover {
  background: var(--accent-dark);
}

.hero {
  display: grid;
  gap: 22px;
  min-height: auto;
  padding: 32px 20px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 240, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(22, 123, 75, 0.08) 0,
      rgba(22, 123, 75, 0.08) 1px,
      transparent 1px,
      transparent 34px
    );
}

.hero-content,
.availability-panel,
.section-heading,
.steps-grid,
.list-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-points {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin: 18px 0 0;
}

.hero-points span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.safe-copy {
  max-width: 640px;
  margin: 16px 0 0;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  color: var(--accent-dark);
  font-weight: 800;
}

.availability-panel {
  align-self: end;
  border: 1px solid rgba(223, 232, 226, 0.94);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.panel-heading {
  margin-bottom: 18px;
}

.panel-copy,
.pest-panel-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 750;
}

.postcode-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 900;
}

.postcode-row {
  display: grid;
  gap: 10px;
}

.postcode-row input {
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
}

.postcode-row input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(13, 124, 133, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(13, 124, 133, 0.28);
  outline-offset: 3px;
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
}

.button[aria-disabled="true"] {
  pointer-events: none;
  border-color: var(--line);
  color: var(--muted);
  background: #f2f5f1;
}

.form-help,
.form-message {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.form-help {
  color: var(--muted);
}

.form-message {
  min-height: 1.4em;
  font-weight: 800;
}

.form-message.is-success {
  color: var(--accent-dark);
}

.form-message.is-error {
  color: var(--danger);
}

.pest-panel {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.pest-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0;
}

.pest-option {
  min-height: 58px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.pest-option:hover,
.pest-option.is-selected {
  border-color: var(--accent);
  background: var(--soft);
}

.continue-link {
  width: 100%;
}

.value-strip {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: var(--ink);
  color: #ffffff;
}

.value-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  font-weight: 800;
}

.section {
  padding: 56px 20px;
}

.muted-section {
  background: #f4f7f2;
}

.section-heading {
  margin-bottom: 22px;
}

.steps-grid,
.list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.step-card,
.list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 150px;
  padding: 16px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.list-card {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.seo-safe-copy {
  margin-top: 0;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.seo-link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #ffffff;
  color: var(--accent-dark);
  font-weight: 900;
}

.seo-link-card:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.policy-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 44px 20px 56px;
}

.policy-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.policy-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.policy-card {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-section {
  display: grid;
  gap: 10px;
}

.policy-section p,
.policy-section ul {
  margin: 0;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-weight: 750;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

@media (min-width: 680px) {
  .site-header {
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: end;
    min-height: calc(100vh - 72px);
    padding: 76px 32px 40px;
  }

  .hero-content,
  .availability-panel {
    width: 100%;
  }

  h1 {
    font-size: 3.7rem;
  }

  .postcode-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-inline: 32px;
  }

  .section {
    padding: 72px 32px;
  }

  h2 {
    font-size: 2.2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-shell {
    padding: 64px 32px 76px;
  }

  .policy-card {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .service-area,
  .header-cta {
    display: inline-flex;
    justify-content: center;
  }

  .header-cta {
    flex: 1 1 auto;
  }

  h1 {
    font-size: 2.05rem;
  }

  .button {
    width: 100%;
  }
}
