/* A neighborhood field guide, with a centered photo-led search and a clear report. */
:root {
  --ink: #22313e;
  --secondary: #53616c;
  --accent: #234d68;
  --focus: #236486;
  --line: #dce2e6;
  --surface: #f3f6f8;
}
html { scroll-padding-top: 24px; }
body { scrollbar-color: #8998a4 #f3f6f8; }
::selection { background: #cce1ef; color: #22313e; }
header { max-width: 1080px; min-height: 76px; flex-wrap: wrap; }
header > .brand { flex-shrink: 0; }
.support-link {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; margin-left: auto; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 4px;
  color: var(--accent); font-size: 14px; line-height: 1.35;
  white-space: nowrap; text-decoration: none;
}
.support-link:hover { background: var(--surface); border-color: var(--accent); }
main:not(.sources-page):not(.guide-page) { max-width: none; padding-inline: 0; }
main:not(.sources-page):not(.guide-page) > .workspace,
main:not(.sources-page):not(.guide-page) > .starting-note,
main:not(.sources-page):not(.guide-page) > .faq,
main:not(.sources-page):not(.guide-page) > footer,
.search-area > #message, .search-area > #matches, .search-area > .location-help {
  width: calc(100% - 80px); max-width: 1000px; margin-inline: auto;
}
.brand { font-family: Atkinson, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -.025em; gap: 10px; white-space: nowrap; }
.brand .brand-mark { display: block; width: 32px; height: 32px; flex: 0 0 auto; }
h1, h2 { font-family: Crimson, Georgia, serif; font-weight: 500; }
p { text-wrap: wrap; }
.search-banner {
  width: 100%; margin-inline: 0;
  background-image: linear-gradient(180deg,rgba(12,27,38,.65),rgba(12,27,38,.68)), url('assets/data-center-banner.webp');
  background-position: center, 62% 12%;
}
.banner-inner {
  max-width: 1080px;
  min-height: 420px;
  padding: 43px 40px 42px;
  align-items: center;
}
.search-intro { width: 100%; min-width: 0; text-align: center; }
.search-intro h1 {
  font: 500 clamp(38px,4.2vw,54px)/1.04 Crimson, Georgia, serif;
  letter-spacing: -.02em;
  max-width: none;
  margin: 0 auto;
  text-shadow: none;
}
.search-intro p {
  max-width: none;
  margin: 14px auto 24px;
  font-size: 18px;
  line-height: 1.5;
  text-shadow: none;
}
.search-area form { max-width: 760px; }
.search-area form > label { font-size: 15px; font-weight: 400; }
.search-row { padding: 4px; border-radius: 5px; box-shadow: 0 6px 20px rgba(12,27,38,.16); }
.search-row input { min-height: 55px; font-size: 16px; padding: 14px 13px; }
.search-row button[type=submit] { padding: 14px 19px; background: var(--accent); border-color: var(--accent); }
.search-row button[type=submit]:hover { background: #163d57; }
.search-banner :focus-visible { outline-color: #fff; }
.search-banner input:focus-visible, .search-banner .address-option:focus-visible { outline-color: var(--focus); }
.search-banner .address-search-hint { max-width: none; margin-top: 11px; line-height: 1.5; }
.search-row button[type=submit] { white-space: nowrap; }
.search-meta { justify-content: center; gap: 18px; }
.search-meta > span { display: none; } /* Eligibility is already in the field label. */
.starting-note { padding: 18px 0; margin-top: 22px; }
.starting-note p:first-child { font: 400 16px/1.5 Atkinson, sans-serif; color: var(--secondary); }
.workspace { margin-top: 30px; }
.checked-address { padding-bottom: 12px; }
.checked-address > div { min-width: 0; }
.checked-address .label { font-size: 14px; }
#matched-address { max-width: none; margin-bottom: 0; font-size: 19px; overflow-wrap: break-word; }
.verdict[class*="result-"] { border: 1px solid color-mix(in srgb,var(--status-color) 22%, white); border-radius: 5px; padding: 23px 26px 25px; }
.verdict-status { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.verdict-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--status-color); flex-shrink: 0; }
.verdict h2 { font: 500 clamp(28px,2.8vw,36px)/1.13 Crimson, Georgia, serif; max-width: none; letter-spacing: -.015em; }
.verdict #verdict-description { max-width: none; margin-top: 10px; line-height: 1.6; }
.result-overview { margin-top: 28px; gap: 32px; }
.closest-locations h3 { font: 500 27px/1.2 Crimson, Georgia, serif; }
.closest-location { grid-template-columns: minmax(0,1fr); padding: 17px 0; gap: 8px; }
.closest-location h4 { font-size: 17px; line-height: 1.4; overflow-wrap: break-word; }
.closest-location .location-finding { font-weight: 400; }
.closest-distance { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.closest-distance strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.closest-distance button { min-height: 32px; font-size: 14px; margin: 0; }
.closest-locations .overview-distance-note, .map-status-note { font-size: 14px; }
.map-heading { background: #fff; }
.map-heading h3 { font-weight: 400; }
.closest-location:has(button[aria-pressed=true]) { box-shadow: none; background: #eef4f8; border-radius: 4px; padding-left: 12px; padding-right: 10px; }
.report-details { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 24px; }
.report-details > summary { min-height: 48px; font-size: 16px; }
.faq { display: grid; grid-template-columns: minmax(180px,240px) minmax(0,1fr); column-gap: 32px; margin-top: 42px; padding-top: 30px; }
.faq h2 { grid-row: 1 / span 3; font-size: 30px; margin: 6px 0 0; }
.faq details { grid-column: 2; }
.faq summary { padding: 18px 0; font-weight: 400; }
.faq details:first-of-type summary { padding-top: 6px; }
.result-color-key dt { border-left: 0; padding-left: 0; }
.result-color-key dd { color: var(--ink); }
footer { margin-top: 28px; padding-top: 24px; }
.footer-top { flex-wrap: wrap; justify-content: center; }
.footer-top nav { flex: 0 1 auto; width: 100%; max-width: 100%; justify-content: center; gap: 12px 20px; }
.footer-top nav a { flex-shrink: 0; }
.footer-top nav a, .guide-contents a, .source-contents a { white-space: nowrap; }
.footer-note, .footer-meta { max-width: none; width: 100%; text-wrap: wrap; text-align: center; }
.guide-page h1, .sources-page h1 { font-family: Crimson, Georgia, serif; font-size: 43px; max-width: none; }
.guide-intro, .sources-intro { max-width: 60ch; line-height: 1.6; }
.guide-section .guide-step { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.guide-section h2 { font-size: 31px; }
.guide-callout { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; }
.next-checks li { padding-left: 0; }
.next-checks li::before { display: none; }
.next-checks ul { list-style: disc; padding-left: 22px; gap: 13px; }
@media(max-width:1000px) {
  main:not(.sources-page):not(.guide-page) > .workspace,
  main:not(.sources-page):not(.guide-page) > .starting-note,
  main:not(.sources-page):not(.guide-page) > .faq,
  main:not(.sources-page):not(.guide-page) > footer,
  .search-area > #message, .search-area > #matches, .search-area > .location-help { width: calc(100% - 56px); }
  .banner-inner { padding-inline: 28px; }
  .faq { display: block; }
  .faq h2 { margin-bottom: 20px; }
}
@media(max-width:780px) {
  .result-overview { gap: 24px; }
  .faq { display: block; }
  .faq h2 { margin-bottom: 20px; font-size: 28px; }
  .verdict[class*="result-"] { padding: 20px; }
  .closest-locations h3 { font-size: 25px; }
}
@media(max-width:700px) {
  main:not(.sources-page):not(.guide-page) > .workspace,
  main:not(.sources-page):not(.guide-page) > .starting-note,
  main:not(.sources-page):not(.guide-page) > .faq,
  main:not(.sources-page):not(.guide-page) > footer,
  .search-area > #message, .search-area > #matches, .search-area > .location-help { width: calc(100% - 36px); }
  header { min-height: 70px; padding: 18px 20px; gap: 10px 12px; }
  .brand { font-size: 24px; }
  .search-banner { background-image: linear-gradient(180deg,rgba(12,27,38,.68),rgba(12,27,38,.72)),url('assets/data-center-banner.webp'); background-position: center,72% 28%; }
  .banner-inner { padding: 35px 20px 33px; min-height: 385px; }
  .search-intro h1 { font-size: 40px; }
  .search-intro p { font-size: 16px; margin: 12px auto 21px; }
  .search-row input { min-height: 52px; padding: 12px 10px; }
  .search-row button[type=submit] { padding: 12px 14px; }
  .guide-page h1, .sources-page h1 { font-size: 35px; }
  .footer-top nav { gap: 12px 16px; }
}
@media(max-width:420px) {
  .search-intro h1 { font-size: 36px; }
  .banner-inner { min-height: 400px; }
  .search-row button[type=submit] { width: 100%; min-height: 46px; }
  .search-meta { gap: 8px; }
}
@media(max-width:360px) { .brand { font-size: 22px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } button,a { transition:none; } }

/* Help-page sections share the same readable layout. */
.sources-page section{scroll-margin-top:24px}.sources-section{margin:32px 0;padding-top:28px;border-top:1px solid var(--line)}.sources-section h2{margin-bottom:16px}.sources-section h3{margin:24px 0 10px;font-size:18px}.sources-section p{font-size:16px;line-height:1.65;max-width:70ch}.sources-section details{border-top:1px solid var(--line);padding:8px 0}.sources-section summary{font-size:16px;font-weight:700;padding:12px 0}.sources-section ul{padding-left:22px;max-width:70ch}.sources-section li{font-size:16px;line-height:1.65;margin:10px 0}.source-contents{display:flex;flex-wrap:wrap;gap:12px 24px;margin:22px 0 30px;padding:16px 0;border-block:1px solid var(--line);font-size:15px}.privacy-providers{margin:16px 0}.privacy-providers dt{font-weight:700;margin:18px 0 6px}.privacy-providers dd{margin:0;font-size:16px;line-height:1.65;max-width:70ch}

.source-report-form{display:grid;gap:.75rem;max-width:42rem;margin:2rem 0}.source-report-form label{font-weight:600}.source-report-form input,.source-report-form select{font:inherit;width:100%;min-width:0;padding:.8rem;border:1px solid #aaa;border-radius:6px;background:white;color:#202820;box-sizing:border-box}.source-report-form button{justify-self:start;padding:.8rem 1.2rem;cursor:pointer}.source-report-form p{margin:.25rem 0}.source-report-form button:disabled{opacity:.6}
