/* The front page: black ground and white type, like the survey's opening screen. */
:root {
  --red: #cc0000;
  --red-deep: #8f0000;
  --ink: #000;
  --paper: #fff;
  --dim: #b5b5b8;
  --rule: #3a3a3c;
  --font: "Avenir Next", "Avenir", "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 22px;
  --max: 620px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55;
  background: var(--ink); color: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--ink); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; min-height: 56px; }
.back {
  display: inline-flex; align-items: center; min-height: 48px;
  font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.back::before { content: "←"; margin-right: 8px; color: var(--red); font-size: 16px; letter-spacing: 0; }

/* head: the survey's landing title */
.head { padding: 34px 0 10px; }
.logo { display: block; width: 170px; height: auto; margin: 4px 0 36px; }
.mega { font-weight: 900; text-transform: uppercase; letter-spacing: .025em; line-height: .9; margin: 0 0 26px; }
.mega .l1 { display: block; font-size: clamp(44px, 13vw, 84px); }
.mega .l2 {
  display: block; font-size: clamp(78px, 23vw, 150px); letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 3px var(--paper); margin-top: 4px;
}
.kicker { font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.kicker .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 1px; }

/* groups and questions */
.group {
  font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin: 44px 0 12px;
}
.faq { border-top: 3px solid var(--paper); }
details { border-bottom: 1px solid var(--rule); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 17px 0; font-weight: 800; font-size: 19px; line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 22px; text-align: center;
  color: var(--red); font-weight: 900; font-size: 26px; line-height: 1;
}
details[open] > summary::after { content: "−"; }
summary:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.a { padding: 0 0 20px; }
.a p { margin: 0 0 14px; }
.a p:last-child { margin-bottom: 0; }
.a a { color: var(--paper); font-weight: inherit; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* lists of names */
.names h3 { font-weight: 900; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 22px 0 8px; }
.names ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; line-height: 1.4; }
.names li { padding: 3px 0; }
.names li span { color: var(--dim); }
.names li.firm { font-weight: 800; padding-top: 12px; }
.names li.firm:first-child { padding-top: 4px; }

/* contact form */
.noteform label { display: block; font-weight: 800; font-size: 15px; margin: 0 0 6px; }
.noteform .opt { font-weight: 400; color: var(--dim); }
.noteform textarea, .noteform input[type=text], .noteform input[type=email] {
  display: block; width: 100%; font: inherit; font-size: 16px; padding: 12px; margin: 0 0 18px;
  border: 3px solid var(--paper); border-radius: 3px; background: var(--paper); color: var(--ink);
}
.noteform textarea:focus, .noteform input:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 8px; }
.status { min-height: 1.4em; margin: 8px 0 14px; font-weight: 700; color: #ff6b6b; }
.status.ok { color: var(--paper); }
.btn {
  display: block; width: 100%; border: 0; cursor: pointer; font-family: inherit;
  font-weight: 900; font-size: 17px; letter-spacing: .12em; text-transform: uppercase;
  padding: 18px; border-radius: 4px; background: var(--red); color: var(--paper);
  box-shadow: 0 6px 0 var(--red-deep); transition: transform .06s, box-shadow .06s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--red-deep); }
.btn[disabled] { opacity: .5; cursor: default; }

.foot { margin-top: 40px; padding: 0 0 calc(34px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--dim); }
.foot p { margin: 0; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.foot .quiet { flex: none; color: var(--rule); font-size: 12px; font-weight: 700; text-decoration: none; padding: 2px 0 8px 12px; }
.foot .srclink { margin-top: 8px; }
.foot .srclink + .srclink { margin-top: 4px; }
.foot .srclink a { color: var(--dim); font-weight: 400; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.foot .quiet:hover, .foot .quiet:focus-visible { color: var(--dim); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- notes page: set like a report's endnotes ---------- */
.doc { font-size: 15px; line-height: 1.55; }
.dochead { padding: 28px 0 6px; border-bottom: 3px solid var(--paper); margin-bottom: 8px; }
.logo.sm { width: 120px; margin: 0 0 24px; }
.dochead h1 { font-weight: 900; text-transform: uppercase; letter-spacing: .02em; font-size: 28px; line-height: 1.05; margin: 12px 0 18px; }
.qnotes { padding: 22px 0 6px; border-bottom: 1px solid var(--rule); }
.qnotes:last-child { border-bottom: 0; }
.qnotes h2 { font-weight: 900; font-size: 16px; line-height: 1.3; margin: 0 0 12px; display: flex; gap: 10px; }
.qnotes .num { color: var(--red); flex: none; min-width: 1em; }
.note { margin: 0 0 18px; padding-left: calc(1em + 10px); }
.note p { margin: 0 0 8px; }
.cites { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.45; color: var(--dim); }
.cites li { margin: 0 0 6px; overflow-wrap: anywhere; }
.cites a { color: var(--dim); text-decoration-color: var(--rule); text-underline-offset: 2px; }
.cites a:hover, .cites a:focus-visible { color: var(--paper); text-decoration-color: var(--red); }
.loading { color: var(--dim); font-style: italic; }
.foot a { color: var(--paper); }
.homelink { display: inline-block; margin: 0 0 14px; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--paper); }
.homelink::after { content: " →"; color: var(--red); }
.toplink { display: inline-block; margin: 0 0 22px; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--paper); }
.toplink::before { content: "← "; color: var(--red); }

/* ---------- back to the survey (phones only) ---------- */
.backlink { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--paper); padding: 6px 0; }
.backlink::before { content: "← "; color: var(--red); }
.head > .backlink, .dochead > .backlink { display: block; margin: -6px 0 22px; }
.qnotes .backlink { margin: 0 0 16px 25px; }
.mobile-only, .mobile-block { display: none !important; }
@media (max-width: 700px) {
  .mobile-only { display: inline-block !important; }
  .head > .mobile-only, .dochead > .mobile-only { display: block !important; }
  .desktop-only { display: none !important; }
  .mobile-block { display: block !important; }
}
