/* Public website. Loaded after owner.css and uses its tokens. Mobile-first (390px), then desktop. */
main.site { max-width: 62rem; padding-top: var(--s6); }

/* Letterhead + navigation */
.site-header .inner, .site-footer .inner { max-width: 62rem; margin: 0 auto; padding: var(--s2) var(--s4); }
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 var(--s4); padding-top: var(--s3); }
.call { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; white-space: nowrap; }
.site-nav { flex: 1 1 100%; border-top: 1px solid var(--line); margin-top: var(--s2); }
.site-nav ul { list-style: none; margin: 0 -6px; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: space-between; }
.site-nav li + li { margin-top: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 6px;
  color: var(--fg); text-decoration: none; font-size: .94rem; border-bottom: 3px solid transparent; }
@media (min-width: 420px) { .site-nav ul { justify-content: flex-start; } .site-nav a { font-size: 1rem; padding: 0 var(--s2); } }
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--line); }
.site-nav a[aria-current=page] { color: var(--accent); font-weight: 650; border-bottom-color: var(--accent); }
@media (min-width: 900px) {
  .site-header .inner { flex-wrap: nowrap; padding-bottom: 0; }
  .site-header .brand { margin-bottom: var(--s2); }
  .site-nav { flex: 0 1 auto; order: 2; border-top: 0; margin: 0 0 0 auto; align-self: flex-end; }
  .site-nav a { min-height: 56px; padding: 0 var(--s3); }
  .call { order: 3; margin-bottom: var(--s2); padding-left: var(--s4); border-left: 1px solid var(--line); }
}

/* Long-form text keeps a readable measure even though the page is wider */
main.site > :where(p, ul, ol, dl, h2, h3) { max-width: var(--measure); }
main.site > h1 { max-width: 40rem; }
main.site > .facts, main.site > .banner { max-width: none; }

/* Home: headline beside the property check */
.hero { display: grid; gap: var(--s5); margin-bottom: var(--s6); background: var(--tint); border-radius: var(--r-md);
  padding: var(--s5) var(--s4); }
.hero .lead { margin-bottom: 0; }
.check { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--r-md); padding: var(--s4); }
.check h2 { margin-top: 0; }
.check .actions { margin-top: var(--s4); }
.check button { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.check button:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--on-cta); }
.check .muted { font-size: var(--text-sm); margin: 0; }
@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
  .hero h1 { margin-top: var(--s2); }
  .check { padding: var(--s5); }
  .hero { padding: var(--s6); }
}

/* Key facts: a terms sheet, not a row of feature cards */
.facts { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-md); max-width: none; }
.facts li { max-width: none; margin: 0; padding: var(--s4); border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts li strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.3;
  margin-bottom: var(--s1); }
@media (min-width: 720px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; }
  .facts li { padding: var(--s5); }
  .facts li:nth-child(2) { border-top: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
}

/* A real sequence, so real numbers */
ol.steps { list-style: none; counter-reset: step; padding: 0; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 0 52px; margin: var(--s4) 0; min-height: 36px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); background: var(--card);
  font: 600 1.05rem/32px var(--font-serif); text-align: center; }

.banner { border: 2px solid var(--warn); background: var(--warn-soft); color: var(--fg); border-radius: var(--r-sm);
  padding: var(--s3) var(--s4); margin: 0 0 var(--s5); max-width: none; }

/* FAQ */
dl.qa dt { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3;
  margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
dl.qa dt:first-child { border-top: 0; padding-top: 0; }
dl.qa dd { margin: var(--s2) 0 0; }

/* Footer: a quiet band with the legal identity */
.site-footer { background: var(--bg-2); border-top: 3px double var(--line-strong); color: var(--muted);
  font-size: var(--text-sm); margin-top: var(--s7); }
.site-footer .inner { padding-top: var(--s4); padding-bottom: var(--s6); }
.site-footer nav ul { list-style: none; margin: 0 calc(-1 * var(--s2)) var(--s3); padding: 0; display: flex; flex-wrap: wrap; }
.site-footer nav li + li { margin-top: 0; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 var(--s2); }
.site-footer p { margin: var(--s2) 0; max-width: 48rem; }
.site-footer strong { color: var(--fg); }

@media (min-width: 720px) {
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s5); }
}
