/* Napa AI Lookup */

@font-face {
  font-family: "Kumbh Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/kumbh-sans-latin.woff2") format("woff2");
}

:root {
  --accent: #5b21b6;
  --accent-dark: #4c1d95;
  --accent-soft: #7c3aed;
  --lavender: #c4b5fd;
  --ink: #0c0c0e;

  --bg: #ffffff;
  --surface: #f5f4f8;
  --border: #e0dde9;
  --border-strong: #c9c5d6;
  --text: #0c0c0e;
  --muted: #5b6070;
  --link: #5b21b6;
  --link-hover: #4c1d95;
  --focus: #7c3aed;

  --ok-bg: #dcf5e6;    --ok-fg: #0b5d2e;
  --bad-bg: #fde2e2;   --bad-fg: #9b1c1c;
  --warn-bg: #fdf0cf;  --warn-fg: #7a4b00;
  --neutral-bg: #ebe9f2; --neutral-fg: #3f4350;

  --font: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0e;
    --surface: #17171c;
    --border: #2b2b34;
    --border-strong: #3d3d49;
    --text: #f1f0f5;
    --muted: #a3a6b4;
    --link: #b9a4fb;
    --link-hover: #d6c9fd;
    --focus: #b9a4fb;

    --ok-bg: #0f3a22;    --ok-fg: #8fe3b0;
    --bad-bg: #4a1414;   --bad-fg: #fca5a5;
    --warn-bg: #46300a;  --warn-fg: #fbd38d;
    --neutral-bg: #26262e; --neutral-fg: #c7c9d3;
  }
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f4f8;
  --border: #e0dde9;
  --border-strong: #c9c5d6;
  --text: #0c0c0e;
  --muted: #5b6070;
  --link: #5b21b6;
  --link-hover: #4c1d95;
  --focus: #7c3aed;

  --ok-bg: #dcf5e6;    --ok-fg: #0b5d2e;
  --bad-bg: #fde2e2;   --bad-fg: #9b1c1c;
  --warn-bg: #fdf0cf;  --warn-fg: #7a4b00;
  --neutral-bg: #ebe9f2; --neutral-fg: #3f4350;
}

:root[data-theme="dark"] {
  --bg: #0c0c0e;
  --surface: #17171c;
  --border: #2b2b34;
  --border-strong: #3d3d49;
  --text: #f1f0f5;
  --muted: #a3a6b4;
  --link: #b9a4fb;
  --link-hover: #d6c9fd;
  --focus: #b9a4fb;

  --ok-bg: #0f3a22;    --ok-fg: #8fe3b0;
  --bad-bg: #4a1414;   --bad-fg: #fca5a5;
  --warn-bg: #46300a;  --warn-fg: #fbd38d;
  --neutral-bg: #26262e; --neutral-fg: #c7c9d3;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
}

main { flex: 1; }
main:focus { outline: none; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(24px, 5vw, 48px); padding-bottom: clamp(24px, 5vw, 48px); }
.section + .section { padding-top: 0; }
.section__title { font-size: 1.25rem; margin-bottom: 1rem; }

.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;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

.muted { color: var(--muted); font-weight: 400; }
.mono { font-family: var(--mono); font-size: .92em; }
.nowrap { white-space: nowrap; }
.wrap-any { overflow-wrap: anywhere; }
.pre-line { white-space: pre-line; }
.eyebrow {
  margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.lead { font-size: 1.125rem; color: var(--muted); }

/* Header (always dark, like napa-ai.com) */
.site-header { background: var(--ink); color: #fff; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { display: block; height: 30px; width: auto; }
.brand__product {
  font-weight: 600; font-size: 1.05rem; padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .35); color: var(--lavender);
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  color: #d9d8e0; text-decoration: none; font-weight: 600; font-size: .9rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent-soft); }
.site-header a:focus-visible, .site-header button:focus-visible, .site-header input:focus-visible,
.hero a:focus-visible, .hero button:focus-visible, .hero input:focus-visible { outline-color: var(--lavender); }
.site-header__search { padding-bottom: 14px; }

/* Tags and badges */
.tag {
  display: inline-block; padding: 1px 8px; font-size: .78rem; font-weight: 600; line-height: 1.5;
  background: var(--neutral-bg); color: var(--neutral-fg); margin: 0 2px 4px 0;
}
.tag--soon { background: rgba(196, 181, 253, .18); color: var(--lavender); margin: 0; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.cards .tag--soon, .section .tag--soon { background: var(--neutral-bg); color: var(--neutral-fg); vertical-align: middle; }
.badge { display: inline-block; padding: 1px 9px; font-size: .82rem; font-weight: 700; line-height: 1.55; }
.badge--ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge--bad { background: var(--bad-bg); color: var(--bad-fg); }
.badge--warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge--neutral { background: var(--neutral-bg); color: var(--neutral-fg); }
a > .badge { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border: 1px solid var(--border-strong); border-radius: 0;
  background: var(--bg); color: var(--text); font: inherit; font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--text); color: var(--text); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--small { min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Search */
.search__label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: #d9d8e0; }
.search__row { display: flex; gap: 0; }
.search__input {
  flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; border: 2px solid transparent; border-radius: 0;
  background: #fff; color: var(--ink); font: inherit; font-size: 1.05rem;
}
.search__input::placeholder { color: #6b7280; }
.search__input:focus,
.search__input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-soft);
}
.search__input[aria-invalid="true"] { border-color: #f87171; }
.search__input[aria-invalid="true"]:focus,
.search__input[aria-invalid="true"]:focus-visible {
  box-shadow: inset 0 0 0 2px #f87171;
}
.search .btn { min-height: 52px; padding-inline: 26px; font-size: 1rem; }
.search--compact .search__input { min-height: 42px; padding: 8px 14px; font-size: .95rem; }
.search--compact .btn { min-height: 42px; padding-inline: 18px; font-size: .9rem; }
.search--compact { max-width: 640px; }
.form-error { margin: 12px 0 0; padding: 10px 14px; background: var(--bad-bg); color: var(--bad-fg); font-weight: 600; }

/* Hero */
.hero { background: var(--ink); color: #fff; }
.hero__inner { padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(32px, 6vw, 72px); }
.hero__title { font-size: clamp(2.1rem, 5.8vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.15rem; }
.hero__accent {
  background: linear-gradient(90deg, #c4b5fd, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: #c9c8d3; margin-bottom: 1.75rem; }
.hero__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; color: #a3a6b4; font-size: .9rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .28); color: #e9e7f5; text-decoration: none;
  font-family: var(--mono); font-size: .82rem;
}
.chip:hover { border-color: var(--lavender); color: #fff; }

/* Home type list */
.home-more { padding-top: clamp(20px, 4vw, 36px); padding-bottom: clamp(20px, 4vw, 36px); }
.home-types {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-weight: 600;
}

/* Cards (kept for other pages) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 20px; background: var(--surface); border: 1px solid var(--border); }
.card h3 { font-size: 1.05rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.cards--soon .card { background: transparent; border-style: dashed; border-color: var(--border-strong); }
.cards--soon a { color: inherit; }

/* Result header */
.result-head { margin-bottom: 20px; }
.result-head__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: .25em; overflow-wrap: anywhere; }
.result-head__title .mono { font-size: 1em; font-family: var(--font); }
.result-head__sub { font-size: 1.15rem; color: var(--muted); margin-bottom: .75em; }
.result-head__sub a { color: var(--link); }
.result-head__sub a:hover { color: var(--link-hover); }
.copy {
  padding: 4px 10px; border: 1px solid var(--border-strong); background: transparent; color: var(--muted);
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: 0; cursor: pointer;
}
.copy:hover { color: var(--text); border-color: var(--text); }
.result-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem;
}
.result-meta p, .result-meta form { margin: 0; }
.result-meta__refresh, .result-meta__next { margin-left: auto; }

/* Section tabs */
.tabs { margin: 0 0 20px; box-shadow: inset 0 -1px 0 var(--border-strong); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tabs a {
  display: block; padding: 12px 14px; color: var(--muted); text-decoration: none; font-weight: 600;
  font-size: .93rem; white-space: nowrap; border-bottom: 3px solid transparent;
}
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent-soft); }
.tabs a:focus-visible { outline-offset: -3px; }
.tabs__warn { display: inline-block; width: 8px; height: 8px; margin-left: 4px; background: #d97706; border-radius: 50%; vertical-align: middle; }

/* Notices */
.notice { padding: 12px 16px; background: var(--surface); border-left: 4px solid var(--border-strong); }
.notice--warn { background: var(--warn-bg); color: var(--warn-fg); border-left-color: #d97706; }
.notice--warn a { color: inherit; }
.status-banner {
  margin: 0 0 1.25rem;
  padding: 16px 18px;
  border: 2px solid #d97706;
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.status-banner__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .35em; }
.status-banner p { margin: 0; }
.status-banner a { color: inherit; font-weight: 700; text-decoration: underline; }
.status-banner a:hover { color: var(--link-hover); }
.footnote { margin-top: 16px; font-size: .86rem; color: var(--muted); }

/* Facts (definition list). Items grow so a short row still fills the width. */
.facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin: 0 0 24px; border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.facts > div {
  flex: 1 1 230px; max-width: 100%; padding: 12px 14px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: 0;
}
.facts > .facts__wide { flex: 1 0 100%; }
.facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
meter { width: min(220px, 100%); height: 12px; vertical-align: middle; margin-right: 8px; }

.h-section { font-size: 1.1rem; margin: 28px 0 12px; }
.h-section .muted { font-size: .9rem; font-weight: 400; }
.result-body > .h-section:first-child { margin-top: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); margin-bottom: 16px; }
.table-wrap:focus-visible { outline-offset: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table th { background: var(--surface); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table--dense th, .table--dense td { padding: 6px 10px; font-size: .86rem; }
.table td.wrap-any { min-width: 180px; }

@media (max-width: 640px) {
  .table-wrap:has(.table--stack) { overflow: visible; border: 0; }
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody { display: block; width: 100%; }
  .table--stack tr {
    display: block;
    margin: 0 0 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .table--stack tbody tr:last-child { margin-bottom: 0; }
  .table--stack tbody tr:hover td { background: transparent; }
  .table--stack td {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 4px 12px;
    padding: 6px 0;
    border-bottom: 0;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .table--stack td:first-child {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    padding: 0 0 10px;
    margin: 0 0 4px;
    border-bottom: 1px solid var(--border);
  }
  .table--stack td:first-child::before { content: none; }
  .table--stack td::before {
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
  }
  /* Keep address and multi-line cells in the value column, not the label column. */
  .table--stack td .cell-value { min-width: 0; }
}


/* Toolbar, filters */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter__input {
  min-height: 36px; width: min(260px, 60vw); padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 0;
  background: var(--bg); color: var(--text); font: inherit; font-size: .9rem;
}
.filter__clear { font-size: .9rem; }
.segmented { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-strong); }
.segmented li + li { border-left: 1px solid var(--border-strong); }
.segmented a { display: block; padding: 7px 12px; color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 600; }
.segmented a:hover { background: var(--surface); }
.segmented a[aria-current="true"] { background: var(--accent); color: #fff; }
.segmented a[aria-current="true"] .muted { color: #e2d9fb; }

/* Route propagation graph */
.graph-head { margin-bottom: 12px; }
.graph-head .h-section { margin: 0; }
.graph-origin { margin: -4px 0 12px; color: var(--muted); }
.graph { background: var(--surface); border: 1px solid var(--border); padding: 16px; overflow-x: auto; }
.graph__svg { display: block; max-width: 100%; height: auto; margin: 0 auto; font-family: var(--font); }
.graph__edge { fill: none; stroke: color-mix(in srgb, var(--muted) 70%, transparent); }
.graph__arrow { fill: color-mix(in srgb, var(--muted) 85%, transparent); }
.graph__node ellipse { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 80%, transparent); stroke-width: 1; }
.graph__node text { fill: var(--link); font-size: 13px; font-weight: 500; }
a.graph__node:hover ellipse { stroke: var(--link); stroke-width: 1.5; }
a.graph__node:focus { outline: none; }
a.graph__node:focus-visible ellipse { stroke: var(--focus); stroke-width: 2.5; }
.graph__node--origin ellipse { fill: var(--accent); stroke: var(--lavender); stroke-width: 1.25; }
.graph__node--origin text { fill: #fff; font-weight: 700; }
a.graph__node--origin:hover ellipse { stroke: #fff; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }
.pager__info { margin: 0; font-size: .9rem; }
.pager ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pager a, .pager span[aria-disabled] {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 4px 10px;
  border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600;
}
.pager a:hover { border-color: var(--text); }
.pager a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager span[aria-disabled] { color: var(--muted); border-color: var(--border); }
.pager__gap { align-self: center; color: var(--muted); padding: 0 2px; }

/* Raw text blocks */
.raw {
  margin: 0 0 16px; padding: 14px 16px; max-height: 70vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--mono); font-size: .84rem; line-height: 1.5; white-space: pre; tab-size: 8;
}
.details { margin-bottom: 10px; border: 1px solid var(--border); }
.details > summary { padding: 10px 14px; cursor: pointer; font-weight: 600; background: var(--surface); }
.details[open] > summary { border-bottom: 1px solid var(--border); }
.details > .table-wrap, .details > .raw { margin: 0; border: 0; }

.record { margin: 0 0 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); font-family: var(--mono); font-size: .86rem; }
.record > div { display: grid; grid-template-columns: minmax(90px, 140px) 1fr; gap: 12px; }
.record dt { color: var(--muted); }
.record dd { margin: 0; overflow-wrap: anywhere; }
.remark { margin-bottom: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; }
.remark p { margin: 0; }
.remark__title { font-weight: 700; margin-bottom: 4px !important; }

/* Verification */
.verify form { display: grid; gap: 16px; justify-items: start; margin-top: 20px; }
.cf-turnstile { min-height: 65px; }
.js .verify #verify-submit { display: none; }
.search-turnstile { margin: 14px 0 0; }
.search-turnstile .cf-turnstile { min-height: 65px; }
.search-turnstile__status { margin: 8px 0 0; font-size: .9rem; color: #c9c8d3; }
.search-turnstile__status.is-error { color: #fecaca; font-weight: 600; }

/* Footer */
.site-footer { margin-top: 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-top: 20px; padding-bottom: 24px; }
.site-footer__copy { display: grid; gap: 6px; min-width: 0; }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; }
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-toggle { display: inline-flex; flex-shrink: 0; border: 1px solid var(--border-strong); }
.theme-toggle__btn {
  margin: 0; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 0;
  background: transparent; color: var(--muted); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.theme-toggle__btn + .theme-toggle__btn { border-left: 1px solid var(--border-strong); }
.theme-toggle__btn:hover { color: var(--text); background: var(--surface); }
.theme-toggle__btn[aria-checked="true"] { color: var(--text); background: var(--surface); }
.theme-toggle__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

@media (max-width: 640px) {
  .search__row { flex-direction: column; gap: 8px; }
  .hero .search .btn { width: 100%; }
  .home-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .search--compact .search__row { flex-direction: row; gap: 0; }
  .result-meta__refresh, .result-meta__next { margin-left: 0; }
  .facts > div:not(.facts__wide) { flex-basis: 50%; }
  .record > div { grid-template-columns: 1fr; gap: 0; margin-bottom: 6px; }
}
@media (max-width: 400px) {
  .facts > div:not(.facts__wide) { flex-basis: 100%; }
}

/* Homepage product ads */

.home-promo {
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(40px, 7vw, 80px);
}
.home-promo__lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 1.35rem;
}
@media (min-width: 1024px) {
  .home-promo__lead {
    max-width: none;
    white-space: nowrap;
  }
}
.home-promo__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .home-promo__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
}
.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  padding: 28px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.promo-card:hover,
.promo-card:focus-visible {
  border-color: var(--border-strong);
  border-top-color: var(--accent);
}
.promo-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.promo-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  margin: 0 0 .55em;
}
.promo-card__hook {
  margin: 0 0 .85em;
  color: var(--link);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.promo-card__hook span {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}
.promo-card__hook em {
  font-style: normal;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  margin-left: .2em;
}

.promo-card__hook .promo-card__from {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-right: .2em;
}
.promo-card p {
  margin: 0 0 1.15em;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}
.promo-card__more {
  margin-top: auto;
  color: var(--link);
  font-weight: 600;
  font-size: .95rem;
}
.promo-card__more::after {
  content: " →";
}
.promo-card:hover .promo-card__more,
.promo-card:focus-visible .promo-card__more {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .site-nav a, .tabs a, .promo-card, .promo-card__more { transition: background-color .15s, border-color .15s, color .15s; }
}


.narrow { max-width: 44rem; }
.legal { color: var(--text); }
.legal__updated { margin: -0.25rem 0 1.5rem; color: var(--muted); }
.legal h2 { font-size: 1.15rem; margin: 1.75rem 0 0.6rem; }
.legal p, .legal ul { margin: 0 0 1rem; line-height: 1.6; }
.legal a { color: var(--link); }
.legal a:hover, .legal a:focus-visible { color: var(--link-hover); }

@media print {
  .site-header, .site-footer, .tabs, .result-meta__refresh, .toolbar, .pager, .copy { display: none; }
  .graph { overflow: visible; }
  .raw { max-height: none; white-space: pre-wrap; }
}

.result-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 240px;
  padding: 40px 16px 56px;
}
.result-pending__mark {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--border-strong) 80%, transparent);
  border-top-color: var(--accent-soft);
  animation: lookup-spin .75s linear infinite;
}
.result-pending__label {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .result-pending__mark { animation: none; }
}
@keyframes lookup-spin {
  to { transform: rotate(1turn); }
}

