/* freshpilot — shared by the 5 long-form guides. Loads after site.css.

   Third peer to content.css and legal.css, not an addition to them: a page
   loads exactly one tier-2 sheet, so anything the guides need from content.css
   has to be restated here. That is why .eyebrow, .page-hero and .cta-section
   appear below despite existing there too.

   Not restated: the @media (max-width:1000px) block content.css carries for
   .mobile-lang-row and .lang-switch. site.css:146 already sets
   .mobile-lang-row unconditionally, and .lang-switch exists only on
   index.css — so both are dead weight there and would be dead weight here. */

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

img { max-width: 100%; height: auto; display: block; }

h1 { font-size: clamp(36px, 5vw, 52px); }

/* Base only. .article-body, .article-related and .cta-section all override it;
   this exists so an h2 added outside those three never falls back to the
   browser default, which would render in the wrong scale entirely. */
h2 { font-size: clamp(26px, 3vw, 32px); }

/* ---------- Hero ---------- */

.page-hero { padding: 64px 0 24px; text-align: center; }

.page-hero h1 { max-width: 700px; margin: 0 auto 16px; }

.page-hero p {
  font-size: 18px; color: var(--bark-soft);
  max-width: 620px; margin: 0 auto; line-height: 1.65;
}

.eyebrow {
  display: inline-block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--forest); background: var(--forest-light);
  padding: 6px 18px; border-radius: var(--radius-full);
}

/* ---------- Prose ----------
   .container-narrow is 760px; with 32px of padding that leaves ~696px of text,
   which at 17px lands near 70 characters a line. That is the measure long-form
   reading wants, and it is why the guides use container-narrow rather than the
   1120px .container the product pages use. */

.article-body { font-size: 17px; color: var(--bark-soft); line-height: 1.75; }

.article-body > p + p { margin-top: 20px; }

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

/* Deliberately smaller than content.css's clamp(28px, 3.5vw, 38px). That scale
   is built for centred section headers on a 1120px page; inside a 760px column
   of running text a 38px h2 reads as a shout. */
.article-body h2 {
  font-size: 26px; color: var(--bark);
  margin: 48px 0 14px; line-height: 1.3;
}

.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 600; color: var(--bark);
  margin: 32px 0 10px; line-height: 1.4;
}

.article-body ul, .article-body ol { margin: 18px 0 18px 22px; }

.article-body li { margin-bottom: 10px; padding-left: 4px; }

.article-body li:last-child { margin-bottom: 0; }

.article-body a {
  color: var(--forest); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}

.article-body a:hover { color: var(--forest-deep); }

/* The opening paragraph. Larger, so the answer-in-the-first-150-words that
   every guide leads with is visibly the answer. */
.article-lead {
  font-size: 19px; line-height: 1.7; color: var(--bark);
  padding-bottom: 24px; margin-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

/* ---------- Callout ---------- */

.article-callout {
  background: var(--forest-light); border-radius: var(--radius-lg);
  padding: 24px 28px; margin: 32px 0;
}

.article-callout p { font-size: 16px; line-height: 1.7; color: var(--bark); }

.article-callout p + p { margin-top: 12px; }

.article-callout strong { color: var(--forest-deep); }

/* ---------- Tables ----------
   Wrapped in .article-table so a wide cost comparison scrolls inside its own
   box instead of pushing the page sideways on a phone. */

.article-table { overflow-x: auto; margin: 28px 0; }

.article-table table {
  width: 100%; border-collapse: collapse;
  font-size: 15px; min-width: 480px;
}

.article-table th, .article-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--divider); vertical-align: top;
}

.article-table th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; color: var(--bark);
  background: var(--cream-warm); white-space: nowrap;
}

.article-table td { color: var(--bark-soft); line-height: 1.6; }

/* ---------- FAQ ----------
   Same values as pricing.css. Not shared code: render-head.js reads
   .faq-question / .faq-answer pairs straight out of the markup to build the
   FAQPage schema, so the class names are load-bearing and must not be renamed
   for styling convenience. */

.faq-item { border-bottom: 1px solid var(--divider); padding: 24px 0; }

.faq-item:first-child { border-top: 1px solid var(--divider); }

.faq-question {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 600;
  margin-bottom: 8px; color: var(--bark);
}

.faq-answer { font-size: 15px; color: var(--bark-soft); line-height: 1.65; }

/* ---------- Guide index ----------
   Sits outside .article-body so the whole-card links don't pick up the
   underlined prose-link styling. */

.guide-list { display: grid; gap: 16px; margin-top: 36px; }

.guide-card {
  display: block; background: var(--white);
  border: 1px solid var(--divider); border-radius: var(--radius-lg);
  padding: 24px 28px; transition: border-color .2s, box-shadow .2s, transform .2s;
}

.guide-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}

.guide-card h2 {
  font-size: 20px; color: var(--bark);
  margin-bottom: 8px; line-height: 1.35;
}

.guide-card:hover h2 { color: var(--forest-deep); }

.guide-card p { font-size: 15px; color: var(--bark-soft); line-height: 1.65; }

.guide-more {
  display: inline-block; margin-top: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--forest);
}

@media (max-width: 600px) {
  .guide-card { padding: 20px 22px; }
  .guide-card h2 { font-size: 18px; }
}

/* ---------- Related guides ---------- */

.article-related {
  border-top: 1px solid var(--divider);
  margin-top: 56px; padding-top: 32px;
}

.article-related h2 {
  font-size: 20px; color: var(--bark); margin-bottom: 18px;
}

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

.article-related li { margin-bottom: 12px; padding-left: 0; }

.article-related a { font-size: 16px; }

/* ---------- CTA ---------- */

.cta-section {
  background: var(--bark); border-radius: var(--radius-xl);
  padding: 64px 48px; text-align: center; color: var(--cream);
}

.cta-section .btn-group { justify-content: center; }

.cta-section h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 12px; }

.cta-section p {
  font-size: 17px; line-height: 1.65; color: var(--sand);
  max-width: 520px; margin: 0 auto 28px;
}

@media (max-width: 1000px) {
  .cta-section { padding: 48px 28px; }
}

@media (max-width: 600px) {
  .page-hero { padding: 48px 0 20px; }
  .article-body { font-size: 16px; }
  .article-lead { font-size: 17px; }
  .article-body h2 { font-size: 23px; margin-top: 40px; }
}
