/* ==========================================================================
   Who Called Me Check - stylesheet
   Indigo + amber on a warm paper background. No framework, one file.
   ========================================================================== */

:root {
    --ink: #17153b;
    --ink-2: #3d3b5c;
    --muted: #6b6987;
    --line: #e7e3da;
    --line-2: #d6d0c3;
    --paper: #fbf8f2;
    --paper-2: #f4efe4;
    --card: #ffffff;
    --indigo: #2b2575;
    --indigo-2: #3a32a0;
    --indigo-d: #1c1852;
    --violet: #5b4ce0;
    --violet-l: #eeebff;
    --amber: #f2a516;
    --amber-d: #b8760a;
    --amber-l: #fff4dc;
    --safe: #13895a;
    --safe-l: #e6f6ee;
    --warn: #c76a00;
    --warn-l: #fff3e0;
    --danger: #d1343a;
    --danger-l: #fdeaea;
    --info: #2a64c9;
    --info-l: #e9f0fd;
    --r: 18px;
    --r-sm: 12px;
    --shadow: 0 2px 0 rgba(23, 21, 59, .04);
    --shadow-lg: 0 24px 60px -20px rgba(43, 37, 117, .35);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --display: "Outfit", "Inter", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink-2); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--indigo-2); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.8rem, 3.8vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.6rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(242, 165, 22, .6); outline-offset: 2px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main side"; gap: 30px; align-items: start; padding-top: 30px; padding-bottom: 60px; }
.layout__main { grid-area: main; min-width: 0; }
.layout__side { grid-area: side; position: sticky; top: 20px; }
.layout--full { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.layout__main > * + * { margin-top: 24px; }
.layout__side > * + * { margin-top: 18px; }
@media (max-width: 960px) {
    .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side"; }
    .layout__side { position: static; }
}

/* ---------- header ---------- */
.topbar { background: var(--indigo); color: #d9d6ff; position: relative; z-index: 50; }
.topbar__strip { background: var(--indigo-d); font-size: .8rem; color: #a9a4e8; }
.topbar__strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar__strip a { color: #d9d6ff; }
.topbar__strip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 7px; vertical-align: 1px; }
@media (max-width: 640px) { .topbar__strip .hide-sm { display: none; } }
.topbar__row { display: flex; align-items: center; gap: 12px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; color: #fff; }
.logo__mark { flex: none; }
.logo__word b { font-weight: 800; }
.logo__tag { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; background: var(--amber); color: var(--ink); vertical-align: 3px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 9px; color: #d9d6ff; font-weight: 600; font-size: .9rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.topbar__cta { white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: #fff; border-bottom-color: var(--amber); text-decoration: none; }
.topbar__cta { margin-left: 4px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 1240px) {
    .burger { display: inline-flex; }
    .topbar .topbar__cta { display: none; }
    .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--indigo-d); display: none; margin: 0; box-shadow: var(--shadow-lg); }
    .nav ul { flex-direction: column; padding: 8px 16px 16px; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .topbar.is-open .nav { display: block; }
    .topbar.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .topbar.is-open .burger span:nth-child(2) { opacity: 0; }
    .topbar.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 400px) { .logo__tag { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; background: var(--indigo); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--indigo-2); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--amber, .topbar__cta { background: var(--amber); color: var(--ink); }
.btn--amber:hover, .topbar__cta:hover { background: #ffb937; color: var(--ink); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--indigo-d); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 7px 15px; font-size: .86rem; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }

/* ---------- hero / lookup ---------- */
.hero { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 56px 0 50px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; border: 50px solid rgba(91, 76, 224, .07); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: 40px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(242, 165, 22, .14); pointer-events: none; }
.hero--slim { padding: 34px 0 32px; }
.hero__inner { position: relative; z-index: 1; max-width: 800px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.hero__kicker svg { color: var(--amber-d); }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--violet); background: linear-gradient(transparent 62%, rgba(242, 165, 22, .35) 0); }
.hero__lead { font-size: 1.1rem; color: var(--ink-2); max-width: 660px; }
.hero--slim h1 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.lookup { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); margin-top: 24px; max-width: 660px; }
.lookup__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.lookup__field svg { flex: none; color: var(--violet); }
.lookup input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-family: var(--mono); font-size: 1.1rem; font-weight: 600; color: var(--ink); padding: 11px 0; background: transparent; }
.lookup input::placeholder { color: #a19eb8; font-family: var(--font); font-weight: 500; }
.lookup .btn { padding: 12px 26px; background: var(--amber); color: var(--ink); }
.lookup .btn:hover { background: #ffb937; }
@media (max-width: 540px) {
    .lookup { flex-direction: column; border-radius: 20px; }
    .lookup .btn { width: 100%; }
}
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--safe); }
.hero__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero__links a { color: var(--ink); font-size: .86rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.hero__links a:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- panels ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; box-shadow: var(--shadow); }
.panel--flat { box-shadow: none; }
.panel--tint { background: var(--violet-l); border-color: #d9d3ff; }
.panel--warn { background: var(--warn-l); border-color: #f6d6a6; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel__title { font-size: 1.25rem; margin: 0; padding-bottom: 8px; background: linear-gradient(var(--amber), var(--amber)) left bottom / 42px 3px no-repeat; }
.panel__sub { color: var(--muted); font-size: .92rem; margin: -4px 0 14px; }
.panel > :last-child { margin-bottom: 0; }
@media (max-width: 560px) { .panel { padding: 20px 16px; border-radius: 14px; } }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--indigo); font-weight: 600; }
.crumbs__sep { color: var(--line-2); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; font-size: .78rem; font-weight: 700; line-height: 1.5; background: var(--paper-2); color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; }
.badge--safe, .badge--ok { background: var(--safe-l); color: #0d6b45; }
.badge--warn { background: var(--warn-l); color: #9a5200; }
.badge--danger, .badge--bad { background: var(--danger-l); color: #a8232a; }
.badge--info { background: var(--info-l); color: #1f4f9e; }
.badge--brand { background: var(--violet-l); color: var(--indigo-2); }
.badge--neutral { background: var(--paper-2); color: var(--ink-2); }
.badge--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--cat { background: color-mix(in srgb, var(--c, #6b6987) 12%, #fff); color: color-mix(in srgb, var(--c, #6b6987) 80%, #000); border-color: color-mix(in srgb, var(--c, #6b6987) 30%, #fff); }
.badge--cat:hover { text-decoration: none; filter: brightness(.97); }
.badge--count { background: var(--ink); color: #fff; }

/* ---------- facts list ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.facts > div { padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.facts dt { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { border-radius: var(--r-sm); padding: 14px 16px; background: var(--indigo); color: #cfcbff; }
.kpi__label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.kpi__value { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.2; margin-top: 4px; }
.kpi__value--sm { font-size: 1.05rem; padding-top: 6px; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- number page header card ---------- */
.callcard { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 26px; align-items: center; }
.callcard__num { font-family: var(--mono); font-size: clamp(1.8rem, 4.4vw, 2.7rem); font-weight: 700; color: var(--ink); display: block; margin: 2px 0 10px; word-break: break-all; }
.callcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.callcard__tags .badge--neutral { background: #fff; border-color: var(--line-2); }
@media (max-width: 760px) { .callcard { grid-template-columns: minmax(0, 1fr); } }

.gauge { background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); border-radius: var(--r); padding: 16px; text-align: center; color: var(--ink-2); }
.gauge__ring { width: 124px; height: 124px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--g-c, #a19eb8) calc(var(--g, 0) * 1%), var(--paper-2) 0); }
.gauge__ring::before { content: ""; grid-area: 1 / 1; width: 94px; height: 94px; border-radius: 50%; background: #fff; }
.gauge__val { grid-area: 1 / 1; position: relative; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.1rem; line-height: 1.1; }
.gauge__val small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.gauge__label { font-weight: 800; color: var(--ink); }
.gauge__sub { font-size: .82rem; color: var(--muted); }

/* ---------- quick vote ---------- */
.vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.vote__label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.vote__form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vote__btn { --c: #6b6987; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .87rem; padding: 6px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.vote__btn::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.vote__btn:hover { border-color: var(--c); }
.vote__btn.is-selected { background: var(--c); color: #fff; border-color: var(--c); }
.vote__btn.is-selected::before { background: #fff; }
.vote__btn:disabled { cursor: default; }
.vote__btn:disabled:not(.is-selected) { opacity: .5; }
.vote__note { width: 100%; margin: 6px 0 0; font-size: .88rem; color: var(--safe); font-weight: 600; }
.vote__note--error { color: var(--danger); }
.vote__first { display: inline-flex; gap: 6px; }
.vote__first span { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.vote__first span + span { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.vote__summary { color: var(--ink-2); font-size: .92rem; }

/* ---------- reviews / reports ---------- */
.reviews { display: grid; gap: 12px; }
.review { --c: #a19eb8; position: relative; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px 14px 20px; background: #fff; }
.review::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--c); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .84rem; color: var(--muted); }
.review__text { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.review__text--muted { color: var(--muted); font-style: italic; }

/* ---------- forms ---------- */
.reportbox { border: 2px solid var(--ink); border-radius: var(--r); background: #fff; overflow: hidden; scroll-margin-top: 20px; box-shadow: 6px 6px 0 var(--amber); }
.reportbox__head { background: var(--amber-l); padding: 18px 24px; display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid #f3dca9; }
.reportbox__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.reportbox__title { margin: 0 0 2px; font-size: 1.2rem; }
.reportbox__sub { margin: 0; color: var(--ink-2); font-size: .94rem; }
.reportbox__body { padding: 20px 24px 24px; }
@media (max-width: 560px) { .reportbox__head, .reportbox__body { padding-left: 16px; padding-right: 16px; } }
.field-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .94rem; }
.field-label small { font-weight: 500; color: var(--muted); }
.input, .textarea, .select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.input:focus, .textarea:focus, .select:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 76, 224, .15); }
.textarea { min-height: 130px; resize: vertical; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.choice { --c: #6b6987; position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; color: var(--ink); background: #fff; }
.choice input { accent-color: var(--c); margin: 0; }
.choice:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 16px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.alert { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: .92rem; }
.alert--error { background: var(--danger-l); color: #8e1d23; border: 1px solid #f4c3c5; }
.alert--ok { background: var(--safe-l); color: #0d5a3a; border: 1px solid #b9e4cf; }
label.error, .error-text { color: var(--danger); font-size: .84rem; display: block; margin-top: 4px; }

/* ---------- lists of numbers ---------- */
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.feed--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feed--2 .feed__item:nth-child(odd) { border-right: 1px solid var(--line); }
@media (max-width: 720px) { .feed--2 { grid-template-columns: minmax(0, 1fr); } .feed--2 .feed__item:nth-child(odd) { border-right: 0; } }
.feed__item { --c: #a19eb8; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.feed__item::before { content: ""; position: absolute; left: 13px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.feed__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.feed__num { font-family: var(--mono); font-weight: 700; color: var(--ink); font-size: 1rem; }
.feed__text { color: var(--ink-2); font-size: .92rem; overflow-wrap: anywhere; }
.feed__meta { color: var(--muted); font-size: .8rem; white-space: nowrap; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-family: var(--mono); font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.pills--side .pill { font-size: .82rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tiles--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--amber); text-decoration: none; }
.tile__code { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.tile__name { color: var(--muted); font-size: .86rem; }
.tile__count { margin-top: 4px; font-size: .78rem; color: var(--violet); font-weight: 700; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat { --c: #6b6987; display: block; padding: 18px 18px 18px 22px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; position: relative; }
.cat::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 0 5px 5px 0; background: var(--c); }
.cat:hover { text-decoration: none; border-color: var(--ink); }
.cat__name { font-family: var(--display); font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.cat__desc { color: var(--ink-2); font-size: .9rem; display: block; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.table { font-size: .93rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: var(--paper); }
.table-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }

/* ---------- prose ---------- */
.prose { color: var(--ink-2); }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(91, 76, 224, .4); text-underline-offset: 3px; }
.prose img { border-radius: var(--r-sm); }
.prose blockquote { margin: 1em 0; padding: 14px 18px; border: 0; background: var(--amber-l); border-radius: var(--r-sm); font-weight: 500; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f2a516' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--warn li::before { background: var(--danger) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M10 5v6M10 14.5v.5'/%3E%3C/svg%3E") center/14px no-repeat; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 58px; border-radius: var(--r-sm); background: var(--paper); border: 1px dashed var(--line-2); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-family: var(--display); font-weight: 800; color: var(--violet); font-size: 1.15rem; }

.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--info-l); color: #1d3f7a; }
.callout--warn { background: var(--warn-l); color: #6e3a00; }
.callout--safe { background: var(--safe-l); color: #0c4a31; }
.callout p:last-child { margin: 0; }
.callout svg { flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.02rem; margin: 0; display: inline; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq > div, .faq > p { padding: 0 0 16px; margin: 0; }

/* ---------- sidebar ---------- */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.side-card__title { font-size: 1rem; margin: 0 0 10px; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li a { display: flex; gap: 8px; padding: 7px 0; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.side-card li a::before { content: "\2192"; color: var(--amber-d); }
.side-card li a:hover { color: var(--violet); text-decoration: none; }
.side-cta { background: var(--amber); border: 0; color: var(--ink); }
.side-cta .side-card__title { color: var(--ink); }
.side-cta .input { margin-bottom: 10px; border-color: var(--ink); }
.side-cta .btn { width: 100%; }

/* ---------- pagination ---------- */
.pager { display: flex; justify-content: center; margin-top: 18px; }
.pager nav > div:first-child { display: none; }
.pagination { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.pagination .page-link, .pagination > li > span, .pagination > li > a { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; }
.pagination .active .page-link, .pagination .active > span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .disabled .page-link, .pagination .disabled > span { opacity: .4; }
.pagination a:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- home sections ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 20px; border-radius: var(--r-sm); background: var(--paper); }
.feature__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); margin-bottom: 12px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { font-size: .92rem; margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

.empty { text-align: center; padding: 22px; border: 2px dashed var(--line-2); border-radius: var(--r-sm); color: var(--muted); background: var(--paper); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-family: var(--mono); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.link-arrow { font-weight: 700; }
.link-arrow::after { content: " \2192"; }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 4px solid var(--amber); color: var(--ink-2); padding: 50px 0 0; margin-top: 20px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--violet); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 36px; }
.footer__brand .logo { color: var(--ink); }
.footer__brand .logo:hover { color: var(--ink); }
.footer__brand p { margin-top: 12px; font-size: .92rem; max-width: 320px; }
.footer h3 { font-size: .95rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .92rem; }
.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.footer__bar { background: var(--ink); color: #b8b5d6; margin-top: 40px; font-size: .85rem; }
.footer__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.footer__bar a { color: #fff; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- misc ---------- */
.ad-slot { border-radius: var(--r-sm); }
.notyf__toast { border-radius: 12px !important; max-width: 360px !important; width: auto !important; }
.map-box { height: 360px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.checker-out { width: 100%; }
.big-404 { font-family: var(--display); font-size: 5.5rem; font-weight: 800; color: var(--amber); line-height: 1; margin: 0; -webkit-text-stroke: 2px var(--ink); }

.collapsible { max-height: 420px; overflow: hidden; position: relative; }
.collapsible::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.collapsible.is-open { max-height: none; }
.collapsible.is-open::after { display: none; }

/* ---------- number page: quick report button ---------- */
.callcard__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.callcard__cta .btn { box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
.callcard__cta-note { font-size: .9rem; color: var(--muted); }

/* ---------- mobile tweaks ---------- */
@media (max-width: 760px) {
    /* no decorative rings behind banners on phones */
    .hero::before, .hero::after { display: none; }

    /* "Had a call from it? Rate it:" on its own line, buttons underneath */
    .vote__label { width: 100%; }

    /* compact rating circle */
    .gauge { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 10px 14px; box-shadow: 3px 3px 0 var(--ink); }
    .gauge__ring { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
    .gauge__ring::before { width: 48px; height: 48px; }
    .gauge__val { font-size: .85rem; }
    .gauge__val small { font-size: .55rem; }
    .gauge__label { font-size: .95rem; }
    .gauge__sub { font-size: .8rem; }

    .callcard__cta .btn { width: 100%; }
    .callcard__cta-note { width: 100%; text-align: center; }
}
