/* My Geocode site styles */

:root {
  --ink: #17212b;
  --ink-2: #3c4a58;
  --muted: #64717f;
  --line: #dfe5ea;
  --bg: #ffffff;
  --bg-2: #f3f6f8;
  --brand: #0d4b73;
  --brand-2: #0a3a5b;
  --brand-soft: #e3eef5;
  --accent: #e4602a;
  --accent-2: #c94f1f;
  --accent-soft: #fdf0e9;
  --ok: #1f7a3f;
  --ok-soft: #e6f4ea;
  --code-bg: #0f1922;
  --code-bar: #182634;
  --code-ink: #e6edf3;
  --radius: 8px;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 12px; z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--brand); }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
  color: var(--ink-2); font-weight: 500; font-size: 0.95rem;
}
.site-nav a:hover, .site-nav a.active { background: var(--bg-2); color: var(--ink); }
.site-nav a.btn { margin-left: 10px; color: #fff; }
.site-nav a.btn:hover { background: var(--accent-2); }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; font: inherit; font-weight: 500; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle-input { position: absolute; opacity: 0; width: 0; height: 0; }
.nav-toggle-input:focus-visible ~ .nav-toggle { outline: 2px solid var(--brand); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px;
    box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.3);
  }
  .nav-toggle-input:checked ~ .site-nav { display: flex; }
  .site-nav a.btn { margin: 10px 0 0; justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 6px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 0.95rem; line-height: 1.25;
  transition: background 0.15s, border-color 0.15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f5f8fa 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-note { font-size: 0.92rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) {
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Page heading for inner pages */
.page-head { padding: 48px 0 24px; }
.page-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 64ch; }
.page-head h1 { margin-bottom: 12px; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 6px; }

/* Code */
pre, code, kbd { font-family: var(--mono); }
pre { font-size: 0.84rem; line-height: 1.6; margin: 0; }
code { font-size: 0.92em; }
:not(pre) > code {
  background: var(--bg-2); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line);
  color: var(--ink); white-space: nowrap;
}
.code {
  position: relative; background: var(--code-bg); color: var(--code-ink);
  border-radius: 10px; margin: 0 0 20px; overflow: hidden;
}
.code pre { padding: 16px 18px; overflow-x: auto; }
.code-title {
  font-size: 0.72rem; color: #9fb0c0; padding: 10px 18px 0; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font); font-weight: 600;
}
.terminal {
  background: var(--code-bg); color: var(--code-ink); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 50px -30px rgba(13, 75, 115, 0.55);
}
.terminal-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--code-bar); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3b4b5b; display: block; }
.terminal pre { padding: 16px 18px; overflow-x: auto; }
.tok-key { color: #8fd3ff; }
.tok-str { color: #c3e88d; }
.tok-num { color: #ffcb6b; }
.tok-bool, .tok-null { color: #f78c6c; }
.tok-cmt { color: #7b8a99; }
.tok-cmd { color: #ffffff; }
.tok-prompt { color: #7b8a99; user-select: none; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-2); }
.section-tight { padding: 36px 0; }
.section-head { max-width: 66ch; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 18px; }
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { color: var(--ink-2); margin-bottom: 12px; font-size: 0.95rem; }
.card .endpoint { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); display: block; margin-bottom: 10px; }
.card .endpoint b { color: var(--ok); font-weight: 600; }
a.card { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s, box-shadow 0.15s; }
a.card:hover { border-color: var(--brand); box-shadow: 0 10px 24px -18px rgba(13, 75, 115, 0.5); color: inherit; }
a.card .more { color: var(--brand); font-weight: 600; font-size: 0.92rem; }
.card-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 20px; height: 20px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--bg-2); font-weight: 600; white-space: nowrap; }
td code { white-space: nowrap; }
.req { color: var(--accent); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-left: 6px; }
.opt { color: var(--muted); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-left: 6px; }

/* Tabs (CSS only: radio inputs drive the panels) */
.tabs { margin: 0 0 24px; position: relative; }
.tabs > input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.tab-list { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.tab-list label { padding: 8px 12px; border-bottom: 2px solid transparent; font-size: 0.9rem; font-weight: 500; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab-list label:hover { color: var(--ink); }
.tabs > .tab-panel { display: none; }
.tabs > input:nth-of-type(1):checked ~ .tab-list > label:nth-child(1), .tabs > input:nth-of-type(2):checked ~ .tab-list > label:nth-child(2), .tabs > input:nth-of-type(3):checked ~ .tab-list > label:nth-child(3), .tabs > input:nth-of-type(4):checked ~ .tab-list > label:nth-child(4), .tabs > input:nth-of-type(5):checked ~ .tab-list > label:nth-child(5), .tabs > input:nth-of-type(6):checked ~ .tab-list > label:nth-child(6), .tabs > input:nth-of-type(7):checked ~ .tab-list > label:nth-child(7), .tabs > input:nth-of-type(8):checked ~ .tab-list > label:nth-child(8), .tabs > input:nth-of-type(9):checked ~ .tab-list > label:nth-child(9), .tabs > input:nth-of-type(10):checked ~ .tab-list > label:nth-child(10) { color: var(--brand); border-bottom-color: var(--brand); }
.tabs > input:nth-of-type(1):focus-visible ~ .tab-list > label:nth-child(1), .tabs > input:nth-of-type(2):focus-visible ~ .tab-list > label:nth-child(2), .tabs > input:nth-of-type(3):focus-visible ~ .tab-list > label:nth-child(3), .tabs > input:nth-of-type(4):focus-visible ~ .tab-list > label:nth-child(4), .tabs > input:nth-of-type(5):focus-visible ~ .tab-list > label:nth-child(5), .tabs > input:nth-of-type(6):focus-visible ~ .tab-list > label:nth-child(6), .tabs > input:nth-of-type(7):focus-visible ~ .tab-list > label:nth-child(7), .tabs > input:nth-of-type(8):focus-visible ~ .tab-list > label:nth-child(8), .tabs > input:nth-of-type(9):focus-visible ~ .tab-list > label:nth-child(9), .tabs > input:nth-of-type(10):focus-visible ~ .tab-list > label:nth-child(10) { outline: 2px solid var(--brand); outline-offset: -2px; }
.tabs > input:nth-of-type(1):checked ~ .tab-panel:nth-of-type(2), .tabs > input:nth-of-type(2):checked ~ .tab-panel:nth-of-type(3), .tabs > input:nth-of-type(3):checked ~ .tab-panel:nth-of-type(4), .tabs > input:nth-of-type(4):checked ~ .tab-panel:nth-of-type(5), .tabs > input:nth-of-type(5):checked ~ .tab-panel:nth-of-type(6), .tabs > input:nth-of-type(6):checked ~ .tab-panel:nth-of-type(7), .tabs > input:nth-of-type(7):checked ~ .tab-panel:nth-of-type(8), .tabs > input:nth-of-type(8):checked ~ .tab-panel:nth-of-type(9), .tabs > input:nth-of-type(9):checked ~ .tab-panel:nth-of-type(10), .tabs > input:nth-of-type(10):checked ~ .tab-panel:nth-of-type(11) { display: block; }

/* Notes */
.note {
  border-left: 4px solid var(--brand); background: var(--brand-soft);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 20px;
}
.note p:last-child { margin-bottom: 0; }
.note.warn { border-color: var(--accent); background: var(--accent-soft); }
.note.ok { border-color: var(--ok); background: var(--ok-soft); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 40px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 20px 40px -30px rgba(13, 75, 115, 0.6); }
.plan h2 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .price-note { color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f7a3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
}

/* Docs */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 36px 20px 72px; }
.docs-nav { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; padding-right: 8px; }
.docs-nav h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 22px 0 8px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav a { display: block; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-2); font-size: 0.92rem; }
.docs-nav a:hover { background: var(--bg-2); color: var(--ink); }
.docs-nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.docs-main { max-width: 860px; }
.docs-main h1 { margin-bottom: 12px; }
.docs-main > .lead { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 24px; }
.docs-main h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.docs-main h3 { margin-top: 30px; }
.docs-main ul, .docs-main ol { padding-left: 22px; }
.docs-main li { margin-bottom: 6px; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; max-height: none; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
  .docs-nav h4 { margin-top: 14px; }
}
.method { display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 0.78rem; background: var(--ok-soft); color: var(--ok); padding: 2px 8px; border-radius: 4px; margin-right: 10px; vertical-align: middle; }
.endpoint-line {
  font-family: var(--mono); font-size: 0.95rem; background: var(--bg-2); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 8px; margin: 16px 0 24px; overflow-x: auto; white-space: nowrap;
}
.docs-footer-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.docs-footer-nav a { text-decoration: none; font-weight: 600; }
.docs-footer-nav small { display: block; color: var(--muted); font-weight: 400; }

/* Prose pages */
.prose { max-width: 780px; margin: 0 auto; padding: 48px 20px 72px; }
.prose h1 { margin-bottom: 8px; }
.prose .updated { color: var(--muted); margin-bottom: 32px; }
.prose h2 { margin-top: 40px; font-size: 1.4rem; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: var(--muted); font-size: 1.2rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); }
.faq details > *:last-child { margin-bottom: 14px; }

/* Demo */
.demo-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .demo-layout { grid-template-columns: 1fr; } }
.demo-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.demo-panel h2 { font-size: 1.05rem; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 0.95rem; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.field .hint { font-size: 0.82rem; color: var(--muted); margin: 4px 0 0; }
.demo-url { font-family: var(--mono); font-size: 0.82rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; word-break: break-all; margin-bottom: 14px; }
.demo-url a { color: var(--brand); }

/* SDK page */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lang-grid { grid-template-columns: 1fr; } }
.lang { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.lang h3 { font-size: 1rem; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lang code { font-size: 0.8rem; display: block; white-space: normal; word-break: break-all; }
.status { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.status.planned { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.status.building { background: var(--accent-soft); color: var(--accent-2); }
.status.live { background: var(--ok-soft); color: var(--ok); }

/* Stats strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { border-left: 3px solid var(--accent); padding-left: 14px; }
.fact strong { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0ec; max-width: 60ch; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }
.cta-band .hero-actions { margin-top: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 24px; margin-top: 56px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 0.8fr; gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 12px; }
.footer-brand code { font-size: 0.8rem; }
.site-footer h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.error-page { text-align: center; padding: 96px 20px; }
.error-page h1 { font-size: 4rem; margin-bottom: 8px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.inline-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; }

/* Breadcrumbs with microdata */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }

/* Coverage levels */
.lvl { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.lvl-house { background: var(--ok-soft); color: var(--ok); }
.lvl-street { background: var(--brand-soft); color: var(--brand); }
.lvl-postcode { background: var(--accent-soft); color: var(--accent-2); }
.lvl-administrative-divisions { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.card h3 .lvl { font-size: 0.95rem; padding: 4px 14px; }

/* Coverage filters (CSS only: radio inputs hide rows) */
.coverage { position: relative; }
.coverage > input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 14px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-group span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-right: 4px; }
.filter-group label { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; cursor: pointer; background: #fff; }
.filter-group label:hover { border-color: var(--brand); color: var(--brand); }
#lvl-house:checked ~ .table-wrap tr[data-level]:not([data-level="house"]),
#lvl-street:checked ~ .table-wrap tr[data-level]:not([data-level="street"]),
#lvl-postcode:checked ~ .table-wrap tr[data-level]:not([data-level="postcode"]),
#lvl-administrative-divisions:checked ~ .table-wrap tr[data-level]:not([data-level="administrative-divisions"]),
#reg-africa:checked ~ .table-wrap tr[data-region]:not([data-region="africa"]),
#reg-asia:checked ~ .table-wrap tr[data-region]:not([data-region="asia"]),
#reg-europe:checked ~ .table-wrap tr[data-region]:not([data-region="europe"]),
#reg-north-america:checked ~ .table-wrap tr[data-region]:not([data-region="north-america"]),
#reg-south-america:checked ~ .table-wrap tr[data-region]:not([data-region="south-america"]),
#reg-oceania:checked ~ .table-wrap tr[data-region]:not([data-region="oceania"]),
#reg-antarctica:checked ~ .table-wrap tr[data-region]:not([data-region="antarctica"]) { display: none; }
#lvl-all:checked ~ .filters label[for="lvl-all"],
#lvl-house:checked ~ .filters label[for="lvl-house"],
#lvl-street:checked ~ .filters label[for="lvl-street"],
#lvl-postcode:checked ~ .filters label[for="lvl-postcode"],
#lvl-administrative-divisions:checked ~ .filters label[for="lvl-administrative-divisions"],
#reg-all:checked ~ .filters label[for="reg-all"],
#reg-africa:checked ~ .filters label[for="reg-africa"],
#reg-asia:checked ~ .filters label[for="reg-asia"],
#reg-europe:checked ~ .filters label[for="reg-europe"],
#reg-north-america:checked ~ .filters label[for="reg-north-america"],
#reg-south-america:checked ~ .filters label[for="reg-south-america"],
#reg-oceania:checked ~ .filters label[for="reg-oceania"],
#reg-antarctica:checked ~ .filters label[for="reg-antarctica"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.coverage > input:focus-visible + label, .coverage > input:focus-visible ~ .filters label { outline: none; }

/* Demo forms */
.demo-form .field input { font-family: var(--mono); font-size: 0.9rem; }
.demo-form .btn { margin-top: 6px; }
.demo-form p.hint code { white-space: normal; }
.plan .pay { font-size: 0.85rem; color: var(--muted); margin-top: -12px; margin-bottom: 18px; }
.cost-table td:first-child { font-weight: 600; }
.cost-table .best { color: var(--ok); font-weight: 600; }
