:root {
  --green: #12241f;
  --green-soft: #1a352c;
  --cream: #f4f1ea;
  --white: #ffffff;
  --amber: #e8a33d;
  --border: #e3ddcd;
  --muted: #6b6455;
  --text: #3d5548;
  --gold-bg: #f7ecc9;
  --gold-text: #8a6d1f;
}

* { box-sizing: border-box; }

html { background: var(--cream); color-scheme: light; }

body {
  background: linear-gradient(to bottom, var(--green) 0, var(--green) 390px, var(--cream) 390px, var(--cream) 100%);
  color: var(--green);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

a { color: inherit; }

.seo-main {
  margin: 0 auto;
  padding: 32px 0 58px;
  width: min(900px, calc(100% - 32px));
}

.seo-main .home {
  color: var(--cream) !important;
  display: inline-block;
  font-size: 15px;
  margin-bottom: 48px;
  text-decoration: none;
}

.seo-main .home::first-letter { color: var(--amber); }

.seo-page { color: var(--green); }

.seo-page .kicker {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.seo-page h1 {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0 0 16px;
  max-width: 700px;
}

.seo-page > .lede {
  color: #d9d5ca;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
  min-height: 130px;
}

.seo-page h2 {
  color: var(--green);
  font-size: 18px;
  margin: 32px 0 12px;
}

.seo-page p,
.seo-page li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.seo-page ul { padding-left: 20px; }

.content-table,
.price-table {
  border-collapse: collapse;
  color: var(--text);
  font-size: 14px;
  margin: 18px 0 8px;
  width: 100%;
}

.content-table th,
.content-table td,
.price-table th,
.price-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
}

.content-table th:last-child,
.content-table td:last-child,
.price-table th:last-child,
.price-table td:last-child {
  color: var(--green);
  font-weight: 650;
  text-align: right;
}

.cta-band,
.panel,
.card,
.eicr-form,
.signup-card {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--green) !important;
}

.panel,
.eicr-form {
  border: 2px solid #315f50 !important;
}

.cta-band { margin-top: 32px; padding: 18px; }
.cta-band p { margin: 0 0 10px; }
.cta-band a { color: var(--green); font-weight: 750; }

.context-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.context-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  padding: 7px 10px;
  text-decoration: none;
}

.assessor-strip { margin-top: 28px; overflow: hidden; }
.assessor-strip p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.strip-window { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.strip-track { animation: assessor-scroll 32s linear infinite; display: flex; gap: 10px; padding: 12px; width: max-content; }
.strip-track span {
  background: var(--gold-bg);
  border: 1px solid #ead9a3;
  border-radius: 999px;
  color: var(--gold-text);
  flex: 0 0 auto;
  font-size: 13px;
  padding: 8px 12px;
  white-space: nowrap;
}

@keyframes assessor-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; flex-wrap: wrap; width: auto; } }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 2.3fr);
  margin: 20px auto 0;
  padding: 38px 0 28px;
  width: min(1060px, calc(100% - 32px));
}
.footer-brand strong { color: var(--green); display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 240px; }
.footer-groups { display: grid; gap: 26px; grid-template-columns: .8fr 1.2fr .8fr 1.5fr; }
.footer-groups section { min-width: 0; }
.footer-groups h2 { color: var(--green); font-size: 12px; letter-spacing: .08em; margin: 0 0 12px; text-transform: uppercase; }
.footer-groups ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-groups .location-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-groups li, .footer-groups a { color: var(--muted); font-size: 13px; line-height: 1.35; }
.footer-groups a { text-decoration: none; }
.footer-groups a:hover, .context-links a:hover { color: var(--green); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--border); color: #8a8272; font-size: 12px; grid-column: 1 / -1; line-height: 1.55; margin: 0; padding-top: 18px; }

label { color: var(--green) !important; }
input:not([type="checkbox"]), select, textarea {
  background: #fdfcf8 !important;
  border: 1px solid #d8d2c4 !important;
  color: var(--green) !important;
}
button {
  background: var(--green) !important;
  color: var(--cream) !important;
}
.fine { color: var(--muted) !important; }
.honeypot { left: -10000px !important; position: absolute !important; }

@media (max-width: 700px) {
  body { background-position: 0 0; }
  .seo-main { padding-left: 0; padding-right: 0; width: min(100% - 32px, 900px); }
  .seo-main .home { margin-bottom: 34px; }
  .seo-page > .lede { min-height: 155px; }
  .content-table, .content-table thead, .content-table tbody, .content-table tr, .content-table th, .content-table td { display: block; overflow-wrap: anywhere; width: 100%; }
  .content-table { font-size: 14px; }
  .content-table thead { display: none; }
  .content-table tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
  .content-table td { border-bottom: 0; padding: 3px 0; }
  .content-table td:first-child { color: var(--green); font-weight: 700; }
  .content-table th:last-child, .content-table td:last-child { text-align: right; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-groups .location-links { grid-template-columns: 1fr; }
}
