@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/fonts/Barlow-Regular.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/Barlow-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/fonts/Barlow-Bold.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(/fonts/BarlowCondensed-ExtraBold.woff2) format("woff2"); }

:root {
  color-scheme: dark light;
  --page: #0F1419;
  --surface: #161D24;
  --bone: #ECE8E1;
  --red: #FF4655;
  --red-text: #FF6B78;
  --body: rgba(236, 232, 225, .84);
  --muted: rgba(236, 232, 225, .55);
  --line: rgba(236, 232, 225, .12);
  --gutter: 18px;
  --sans: Barlow, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
}

/* Light: the app's bone as the page and its navy as the ink. Headings use --bone, so that name carries navy here. */
@media (prefers-color-scheme: light) {
  :root {
    --page: #ECE8E1;
    --surface: #E1DCD2;
    --bone: #0F1419;
    --red-text: #B3182A;
    --body: rgba(15, 20, 25, .86);
    --muted: rgba(15, 20, 25, .66);
    --line: rgba(15, 20, 25, .16);
  }
}

* { box-sizing: border-box; }

html { background: var(--page); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: calc(38rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 72px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.caps { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }

.mark { color: var(--bone); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.slash { color: var(--red); font-weight: 700; }

nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--bone); }
nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--red); }

h1 {
  margin: 44px 0 28px;
  color: var(--bone);
  font: 800 clamp(44px, 12vw, 68px)/.9 var(--display);
  letter-spacing: .005em;
  text-transform: uppercase;
}
h1 em { display: block; font-style: normal; color: var(--red); }

h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 14px;
  color: var(--bone);
  font: 700 13px/1.3 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

p, ul { margin: 0 0 16px; }
ul { padding-left: 1.15em; }
li { margin-bottom: 10px; padding-left: 4px; }
li::marker { color: var(--muted); }

strong { color: var(--bone); font-weight: 600; }

a { color: var(--bone); text-decoration: underline 1px var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-text); }

.updated { color: var(--muted); }

.qa strong { display: block; margin-bottom: 2px; }
.qa + .qa { margin-top: 22px; }

.links { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.links li { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px 20px 0;
  color: var(--bone);
  text-decoration: none;
  font: 700 14px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.links a::after { content: ""; width: 8px; height: 8px; border: solid var(--red); border-width: 2px 2px 0 0; transform: rotate(45deg); }

.icon { display: block; width: 96px; height: 96px; margin: 44px 0 0; border-radius: 22.5%; }
.icon + h1 { margin-top: 24px; margin-bottom: 14px; }
.intro { max-width: 30rem; margin-bottom: 36px; color: var(--bone); font-size: 20px; line-height: 1.5; }

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .wrap { padding-bottom: 120px; }
  header { padding-top: 28px; }
  h1 { margin-top: 72px; }
  .icon { margin-top: 72px; width: 112px; height: 112px; }
  footer { margin-top: 88px; }
}
