/* ---------------------------------------------------------------------------
   pages.css — content pages (/help, /privacy, /terms, /vs/...)
   Added alongside the Webflow export, not generated by it.

   The Webflow stylesheet has no long-form prose styles: the homepage is all
   short marketing blocks, so there is nothing for a paragraph of body copy to
   inherit. Everything here is scoped under .page-doc so it cannot leak into
   the homepage or the changelog.

   Every colour is a variable already declared in the Webflow :root block, or
   the same literal the Webflow stylesheet uses. Nothing new was invented.
   --------------------------------------------------------------------------- */

.page-doc {
  --doc-ink: var(--primary-black);          /* #0c111d */
  --doc-body: #43464d;
  --doc-muted: var(--gray-01);              /* #61646c */
  --doc-line: var(--border-color);          /* #ececed */
  --doc-surface: var(--gray-02);            /* #f5f5f6 */
  --doc-accent: #0050bd;                    /* nav/button blue */
  --doc-accent-soft: #eff6ff;
  --doc-warn: var(--orange-text);           /* #dc6803 */
  --doc-alert: var(--red-text);             /* #d94920 */
}

/* ---- shell ---------------------------------------------------------------- */

.page-doc {
  padding-top: 140px;   /* clears the sticky nav pill */
  padding-bottom: 100px;
}
.doc-wrap { max-width: 760px; margin: 0 auto; }
.doc-wrap.wide { max-width: 1000px; }

/* ---- page head ------------------------------------------------------------ */

.doc-eyebrow {
  color: var(--doc-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-doc h1 {
  color: var(--doc-ink);
  font-size: 52px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.doc-standfirst {
  color: var(--doc-muted);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0;
}
.doc-updated {
  color: var(--doc-muted);
  font-size: 14px;
  font-weight: 500;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--doc-line);
}

/* ---- prose ---------------------------------------------------------------- */

.doc-body { margin-top: 48px; }

.doc-body h2 {
  color: var(--doc-ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 64px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--doc-line);
  text-wrap: balance;
}
.doc-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.doc-body h3 {
  color: var(--doc-ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 40px 0 0;
  text-wrap: balance;
}

.doc-body p {
  color: var(--doc-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -.005em;
  margin: 16px 0 0;
}
.doc-body p strong, .doc-body li strong { color: var(--doc-ink); font-weight: 600; }

.doc-body ul, .doc-body ol { margin: 16px 0 0; padding-left: 24px; }
.doc-body li {
  color: var(--doc-body);
  font-size: 17px;
  line-height: 1.68;
  margin: 8px 0;
}
.doc-body ol { counter-reset: step; list-style: none; padding-left: 0; }
.doc-body ol > li {
  counter-increment: step;
  padding-left: 44px;
  position: relative;
  min-height: 30px;
}
.doc-body ol > li:before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--doc-accent-soft);
  color: var(--doc-accent);
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.doc-body a { color: var(--doc-accent); text-underline-offset: 2px; }
.doc-body a:hover { text-decoration: none; }
.doc-body a:focus-visible { outline: 2px solid var(--doc-accent); outline-offset: 2px; border-radius: 2px; }

/* ---- callout -------------------------------------------------------------- */

.doc-note {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--doc-surface);
  border-left: 3px solid var(--doc-accent);
  border-radius: 0 10px 10px 0;
}
.doc-note.warn { border-left-color: var(--doc-warn); }
.doc-note p:first-child { margin-top: 0; }
.doc-note-label {
  color: var(--doc-muted);
  font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---- verdict / lede callout ----------------------------------------------- */

.doc-verdict {
  margin-top: 32px;
  padding: 30px 34px;
  background: var(--primary-black);
  border-radius: 14px;
}
.doc-body .doc-verdict p { color: #cfd2d8; font-size: 17px; margin-top: 14px; }
.doc-body .doc-verdict p:first-of-type { margin-top: 0; }
/* Specificity matters here: .doc-body p strong sets near-black for body copy,
   and this box is near-black. Without matching that specificity the bold lead-in
   of every line renders black-on-black and vanishes. */
.doc-body .doc-verdict p strong { color: #fff; font-weight: 600; }

/* ---- FAQ ------------------------------------------------------------------ */

.faq-item {
  border-bottom: 1px solid var(--doc-line);
  padding: 28px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--doc-line); }
.faq-item h3 { margin-top: 0; }
.faq-item p:first-of-type { margin-top: 12px; }

/* ---- tables --------------------------------------------------------------- */

.doc-table-scroll {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
}
.doc-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.doc-table th, .doc-table td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--doc-line);
  font-size: 15px;
  line-height: 1.5;
}
.doc-table thead th {
  background: var(--doc-surface);
  color: var(--doc-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table td { color: var(--doc-body); }
.doc-table td:first-child { color: var(--doc-ink); font-weight: 500; }
.doc-table .win  { color: #1f6b45; font-weight: 600; }
.doc-table .lose { color: var(--doc-alert); font-weight: 600; }
.doc-table .unk  { color: var(--doc-muted); font-style: italic; }
.doc-table tr.group td {
  background: var(--doc-surface);
  color: var(--doc-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* ---- source list ---------------------------------------------------------- */

.doc-sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--doc-line); }
.doc-sources h2 { font-size: 20px; margin: 0 0 4px; padding-top: 0; border-top: 0; }
.doc-sources ol { padding-left: 0; }
.doc-sources li { font-size: 14px; color: var(--doc-muted); }
.doc-sources ol > li:before { width: 22px; height: 22px; font-size: 12px; }
.doc-sources ol > li { padding-left: 34px; min-height: 24px; }

/* ---- next-step links ------------------------------------------------------ */

.doc-next {
  margin-top: 56px;
  display: grid;
  /* auto-fit rather than a fixed 1fr 1fr: the block holds one card on some pages
     and two on others, and a fixed pair leaves a single card stranded at half
     width with an empty column beside it. */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.doc-next a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--doc-line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .15s ease;
}
.doc-next a:hover { border-color: var(--doc-accent); }
.doc-next .t { color: var(--doc-ink); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.doc-next .d { color: var(--doc-muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* ---- mobile --------------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .page-doc { padding-top: 110px; padding-bottom: 72px; }
  .page-doc h1 { font-size: 36px; }
  .doc-standfirst { font-size: 17px; }
  .doc-body h2 { font-size: 25px; margin-top: 48px; padding-top: 32px; }
  .doc-body h3 { font-size: 18px; }
  .doc-body p, .doc-body li { font-size: 16px; }
  .doc-verdict { padding: 24px 22px; }
  .doc-next { grid-template-columns: 1fr; }
}

/* Anchor targets clear the sticky nav pill. Without this, following a link to
   #windows-warning scrolls the heading underneath the nav and the reader lands
   mid-answer. */
.page-doc [id] { scroll-margin-top: 120px; }
