/* What People Really Think — built from the concept art in /concept art:
   editorial black serif questions, heavy slab wordmark with REALLY in bright blue, light grey bands on white,
   big blue YES / outline NO, blue result bars, by-age meters and a share panel. Dark mode is near-black navy. */
@font-face { font-family: "Source Serif 4"; src: url("/candid/fonts/source-serif-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("/candid/fonts/bitter-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/candid/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff; --band: #f1f2f4; --surface: #ffffff; --surface-2: #eceef1; --ink: #0d0f14; --muted: #515866; --line: #d9dde3; --line-strong: #b9c0ca;
  --accent: #1a4fe6; --accent-ink: #ffffff; --accent-soft: #e3eaff; --focus: #1a4fe6;
  --cta: #1f5bff; --cta-hover: #174ae0; --brand-blue: #1f5bff; --bar-dim: #d5d9df; --no-bg: #f7f8f9;
  --radius: 6px; --radius-sm: 4px;
  --shadow: 0 1px 2px rgb(13 15 20 / 5%);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-slab: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-display: var(--font-serif);
  --wrap-wide: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b0d12; --band: #10131a; --surface: #141821; --surface-2: #1d222c; --ink: #f2f4f8; --muted: #a9b1bf; --line: #2b313c; --line-strong: #4a5261; --accent: #7b9bff; --accent-ink: #0b0d12; --accent-soft: #1a2440; --focus: #8fb0ff; --brand-blue: #4d7cff; --bar-dim: #3a4150; --no-bg: #0b0d12; --shadow: none; }
}
:root[data-theme="dark"] { --bg: #0b0d12; --band: #10131a; --surface: #141821; --surface-2: #1d222c; --ink: #f2f4f8; --muted: #a9b1bf; --line: #2b313c; --line-strong: #4a5261; --accent: #7b9bff; --accent-ink: #0b0d12; --accent-soft: #1a2440; --focus: #8fb0ff; --brand-blue: #4d7cff; --bar-dim: #3a4150; --no-bg: #0b0d12; --shadow: none; }

body { background: var(--bg); }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-family: var(--font-body); }
.eyebrow { font-family: var(--font-body); font-weight: 800; font-size: .74rem; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration: none; }
/* Audit 7 Oct pm: the "Topics" link above a topic's heading stands alone, so it is a 44px tap target; the negative
   margin takes the extra height back, so the heading does not move. */
.page-head > .eyebrow a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -14px; }
.eyebrow a:hover { text-decoration: underline; }
.lede { color: var(--muted); }

/* ---------- buttons */
.btn { border-radius: var(--radius-sm); font-weight: 700; }
.btn .i { flex: none; }
.btn-primary { --b: var(--cta); --i: #ffffff; border-color: var(--cta); font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.08rem; }
.btn-primary:hover { --b: var(--cta-hover); border-color: var(--cta-hover); filter: none; }
.btn-outline { --b: var(--surface); --i: var(--ink); border: 1.5px solid var(--line-strong); font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.btn-outline .i { color: var(--accent); }
.btn-outline-accent { --b: var(--surface); --i: var(--accent); border: 2px solid var(--cta); font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .05em; font-size: 1.08rem; }
.btn-outline-accent:hover { --b: var(--accent-soft); border-color: var(--cta); }
.btn-lg { min-height: 56px; }

/* ---------- header */
.site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header-inner { min-height: 76px; gap: 1.25rem; }
.brand { margin-right: 1.5rem; }
.wordmark { display: grid; font-family: var(--font-slab); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: 1.55rem; letter-spacing: -0.015em; color: var(--ink); }
.wm-really { color: var(--brand-blue); }
.site-nav { margin-right: auto; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.theme-toggle { border: 0; background: transparent; }
.header-note { font: 700 .64rem/1.5 var(--font-body); letter-spacing: .14em; text-transform: uppercase; border-left-color: var(--line-strong); padding: .15rem 0 .15rem 1.1rem; }
@media (max-width: 760px) {
  .site-header-inner { min-height: 64px; }
  .brand { margin-right: auto; }
  .wordmark { font-size: 1.2rem; }
}

/* ---------- layout */
.main-flush { padding-top: 0; }
.page-body { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.home-body { padding-top: .5rem; }
.page-head { margin: .75rem 0 1.5rem; max-width: 760px; }
.page-head .chips { margin-top: 1rem; }
.page-title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.2rem); line-height: 1.05; margin: .2rem 0 .5rem; }
.section-head { margin: 2.25rem 0 .9rem; align-items: center; }
.section-title { font-family: var(--font-body); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.section-head a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; font-size: .88rem; min-height: 44px; }
.section-head a:hover { text-decoration: underline; }

/* ---------- today's question band */
.today-band { background: var(--band); border-bottom: 1px solid var(--line); }
.today { display: grid; gap: 2.5rem; padding-block: clamp(1.25rem, 4vw, 2.5rem); align-items: stretch; }
@media (min-width: 900px) { .today { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 3rem; } }
.today-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.today-photo { position: relative; margin: 0; display: none; align-self: start; aspect-ratio: 800 / 760; max-height: 480px; min-height: 380px; overflow: hidden; background: #6f7378; }
@media (min-width: 900px) { .today-photo { display: block; } }
.today-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.today-photo picture { display: contents; } /* WebP sizes (src/responsive.js): the <img> lays out as before */
.today-photo.has-photo img { filter: grayscale(1) contrast(1.05); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .today-photo img { filter: grayscale(1) brightness(.5) contrast(1.15); } }
:root[data-theme="dark"] .today-photo img { filter: grayscale(1) brightness(.5) contrast(1.15); }
.today-photo figcaption { position: absolute; right: 0; bottom: 0; width: 9.5rem; padding: 1rem 1rem 1.1rem; background: var(--band); color: var(--ink); font: 800 .74rem/1.55 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.today-photo figcaption::after { content: ""; display: block; width: 28px; height: 3px; background: var(--brand-blue); margin-top: .5rem; }

/* ---------- question card */
.feed { min-height: 330px; }
.q-card, .q-card.card { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; position: relative; }
.q-meta { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: 0 0 .7rem; }
.q-meta-sep { color: var(--muted); }
/* 4 Oct 2026 audit: the category link is a 44px tap target; the negative margin keeps the meta row 24px tall. */
.q-cat { color: inherit; text-decoration: none; min-height: 44px; min-width: 44px; margin-block: -10px; display: inline-flex; align-items: center; }
.q-cat:hover { text-decoration: underline; }
.q-text { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 1.15rem + 2.9vw, 3.1rem); line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 1.4rem; text-wrap: pretty; max-width: 22ch; }
.q-results .q-text { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.45rem); max-width: 28ch; margin-bottom: 1.1rem; }
.q-options { display: grid; gap: .7rem; }
.q-options-2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .q-options-2 { grid-template-columns: 1fr; gap: .75rem; } }
.q-choice { border-radius: var(--radius-sm); font-family: var(--font-cond); font-weight: 700; font-size: 1.35rem; text-transform: none; min-height: 60px; border: 1.5px solid var(--line-strong); background: var(--no-bg); }
.q-choice:hover { border-color: var(--cta); background: var(--accent-soft); }
.q-options-2 .q-choice { justify-content: center; min-height: clamp(62px, 9vw, 86px); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.2rem); text-transform: uppercase; letter-spacing: .03em; }
.q-options-2 .q-choice .choice-key { display: none; }
.q-options-2 .q-choice:first-child { background: var(--cta); color: #ffffff; border-color: var(--cta); }
.q-options-2 .q-choice:first-child:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.q-options-2 .q-choice:last-child { border: 2px solid var(--line-strong); color: var(--ink); }
.q-options-2 .q-choice:last-child:hover { border-color: var(--ink); background: var(--surface); }
.q-count { margin: .8rem 0 0; font-size: 1.05rem; color: var(--ink); }
.q-count strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.q-agree { display: inline-block; margin-left: .6rem; padding-left: .6rem; border-left: 1px solid var(--line-strong); color: var(--muted); }
@media (max-width: 560px) { .q-agree { display: block; margin: .15rem 0 0; padding: 0; border: 0; } }
.q-foot { margin: 1.1rem 0 0; }
.q-report a { display: inline-flex; align-items: center; min-height: 44px; }
.q-peek { min-height: 48px; }
.q-card.is-busy { opacity: .7; pointer-events: none; }

/* ---------- results */
.q-results.is-full { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .q-results.is-full { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: 3.5rem; } }
.res-main, .res-side { min-width: 0; }
.bars { gap: .75rem; }
.bar { min-height: 62px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); overflow: hidden; }
.bar-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.1rem; }
.bar > .bar-row { position: relative; inset: auto; width: 100%; min-height: 62px; }
.bar .bar-label, .bar .bar-value { padding: 0; }
.bar-label { font-weight: 700; font-size: 1.1rem; }
.bar-value { font-family: var(--font-cond); font-weight: 700; font-size: 1.7rem; }
.bar-ink { position: absolute; inset: 0; background: var(--bar-dim); color: var(--ink); clip-path: inset(0 calc(100% - var(--pct)) 0 0); transition: clip-path .8s cubic-bezier(.2,.8,.2,1); }
.bar.is-lead .bar-ink { background: var(--cta); color: #ffffff; }
.bar.is-lead .bar-ink .bar-tag { color: #ffffff; }
/* 9 Oct audit round 2: on a non-lead bar the accent "You" tag sat on --bar-dim at 4.48:1 (light) and 3.88:1 (dark);
   it takes the bar's own ink, as the label beside it does. */
.bar:not(.is-lead) .bar-ink .bar-tag { color: var(--ink); }
.bar.is-mine { box-shadow: inset 0 0 0 2px var(--cta); }
.bar-tag { font-family: var(--font-body); }
@media (prefers-reduced-motion: no-preference) { .bars.is-animating .bar-ink { clip-path: inset(0 100% 0 0); } .bars.is-animating .meter-fill { width: 0; } }

.by-age { margin-top: 2rem; }
.by-age .eyebrow { margin: 0; }
.by-age-note { margin: .15rem 0 .8rem; }
.meters { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.meter-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 3rem; gap: 1rem; align-items: center; font-variant-numeric: tabular-nums; }
.meter-band { color: var(--ink); }
.meter { height: 14px; background: var(--surface-2); border-radius: 3px; overflow: hidden; display: block; }
.meter-fill { display: block; height: 100%; width: var(--pct); background: var(--cta); border-radius: 3px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.meter-val { text-align: right; font-weight: 700; }
.by-age-empty, .country-line { margin-top: 1.25rem; }
.trend-block { margin-top: 2rem; }
.trend { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-top: .6rem; }
.trend-col { flex: 1; height: 100%; display: flex; align-items: flex-end; background: var(--surface-2); border-radius: 2px; }
.trend-bar { width: 100%; background: var(--cta); border-radius: 2px; }

.q-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: .75rem; margin-top: 1.5rem; }
.q-report { margin: .9rem 0 0; }
.q-report a { color: var(--muted); }

.res-side .eyebrow { margin: 0 0 .6rem; }
.share-preview { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.btn-copy { --b: var(--surface-2); --i: var(--ink); justify-content: flex-start; margin-top: .6rem; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; min-height: 48px; }
.also { margin-top: 1.5rem; }
.row-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; }
.row-link:hover { border-color: var(--cta); }
.chev { flex: none; color: var(--ink); }

/* ---------- explore grid, lists, topics */
.q-grid, .topic-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .q-grid, .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .q-grid, .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.q-tile, .topic { display: flex; align-items: center; gap: .9rem; height: 100%; min-height: 88px; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .12s ease; }
.q-tile:hover, .topic:hover { border-color: var(--cta); }
.q-tile-body { flex: 1; min-width: 0; display: grid; gap: .2rem; }
.tile-cat { font-weight: 800; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.q-tile-title { font-size: .95rem; line-height: 1.35; }
.topic { display: grid; align-content: start; gap: .35rem; }
.topic .tile-cat { font-size: .78rem; }
.topic-blurb { font-size: .95rem; line-height: 1.4; }
.topic-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; margin-top: .2rem; }

.tile-list { gap: .5rem; }
.tile { display: flex; align-items: center; gap: .9rem; padding: .75rem 1rem; border-radius: var(--radius-sm); box-shadow: none; }
.tile:hover { border-color: var(--cta); transform: none; }
.tile-body { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.tile-title { font-weight: 600; font-size: 1rem; margin: 0; line-height: 1.35; }
.tile-meta { font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .page-lists .tile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { border-radius: var(--radius-sm); }
a.pill { color: var(--ink); background: var(--surface); border-color: var(--line); font-weight: 600; }
a.pill:hover { border-color: var(--cta); }
.pill-on, a.pill.pill-on { background: var(--cta); color: #ffffff; border-color: var(--cta); }
.topics-strip .section-title { margin-bottom: .9rem; }
.ask-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: clamp(1.25rem, 3vw, 2rem); background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); }
.ask-cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: .1rem 0 .3rem; }
.ask-cta p { margin: 0; }

/* ---------- feed extras */
.feed-controls { margin: .9rem 0 0; }
.skip-link-btn { min-height: 44px; color: var(--muted); font-size: .9rem; }
.age-prompt { margin-top: 1.25rem; border-radius: var(--radius-sm); }
.age-prompt p { margin: 0 0 .5rem; }
.q-page { display: grid; gap: 1.25rem; }
.q-about { margin: 2rem 0 0; max-width: 70ch; }

/* ---------- forms and cards on text pages */
.card, .card-flat, .stat { border-radius: var(--radius); box-shadow: none; }
input[type="text"], input[type="password"], input:not([type]), select, textarea { border-radius: var(--radius-sm); }

/* ---------- footer */
.site-footer { background: var(--surface); font-size: .88rem; }
.footer-nav a { color: var(--ink); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .q-card.is-entering { animation: q-in .28s cubic-bezier(.2,.8,.2,1); }
  @keyframes q-in { from { opacity: 0; transform: translateY(10px); } }
}
.site-footer .wrap { max-width: var(--wrap-wide); }
/* Questions you have sent (Ask page) and plain empty states. */
.sent-list { margin-top: 2rem; }
.sent-list .tile { cursor: default; }
.sent-list a.tile { cursor: pointer; }
.empty-state { margin: 1.5rem 0; }
.empty-state p + p { margin-top: .5rem; }
/* The kit's .check label is 40px; the whole label is the tap target for its radio or box, so make it 44px here. */
.check { min-height: 44px; }
