/* The site's text pages (privacy, support, compare) in the homepage's grammar (marketing/explore/identity/yours.template.html)
   and the press kit's: full-bleed sheets of paper, Blue for the opening and the close, Ivory for reading. Geist type, hard
   edges, no shadows, no bounce. The bar takes the colours of the sheet under it (sheet.js). Light-only. */
:root {
  --blue: #1D3CC9;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --sharp: cubic-bezier(.2, .7, .2, 1);
  --pad: max(24px, env(safe-area-inset-left, 0px));
  --pad-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
[data-paper="Blue"]  { --p: #1D3CC9; --i: #FFFFFF; --t: #FFFFFF; }
[data-paper="Ivory"] { --p: #FCF9F2; --i: #21242E; --t: #1D3CC9; }
[data-paper] { --soft: color-mix(in srgb, var(--i) 74%, var(--p)); --rule: color-mix(in srgb, var(--i) 22%, transparent); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; background: var(--tint-b, var(--blue)); scroll-behavior: smooth; }
body { margin: 0; background: var(--tint-t, var(--blue)); color: #fff; font-family: var(--sans); font-size: 18px; line-height: 1.5; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--tint-t, var(--blue)); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
em { font-style: normal; }
.wrap { max-width: none; margin: 0; }

/* The bar */
.bar { background: var(--bar-bg, var(--blue)); position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad-r) 14px var(--pad); color: #fff; transition: color .25s var(--sharp), background-color .25s var(--sharp); }
.bar a.home { display: block; line-height: 0; }
.bar .wm { height: 34px; width: auto; }
.bar .wm.on-light { display: none; }
.bar.light .wm.on-light { display: block; }
.bar.light .wm.on-dark { display: none; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.bar nav a.link { text-decoration: none; }
.bar nav a.link[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.bar .pill { display: inline-block; background: currentColor; padding: 8px 13px; text-decoration: none; }
.bar .pill span { color: var(--pill-t, #1D3CC9); font-weight: 600; }
@media (max-width: 620px) { .bar nav a.link { display: none; } }

/* Sheets */
.sheet { background: var(--p); color: var(--i); position: relative; padding-left: var(--pad); padding-right: var(--pad-r); }
.sheet > * { max-width: 1440px; }
.kicker { display: block; margin: 0 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: var(--soft); }
.lead { font-size: clamp(19px, 1.9vw, 26px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; max-width: 30em; margin: 20px 0 0; color: var(--i); }
.lead + .lead { margin-top: 16px; color: var(--soft); }
.meta, .checked { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--soft); margin: 28px 0 0; }
.mail { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }

/* The opening: Blue, the headline set huge */
.hero { min-height: min(72svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 128px; padding-bottom: clamp(56px, 7vw, 110px); }
.hero .bleed-in { max-width: 1440px; padding: 0; margin: 0; }
.hero h1 { font-weight: 600; font-size: clamp(52px, 10vw, 180px); line-height: .9; letter-spacing: -.055em; margin: 0; max-width: 11em; }
.crumbs { font-family: var(--mono); font-size: 12px; margin: 0 0 18px; }
.crumbs a { text-decoration: underline; }
.answer { margin-top: 36px; max-width: 46em; border-top: 2px solid var(--i); padding-top: 18px; }
.answer p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -.015em; font-weight: 500; }
.answer p + p { margin-top: 14px; color: var(--soft); }

/* Reading sheets */
.read { padding-block: clamp(64px, 8vw, 120px); }
.read + .read { border-top: 1px solid var(--rule); }
.read h2, .doc h2 { font-weight: 600; font-size: clamp(34px, 4.6vw, 72px); line-height: .96; letter-spacing: -.045em; margin: 0 0 clamp(28px, 3vw, 44px); max-width: 16em; }
.read h2 em, .doc h2 em, h3.sub em, .card b em { color: var(--t); }
.read h3 { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0 0 8px; }
h3.sub { margin: clamp(48px, 5vw, 72px) 0 20px; }

/* Privacy and support: a heading column and a reading column */
.doc { padding-block: clamp(40px, 5vw, 80px); }
.doc section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule); }
.doc section:first-child { border-top: 0; }
.doc h2 { font-size: clamp(30px, 3.4vw, 52px); margin: 0; }
.doc .body { max-width: 38em; min-width: 0; }
.doc .body > :first-child { margin-top: 0; }
.doc p { margin: 0 0 14px; color: var(--soft); }
.doc p b, .doc li b, .doc dd b { color: var(--i); font-weight: 600; }
.doc h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 28px 0 6px; }
.doc ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; color: var(--soft); }
.doc ul li { padding-left: 1.6em; position: relative; }
.doc ul li::before { content: "—"; color: var(--t); position: absolute; left: 0; }
.doc a { text-decoration-color: var(--t); text-decoration-thickness: 2px; }
.doc code { font-family: var(--mono); font-size: .86em; background: color-mix(in srgb, var(--i) 7%, transparent); padding: 1px 5px; }
.rows, .qa { margin: 0; display: grid; }
.rows > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 22px; padding-block: 16px; border-top: 1px solid var(--rule); }
.rows > div:first-child, .qa > div:first-child { border-top: 0; padding-top: 0; }
.rows dt { font-weight: 600; letter-spacing: -.015em; }
.rows dd { margin: 0; color: var(--soft); }
.qa > div { padding-block: 22px; border-top: 1px solid var(--rule); }
.qa dt { font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.03em; }
.qa dd { margin: 8px 0 0; color: var(--soft); }
.qa dd p { margin: 0 0 10px; }

/* Compare: picks, table, themes, questions, cards */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.pick { border-top: 2px solid var(--i); padding: 16px 0 32px; }
.pick .kicker { color: var(--t); }
.pick ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--soft); }
.pick li + li { margin-top: 8px; }
.pick p { margin: 6px 0 0; color: var(--soft); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border-top: 2px solid var(--i); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 16px; line-height: 1.45; }
caption { text-align: left; padding: 14px 0 6px; font-family: var(--mono); font-size: 12px; color: var(--soft); caption-side: bottom; }
th, td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-top: 1px solid var(--rule); }
thead th { border-top: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--soft); }
tbody th { font-weight: 600; width: 22%; }
td.tb { color: var(--i); }
td.them { color: var(--soft); }
.hint { font-family: var(--mono); font-size: 12px; color: var(--soft); margin: 12px 0 0; }
.themes { list-style: none; margin: 0; padding: 0; max-width: 56em; }
.themes li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.themes .n { font-weight: 600; font-size: 30px; letter-spacing: -.04em; color: var(--t); line-height: 1.05; }
.themes q { display: block; margin-top: 4px; color: var(--soft); quotes: "“" "”"; }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq h2 { margin-bottom: 0; }
.faq dl { margin: 0; display: grid; }
.faq dl > div { padding-block: 20px; border-top: 1px solid var(--rule); }
.faq dl > div:first-child { border-top: 0; padding-top: 4px; }
.faq dt { font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.03em; }
.faq dd { margin: 8px 0 0; color: var(--soft); }
.sources { font-size: 15px; color: var(--soft); }
.sources ul { margin: 10px 0 0; padding-left: 1.1em; }
.sources li { overflow-wrap: anywhere; }
.sources li + li { margin-top: 4px; }
.hub h3 { margin: clamp(48px, 5vw, 72px) 0 0; font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--soft); }
.hub h3:first-of-type { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 18px; }
.card { display: block; text-decoration: none; border-top: 2px solid var(--i); padding: 16px 0 32px; transition: color .2s var(--sharp); }
.card b { display: block; font-size: clamp(22px, 2vw, 28px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.card span { display: block; margin-top: 8px; color: var(--soft); font-size: 16px; }
.card:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.facts { columns: 2; column-gap: clamp(28px, 5vw, 64px); margin: 0; padding-left: 1.1em; color: var(--soft); max-width: 64em; }
.facts li { break-inside: avoid; margin-bottom: 12px; }
.facts b { color: var(--i); font-weight: 600; }

/* The close: Blue, the question huge, a hard white button */
.join { padding-block: clamp(80px, 10vw, 160px); }
.join .q { font-weight: 600; font-size: clamp(52px, 10vw, 180px); line-height: .9; letter-spacing: -.055em; margin: 0; }
.join p.fine { font-size: clamp(18px, 1.6vw, 22px); color: var(--soft); margin: 24px 0 0; max-width: 30em; }
.button { display: inline-flex; margin-top: 32px; background: var(--i); color: var(--p); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; padding: 14px 20px; border: 2px solid var(--i); transition: background-color .2s var(--sharp), color .2s var(--sharp); }
.button:hover { background: transparent; color: var(--i); }

/* Footer */
footer.sheet { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 40px 48px; font-family: var(--mono); font-size: 12px; line-height: 1.45; border-top: 1px solid var(--rule); }
footer.sheet nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.sheet span:last-child { flex-basis: 100%; color: var(--soft); }

@media (max-width: 860px) {
  .doc section, .faq, .picks { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); }
  .facts { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
