/* AfterLoss SEO surface styles. Mobile first. */
:root {
  --sage: #7c8a6f;
  --sage-soft: #b8c3a8;
  --cream: #fefcf7;
  --charcoal: #3a3a3a;
  --rust: #b8755a;
  --rust-dark: #9a5d44;
  --hairline: #e0e0d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 19px;
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  line-height: 1.25;
}
h1 { font-size: 2.2rem; margin: 0 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
p, li { font-size: 1.05rem; }
a { color: var(--rust); }
a:hover { color: var(--rust-dark); }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0;
}
.site-header .wrap, .site-footer .wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 1rem;
}
.site-header nav a.cta-link {
  background: var(--rust);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.hero .kicker {
  color: var(--sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.hero .lede {
  font-size: 1.2rem;
  color: #4a4a4a;
}
.hero.tender h1 { color: #5a5a5a; }
.meta {
  color: #6a6a6a;
  font-size: 0.95rem;
  border-left: 3px solid var(--sage-soft);
  padding: 0.25rem 0 0.25rem 0.75rem;
}

.quick-facts {
  background: white;
  border: 1px solid var(--sage-soft);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.quick-facts h2 { margin-top: 0; font-size: 1.2rem; }
.quick-facts dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
}
.quick-facts dt { font-weight: 600; color: var(--sage); }
.quick-facts dd { margin: 0.15rem 0 0; }

.steps {
  padding-left: 1.5rem;
}
.steps li { margin-bottom: 0.75rem; }
.forms { padding-left: 1.5rem; }
.forms li { margin-bottom: 0.4rem; }

.costs {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  font-size: 1rem;
}
.costs th, .costs td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hairline);
}
.costs th {
  background: var(--sage);
  color: white;
  font-weight: 600;
}
.costs tbody tr:last-child td { border-bottom: 0; }

.calc {
  background: white;
  border: 1px solid var(--sage-soft);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.calc label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.calc input {
  font-size: 1.1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  width: 100%;
  max-width: 280px;
  margin-bottom: 0.75rem;
}
.calc button {
  background: var(--sage);
  color: white;
  border: 0;
  font-size: 1rem;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
}
.calc button:hover { background: #6a7660; }
.calc-result {
  margin-top: 0.75rem;
  min-height: 1.5em;
  color: var(--charcoal);
}

.cta-box {
  background: var(--sage);
  color: white;
  border-radius: 8px;
  padding: 1.75rem;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-box h2 { color: white; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,0.92); }
.cta-button {
  display: inline-block;
  background: var(--rust);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 0.5rem;
}
.cta-button:hover { background: var(--rust-dark); color: white; }

.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: Georgia, serif;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--sage);
}
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 0.75rem 0 0; }

.related {
  margin-top: 3rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 6px;
}
.related h2 { margin-top: 0; font-size: 1.3rem; }
.related ul { padding-left: 1.2rem; }
.related li { margin-bottom: 0.5rem; }

.site-footer {
  background: #2e2e2e;
  color: #d4d4d0;
  padding: 2.5rem 0;
  margin-top: 3rem;
}
.site-footer a { color: #c5d0b8; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.site-footer strong { color: white; display: block; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer .legal { color: #888; font-size: 0.85rem; }

@media (min-width: 720px) {
  body { font-size: 19px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.8rem; }
  .quick-facts dl { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .page { padding: 1.25rem 1rem 3rem; }
}
