:root {
  color-scheme: light;
  --ink: #19382e;
  --muted: #506458;
  --paper: #f9f8f2;
  --line: #cbd1c4;
  --forest: #153c32;
  --lime: #dcf4a8;
  font: 100%/1.5 Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, h1, h2, h3, p { margin: 0; }
a, button, input { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #aa670c; outline-offset: 3px; }
.wrap { width: min(1190px, 91%); margin-inline: auto; }
.topbar { background: var(--forest); color: white; }
.topbar > .wrap, .top-actions, [data-account], .wordmark, .languages { display: flex; align-items: center; }
.topbar > .wrap { min-height: 67px; justify-content: space-between; gap: 12px; }
.wordmark { gap: 8px; color: white; font-size: 1.4rem; letter-spacing: -.05em; font-weight: 720; text-decoration: none; }
.wordmark b { color: var(--lime); margin-left: -4px; font-weight: 540; }
.top-actions { gap: 20px; }
.languages { gap: 2px; }
.languages button, .signin { border: 0; color: inherit; background: transparent; padding: 8px; }
.languages button { font: .78rem/1.5 ui-monospace, monospace; }
.languages button[aria-pressed=true] { border-bottom: 2px solid var(--lime); color: var(--lime); }
[data-account] { gap: 8px; }
.tier { font-size: .73rem; font-weight: 600; border: 1px solid currentColor; border-radius: 20px; padding: 2px 9px; }
.signin { font-weight: 600; font-size: .85rem; }
.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero { background: #eaf0de; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, 1fr); align-items: center; gap: clamp(24px, 5vw, 82px); padding-block: 46px; }
h1, h2, .card h3, figcaption a { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.07; }
h1 { font-size: clamp(2.65rem, 4.7vw, 4.5rem); letter-spacing: -.055em; text-wrap: balance; }
.intro > p { max-width: 51ch; margin-top: 15px; color: #395143; font-size: 1.05rem; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 24px 0 17px; }
legend, .lookup label { font-weight: 680; font-size: .86rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.choices button { display: inline-flex; gap: 5px; align-items: center; padding: 6px 10px; font-size: .83rem; border-radius: 20px; border: 1px solid #aebaa5; background: #f8faf2; min-height: 35px; }
.choices button[aria-pressed=true], .primary { background: var(--forest); color: white; border-color: var(--forest); }
.lookup { position: relative; }
.searchbox { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #798c76; border-radius: 7px; padding: 0 15px; margin-top: 6px; box-shadow: 0 3px 0 #cfdac5; }
.searchbox:focus-within { outline: 2px solid #37643f; outline-offset: 1px; }
.searchbox input { width: 100%; min-width: 0; border: 0; padding: 13px 0; background: transparent; outline: 0; }
#matches { position: absolute; z-index: 3; top: 100%; left: 0; right: 0; margin-top: 5px; background: white; border: 1px solid #a4b09b; border-radius: 7px; box-shadow: 0 8px 18px #253c2e24; max-height: 45vh; overflow-y: auto; }
#results a { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 14px; border-top: 1px solid #e6e9df; }
#results a:hover, #results a:focus-visible { background: #eff5e5; }
#results small { display: block; color: var(--muted); }
.arrow { margin-left: auto; }
#search-state:not(:empty), #feed-state:not(:empty) { padding: .8rem; }
.retry { color: var(--forest); text-decoration: underline; background: none; border: 0; }
#atlas { background: #143b33; color: #e2f1ca; border: 1px solid #143b33; border-radius: 12px; overflow: hidden; }
.chart { position: relative; background-image: linear-gradient(#8bac7820 1px, transparent 1px), linear-gradient(90deg, #8bac7820 1px, transparent 1px); background-size: 30px 30px; }
.chart canvas { display: block; width: 100%; height: auto; }
.north { position: absolute; top: 10px; right: 14px; font: 12px ui-monospace, monospace; color: var(--lime); }
figcaption { display: flex; align-items: center; justify-content: space-between; padding: 16px 21px; border-top: 1px solid #78987b65; }
figcaption small, .country { display: block; font-size: .73rem; font-weight: 670; letter-spacing: .07em; text-transform: uppercase; }
figcaption a { display: block; margin-top: 3px; font-size: 1.5rem; color: white; text-decoration: none; }
.atlas-pin { border: 1px solid #89a487; border-radius: 50%; display: grid; place-items: center; width: 36px; height: 36px; }
.directory { padding-block: 38px; }
.directory-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
h2 { font-size: clamp(1.95rem, 3vw, 2.85rem); letter-spacing: -.035em; }
#city-count, .fresh { font-size: .8rem; color: var(--muted); }
.sample-note { color: var(--muted); margin: 7px 0 19px; font-size: .95rem; }
#cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); background: #fffefa; border-radius: 8px; }
.country { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.flag { font-size: 1.15rem; line-height: 1.4; }
.card h3 { font-size: 1.65rem; margin: 11px 0; letter-spacing: -.035em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-stats { font-size: .91rem; }
.fresh { margin: 3px 0 10px; }
.availability { margin: 0 0 8px; }
.card-links { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 9px; border-top: 1px solid #dfe3d8; font-size: .8rem; }
.card-links a { padding-block: 3px; text-underline-offset: 3px; }
.card-links a:first-child { font-weight: 700; }
.members { background: #e9eee1; border-radius: 8px; display: flex; align-items: baseline; gap: 14px; padding: 22px; }
.members h2 { font: 650 1.1rem/1.35 Inter, Arial, sans-serif; letter-spacing: 0; }
.members p { margin-top: 4px; color: var(--muted); }
footer { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 24px; font-size: .77rem; color: var(--muted); }
footer span { margin-right: auto; font-weight: 650; }
.account-dialog { max-width: min(92vw, 365px); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.account-dialog::backdrop { background: #18382e66; }
.account-dialog h2 { font-size: 1.65rem; }
.account-dialog p { margin: 14px 0; }
.primary { display: inline-block; border: 0; border-radius: 6px; padding: 8px 16px; text-decoration: none; font-weight: 650; }
.guide main { max-width: 820px; padding-block: 36px; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: none; }
.guide nav { margin: 15px 0; }
.guide section { padding-block: 25px; border-top: 1px solid var(--line); }
.guide section p { color: var(--muted); margin: 12px 0; }
.guide dl { display: grid; grid-template-columns: 1fr 1.4fr; }
.guide dt, .guide dd { padding: 10px 7px; margin: 0; border-bottom: 1px solid var(--line); }
.guide dd { font-weight: 600; }
.providers { padding-left: 20px; }
.providers li { overflow-wrap: anywhere; margin-block: 5px; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-block: 24px; }
  #atlas { display: none; }
  .directory { padding-block: 25px; }
  .intro > p { font-size: .95rem; }
  .topbar > .wrap { min-height: 55px; }
  .top-actions { gap: 6px; }
  .top-actions [data-account] { gap: 1px; }
  .wordmark { font-size: 1.15rem; gap: 5px; }
  .signin, .languages button { padding: 7px 5px; }
}
@media (max-width: 360px) {
  .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  .top-actions [data-account] { flex-wrap: wrap; }
}
.card-health { font-size: .79rem; margin: 0 0 14px; padding: 0; list-style: none; line-height: 1.5; color: #774600; }
.health-label { font-weight: 600; }
.status-ok { color: #17613d; }
.status-stale, .status-degraded { color: #804b00; }
.status-down { color: #9c2926; }
.status-page { padding-block: 34px; }
.status-page h1 { font-size: clamp(2rem,4vw,3.8rem); }
.status-page > p { margin: 12px 0 24px; color: var(--muted); }
.status-page table { border-collapse: collapse; width: 100%; }
.status-page th, .status-page td { text-align: start; vertical-align: top; padding: .6rem; border-bottom: 1px solid var(--line); }
@media (max-width: 650px) {
  .status-page thead { position: absolute; clip-path: inset(50%); }
  .status-page tbody, .status-page tr { display: block; }
  .status-page tr { padding: .7rem 0; border-top: 1px solid var(--line); }
  .status-page tr > * { display: block; border: 0; padding: .12rem 0; }
}
