:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-alt: #eeece4;
  --text: #1b2428;
  --muted: #4b5960;
  --primary: #1b4d3e;
  --primary-hover: #143a2f;
  --border: #d5d2c6;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--primary);
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.hero {
  padding: 3.25rem 0 2.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 24ch;
}

h2 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
  color: var(--primary);
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--surface-alt);
}

.btn-block {
  display: block;
  width: 100%;
}

.trust-bar {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0.6rem 0 0;
}

.card li {
  margin-bottom: 0.4rem;
}

.notice-box {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: #e4efe9;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--primary);
  color: #ffffff;
}

tr:last-child td {
  border-bottom: none;
}

.small-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 780px) {
  .estimator-layout {
    grid-template-columns: 1fr;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.full-span {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.quote-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.quote-total {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.25rem 0;
}

.checklist-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.compact-list {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.15rem;
  margin: 0 0 1rem;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.copy-status {
  font-size: 0.85rem;
  color: var(--primary);
  margin: 0.2rem 0 0;
  min-height: 1.2em;
}

.site-footer {
  background: #162226;
  color: #e4e7e8;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.legal-disclosure {
  padding-bottom: 1rem;
  border-bottom: 1px solid #2e3e44;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.copyright {
  margin: 0;
  color: #aeb8bc;
  font-size: 0.85rem;
}