/* ============================================================
   ARTICLE / LONG-FORM GUIDE LAYOUT
   ------------------------------------------------------------
   A plain reading column for guide pages that should read like
   an article, not a landing page. No cards, no grids, no boxes —
   headings, paragraphs and lists in one measured column.

   Uses the "embassy paper" tokens from styles.css (paper/ink,
   Fraunces display, IBM Plex Mono labels). Light theme only,
   matching the site's `color-scheme: only light`.
   ============================================================ */

.article {
  /* ~68-72 characters per line at the body size below */
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem clamp(3rem, 8vw, 5rem);
}

/* ---------- article header ---------- */

.article-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1.5px solid var(--line);
}

.article-kicker {
  margin-bottom: 0.9rem;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article h1 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* ---------- body copy ---------- */

.article p,
.article li {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--muted);
}

.article p { margin-bottom: 1.25rem; }

.article > p:last-child { margin-bottom: 0; }

.article-lead {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  color: var(--ink-70) !important;
}

.article strong {
  color: var(--ink);
  font-weight: 600;
}

.article em { font-style: italic; }

.article a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article a:hover { color: var(--primary-dark); }

/* ---------- headings ---------- */

.article h2 {
  margin-top: 3.25rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* a short rubber-stamp rule above each major heading */
.article h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 1.1rem;
  background: var(--red);
}

.article h3 {
  margin-top: 2.1rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article h2 + h3 { margin-top: 1.5rem; }

/* ---------- lists ---------- */

.article ul,
.article ol {
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
}

.article ul { list-style: disc; }
.article ol { list-style: decimal; }

.article li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.article li:last-child { margin-bottom: 0; }

.article li::marker { color: var(--red); font-weight: 600; }

/* ---------- the one callout this page needs ---------- */

.article-note {
  margin: 1.75rem 0;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 3px solid var(--red);
}

.article-note p { margin-bottom: 0.75rem; }
.article-note p:last-child { margin-bottom: 0; }

/* ---------- inline step sequence (Book OFC -> ... -> Start again) ---------- */

.article-sequence {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem !important;
  line-height: 1.9 !important;
  color: var(--ink-70) !important;
}

/* ---------- FAQ inside the article ---------- */

.article-faq h3 {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.article-faq h3:first-of-type {
  padding-top: 0;
  border-top: none;
}

/* ---------- closing call to action ---------- */

.article-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.article-related {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1.5px solid var(--line);
}

.article-related p.article-related-label {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.article-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related li {
  margin-bottom: 0.5rem;
  padding-left: 0;
  font-size: 1rem;
}
