/* HelpHeadlines v7.2. Flat by design: no shadows, no gradients, no hover states, no transitions.
   The only motion is the skeleton's opacity pulse, which stops for people who ask for reduced motion.
   Type: Archivo (variable width and weight), with system fallbacks. Headlines use the wide setting. */

:root {
  --hh-paper: #ffffff;
  --hh-ink: #0c0c0c;
  --hh-muted: #4b4f55;
  --hh-rule: #cdd1d6;
  --hh-soft: #eef0f2;
  --hh-skel: #e4e7ea;
  --hh-accent: #acd219;
  --hh-foot-bg: #0c0c0c;
  --hh-foot-ink: #f4f5f6;
  --hh-foot-muted: #b4b9bf;
  --hh-wrap: 1200px;
  --hh-read: 720px;
  --hh-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hh-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --hh-wide: 112%;
}

[data-theme="dark"] {
  --hh-paper: #0d0e10;
  --hh-ink: #f4f5f6;
  --hh-muted: #b0b5bb;
  --hh-rule: #3a3d43;
  --hh-soft: #1b1d21;
  --hh-skel: #26292e;
  --hh-foot-bg: #050506;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--hh-paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hh-paper);
  color: var(--hh-ink);
  font: 16px/1.5 var(--hh-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; font-stretch: var(--hh-wide); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
mark { background: #fff08a; color: #0c0c0c; padding: 0 2px; }
strong { font-weight: 800; }

:focus-visible { outline: 3px solid var(--hh-ink); outline-offset: 3px; }
[data-hh-focus]:focus { outline: none; }

.hh-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hh-skip {
  position: absolute; left: 12px; top: 8px; z-index: 50;
  padding: 8px 12px; background: var(--hh-paper); color: var(--hh-ink);
  border: 3px solid var(--hh-ink); transform: translateY(-160%);
}
.hh-skip:focus { transform: none; }

.hh-wrap { max-width: var(--hh-wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- masthead: always white, so the logo always shows on its own background */
.hh-masthead { background: var(--hh-paper); border-bottom: 1px solid var(--hh-rule); }
.hh-masthead__in { display: flex; align-items: center; gap: 36px; padding-top: 22px; padding-bottom: 22px; }
.hh-brand {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  font-size: 30px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; text-decoration: none;
  font-stretch: var(--hh-wide); white-space: nowrap; color: var(--hh-ink);
}
.hh-brand img { height: 44px; width: auto; }
.hh-masthead .hh-search { flex: 1; max-width: 680px; }

/* ---------- search box */
.hh-search { position: relative; }
.hh-search__box {
  display: flex; align-items: stretch;
  border: 3px solid var(--hh-ink); border-radius: 0; background: var(--hh-paper);
}
.hh-search input[type="search"] {
  flex: 1; min-width: 0; margin: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--hh-ink);
  font: inherit; font-size: 16px; font-weight: 500; padding: 13px 16px;
  -webkit-appearance: none; appearance: none;
}
.hh-search input[type="search"]:focus { outline: none; }
.hh-search input[type="search"]::placeholder { color: var(--hh-muted); opacity: 1; }
.hh-search:focus-within .hh-search__box { outline: 3px solid var(--hh-ink); outline-offset: 3px; }
.hh-search__btn {
  margin: 0; border: 0; border-radius: 0;
  background: var(--hh-ink); color: var(--hh-paper);
  font: 800 16px/1 var(--hh-sans); letter-spacing: 0; padding: 0 26px; cursor: pointer;
  font-stretch: var(--hh-wide);
}

.hh-suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  max-height: 380px; overflow: auto;
  background: var(--hh-paper); border: 3px solid var(--hh-ink); border-top: 0;
}
.hh-suggest[hidden] { display: none; }
.hh-suggest li { border-top: 1px solid var(--hh-rule); }
.hh-suggest li:first-child { border-top: 0; }
.hh-suggest a { display: block; padding: 13px 16px; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.hh-suggest a:focus-visible { outline-offset: -3px; }

/* ---------- category bar: solid ink on every page; the current category has a lime underline */
.hh-cats-bar { background: var(--hh-ink); color: #ffffff; }
.hh-cats-bar__in { padding-left: 28px; padding-right: 28px; }
.hh-cats { display: flex; flex-wrap: wrap; }
.hh-cats a {
  display: block; padding: 16px 18px 13px; font-size: 16px; font-weight: 700; text-decoration: none;
  color: #ffffff; border-bottom: 4px solid transparent; font-stretch: var(--hh-wide);
}
.hh-cats a[aria-current="page"] { border-bottom-color: var(--hh-accent); }
.hh-cats-bar :focus-visible { outline-color: #ffffff; outline-offset: -3px; }
.hh-cats-bar .hh-cats li:first-child a { padding-left: 0; }

/* ---------- home: hero, lead story and list */
.hh-hero { padding-top: 72px; padding-bottom: 56px; border-bottom: 3px solid var(--hh-ink); }
.hh-hero__title {
  font-size: clamp(42px, 6.4vw, 88px); font-weight: 900; letter-spacing: -0.04em; line-height: 0.96;
  font-stretch: var(--hh-wide); max-width: 15ch; margin: 0 0 40px;
}
.hh-hero .hh-search { max-width: 800px; }
.hh-hero .hh-search input[type="search"] { font-size: 20px; padding: 18px 20px; }
.hh-hero .hh-search__btn { font-size: 17px; padding: 0 36px; }
.hh-hero .hh-suggest { border-color: var(--hh-ink); }
/* The hero box is already ink-bordered and autofocused, so it does not get a second ring. */
.hh-hero .hh-search:focus-within .hh-search__box { outline: none; }

.hh-home__latest { padding-top: 56px; padding-bottom: 88px; }
.hh-h2, .hh-section {
  font-size: 30px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; font-stretch: var(--hh-wide);
  margin: 0 0 28px;
}
.hh-lead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.hh-lead-grid__lead { border-top: 4px solid var(--hh-ink); padding-top: 24px; }
.hh-lead-grid__list { border-top: 4px solid var(--hh-ink); padding-top: 0; }
.hh-lead-grid .hh-results { border-top: 0; }
.hh-lead-grid .hh-result { padding: 22px 0; gap: 0; }
.hh-lead-grid .hh-result__media { display: none; }
.hh-lead-grid .hh-result__title { font-size: 21px; }
.hh-lead-grid .hh-result__excerpt { display: none; }
.hh-lead { display: block; }
.hh-lead__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hh-soft); margin-bottom: 24px; }
.hh-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.hh-lead__title { font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin: 12px 0 18px; }
.hh-lead__title a { text-decoration: none; }
.hh-lead__excerpt { font-size: 18px; line-height: 1.55; color: var(--hh-muted); max-width: 58ch; }

/* ---------- results */
.hh-page { padding-top: 48px; padding-bottom: 80px; }
.hh-h1 { font-size: 44px; font-weight: 900; letter-spacing: -0.035em; margin: 0 0 10px; line-height: 1.02; font-stretch: var(--hh-wide); }
.hh-summary { color: var(--hh-muted); font-size: 16px; margin: 0 0 28px; }

.hh-results { border-top: 3px solid var(--hh-ink); }
.hh-result {
  display: flex; align-items: flex-start; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hh-rule);
}
.hh-result__body { flex: 1; min-width: 0; }
.hh-result__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
  font-size: 14px; line-height: 1.4; color: var(--hh-muted); margin: 0 0 12px;
}
.hh-result__source { color: var(--hh-ink); font-weight: 800; }
.hh-result__cat { color: var(--hh-ink); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--hh-accent); }
.hh-fav { width: 16px; height: 16px; flex: 0 0 16px; }
.hh-result__title { font-size: 26px; font-weight: 800; line-height: 1.16; letter-spacing: -0.025em; margin: 0 0 12px; font-stretch: var(--hh-wide); }
.hh-result__title a { text-decoration: none; }
.hh-result__excerpt { font-size: 17px; line-height: 1.55; color: var(--hh-muted); }
.hh-result__media { flex: 0 0 216px; width: 216px; height: 136px; overflow: hidden; background: var(--hh-soft); }
.hh-result__media img { width: 100%; height: 100%; object-fit: cover; }

.hh-pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 22px; border-top: 3px solid var(--hh-ink); font-size: 16px; font-weight: 700;
}
.hh-pager > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hh-pager__off { color: var(--hh-muted); }
.hh-pager__list { display: flex; flex-wrap: wrap; gap: 0; border: 3px solid var(--hh-ink); }
.hh-pager__list li + li { border-left: 3px solid var(--hh-ink); }
.hh-pager__list a {
  display: block; min-width: 46px; padding: 10px 12px; text-align: center; text-decoration: none;
}
.hh-pager__list a[aria-current="page"] { background: var(--hh-ink); color: var(--hh-paper); }
.hh-pager__gap { display: block; padding: 10px 10px; color: var(--hh-muted); }

.hh-ad { margin: 36px 0; min-height: 0; }

/* ---------- buttons */
.hh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 30px;
  background: var(--hh-ink); color: var(--hh-paper);
  border: 3px solid var(--hh-ink); border-radius: 0;
  font: 800 16px/1.2 var(--hh-sans); text-decoration: none; font-stretch: var(--hh-wide);
}
.hh-btn--ghost { background: transparent; color: var(--hh-ink); }
.hh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- story, blog post and static page */
.hh-article { max-width: var(--hh-read); margin: 0 auto; padding: 44px 28px 88px; }
.hh-crumbs { font-size: 14px; font-weight: 600; color: var(--hh-muted); margin-bottom: 24px; }
.hh-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.hh-crumbs li + li::before { content: "/"; margin-right: 8px; }
.hh-crumbs a { text-decoration: underline; text-underline-offset: 3px; color: var(--hh-ink); }
.hh-article__title { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 900; margin: 0 0 24px; font-stretch: var(--hh-wide); }
.hh-article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
  font-size: 15px; color: var(--hh-muted); padding: 16px 0; margin-bottom: 36px;
  border-top: 3px solid var(--hh-ink); border-bottom: 1px solid var(--hh-rule);
}
.hh-figure { margin: 0 0 40px; }
.hh-figure img { width: 100%; height: auto; max-height: 620px; object-fit: cover; }
.hh-body { font: 20px/1.72 var(--hh-serif); }
.hh-body p { margin: 0 0 1.2em; }
.hh-body h2, .hh-body h3 { font-family: var(--hh-sans); font-weight: 800; margin: 1.8em 0 0.6em; letter-spacing: -0.02em; }
.hh-body a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hh-body img { height: auto; margin: 1.2em 0; }
.hh-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 6px solid var(--hh-accent); font-weight: 600; }
.hh-body ul, .hh-body ol { list-style: revert; padding-left: 1.4em; margin: 0 0 1.2em; }

.hh-source {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 44px 0; padding: 26px; background: var(--hh-soft); border-left: 6px solid var(--hh-accent);
}
.hh-source p { font-size: 16px; color: var(--hh-ink); }
.hh-source p a { color: var(--hh-ink); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; margin-left: 8px; }

.hh-stepnav { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--hh-ink); border-bottom: 1px solid var(--hh-rule); font-size: 16px; }
.hh-stepnav > div { padding: 24px 0; }
.hh-stepnav > div + div { padding-left: 32px; border-left: 1px solid var(--hh-rule); }
.hh-stepnav a { font-weight: 800; text-decoration: none; line-height: 1.3; display: inline-block; margin-top: 8px; }
.hh-stepnav .hh-section { margin-bottom: 0; }
.hh-error__code { font-size: 14px; font-weight: 800; color: var(--hh-muted); margin: 40px 0 10px; font-variant-numeric: tabular-nums; }

/* ---------- footer: solid ink; legacy pages in one horizontal row, then the legal line */
.hh-foot { background: var(--hh-foot-bg); color: var(--hh-foot-ink); padding: 36px 0 40px; font-size: 15px; }
.hh-foot__pages ul { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.hh-foot__pages a { color: var(--hh-foot-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hh-foot__legal { font-size: 14px; color: var(--hh-foot-muted); }
.hh-foot__legal a { color: var(--hh-foot-ink); }
.hh-foot__pages + .hh-foot__legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid #3a3d43; }

/* ---------- skeleton (shown while a search loads) */
.hh-skel .hh-skel__line { background: var(--hh-skel); animation: hh-pulse 1.1s ease-in-out infinite; }
.hh-skel__h { height: 44px; width: 300px; margin: 48px 0 14px; }
.hh-skel__sum { height: 14px; width: 180px; margin-bottom: 32px; }
.hh-skel__row { display: flex; align-items: flex-start; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hh-rule); }
.hh-skel__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hh-skel__meta { height: 12px; width: 34%; }
.hh-skel__title { height: 24px; width: 86%; }
.hh-skel__title2 { height: 24px; width: 58%; }
.hh-skel__ex { height: 13px; width: 94%; }
.hh-skel__media { flex: 0 0 216px; width: 216px; height: 136px; }
@keyframes hh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
  .hh-skel .hh-skel__line { animation: none; }
}

/* ---------- medium screens */
@media (max-width: 960px) {
  .hh-lead-grid { grid-template-columns: 1fr; gap: 48px; }
  .hh-result__media, .hh-skel__media { flex-basis: 160px; width: 160px; height: 104px; }
}

/* ---------- small screens */
@media (max-width: 720px) {
  .hh-wrap, .hh-cats-bar__in, .hh-article { padding-left: 20px; padding-right: 20px; }
  .hh-masthead__in { flex-wrap: wrap; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
  .hh-masthead .hh-search { flex: 1 1 100%; max-width: none; }
  .hh-brand { font-size: 26px; }
  .hh-brand img { height: 36px; }
  .hh-hero { padding-top: 48px; padding-bottom: 40px; }
  .hh-hero__title { font-size: 44px; margin-bottom: 28px; }
  .hh-hero .hh-search input[type="search"] { font-size: 17px; padding: 15px 16px; }
  .hh-hero .hh-search__btn { padding: 0 20px; font-size: 16px; }
  .hh-cats-bar { overflow: hidden; }
  .hh-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hh-cats::-webkit-scrollbar { display: none; }
  .hh-cats li { flex: 0 0 auto; }
  .hh-cats a { padding: 15px 14px 12px; font-size: 15px; white-space: nowrap; }
  .hh-cats-bar .hh-cats li:first-child a { padding-left: 0; }
  .hh-home__latest { padding-top: 40px; padding-bottom: 64px; }
  .hh-h2, .hh-section { font-size: 26px; }
  .hh-result { gap: 16px; padding: 22px 0; }
  .hh-result__media, .hh-skel__media { flex-basis: 96px; width: 96px; height: 68px; }
  .hh-result__title { font-size: 21px; }
  .hh-result__excerpt { font-size: 16px; }
  .hh-h1 { font-size: 34px; }
  .hh-body { font-size: 18px; }
  .hh-stepnav { grid-template-columns: 1fr; }
  .hh-stepnav > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hh-rule); }
}
@media (max-width: 520px) {
  .hh-result__media, .hh-skel__media { display: none; }
  .hh-search__btn { padding: 0 14px; }
}
