/* checker.css — the free hallucination checker page (/hallucination-checker). Everything is scoped under .hc so the rest of
   the site is untouched. Warm paper, rounded white cards, one dark button style; product blocks alternate sides. */
.hc { --hc-bg: #f7f5f0; --hc-card: #ffffff; --hc-line: #e6e3db; --hc-line2: #efece5; --hc-mid: #57544d; --hc-soft: #fcfbf8;
      --hc-ok: #12805c; --hc-ok-bg: #dff0e8; --hc-bad: #d7361f; --hc-bad-bg: #fbe3df; --hc-watch: #9a6200; --hc-watch-bg: #fdf0d2;
      --hc-dep-bg: #fef7e6; --hc-dep: #d9a441; --hc-src: #2952e3; --hc-src-bg: #eef2ff;
      --hc-shadow: 0 1px 2px rgba(15, 15, 14, .05), 0 18px 44px rgba(15, 15, 14, .08);
      background: var(--hc-bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; padding-bottom: 104px; }
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
.hc .hc-w { max-width: 1184px; margin: 0 auto; padding: 0 32px; }
.hc h1, .hc h2, .hc h3 { font-family: var(--sans); font-weight: 600; margin: 0; }
.hc p { margin: 0; }
.hc button { font: inherit; color: inherit; }
.hc .hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
              background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; }
.hc .hc-btn:hover { background: #2a2926; color: #fff; }
.hc .hc-btn:disabled { opacity: .55; cursor: progress; }
.hc .hc-btn:focus-visible, .hc .hc-chip:focus-visible, .hc .hc-ghost:focus-visible, .hc .hc-mk:focus-visible, .hc .hc-ir:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hc .hc-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #cfcbc1; background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; color: var(--ink); }
.hc .hc-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); }

/* hero */
.hc-hero { max-width: 900px; margin: 0 auto; padding: 56px 32px 40px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.hc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hc-line); font-size: 14px; font-weight: 500; color: var(--ink2); }
.hc-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hc-ok); }
.hc-hero h1 { font-size: clamp(42px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; }
.hc-hero p { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--hc-mid); max-width: 56ch; }

/* the tool */
.hc-tool { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 20px; box-shadow: var(--hc-shadow); overflow: hidden; }
.hc-q { padding: 10px 26px; border-bottom: 1px solid var(--hc-line2); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.hc-lab { font-size: 14px; font-weight: 600; color: var(--hc-mid); }
.hc-q input { flex: 1 1 320px; min-width: 0; min-height: 44px; padding: 8px 0; border: 0; background: transparent; font: 17px/1.5 var(--sans); color: var(--ink); }
.hc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.hc-col { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.hc-col + .hc-col { border-left: 1px solid var(--hc-line2); }
.hc-col .hc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hc-n { font-size: 13px; color: var(--hc-mid); font-variant-numeric: tabular-nums; }
.hc-n.over { color: var(--hc-bad); font-weight: 600; }
.hc textarea { width: 100%; min-height: 178px; padding: 0; border: 0; background: transparent; font: 17px/1.6 var(--sans); color: var(--ink); resize: vertical; }
.hc #hc-a { min-height: 262px; }
.hc input:focus, .hc textarea:focus { outline: none; }
.hc-q:focus-within, .hc-col:focus-within { background: #fffef9; }
.hc-up { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--hc-bg); }
.hc-up.drag { outline: 2px dashed var(--hc-src); outline-offset: -2px; background: var(--hc-src-bg); }
.hc-up span { flex: 1 1 160px; min-width: 0; font-size: 14.5px; color: var(--hc-mid); }
.hc-up input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hc-bar { padding: 14px 26px; border-top: 1px solid var(--hc-line2); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.hc-ex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hc-ex > span { font-size: 14.5px; color: var(--hc-mid); margin-right: 4px; }
.hc-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #cfcbc1; background: #fff; font-weight: 500; font-size: 14px; cursor: pointer; }
.hc-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.hc-go { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.hc-go .hc-btn { padding: 0 30px; }
.hc-ts:empty { display: none; }
.hc-under { margin-top: 16px; text-align: center; font-size: 14.5px; color: var(--hc-mid); }
.hc-under b { color: var(--ink); font-weight: 600; }
.hc-msg { margin-top: 14px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--hc-line); background: #fff; font-size: 15px; }
.hc-msg.bad { border-color: #f1b6aa; background: #fff7f5; color: #8f2312; }
.hc-msg:empty { display: none; }

/* the result */
.hc-res { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }
.hc-res[hidden] { display: none; }
.hc-card { background: #fff; border: 1px solid var(--hc-line); border-radius: 18px; }
.hc-score { padding: 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 40px; align-items: center; }
.hc-score .k { font-size: 14px; font-weight: 600; color: var(--hc-mid); }
.hc-score .big { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin: 6px 0 8px; }
.hc-score .sub { color: var(--ink2); }
.hc-score .meta { margin-top: 6px; font-size: 13.5px; color: var(--hc-mid); }
.hc-gauge { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #cfe8dc 0 33.3%, #f6e3bb 33.3% 66.6%, #f4c4bb 66.6%); margin-top: 22px; }
.hc-gauge b { position: absolute; top: -9px; width: 4px; height: 30px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); left: 0; transition: left .9s cubic-bezier(.2, .8, .2, 1); }
.hc-gl { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--hc-mid); }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.hc-pn { overflow: hidden; }
.hc-pn + .hc-pn { margin-top: 18px; }
.hc-pnh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 18px; border-bottom: 1px solid var(--hc-line2); font-size: 13.5px; font-weight: 600; color: var(--hc-mid); }
.hc-ans { padding: 18px; font-size: 18px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.hc-src { padding: 16px 18px; font-size: 15px; line-height: 1.7; color: var(--ink2); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; }
.hc-src .rc { background: var(--hc-src-bg); box-shadow: inset 0 -2px 0 var(--hc-src); color: var(--ink); }
.hc-mk { background: none; padding: 1px 2px; border-radius: 3px; cursor: pointer; color: inherit; }
.hc-mk sup { font-size: 10.5px; font-weight: 700; margin-left: 2px; }
.hc-mk.st-contradicted { background: var(--hc-bad-bg); box-shadow: inset 0 -2px 0 var(--hc-bad); } .hc-mk.st-contradicted sup { color: var(--hc-bad); }
.hc-mk.st-not_stated { background: var(--hc-watch-bg); box-shadow: inset 0 -2px 0 var(--hc-watch); } .hc-mk.st-not_stated sup { color: var(--hc-watch); }
.hc-mk.st-depends_on_error { background: var(--hc-dep-bg); box-shadow: inset 0 -2px 0 var(--hc-dep); } .hc-mk.st-depends_on_error sup { color: #a8781f; }
.hc-mk.st-unverified_step { border-bottom: 2px dotted #9b988f; border-radius: 0; }
.hc-mk.st-supported { text-decoration: underline; text-decoration-color: #9ccdb6; text-decoration-thickness: 1.5px; text-underline-offset: 4px; padding: 0; }
.hc-mk.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.hc-lg { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 18px; border-top: 1px solid var(--hc-line2); font-size: 13px; color: var(--hc-mid); }
.hc-lg i { display: inline-block; width: 14px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.hc-side h2 { font-size: 15px; color: var(--hc-mid); margin: 2px 0 10px; }
.hc-il { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.hc-il li + li { border-top: 1px solid var(--hc-line2); }
.hc-ir { width: 100%; display: grid; grid-template-columns: 26px auto minmax(0, 1fr); gap: 10px; align-items: center; min-height: 50px; padding: 10px 16px; border: 0; border-left: 4px solid transparent; background: #fff; cursor: pointer; text-align: left; }
.hc-ir .n { width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.hc-ir .tt { font-weight: 600; font-size: 14px; white-space: nowrap; }
.hc-ir .q { font-size: 14px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-ir.st-contradicted { color: var(--hc-bad); } .hc-ir.st-not_stated { color: var(--hc-watch); } .hc-ir.st-depends_on_error { color: #a8781f; } .hc-ir.st-unverified_step { color: var(--hc-mid); }
.hc-ir.sel { border-left-color: currentColor; background: var(--hc-soft); }
.hc-dp { margin-top: 14px; overflow: hidden; }
.hc-dp .hc-sec { padding: 14px 18px; border-top: 1px solid var(--hc-line2); display: flex; flex-direction: column; gap: 4px; }
.hc-dp .hc-sec:first-child { border-top: 0; }
.hc-dp .hc-dl { display: block; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--hc-mid); }
.hc-dp .hc-what { font-weight: 600; font-size: 16px; }
.hc-dp ul { margin: 0; padding-left: 18px; }
.hc-dp blockquote { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--hc-src-bg); color: #1f2a5c; font-size: 14.5px; }
.hc-dp .hc-fix { color: var(--hc-ok); font-weight: 600; }
.hc-dp.empty, .hc-none { padding: 18px; color: var(--hc-mid); font-size: 15px; }
.hc-none b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.hc-more { padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; background: var(--hc-soft); }
.hc-more h2 { font-size: 22px; letter-spacing: -.02em; }
.hc-more p { color: var(--hc-mid); margin-top: 2px; }

/* the sign-in prompt after today's free checks */
.hc-gate { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 15, 14, .5); }
.hc-gate[hidden] { display: none; }
.hc-gate-card { width: 100%; max-width: 560px; background: #fff; border-radius: 20px; box-shadow: var(--hc-shadow); padding: 36px 36px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.hc-gate-card .k { font-size: 14px; font-weight: 600; color: var(--hc-bad); }
.hc-gate-card h2 { font-size: 34px; line-height: 1.08; letter-spacing: -.03em; }
.hc-gate-card p { color: var(--ink2); font-size: 16.5px; }
.hc-gate-card ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hc-line); }
.hc-gate-card li { padding: 11px 0; border-bottom: 1px solid var(--hc-line); font-size: 15px; }
.hc-gate-card .x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--hc-mid); }
.hc-gate-card .later { align-self: flex-start; min-height: 44px; border: 0; background: none; padding: 0; text-decoration: underline; color: var(--ink2); cursor: pointer; font-size: 14.5px; }
html.hc-locked { overflow: hidden; }

/* product blocks, one after another; every second one swaps sides */
.hc-blk { margin-top: 96px; }
.hc-blk:first-of-type { margin-top: 104px; }
.hc-blk .hc-w > div { border-top: 1px solid #e3dfd6; padding-top: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; align-items: center; }
.hc-blk.flip .hc-txt { order: 2; }
.hc-txt { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hc-txt .eb { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--hc-mid); text-transform: uppercase; }
.hc-txt h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.03em; }
.hc-txt > p:not(.eb) { font-size: 18px; color: var(--hc-mid); max-width: 44ch; }
.hc-txt .row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.hc-vis { position: relative; min-height: 430px; }
.hc-vis .back { position: absolute; left: 0; top: 0; width: 80%; background: #fff; border: 1px solid var(--hc-line); border-radius: 18px; padding: 24px 26px; }
.hc-vis .front { position: absolute; right: 0; bottom: 0; width: 66%; background: #fff; border: 1px solid var(--hc-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 15, 14, .05), 0 16px 36px rgba(15, 15, 14, .1); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.hc-vis .t { font-size: 16px; font-weight: 600; }
.hc-vis .hc-s { font-size: 13.5px; color: var(--hc-mid); }
.hc-dots { display: flex; gap: 7px; margin-bottom: 16px; } .hc-dots i { width: 11px; height: 11px; border-radius: 50%; background: #dcd8cf; }
.hc-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink2); }
.hc-row span:last-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.hc-ic.ok { background: var(--hc-ok-bg); } .hc-ic.no { background: var(--hc-bad-bg); }
.hc-sq { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
.hc-sq i { aspect-ratio: 1; border-radius: 3px; background: #e2ded5; } .hc-sq i.w { background: var(--hc-bad); }
.hc-thr { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--hc-ok-bg) 0 60%, var(--hc-bad-bg) 60%); margin-top: 14px; }
.hc-thr b { position: absolute; left: 60%; top: -8px; width: 4px; height: 26px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); }
.hc-list { background: var(--hc-soft); border: 1px solid var(--hc-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.hc-li { background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.hc-li > div { flex: 1; min-width: 0; } .hc-li b { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-li .sc { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hc-stat { background: #fff; border: 1px solid var(--hc-line); border-radius: 18px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.hc-stat b { font-size: 52px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.hc-stat span { font-size: 15.5px; color: var(--ink2); }
.hc-uc { margin-top: 96px; } .hc-uc .hc-w > div { border-top: 1px solid #e3dfd6; padding-top: 72px; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.hc-uc h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.025em; }
.hc-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hc-pills a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; border: 1px solid var(--hc-line); text-decoration: none; font-weight: 500; color: var(--ink); }
.hc-end { margin-top: 104px; } .hc-end .hc-w > div { background: #fff; border: 1px solid var(--hc-line); border-radius: 24px; padding: 64px 32px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.hc-end h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.hc-end p { font-size: 18px; color: var(--hc-mid); }

@media (max-width: 900px) {
  .hc .hc-w { padding: 0 16px; }
  .hc-hero { padding: 40px 16px 28px; }
  .hc-col + .hc-col { border-left: 0; border-top: 1px solid var(--hc-line2); }
  .hc-q, .hc-col, .hc-bar { padding-left: 18px; padding-right: 18px; }
  .hc-grid { grid-template-columns: minmax(0, 1fr); }
  .hc-blk, .hc-blk:first-of-type { margin-top: 64px; }
  .hc-blk .hc-w > div { grid-template-columns: minmax(0, 1fr); padding-top: 56px; gap: 32px; }
  .hc-blk.flip .hc-txt { order: 0; }
  .hc-vis { min-height: 400px; }
  .hc-vis .back { width: 92%; } .hc-vis .front { width: 84%; }
  .hc-score .big { font-size: 44px; }
  .hc-gate-card { padding: 30px 22px 22px; } .hc-gate-card h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hc-gauge b { transition: none; } }
