@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FFFFFF;
  --ink: #0A0A0A;
  --grey-700: #3A3A3C;
  --grey-500: #6B6B70;
  --grey-300: #C7C7CC;
  --grey-100: #F2F2F4;
  --voice: #FF4D00;
  --measure: 40rem;
  color-scheme: light dark;
}

@supports (color: color(display-p3 1 0 0)) {
  :root { --voice: color(display-p3 1 0.302 0); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0A0A0A;
    --ink: #FFFFFF;
    --grey-700: #C7C7CC;
    --grey-500: #8E8E93;
    --grey-300: #3A3A3C;
    --grey-100: #2C2C2E;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--grey-700);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Instrument Sans covers Latin only; Vietnamese tone marks and other scripts use the system font. */
:lang(vi), :lang(ar), :lang(he), :lang(el), :lang(ru), :lang(uk), :lang(hi), :lang(th), :lang(ja), :lang(ko), :lang(zh) {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}
:lang(ja) .label, :lang(ko) .label, :lang(zh) .label, :lang(ar) .label, :lang(he) .label, :lang(hi) .label, :lang(th) .label { text-transform: none; letter-spacing: 0; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--voice); }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }

header.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-stretch: 75%;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--grey-500);
}
header.bar a { color: var(--grey-500); text-decoration: none; }
footer select.lang {
  font: inherit;
  color: var(--grey-500);
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  cursor: pointer;
  max-width: 11rem;
}
footer select.lang:hover, footer select.lang:focus-visible { color: var(--ink); }
footer select.lang { margin-inline-start: auto; }
header.bar a:hover { color: var(--ink); }
header.bar .home { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); }
header.bar .home .wm { width: 78px; height: auto; display: block; }
header.bar .home img { width: 1.75rem; height: 1.75rem; }

.label {
  font-stretch: 75%;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* Home */
.hero {
  min-height: calc(100svh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}
.hero .icon { width: 7.5rem; height: 7.5rem; margin-bottom: 2.5rem; }
.hero .wordmark { width: min(20rem, 80vw); height: auto; margin: 0 0 2.5rem; }
.hero .wordmark img { width: 100%; height: auto; display: block; }
.hero p.lede {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  line-height: 1.4;
  color: var(--grey-700);
  margin: 0 0 1.5rem;
  max-width: 32rem;
}
.hero p.lede strong { color: var(--ink); font-weight: 600; }
mark {
  background: var(--voice);
  color: #0A0A0A;
  padding: 0 0.15em;
}

footer {
  border-top: 1px solid var(--grey-300);
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-stretch: 75%;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--grey-500);
}
footer a { color: var(--grey-500); }

/* Privacy */
article { padding: 2.5rem 0 4rem; }
article h1 {
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0.5rem 0 1.5rem;
}
article h2 {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.3125rem;
  letter-spacing: -0.015em;
  margin: 2.75rem 0 0.75rem;
}
article strong { color: var(--ink); font-weight: 600; }
article ul { padding-inline-start: 1.25rem; }
article li { margin: 0.4rem 0; }
.summary {
  background: var(--grey-100);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.summary ul { margin: 0; padding-inline-start: 1.25rem; }
