/* Asbestos Survey Now. Light theme only. */

@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #FAF8F5;
  --surface: #FFFFFF;
  --ink: #1E2330;
  --slate: #565C6B;
  --rule: #DDD8CE;
  --accent: #A5401C;
  --tint: #FBEDE6;
  --note: #5B3F8C;
  --accent-dark: #7A2D12;
  --measure: 720px;
  --wide: 960px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  padding-bottom: 76px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 700; margin: 0; }
h1 { font-size: 2.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1rem; }
li { margin-bottom: 0.3rem; }
strong { font-weight: 700; }
em { font-style: italic; }

.as-wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 16px; }
.as-narrow { max-width: var(--wide); }
.as-hero h1, .as-hero .as-crumbs { max-width: var(--measure); }
.as-readable { max-width: var(--wide); }
.as-slate { color: var(--slate); }

/* header: brand + button on the first row, nav on a second row (desktop) */
.as-header { background: var(--surface); border-bottom: 1px solid var(--rule); }
.as-header-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.as-brand { font: 700 1.35rem/1 var(--serif); color: var(--ink); text-decoration: none; padding: 10px 0; }
.as-brand:hover { color: var(--accent); }
.as-nav { display: none; border-top: 1px solid var(--rule); background: var(--paper); }
.as-nav .as-wrap { display: flex; gap: 4px 28px; flex-wrap: wrap; }
.as-nav a { display: inline-block; padding: 9px 0; min-height: 44px; line-height: 26px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.as-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.as-nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; }
.as-menu { border-top: 1px solid var(--rule); background: var(--paper); }
.as-menu summary { list-style: none; cursor: pointer; padding: 10px 16px; min-height: 44px; font-weight: 700; color: var(--accent); }
.as-menu summary::-webkit-details-marker { display: none; }
.as-menu summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1.2; }
.as-menu[open] summary::after { content: "\2212"; }
.as-menu nav { display: flex; flex-direction: column; padding: 0 16px 8px; }
.as-menu nav a { padding: 10px 0; min-height: 44px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
@media (min-width: 768px) {
  .as-nav { display: block; }
  .as-menu { display: none; }
}

/* notice band (not sticky) */
.as-notice { background: var(--tint); border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 0.9rem; line-height: 1.45; }
.as-notice p { margin: 0; padding: 9px 0; }

/* buttons */
.as-btn { display: inline-block; background: var(--accent); color: #fff; font: 700 1rem/1.2 var(--sans); padding: 12px 20px;
  min-height: 44px; border: 0; border-radius: 4px; text-decoration: none; text-align: center; cursor: pointer; }
.as-btn:hover { background: var(--accent-dark); color: #fff; }
.as-btn-sm { padding: 10px 14px; font-size: 0.95rem; }
.as-btn-full { width: 100%; display: block; }
@media (min-width: 768px) { .as-btn-full { width: auto; display: inline-block; min-width: 220px; } }

/* hero */
.as-hero { padding: 22px 0 8px; }
.as-hero h1 { margin-bottom: 12px; }
.as-opening { font-size: 1.125rem; margin-bottom: 14px; max-width: 70ch; }
.as-crumbs { font-size: 0.9rem; color: var(--slate); margin-bottom: 8px; }
.as-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.as-crumbs li { margin: 0; }
.as-crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--slate); }
.as-crumbs a { color: var(--slate); }

.as-trust { list-style: none; display: grid; gap: 6px 22px; margin: 0 0 14px; padding: 0; }
.as-trust li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.as-trust svg { flex: none; color: var(--accent); width: 24px; height: 24px; }
@media (min-width: 768px) { .as-trust { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* form card */
.as-formcard { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 4px;
  padding: 16px 20px 6px; margin: 0 0 28px; scroll-margin-top: 12px; }
.as-formcard h2 { font-size: 1.35rem; margin-bottom: 10px; }
.as-grid { display: grid; gap: 0 20px; }
@media (min-width: 768px) { .as-grid { grid-template-columns: 1fr 1fr; } .as-span { grid-column: 1 / -1; } }
.as-formcard p { margin-bottom: 10px; }
.as-formcard label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.as-formcard input[type=text], .as-formcard input[type=email], .as-formcard input[type=tel], .as-formcard select, .as-formcard textarea {
  width: 100%; font: 400 1rem/1.3 var(--sans); padding: 10px 12px; min-height: 44px; border: 1px solid #8A8F9B; border-radius: 3px;
  background: #fff; color: var(--ink); }
.as-formcard textarea { min-height: 96px; }
.as-more summary { cursor: pointer; font-weight: 700; color: var(--accent); min-height: 44px; display: flex; align-items: center; }
.as-consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.as-consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.as-consent label { font-weight: 400 !important; font-size: 0.95rem !important; }
.as-note { color: var(--slate); font-size: 0.95rem; }

/* body */
.as-body { padding-top: 12px; }
.as-sec { margin: 0 auto 36px; max-width: var(--wide); }
.as-sec > h2, .as-sec > p, .as-sec > ul, .as-sec > ol, .as-sec > dl, .as-sec > .as-faq { max-width: var(--measure); }
.as-sec > h2 { margin-bottom: 10px; }
.as-dab { font-size: 1.0625rem; background: var(--tint); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 4px 4px 0; }
.as-steps { list-style: none; counter-reset: s; padding: 0; }
.as-steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 10px; }
.as-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; text-align: center; line-height: 28px; font-size: 0.95rem; }
.as-types dt { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-top: 12px; }
.as-types dd { margin: 0 0 6px; }

/* cta band */
.as-cta { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 8px 0 36px; }
.as-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.as-cta p { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
@media (max-width: 520px) { .as-cta .as-btn { width: 100%; } }

/* evidence tables */
.as-evidence { margin: 18px 0 24px; max-width: var(--wide); }
.as-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); }
.as-evidence table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.4; min-width: 460px; }
.as-evidence th, .as-evidence td { padding: 9px 12px; text-align: left; vertical-align: top; }
.as-evidence thead th { background: var(--surface); border-bottom: 2px solid var(--rule); font-weight: 700; }
.as-evidence tbody tr:nth-child(even) { background: var(--tint); }
.as-evidence tbody th { font-weight: 400; }
.as-evidence .as-num { text-align: right; font-variant-numeric: tabular-nums; }
.as-evidence tr.as-total th, .as-evidence tr.as-total td { font-weight: 700; border-top: 2px solid var(--rule); }
.as-evidence figcaption { color: var(--slate); font-size: 0.9rem; line-height: 1.5; padding-top: 8px; max-width: var(--measure); }

/* FAQ */
.as-faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; margin-bottom: 8px; }
.as-faq summary { cursor: pointer; padding: 12px 16px; min-height: 44px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.as-faq summary::-webkit-details-marker { display: none; }
.as-faq summary::after { content: "+"; position: absolute; right: 16px; top: 8px; font-size: 1.4rem; color: var(--accent); }
.as-faq details[open] summary::after { content: "\2212"; }
.as-faq details p { padding: 0 16px; margin: 0 0 14px; }

/* footer */
.as-footer { background: var(--surface); border-top: 1px solid var(--rule); padding: 24px 0 28px; font-size: 0.95rem; }
.as-footer p { max-width: var(--measure); }
.as-footlinks a { margin-right: 18px; }

/* sticky mobile CTA */
.as-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--rule); padding: 10px 16px; }
@media (min-width: 768px) { .as-sticky { display: none; } }

@media (max-width: 767px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  .as-formcard { padding: 14px 14px 4px; }
}
