/* Text pages (support, privacy, terms, guides): the landing page's light look
   (web/index.html: paper, ink, butter, Manrope, the light mark). One file so
   the six pages can't drift; guides link it from web/guides/build-guides.py.
   Bump ?v= on every page that links it when this changes. */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/Manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0E0F11; --paper: #F3F4F2; --butter: #FFD84D; --grey: #55585E; --body-ink: #3A3D42; --rule: #DADCD9;
}
html, body { background: var(--paper); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 16px; line-height: 1.65; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* header: the landing's .top, with a dark pill to the app instead of "Free. No account." */
.top { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 22px; height: 22px; }
.top-cta { background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 12px; white-space: nowrap; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }
main.page { padding-top: 40px; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--butter); }
a:hover { text-decoration-color: var(--ink); }
h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(20px, 4vw, 25px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 12px; }
h3 { font-size: 17px; font-weight: 800; margin: 28px 0 8px; }
p { color: var(--body-ink); margin: 0 0 15px; }
strong { color: var(--ink); }
ul, ol { margin: 0 0 16px 22px; color: var(--body-ink); }
li { margin-bottom: 8px; }
hr { border: 0; border-top: 2px solid var(--rule); margin: 40px 0; }

/* support, privacy, terms */
.legal-meta { font-size: 13px; font-weight: 700; color: var(--grey); margin: 10px 0 28px; }
section { border-top: 2px solid var(--ink); padding-top: 22px; margin-top: 30px; }

/* guides */
article { padding: 40px 0 8px; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--grey); margin-bottom: 12px; }
.standfirst { color: var(--grey); font-size: 17px; margin-top: 16px; }
article h2 { margin: 44px 0 14px; }
/* the arithmetic tables are the point of the crop page, so they get to be
   readable rather than decorative */
table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; color: var(--body-ink); }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); }
th { color: var(--grey); font-weight: 800; font-size: 12px; }
td.num { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.callout { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; }
.callout p:last-child { margin-bottom: 0; }
figure { margin: 24px 0; }
figure img, figure video { display: block; width: 100%; height: auto; border-radius: 14px; background: #000; }
figcaption { color: var(--grey); font-size: 13px; margin-top: 8px; }
.media-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr); gap: 16px; align-items: start; }
.media-compare figure { margin: 0; }
.cta-box { background: var(--ink); color: #fff; border-radius: 18px; padding: 26px; margin: 48px 0 8px; text-align: center; }
.cta-box h2 { margin: 0 0 8px; font-size: 22px; color: #fff; }
.cta-box p { color: #C9CBCF; font-size: 15px; margin-bottom: 18px; }
.btn { display: inline-block; background: var(--butter); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; padding: 14px 24px; border-radius: 14px; }

/* footer */
footer { border-top: 2px solid var(--ink); margin-top: 56px; }
footer .wrap { padding-top: 28px; padding-bottom: max(36px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
footer a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
footer a:hover { text-decoration: underline; text-decoration-color: var(--butter); }
footer .sep { color: var(--grey); }
.more { width: 100%; }
.more-title { font-size: 13px; font-weight: 800; color: var(--grey); margin-bottom: 8px; }
.more a { display: block; margin-bottom: 7px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.copy { color: var(--grey); font-size: 13px; }
.epic { width: 100%; margin: 0; font-size: 10px; line-height: 1.45; color: var(--grey); }
@media (max-width: 520px) { article { padding-top: 30px; } main.page { padding-top: 30px; } }
/* guide pictures: a two-up comparison, and phone screenshots that sit three
   across on wide screens and scroll sideways on a phone */
.media-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin: 24px 0; }
.media-pair figure, .app-shots figure { margin: 0; }
.app-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; margin: 24px 0; }
.app-shots img { border-radius: 18px; box-shadow: 0 0 0 1px rgba(14, 16, 20, .16); }
@media (max-width: 520px) {
  .app-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .app-shots figure { scroll-snap-align: start; }
}
/* "What's next" link on the dark CTA box (2026-10-07): the page-wide link is
   ink on paper, which vanished on the ink box. White text, butter underline. */
.cta-box a.next-link { color: #fff; font-weight: 800; text-decoration-color: var(--butter); }
.cta-box a.next-link:hover { text-decoration-color: #fff; }
.cta-box a.next-link:focus-visible { outline-color: var(--butter); }
/* the /guides hub: one link per question, a short line under each */
.hub-list { list-style: none; margin: 0 0 8px; }
.hub-list li { border-top: 1px solid var(--rule); padding: 14px 0; margin: 0; }
.hub-list li:last-child { border-bottom: 1px solid var(--rule); }
.hub-list a { font-weight: 800; font-size: 17px; }
.hub-list span { display: block; color: var(--grey); font-size: 15px; margin-top: 4px; }
/* a single picture that should not grow wider than a phone screenshot */
figure.narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
