@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff8f0;
  --ink: #2c1810;
  --muted: #5d3a2e;
  --line: #e8d5c4;
  --card-line: #ffcc80;
  --red: #c62828;
  --accent: #e65100;
  --accent-hover: #bf360c;
  --white: #ffffff;
  --wrap: 1080px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); }

strong, b { font-weight: 600; }

.nowrap { white-space: nowrap; }

h1, h2, h3 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.05rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  z-index: 20;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.draft-banner {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  line-height: 1.45;
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(640px, calc(100% - 3rem)); }
.wrap.narrow-copy { width: min(720px, calc(100% - 3rem)); }

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.wordmark-name {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--red);
  line-height: 1.2;
  letter-spacing: 0;
}
.wordmark-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta {
  color: var(--accent);
  font-weight: 500;
}

.hero { padding: 5.5rem 0 5rem; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 3rem;
  align-items: stretch;
}
.hero-copy { max-width: 40rem; }
.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--red);
}
.hero-panel {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(198, 40, 40, 0.08);
  min-height: 18rem;
  display: flex;
  flex-direction: column;
}
.hero-panel-bar {
  height: 0.55rem;
  background: linear-gradient(90deg, #c62828 0%, #e65100 55%, #ff8f00 100%);
  flex-shrink: 0;
}
.hero-panel-bar-bottom {
  background: linear-gradient(90deg, #ff8f00 0%, #e65100 45%, #c62828 100%);
}
.hero-panel-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  background: #fff8f0;
}
.hero-panel-tag {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
  max-width: 16ch;
}
.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.75rem 0 1.1rem;
}
.hero-quiet {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  background: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}
.btn-secondary:hover { background: #fff3e0; }
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section { padding: 5rem 0; }
.section-alt { border-block: 1px solid var(--line); }
.section-lead {
  max-width: 36rem;
  color: var(--muted);
  margin-bottom: 2.25rem;
}
.section-close {
  margin: 2rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.narrow-copy p { color: var(--ink); }
.narrow-copy p:last-child { margin-bottom: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
.step-card {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
}
.step-card p,
.benefit-card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 1.4rem 1.35rem 1.3rem;
}

.calc-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.calc-card,
.calc-results,
.contact-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  box-shadow: none;
}
.calc-card,
.calc-results,
.contact-card { padding: 1.6rem 1.6rem 1.5rem; }

.field { margin-bottom: 1.05rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
input::placeholder,
textarea::placeholder {
  color: #8a7a70;
  opacity: 1;
}
textarea { resize: vertical; min-height: 8rem; }
.input-prefix {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding-left: 0.75rem;
  color: var(--muted);
}
.input-prefix input {
  border: 0;
  background: transparent;
  padding-left: 0;
}
.calc-hint,
.privacy,
.calc-disclaimer,
.price-support,
.price-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  line-height: 1.5;
}

.calc-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 12rem;
}
.calc-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.calc-output[hidden],
.calc-prompt[hidden] { display: none; }
.result-line {
  margin: 0 0 0.85rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--ink);
}
.result-line .result-amount { color: var(--red); }

.price-card { padding: 1.8rem 1.6rem 1.6rem; }
.price-lead {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 1rem;
}
.price-num { color: var(--red); }
.price-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.price-list li { margin: 0.5rem 0; }
.price-list strong { color: var(--ink); }
.price-note {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1rem;
}
.price-support { margin: 0 0 1.5rem; }

.faq-list { display: grid; gap: 1.5rem; }
.faq-item h3 { margin-bottom: 0.35rem; }
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.town-row {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.cta-secondary {
  color: var(--muted);
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.field-full { grid-column: 1 / -1; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin: 0 0 0.8rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-error { background: #f8ece8; color: #9a3412; }
.form-status.is-ok { background: #eef6ee; color: #215c2e; }
.contact-card .btn { margin-top: 0.5rem; width: 100%; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.5rem;
  color: var(--muted);
}
.footer-inner { text-align: left; }
.footer-inner p { margin: 0.15rem 0; font-size: 0.92rem; overflow-wrap: anywhere; }
.footer-brand {
  font-family: var(--font);
  font-weight: 600;
  color: var(--red);
  font-size: 1rem !important;
  letter-spacing: 0;
  margin-bottom: 0.35rem !important;
  overflow-wrap: normal !important;
}
.footer-tag {
  color: var(--muted);
  font-style: italic;
}
.footer-copy { margin-top: 0.7rem !important; }
.footer-draft { margin-top: 0.35rem !important; }
.site-footer .town-row {
  margin: 0.55rem 0;
  font-weight: 400;
  overflow-wrap: normal;
}
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .wrap,
  .wrap.narrow,
  .wrap.narrow-copy { width: min(var(--wrap), calc(100% - 2rem)); }
  .hero { padding: 3.25rem 0 3.5rem; }
  .hero-layout { display: block; }
  .hero-panel { display: none; }
  .section { padding: 3.5rem 0; }
  .steps,
  .calc-layout,
  .form-grid,
  .benefit-grid { grid-template-columns: 1fr; }
  .steps { gap: 1.6rem; }
}

@media (max-width: 560px) {
  .site-nav { width: 100%; gap: 0.2rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
