@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #f3f1e9;
  --text: #22272d;
  --muted: #535c65;
  --accent: #963c0b;
  --border: #d5d2c8;
  --body: system-ui, sans-serif;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --space: 2rem;
  --pad: 1.5rem;
  --max: 74rem;
  --reading: 47rem;
  --ink: #161b22;
  --gold: #ffb548;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
body {
  font-size: 1.04rem;
}
a {
  text-underline-offset: 4px;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  letter-spacing: -0.025em;
  margin: 0.35em 0;
}
h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
}
h3 {
  font-size: 1.45rem;
}
p {
  margin: 0.8rem 0 1.2rem;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
summary,
input {
  touch-action: manipulation;
}
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b54c10;
  outline-offset: 4px;
}
.masthead {
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid #454746;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}
.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.9rem;
  white-space: nowrap;
}
.brand img {
  width: 42px;
  height: 42px;
}
.desktop {
  display: flex;
  gap: 2rem;
}
.desktop a,
.mobile a {
  color: #fff;
  text-decoration: none;
}
.desktop a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
}
.mobile {
  display: none;
}
.mobile summary {
  padding: 0.7rem;
  cursor: pointer;
}
.mobile nav {
  display: grid;
  gap: 0.75rem;
  padding: 0.8rem 0;
}
.skip {
  background: var(--gold);
  color: var(--ink);
  z-index: 5;
  padding: 0.6rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
}
.hero {
  background: var(--ink);
  color: white;
  padding: 3.4rem 0 4rem;
}
.hero .eyebrow {
  color: var(--gold);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  max-width: 10ch;
}
.hero p {
  color: #d1d7de;
  max-width: 45ch;
}
.hero-visual {
  margin: 0;
}
.hero-visual img {
  display: block;
  width: 100%;
  border: 2px solid #65717c;
}
.hero-visual figcaption {
  color: #d1d7de;
  margin-top: 0.7rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0;
}
.button {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--gold);
}
.button.secondary {
  background: transparent;
  color: white;
  border-color: #89949e;
}
.statusline {
  background: #e6e2d7;
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  color: #3d454e;
  font-size: 0.88rem;
}
.home-body {
  padding: 2rem 0 3.5rem;
}
.task-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.task {
  background: #fffdf6;
  border-top: 4px solid #b34d16;
  padding: 1.5rem 1.8rem;
}
.task h3 {
  font-size: 2rem;
  margin: 0.2rem 0;
}
.task a {
  font-weight: 700;
}
.section-intro {
  max-width: 65ch;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.platforms a {
  padding: 0.5rem 0;
}
.article-head {
  max-width: var(--reading);
  margin: 2.8rem auto 1rem;
}
.article-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 20ch;
}
.answer {
  font-size: 1.17rem;
}
.meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.toc {
  max-width: var(--reading);
  margin: 1.2rem auto;
  border-block: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.93rem;
}
.prose {
  margin: auto;
  padding-top: 0.5rem;
}
.prose > figure {
  margin: 1.8rem 0;
}
.prose figure img {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid var(--border);
}
figcaption {
  margin-top: 0.5rem;
}
.note {
  border-left: 4px solid #aa4d13;
  background: #ebe6d9;
  padding: 0.8rem 1.2rem;
  margin: 1.3rem 0;
}
.table-wrap {
  width: 100%;
  margin: 1.5rem 0;
}
table {
  font-size: 0.93rem;
  background: #fffdf7;
}
th {
  background: #e3dfd4;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
th,
td {
  vertical-align: top;
  padding: 0.8rem 0.9rem;
}
td:first-child {
  font-weight: 650;
}
code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.copy {
  font-size: 0.8rem;
  background: #f3e0bc;
  color: #272d32;
  border: 1px solid #bdad90;
  padding: 0.3rem 0.6rem;
  margin-top: 0.3rem;
}
.copy-status {
  min-height: 1.8em;
  color: #535c65;
  font-size: 0.85rem;
}
.search-label {
  display: block;
  font-weight: 700;
  margin-top: 1rem;
}
.filter {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #929a9d;
  background: #fffdf8;
  margin: 0.4rem 0 0.75rem;
}
.sources {
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 2.8rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-content: flex-start;
}
.footer-inner p {
  font-size: 0.85rem;
  max-width: 55ch;
  margin: 0.5rem 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.question {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0;
}
.question summary {
  font-weight: 700;
  cursor: pointer;
}
.question p {
  margin-bottom: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .header-inner {
    align-items: flex-start;
    padding-block: 1rem;
    min-height: 78px;
  }
  .brand {
    font-size: 1.5rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .mobile {
    max-width: 50%;
  }
  .hero {
    padding: 2rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero h1 {
    max-width: 13ch;
  }
  .task-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .article-head {
    margin-top: 2rem;
  }
  .prose {
    max-width: 100%;
  }
  h2 {
    font-size: 1.9rem;
  }
}
@media (max-width: 420px) {
  :root {
    --pad: 1rem;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .task {
    padding: 1.2rem;
  }
  .actions .button {
    width: 100%;
    text-align: center;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
}
.capture-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.capture-scroll:focus-visible {
  outline: 3px solid #b54c10;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .capture-scroll img {
    min-width: 900px;
  }
  .copy {
    padding: 0.5rem 0.8rem;
  }
  td code {
    font-size: 1rem;
  }
}
