/* The older pages in the homepage's look: paper, forest ink, Gloock headlines and orange only on actions.
   Loaded after each page's own styles. Their colour variables are remapped here, so most parts follow
   without page-by-page rules; the rules below cover the parts that set their own type or colour. */
:root {
  --ivory: var(--cream);
  --moss: #4d5c4f;
  --muted: #4d5c4f;
  --copper: var(--orange);
  --tomato: var(--orange);
  --tomato-dark: #c4601d;
  --rust: var(--forest);
  --line: #ddcfb2;
  --gold: #c98f3a;
  --mint: #e7ecd8;
  --pink: #f2e4c9;
  --deep: var(--forest);
}
body { padding-top: var(--nav-h); background: var(--paper); color: var(--forest); font-family: var(--sans); }
body > main { min-height: 50vh; }

/* Headlines: Gloock, never the old heavy display face; their second line gets the orange underline. */
h1, h2, h3 { font-family: var(--display) !important; font-weight: 400 !important; color: var(--forest); letter-spacing: -0.03em; }
h1 { letter-spacing: -0.035em; }
:is(h1, h2) em { font-style: normal; color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; text-decoration-skip-ink: none; }

/* Links read as forest text with an orange underline. */
main a:not([class]) { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Actions: the homepage's orange button with ink text. */
.button, .btn, .btn-primary, .billing-button, .mobile-download {
  background: var(--orange) !important; color: var(--ink) !important; border: 0; border-radius: 14px; box-shadow: none; font-family: var(--sans); font-weight: 600;
}
.button:hover, .btn:hover, .btn-primary:hover { background: #ef8640 !important; text-decoration: none; }
.button svg, .btn svg { stroke: currentColor; }
.text-link { color: var(--forest); }

/* Forms on paper: cream fields with a forest outline on focus. */
input, textarea, select { background: var(--cream); border-color: var(--line); color: var(--forest); font-family: var(--sans); }
:focus-visible { outline-color: var(--forest); }

/* Old shells that the shared top bar and footer replace. */
.site-header, .site-footer, .document-footer, .back-to-top { display: none !important; }

/* Coloured bands and plan cards: the old pink and mint become the homepage's paper tones. */
html { scrollbar-color: var(--forest) var(--paper); }
::selection { background: var(--forest); color: var(--cream); }
.editorial-band, .document-main .notice, .button-paper:hover { background: var(--pink) !important; }
.pricing-page .tier-plans { border-color: var(--line); background: var(--cream); }
.pricing-page .tier-plans article { color: var(--forest); }
.pricing-page .explorer-plan { background: var(--mint); }
.pricing-page .collector-plan { background: var(--pink); }

/* Reading pages: the top bar already leads home, and the text is a size people can read without leaning in. */
.back-link { display: none !important; }
.document-main { margin-top: 56px; }
.document-main p, .document-main li { font-size: 17px; line-height: 1.7; color: var(--forest); }
.marketing-main p { color: var(--forest); }
