:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20242b; background: #f6f7f9; font-synthesis: none; --muted: #6d7582; --line: #e3e6eb; --green: #c2f580; --mono: ui-monospace, SFMono-Regular, Consolas, monospace; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
a:hover { color: #587d32; }
:focus-visible { outline: 3px solid #83b44b; outline-offset: 4px; }
[hidden] { display: none !important; }
.header { width: 100%; max-width: 1120px; margin: 0 auto; height: 96px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; font-size: 28px; font-weight: 750; letter-spacing: -1.4px; }
.wordmark-dot { color: #88ab66; }
.brand-mark { position: relative; display: grid; place-items: center; width: 31px; height: 33px; margin-right: 10px; padding-bottom: 3px; font-size: 28px; color: #f6f7f9; background: #20242b; border-radius: 9px; }
.brand-mark i { position: absolute; right: 4px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.brand-mark svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.4; margin-top: 3px; }
nav { display: flex; gap: 27px; font-size: 13px; flex-shrink: 0; }
nav span { color: var(--muted); margin-left: 4px; }
main { width: min(1072px, calc(100% - 48px)); margin: 0 auto; flex: 1; }
.hero { text-align: center; padding: clamp(65px, 12vh, 135px) 0 70px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: var(--muted); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 650; letter-spacing: -3px; line-height: 1.12; margin: 19px 0 21px; }
.accent { color: #8daa71; }
.intro { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 0 32px; }
#form-home { max-width: 620px; margin: auto; }
form { position: relative; }
.search-box { display: flex; align-items: center; gap: 14px; padding: 9px 9px 9px 20px; background: white; border: 1px solid #dce1e7; border-radius: 13px; box-shadow: 0 7px 24px #162a3c05; }
.search-box:focus-within { border-color: #92ad76; }
.search-box svg { width: 21px; height: 21px; flex-shrink: 0; stroke: #929ba6; stroke-width: 1.5; }
.search-box input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; color: #20242b; font-family: var(--mono); font-size: 14px; }
.search-box input::placeholder { color: #9098a5; }
.search-box input:focus-visible { outline: none; }
.lookup-button { display: flex; align-items: center; gap: 18px; flex-shrink: 0; min-height: 44px; padding: 0 17px; border: 1px solid #b7e973; background: var(--green); border-radius: 7px; font-size: 13px; font-weight: 600; }
.lookup-button:hover:not(:disabled) { background: #b4ec6d; }
.lookup-button span:last-child { font-size: 20px; font-weight: 400; }
.external-toggle { position: relative; display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; cursor: pointer; font-size: 10px; color: var(--muted); white-space: nowrap; }
.search-box .external-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { display: inline-block; width: 28px; height: 17px; border-radius: 12px; background: #d5dae0; padding: 3px; }
.switch-track::after { content: ""; display: block; width: 11px; height: 11px; border-radius: 50%; background: white; transition: transform .15s; }
.external-toggle input:checked + .switch-track { background: #83a85f; }
.external-toggle input:checked + .switch-track::after { transform: translateX(11px); }
.external-toggle input:focus-visible + .switch-track { outline: 3px solid #83b44b; outline-offset: 3px; }
.external-toggle:has(input:disabled) { cursor: wait; opacity: .65; }
.external-badge { font-size: 9px; color: var(--muted); margin-left: auto; }
.error { font-size: 12px; line-height: 1.7; color: #a94242; text-align: left; margin: 12px 5px 0; }
.examples { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); margin-top: 18px; }
.examples button { border: 0; border-bottom: 1px solid #d5d9df; background: none; font: 11px var(--mono); padding: 3px 0; }
.examples button:hover { color: #587d32; }
.provider-strip { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 67px; font-size: 10px; color: var(--muted); }
.provider-strip > span:not(.tiny-dot) { color: #a7b0ba; }
.tiny-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #91b974; flex-shrink: 0; }
.has-lookup .header { display: grid; grid-template-columns: auto minmax(0, 500px) auto; }
#navbar-lookup { min-width: 0; }
#navbar-lookup .search-box { padding: 5px 6px 5px 14px; border-radius: 10px; gap: 10px; }
#navbar-lookup .lookup-button { padding: 0 13px; gap: 12px; }
#navbar-lookup .error { position: absolute; top: 100%; left: 0; right: 0; z-index: 1001; margin: 8px 0 0; padding: 10px 13px; border: 1px solid #ebcccc; border-radius: 8px; background: #fff7f7; box-shadow: 0 5px 16px #18202b09; }
.lookup-state { padding: 75px 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.8; }
.lookup-state.pending::before { content: ""; display: block; width: 24px; height: 24px; border: 2px solid #dce3d5; border-top-color: #83a85f; border-radius: 50%; margin: 0 auto 18px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results { padding: 42px 0 32px; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 26px; }
.result-heading h1 { font: 400 clamp(21px, 4vw, 33px) var(--mono); letter-spacing: -.8px; margin: 13px 0 0; overflow-wrap: anywhere; }
.result-heading h1:focus { outline: none; }
.badge { font-size: 11px; white-space: nowrap; background: #e9f1e1; color: #536f3c; border: 1px solid #dce7d1; border-radius: 30px; padding: 8px 12px; }
.badge.mixed { background: #f8efdc; color: #856c3d; border-color: #eddfc2; }
.result-grid { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr); gap: 16px; }
.location-card { border-radius: 14px; background: #161d25; color: #edf1f7; padding: 30px; min-width: 0; }
.card-kicker { display: flex; align-items: center; gap: 9px; font-size: 9px; letter-spacing: 1.5px; color: #c2f580; }
.location-card h2 { font-size: 35px; font-weight: 550; letter-spacing: -1.2px; line-height: 1.15; margin: 23px 0 8px; overflow-wrap: anywhere; }
.location-card > p { color: #aab5c4; font-size: 12px; line-height: 1.8; margin: 0; }
.location-details { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 11px; padding: 25px 0; margin: 0; }
.location-details dt { color: #939fae; }
.location-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; max-width: 170px; }
.asn { border-top: 1px solid #303b47; padding-top: 23px; }
.asn .eyebrow { font-size: 9px; color: #939fae; }
.asn-identity { display: flex; align-items: center; gap: 10px; margin: 10px 0 7px; }
.asn strong { font: 400 22px var(--mono); overflow-wrap: anywhere; }
#asn-logo { display: inline-flex; flex-shrink: 0; padding: 4px; background: white; border-radius: 7px; }
#asn-logo img { width: 24px; height: 24px; object-fit: contain; }
.asn p { margin: 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.asn a { text-decoration: underline; text-decoration-color: #647384; text-underline-offset: 3px; }
.asn a:hover { color: var(--green); }
.asn #asn-summary { margin-top: 5px; font-size: 11px; color: #aab5c4; }
.map-panel { border-radius: 14px; overflow: hidden; border: 1px solid #dce1e7; background: white; display: flex; flex-direction: column; min-height: 390px; }
#map { min-height: 350px; flex: 1; background: #e5eae7; z-index: 0; }
.map-caption { padding: 12px 14px; font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dotted-ring { display: inline-block; width: 13px; height: 13px; border: 2px dotted #6d7582; border-radius: 50%; flex-shrink: 0; }
#map-notice { font-size: 11px; line-height: 1.6; color: #856c3d; padding: 10px 14px; margin: 0; background: #fff8e8; }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content { line-height: 1.8; font-size: 12px; }
.evidence-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 35px; margin-bottom: 20px; }
.evidence-heading h2 { font-size: 24px; font-weight: 600; letter-spacing: -.6px; margin: 0 0 8px; }
.evidence-heading p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }
.evidence-heading > .eyebrow { font-size: 9px; white-space: nowrap; }
.observations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.observation { display: block; text-align: left; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; transition: border-color .15s; }
.observation:hover { border-color: #a7b995; }
.observation:disabled { cursor: default; opacity: 1; }
.provider-name { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; }
.provider-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.observation h3 { font-size: 19px; font-weight: 550; letter-spacing: -.4px; margin: 18px 0 7px; overflow-wrap: anywhere; }
.observation p { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.observation .coordinates { font: 10px var(--mono); margin: 15px 0 7px; }
.observation .match { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 15px; font-size: 10px; color: #648448; }
.result-bottom { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
details { font-size: 12px; color: var(--muted); }
summary { cursor: pointer; padding: 9px 0; }
details a { text-decoration: underline; text-underline-offset: 3px; }
.source-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.source-row small { grid-column: 1/-1; font-size: 10px; color: #94713d; }
.source-row time { font: 10px var(--mono); }
.json-details { position: relative; }
.json-details button { font-size: 11px; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 5px; margin: 10px 0; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.7 var(--mono); padding: 20px; margin: 0; max-height: 400px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.about { max-width: 700px; margin: 0 auto 35px; text-align: center; }
.about > summary { display: inline-block; font-size: 11px; }
.about > summary span { color: #8daa71; margin-left: 6px; }
.about > div { text-align: left; margin-top: 15px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.about h2 { font-size: 20px; font-weight: 550; color: #20242b; margin: 0 0 14px; letter-spacing: -.5px; }
.about p { font-size: 12px; line-height: 1.9; }
.has-lookup .about { margin-top: 25px; }
footer { width: min(1072px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 25px; font-size: 10px; color: var(--muted); }
footer summary { font-size: 10px; padding: 0; }
.licenses > div { max-width: 650px; padding-top: 8px; }
.licenses p { font-size: 10px; line-height: 1.8; }
.attribution { width: 100%; font-size: 9px; color: #7a828e; }
.attribution a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-height: 900px) { .hero { padding-bottom: 110px; } }
@media (max-width: 800px) {
  .has-lookup .header { grid-template-columns: 1fr auto; gap: 14px 20px; height: auto; padding-top: 20px; padding-bottom: 15px; }
  .has-lookup #navbar-lookup { grid-column: 1 / -1; grid-row: 2; }
  .results { padding-top: 30px; }
  .result-grid { grid-template-columns: minmax(220px, 1fr) minmax(0, 1.5fr); }
  .location-card { padding: 24px; }
  .evidence-heading > .eyebrow { display: none; }
}
@media (max-width: 600px) {
  .search-box, #navbar-lookup .search-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .search-box > svg { display: none; }
  .search-box > input { grid-column: 1; grid-row: 1; }
  .search-box > .lookup-button { grid-column: 2; grid-row: 1; }
  .external-toggle { grid-column: 1 / -1; grid-row: 2; justify-self: end; padding: 2px 4px 3px; }
  .header { height: 80px; padding: 0 20px; }
  .wordmark { font-size: 25px; }
  nav { gap: 20px; font-size: 12px; }
  main, footer { width: calc(100% - 40px); }
  .hero { padding: 65px 0; }
  .hero h1 { letter-spacing: -1.9px; }
  .intro { font-size: 12px; padding: 0 10px; }
  .search-box { gap: 10px; padding-left: 13px; }
  .search-box input { font-size: 16px; }
  .search-box input::placeholder { font-size: 12px; }
  .lookup-button { padding: 0 12px; gap: 8px; font-size: 12px; }
  .provider-strip { gap: 8px; font-size: 9px; }
  .result-heading { flex-direction: column; align-items: flex-start; gap: 15px; }
  .result-grid, .observations { grid-template-columns: 1fr; }
  .location-card h2 { font-size: 31px; }
  .location-details { grid-template-columns: 1fr 1fr; }
  .map-panel { min-height: 340px; }
  #map { min-height: 300px; }
  .observation { padding: 20px; }
  .observation h3 { margin-top: 13px; }
  .observation .match { margin-top: 12px; }
  .source-row { grid-template-columns: 1fr; }
  .source-row small { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
