/* Health Truth Checker - mobile-first stylesheet. No external fonts or libraries. */

:root {
  --c-primary: #0a5c6e;
  --c-primary-700: #084a59;
  --c-primary-100: #cfe6ec;
  --c-primary-50: #eaf5f8;
  --c-cyan: #38b6cf;
  --c-bg: #f6f9fb;
  --c-surface: #ffffff;
  --c-text: #0f2233;
  --c-muted: #4a5d6e;
  --c-border: #d5e0e7;
  --c-focus: #1a6fd1;

  --ok: #0b6b3a;      --ok-bg: #e6f5ec;
  --bad: #a31d1d;     --bad-bg: #fdeaea;
  --warn: #7a4a00;    --warn-bg: #fff3d6;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 51, .06);
  --shadow: 0 1px 2px rgba(15, 34, 51, .05), 0 8px 24px rgba(15, 34, 51, .07);

  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gutter: 16px;
  --header-h: 60px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-wrap: break-word;
  min-width: 0;
}

img, svg { max-width: 100%; }
/* Author styles such as .btn { display: inline-flex } would otherwise override the hidden attribute. */
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-700); }
ul, ol { padding-left: 1.25rem; }
button, input, textarea, select { font: inherit; color: inherit; }
main:focus { outline: none; }

.container { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.muted { color: var(--c-muted); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

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

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--c-text); color: #fff;
  padding: 10px 16px; border-radius: 10px; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- icons */
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.icon--sm { width: 1em; height: 1em; }
.icon--xl { width: 1.75rem; height: 1.75rem; }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-700); color: #fff; }
.btn--secondary { background: #fff; color: var(--c-primary); border-color: var(--c-primary-100); }
.btn--secondary:hover { border-color: var(--c-primary); background: var(--c-primary-50); color: var(--c-primary-700); }
.btn--light { background: #fff; color: var(--c-primary-700); }
.btn--light:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
.btn--sm { padding: 8px 14px; font-size: .9375rem; }
.btn--lg { padding: 13px 22px; font-size: 1.0625rem; }
.btn__icon { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover .btn__icon { transform: translateX(1px) scale(1.06); }
.btn .spinner { display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .btn__icon--idle { display: none; }

.spinner {
  width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-border);
}
.site-header__inner { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); position: relative; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none;
  color: var(--c-text); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; min-height: 44px; min-width: 0;
}
.brand:hover { color: var(--c-text); }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__accent { color: var(--c-primary); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.nav-toggle:hover { border-color: var(--c-primary); }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2.5px; background: var(--c-text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.5px; }
.nav-toggle__bars span:nth-child(3) { top: 11px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }

.site-nav { background: #fff; }
.site-nav__list { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; gap: 4px; }
.site-nav__cta-item { padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--c-border); }
.site-nav__cta-item .btn { width: 100%; }
.site-nav__link {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--c-text); text-decoration: none; font-weight: 500; border-left: 4px solid transparent;
  transition: background-color .15s ease;
}
.site-nav__link:hover { background: var(--c-primary-50); color: var(--c-text); }
.site-nav__link.is-active { background: var(--c-primary-50); border-left-color: var(--c-primary); font-weight: 700; color: var(--c-primary-700); }

/* Without JavaScript the menu simply stays open under the header. */
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav { flex-basis: 100%; }

/* With JavaScript the menu is a dropdown on small screens. */
.js .site-nav {
  position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
  border-bottom: 1px solid var(--c-border); box-shadow: 0 16px 24px rgba(15, 34, 51, .1);
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
  .site-nav__cta-item { display: none; }
}

@media (min-width: 920px) {
  :root { --gutter: 24px; --header-h: 68px; }
  .nav-toggle { display: none; }
  .no-js .site-nav, .site-nav { flex-basis: auto; }
  .js .site-nav, .site-nav {
    position: static; visibility: visible; opacity: 1; transform: none; pointer-events: auto; box-shadow: none;
    border: 0; max-height: none; overflow: visible; background: transparent; order: 2;
  }
  .site-nav__list { flex-direction: row; padding: 0; gap: 2px; }
  .site-nav__link { min-height: 44px; padding: 8px 12px; border-left: 0; border-radius: 10px; position: relative; font-size: .9375rem; }
  .site-nav__link.is-active { background: transparent; }
  .site-nav__link.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--c-primary);
  }
  .header-cta { order: 3; }
}

/* ------------------------------------------------------------- hero */
.hero { padding: 20px 0 8px; background: linear-gradient(180deg, var(--c-primary-50), var(--c-bg) 70%); }
.hero__grid { display: grid; gap: 16px; align-items: start; }
.hero__copy { min-width: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--c-primary-100); color: var(--c-primary-700); font-size: .8125rem; font-weight: 700;
}
.hero__title { font-size: clamp(1.75rem, 6.2vw, 3.1rem); font-weight: 800; margin-bottom: 8px; }
.hero__lead { font-size: 1.0625rem; color: var(--c-muted); margin-bottom: 4px; max-width: 34em; }
.hero__actions, .hero__visual { display: none; }
.hero__checker { min-width: 0; }

@media (min-width: 960px) {
  .hero { padding: 48px 0 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
  .hero__lead { font-size: 1.1875rem; margin-bottom: 20px; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
  .hero__visual { display: block; max-width: 420px; }
}

.illustration { width: 100%; height: auto; display: block; }
.il-card { fill: #fff; stroke: var(--c-border); stroke-width: 2; }
.il-line { fill: var(--c-primary); }
.il-line--soft { fill: var(--c-primary-100); }
.il-chip--true { fill: var(--ok-bg); stroke: var(--ok); stroke-width: 2; }
.il-chip--unv { fill: var(--warn-bg); stroke: var(--warn); stroke-width: 2; }
.il-tick { fill: none; stroke: var(--ok); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.il-dot { fill: var(--warn); }
.il-lens { fill: var(--c-primary-50); stroke: var(--c-primary); stroke-width: 6; }
.il-lens-inner { fill: #fff; }
.il-lens-tick { fill: none; stroke: var(--c-primary); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.il-handle { stroke: var(--c-primary); stroke-width: 12; stroke-linecap: round; }

/* --------------------------------------------------------- sections */
.section { padding: clamp(36px, 7vw, 76px) 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--c-primary-50); }
.section--cta { background: var(--c-primary); color: #fff; }
.section__head { margin-bottom: 20px; }
.section__title { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.section__lead { color: var(--c-muted); font-size: 1.0625rem; margin-bottom: 0; }

.page-hero { padding: clamp(28px, 6vw, 56px) 0 clamp(20px, 4vw, 36px); background: linear-gradient(180deg, var(--c-primary-50), var(--c-bg)); }
.page-hero--compact { padding-bottom: 16px; }
.page-hero__title { font-size: clamp(1.75rem, 6vw, 2.75rem); font-weight: 800; margin-bottom: 8px; }
.page-hero__lead { font-size: 1.0625rem; color: var(--c-muted); margin: 0; max-width: 40em; }

.cta { text-align: center; }
.cta__title { color: #fff; font-size: clamp(1.4rem, 4.5vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.cta p { margin-bottom: 20px; color: #e3f2f6; }
.cta .btn { margin-top: 8px; }

/* ------------------------------------------------------------ cards */
.card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); min-width: 0;
}
@media (hover: hover) {
  .card { transition: box-shadow .2s ease, border-color .2s ease; }
  .card:hover { box-shadow: var(--shadow); border-color: var(--c-primary-100); }
}
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.1875rem; margin-bottom: 12px; }
.card__icon { color: var(--c-primary); width: 1.4em; height: 1.4em; }

.grid { display: grid; gap: 16px; }
.grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.resource-grid { list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) and (max-width: 959px) { .resource-grid.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; }
.step__num { position: absolute; top: 10px; right: 18px; font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--c-primary-100); }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 8px; }
.step__icon { color: var(--c-primary); width: 1.4em; height: 1.4em; }
.step p { margin: 0; color: var(--c-muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px;
  font-weight: 800; font-size: .875rem; letter-spacing: .04em; border: 1.5px solid currentColor;
}
.pill--true { color: var(--ok); background: var(--ok-bg); }
.pill--false { color: var(--bad); background: var(--bad-bg); }
.pill--unverified { color: var(--warn); background: var(--warn-bg); }
.verdict-card { border-top-width: 5px; }
.verdict-card--true { border-top-color: var(--ok); }
.verdict-card--false { border-top-color: var(--bad); }
.verdict-card--unverified { border-top-color: var(--warn); }
.verdict-card p:last-child { margin-bottom: 0; color: var(--c-muted); }
.verdict-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.verdict-list .pill { margin: 0 8px 0 0; }
.plain-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list__icon { color: var(--c-primary); width: 1.4em; height: 1.4em; margin-top: 2px; }

.trust { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .trust { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } }
.trust__stats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) and (max-width: 859px) { .trust__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { text-align: left; }
.stat__num { font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--c-primary); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--c-muted); margin: 0; font-size: .9375rem; }

.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }
.tips { display: grid; gap: 14px; padding-left: 1.4rem; }
.resource__title { font-size: 1.125rem; margin-bottom: 8px; }
.resource p { color: var(--c-muted); }
.resource .btn { margin-top: 4px; }
.resource-grid .resource { display: flex; flex-direction: column; align-items: flex-start; }
.resource-note { margin-top: 20px; font-size: .9375rem; }
.btn__icon--end { margin-left: 2px; }

.empty-state { text-align: center; }
.empty-state__icon { width: 64px; height: 64px; color: var(--c-primary); margin-bottom: 8px; }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------------------------------------------------------- checker */
.checker {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px;
  padding: 16px; box-shadow: var(--shadow); max-width: 760px; margin-inline: auto; min-width: 0;
}
.hero__checker .checker { max-width: none; }
.checker__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
@media (min-width: 560px) { .checker { padding: 24px; } }

.field__label { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--c-muted); font-size: .9375rem; }
.field__input {
  display: block; width: 100%; padding: 12px 14px; font-size: 1rem; line-height: 1.5; background: #fff;
  border: 2px solid var(--c-border); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.field__input { min-height: 112px; resize: vertical; }
.field__input::placeholder { color: #5c6f80; opacity: 1; }
.field__input:hover { border-color: #aebfca; }
.field__input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(10, 92, 110, .18); }
.field__input[aria-invalid="true"] { border-color: var(--bad); }
.field__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.field__hint, .field__count { margin: 0; font-size: .875rem; color: var(--c-muted); }
.field__count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.field__count.is-near { color: var(--warn); font-weight: 700; }
.field__count.is-over { color: var(--bad); font-weight: 800; }
.field__error {
  margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--bad-bg); color: var(--bad);
  font-weight: 600; font-size: .9375rem; border-left: 4px solid var(--bad);
}
.field__error[hidden] { display: none; }
.field-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }

.checker__buttons { display: flex; gap: 10px; margin-top: 14px; }
.checker__buttons .btn:first-child { flex: 1 1 auto; }
.checker__buttons .btn:last-child { flex: 0 0 auto; }

.examples { margin-top: 18px; }
.examples__label { font-size: .875rem; font-weight: 600; color: var(--c-muted); margin-bottom: 8px; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  background: var(--c-primary-50); border: 1.5px solid var(--c-primary-100); color: var(--c-primary-700);
  font-size: .9375rem; font-weight: 500; text-decoration: none; line-height: 1.3; text-align: left;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.chip:hover { background: #fff; border-color: var(--c-primary); color: var(--c-primary-700); }
.chip:active { transform: scale(.98); }

.checker__error-box {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--warn-bg); border: 1.5px solid var(--warn); color: var(--warn);
}
.checker__error-box[hidden] { display: none; }
.checker__error-box p { margin: 0; color: var(--c-text); }
.checker__error-box .btn { margin-top: 10px; }
.checker__error-box--static { max-width: 760px; margin: 0 auto 16px; }
.note__icon { color: var(--warn); width: 1.4em; height: 1.4em; margin-top: 1px; }

.checker__result { margin-top: 0; }
.checker__result:not(:empty) { margin-top: 20px; }

/* loading skeleton */
.skeleton { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.skeleton__line, .skeleton__badge {
  display: block; height: 14px; border-radius: 8px;
  background: linear-gradient(90deg, #e6eef2 25%, #f3f7f9 50%, #e6eef2 75%); background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.skeleton__badge { height: 40px; width: 160px; border-radius: 999px; }
.skeleton__line--w90 { width: 90%; } .skeleton__line--w60 { width: 60%; } .skeleton__line--w40 { width: 40%; }
.skeleton__status { margin: 0; font-weight: 600; color: var(--c-muted); display: flex; gap: 10px; align-items: center; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* -------------------------------------------------------- result card */
.result { border: 2px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff; animation: result-in .35s ease both; }
@keyframes result-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.result--true { border-color: var(--ok); }
.result--false { border-color: var(--bad); }
.result--unverified { border-color: var(--warn); }
.result__head { padding: 16px; }
.result--true .result__head { background: var(--ok-bg); }
.result--false .result__head { background: var(--bad-bg); }
.result--unverified .result__head { background: var(--warn-bg); }
.verdict-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 18px 8px 12px; border-radius: 999px;
  color: #fff; font-weight: 800; letter-spacing: .05em; font-size: 1.25rem; line-height: 1.1;
}
.verdict-badge--true { background: var(--ok); }
.verdict-badge--false { background: var(--bad); }
.verdict-badge--unverified { background: var(--warn); }
.result__headline { font-size: 1.125rem; font-weight: 700; margin: 0; }
.result__body { padding: 16px; display: grid; gap: 16px; }
.result__section > :last-child { margin-bottom: 0; }
.result__label { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
.result__section p { margin-bottom: 8px; }
.claim-quote {
  margin: 0; padding: 12px 14px; background: var(--c-bg); border-left: 4px solid var(--c-primary); border-radius: 0 10px 10px 0;
  font-weight: 500; overflow-wrap: anywhere;
}
.result__meta { display: flex; gap: 8px; align-items: center; color: var(--c-muted); font-size: .9375rem; margin: 0; }
.note { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); }
.note p { margin: 0; }
.note--warn { background: var(--warn-bg); border: 1px solid #e8c77a; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.next-steps li { display: flex; gap: 10px; align-items: flex-start; }
.next-steps .icon { color: var(--c-primary); margin-top: 3px; }

.sources { border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; }
.sources__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.sources__summary::-webkit-details-marker { display: none; }
.sources__chevron { transition: transform .25s ease; }
.sources[open] .sources__chevron { transform: rotate(180deg); }
.sources__list { list-style: none; margin: 0; padding: 0 14px 14px; display: grid; gap: 12px; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.source { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--c-border); min-width: 0; }
.source__link { display: inline-flex; gap: 6px; align-items: flex-start; font-weight: 600; min-height: 24px; overflow-wrap: anywhere; }
.source__link .icon { margin-top: 3px; }
.source__publisher { color: var(--c-muted); font-size: .9375rem; }
.source__url { color: var(--c-muted); font-size: .8125rem; overflow-wrap: anywhere; word-break: break-all; }

.result__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 16px; }
.result__actions .btn { flex: 1 1 200px; }
.result__disclaimer { margin: 0; padding: 12px 16px; background: var(--c-bg); border-top: 1px solid var(--c-border); font-size: .9375rem; color: var(--c-muted); }

@media (min-width: 560px) {
  .result__head, .result__body { padding: 24px; }
  .result__actions { padding: 0 24px 24px; }
  .result__actions .btn { flex: 0 0 auto; }
  .result__disclaimer { padding: 14px 24px; }
}

/* ------------------------------------------------------- accordion */
.accordion { display: grid; gap: 10px; }
.accordion__item { background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.accordion__heading { margin: 0; font-size: 1rem; }
.accordion__button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px;
  background: transparent; border: 0; text-align: left; font-weight: 700; cursor: pointer;
}
.accordion__button:hover { background: var(--c-primary-50); }
.accordion__icon { transition: transform .25s ease; color: var(--c-primary); }
.accordion__button[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }
.accordion__panel { display: grid; grid-template-rows: 1fr; }
.accordion__inner { min-height: 0; overflow: hidden; padding: 0 16px; }
.accordion__inner p { margin: 0 0 16px; color: var(--c-muted); }
.js .accordion__panel { grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.js .accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.js .accordion__inner { visibility: hidden; transition: visibility 0s linear .3s; }
.js .accordion__item.is-open .accordion__inner { visibility: visible; transition-delay: 0s; }

/* ---------------------------------------------------------- feedback */
.feedback { padding: 20px; }
@media (min-width: 560px) { .feedback { padding: 32px; } }
.choice-list { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--c-border);
  border-radius: var(--radius-sm); background: #fff; transition: border-color .15s ease, background-color .15s ease;
}
.choice__box::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #7b8d9c; background: #fff;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.choice:hover .choice__box { border-color: #aebfca; }
.choice input:checked + .choice__box { border-color: var(--c-primary); background: var(--c-primary-50); font-weight: 700; }
.choice input:checked + .choice__box::before { border-color: var(--c-primary); background: var(--c-primary); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.form-alert {
  margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bad-bg); color: var(--bad);
  border-left: 4px solid var(--bad); font-weight: 600;
}
.form-alert[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.feedback__success { text-align: center; padding: 8px 0; }
.feedback__success[hidden], #feedback-form[hidden] { display: none; }
.feedback__success:focus { outline: none; }
.feedback__success .btn { margin: 4px; }
.success-check { width: 76px; height: 76px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check__circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .55s ease forwards; }
.success-check__tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s ease .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------ footer */
.site-footer { background: #0f2233; color: #d5e0e7; padding: 36px 0 0; }
.site-footer__grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.brand--footer { color: #fff; margin-bottom: 8px; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__accent { color: #7fd6e8; }
.site-footer__disclaimer { margin: 0; max-width: 36em; color: #d5e0e7; font-size: .9375rem; }
.site-footer__heading { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb3c2; margin-bottom: 8px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer__list a:hover { color: #7fd6e8; }
.site-footer__base { margin-top: 28px; padding: 16px 0 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: #9fb3c2; }
.site-footer__base p { margin: 0; }

/* ------------------------------------------------------------- toast */
.toast-region {
  position: fixed; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px;
}
.toast {
  background: var(--c-text); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
  box-shadow: var(--shadow); max-width: 100%; animation: toast-in .25s ease both;
}
.toast.is-leaving { animation: toast-out .25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------ scroll reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2) { transition-delay: .07s; }
.js .grid > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3) { transition-delay: .14s; }

/* ------------------------------------------------------------- admin */
.admin-bar { background: #0f2233; color: #fff; }
.admin-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 0; }
.admin-bar__brand { font-weight: 800; color: #fff; text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.admin-bar__brand small { font-weight: 500; color: #9fb3c2; margin-left: 8px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.admin-nav a, .admin-nav button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: #fff;
  text-decoration: none; background: transparent; border: 0; cursor: pointer; font-weight: 500;
}
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255, 255, 255, .12); }
.admin-nav [aria-current="page"] { background: rgba(255, 255, 255, .2); font-weight: 700; }
.admin-main { padding: 24px 0 56px; }
.admin-subtitle { margin-top: 2rem; }
.admin-title { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.toolbar .field-group { margin: 0; flex: 1 1 180px; }
.toolbar__spacer { flex: 1 1 auto; }
select.field__input { appearance: auto; }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; }
.alert--success { background: var(--ok-bg); color: var(--ok); border-left: 4px solid var(--ok); }
.alert--error { background: var(--bad-bg); color: var(--bad); border-left: 4px solid var(--bad); }
.alert ul { margin: 6px 0 0; padding-left: 1.2rem; font-weight: 500; }
.alert p { margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .8125rem;
  font-weight: 800; letter-spacing: .03em; border: 1.5px solid currentColor; white-space: nowrap;
}
.badge--approved, .badge--true { color: var(--ok); background: var(--ok-bg); }
.badge--pending, .badge--unverified { color: var(--warn); background: var(--warn-bg); }
.badge--rejected, .badge--false { color: var(--bad); background: var(--bad-bg); }
.badge--new { color: var(--c-primary-700); background: var(--c-primary-50); }

.table-wrap { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.table th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); background: var(--c-bg); }
.table tr:last-child td { border-bottom: 0; }
.table td { overflow-wrap: anywhere; }
.table__actions { white-space: nowrap; }
@media (max-width: 719px) {
  .table-wrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 6px 14px; }
  .table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; text-align: right; }
  .table td::before { content: attr(data-label); font-weight: 700; color: var(--c-muted); text-align: left; flex: none; }
  .table td.table__main { display: block; text-align: left; font-weight: 600; }
  .table td.table__main::before { display: block; margin-bottom: 2px; }
  .table__actions { white-space: normal; }
}
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }

.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: span 2; } }
.form-grid .field-group { margin: 0; }
.source-row { border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); padding: 14px; margin: 0 0 12px; display: grid; gap: 10px; min-width: 0; }
.source-row legend { font-weight: 700; padding: 0 6px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.login-card { max-width: 420px; margin: 8vh auto; }
.hint { font-size: .875rem; color: var(--c-muted); margin: 6px 0 0; }
.feedback-item { display: grid; gap: 8px; }
.feedback-item__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feedback-item__msg { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.inline-form { display: inline; }
.btn--danger { background: #fff; color: var(--bad); border-color: #e8b4b4; }
.btn--danger:hover { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }

/* -------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .skeleton__line, .skeleton__badge { animation: none; background: #e6eef2; }
  .spinner { animation: none; border-right-color: currentColor; opacity: .6; }
  .success-check__circle, .success-check__tick { stroke-dashoffset: 0; }
}
