/* Blog / long-form articles. Standalone (does not load manifestation.css)
   but shares the brand tokens: red, ink, paper, Helvetica Neue + Leo. */
@font-face {
  font-family: "Leo Hates School";
  src: url("/assets/fonts/leo-hates-school.woff2") format("woff2"),
       url("/assets/fonts/leo-hates-school.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e4002b;
  --ink: #121212;
  --paper: #f5f0e8;
  --white: #ffffff;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.12em; }

/* ---- header ---- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 48px);
  background: var(--red);
  color: var(--white);
}
.top a { color: var(--white); text-decoration: none; }
.top__brand { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; }
.top__nav { display: flex; gap: 22px; font-weight: 700; font-size: 14px; }
.top__nav a:hover { text-decoration: underline; }

/* ---- article ---- */
.article {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(36px, 7vh, 72px) 20px clamp(60px, 10vh, 110px);
}

.crumbs { font-size: 14px; font-weight: 700; margin: 0 0 22px; opacity: 0.7; }
.crumbs a { color: var(--ink); }

.article h1 {
  font-weight: 800;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.article h1 .leo { font-family: "Leo Hates School", var(--sans); font-weight: normal; color: var(--red); }

.meta { font-size: 14px; font-weight: 700; opacity: 0.65; margin: 0 0 34px; }

.lede { font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; line-height: 1.4; margin: 0 0 30px; }

.article h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: clamp(44px, 7vh, 64px) 0 16px;
}
.article h3 {
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.2;
  margin: 34px 0 10px;
}
.article h3 .num { color: var(--red); margin-right: 6px; }

.article p, .article li { margin: 0 0 18px; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin-bottom: 10px; }

.article strong { font-weight: 800; }
.hl { color: var(--red); font-weight: 800; }

.pull {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--red);
  background: rgba(228, 0, 43, 0.06);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.4;
}

.table-wrap { overflow-x: auto; margin: 26px 0; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 2px solid rgba(18, 18, 18, 0.1); vertical-align: top; }
th { text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; font-weight: 800; opacity: 0.7; }

/* ---- CTA box ---- */
.cta {
  margin: clamp(44px, 7vh, 64px) 0;
  padding: clamp(28px, 4vw, 40px);
  background: var(--red);
  color: var(--white);
  border-radius: 22px;
  text-align: center;
}
.cta h2 { margin: 0 0 12px; color: var(--white); font-size: clamp(26px, 3.8vw, 36px); text-transform: uppercase; }
.cta p { margin: 0 0 22px; font-weight: 600; }
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 999px;
  text-decoration: none;
  border: 2.5px solid var(--white);
  background: var(--white);
  color: var(--red);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--white); }
.cta--green { background: #00843f; }
.cta--green .btn { color: #00843f; }
.cta--green .btn:hover { color: var(--white); background: transparent; }

/* ---- FAQ ---- */
.faq details { border-bottom: 2px solid rgba(18, 18, 18, 0.12); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 4px; }

/* ---- blog index ---- */
.post-list { list-style: none; padding: 0; margin: 30px 0 0; }
.post-list li { margin: 0 0 30px; }
.post-list a { text-decoration: none; color: var(--ink); }
.post-list h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.post-list h2 a:hover { color: var(--red); }
.post-list p { margin: 0; opacity: 0.85; }

/* ---- footer ---- */
.foot {
  padding: 30px 20px 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
}
.foot a { color: var(--ink); }
