/* The marketing pages (front, questions, privacy, terms, sign-in): type
   only, printed in riso inks on off-white paper with a fine grain. The logo
   alone is two inks, pink under blue, a few pixels out of register;
   everything else is one ink. Riso blue on this paper is 4.2:1, so it is
   kept to large or bold type. No pictures, no footer. */
@font-face { font-family: "Karla"; src: url("/assets/fonts/karla.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("/assets/fonts/funnel-display.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #F7F1E6; --pink: #FF48B0; --blue: #0078BF; --ink: #1D3266; --rule: #C9BFAC;
  --title: "Funnel Display", system-ui, sans-serif;
  --body: "Karla", system-ui, sans-serif;
  --logo: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body.riso {
  margin: 0; color: var(--ink); font: 19px/1.55 var(--body);
  background-color: var(--paper);
  background-image: radial-gradient(rgb(0 0 0 / .05) .7px, transparent 1px);
  background-size: 3px 3px;
}
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--blue); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
code { font: .85em var(--mono); background: rgb(29 50 102 / .07); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }

main { max-width: 1180px; margin: 0 auto; padding: 28px max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }

/* The top bar: the logo, then Home · Questions · Sign in. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: grid; font: 700 40px/.8 var(--logo); text-decoration: none; }
.logo > .ink { grid-area: 1 / 1; mix-blend-mode: multiply; }
.logo > .pink { color: var(--pink); transform: translate(2px, 2px); }
.logo > .blue { color: var(--blue); }
.teams { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; font-weight: 700; }
.teams a[aria-current] { color: var(--blue); text-decoration-color: var(--pink); }

/* The front page: three words, the line, and a rule with one sentence. */
/* The front page fits one screen: the headline takes what the window's
   width and height both leave it, three lines at .84 line height being
   about 2.6 times its size, beside about 400px of everything else. */
.hero { min-height: calc(100svh - 76px); display: flex; flex-direction: column; padding-bottom: 28px; box-sizing: border-box; }
.hero h1 { margin: auto 0 0; padding-top: 24px; font: 800 clamp(48px, min(12vw, calc((100svh - 400px) / 3.2)), 168px)/.84 var(--title); letter-spacing: -.05em; color: var(--blue); }
.tag { margin: 24px 0 0; font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--body); letter-spacing: -.01em; }
.rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; margin-top: 28px; padding-top: 16px; border-top: 2px solid var(--ink); }
.rule p { margin: 0; max-width: 44em; font: 15.5px/1.6 var(--mono); }
.rule .teams a { white-space: nowrap; }

/* The other pages: a big blue title, then ruled rows. */
.page-title { margin: 88px 0 36px; font: 800 clamp(60px, 10vw, 128px)/.9 var(--title); letter-spacing: -.05em; color: var(--blue); overflow-wrap: anywhere; }
.page-title.small { font-size: clamp(40px, 6vw, 72px); }
.page-title .to { display: block; font-size: .45em; letter-spacing: -.03em; }
.doc-meta { margin: -16px 0 24px; font: 14px var(--mono); }
.doc-meta time { white-space: nowrap; }
.doc { padding: 0 0 80px; border-top: 2px solid var(--ink); }
.signin { max-width: 44em; padding-bottom: 80px; }
.signin .go { font-weight: 700; font-size: 22px; }
.fine { font: 14px/1.6 var(--mono); }

/* Each question (or part) in blue on the left, its answer open on the right. */
.qa { margin: 0; }
.qa > div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 8px 40px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.qa dt { font: 700 21px/1.25 var(--body); letter-spacing: -.01em; color: var(--blue); }
.qa dd { margin: 0; font-size: 18px; line-height: 1.5; max-width: 42em; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  main { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .rule { grid-template-columns: minmax(0, 1fr); }
  .page-title { margin-top: 56px; }
  .qa > div { grid-template-columns: minmax(0, 1fr); }
}

/* The front page's one link to the policies, as there is no footer. */
.legal{margin:14px 0 0;font:13px/1.5 'IBM Plex Mono',monospace}
