:root {
  --ink: #1d1d1f;
  --muted: #5f5f66;
  --line: #e3e3e8;
  --paper: #ffffff;
  --band: #000000;
  --accent: #2f80ed;
  --accent-ink: #1b63c4;
  --soft: #f5f5f7;
  --radius: 22px;
  --wrap: 680px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-underline-offset: 0.15em; }
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

/* Header band, after the original site */
.band {
  background: var(--band);
  color: #ffffff;
  text-align: center;
  padding-block: 56px 48px;
}

.band .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 148px;
  height: 148px;
  background: #ffffff;
  border-radius: 34px;
  display: grid;
  place-items: center;
}

.logo-mark img { width: 112px; height: auto; display: block; }

.logo-name {
  margin: 14px 0 0;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-tag {
  margin: 0;
  font-size: 26px;
  font-style: italic;
  font-family: "Chalkboard SE", "Comic Neue", "Marker Felt", "Segoe Print", cursive;
}

.band .lede {
  max-width: 30em;
  margin: 28px auto 0;
  color: #d2d2d7;
  font-size: 19px;
}

.cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover, .cta:focus-visible { background: var(--accent-ink); color: #ffffff; }

/* Compact header on inner pages */
.band.compact { padding-block: 28px; }
.band.compact .logo { flex-direction: row; gap: 14px; }
.band.compact .logo-mark { width: 52px; height: 52px; border-radius: 12px; }
.band.compact .logo-mark img { width: 40px; }
.band.compact .logo-name { margin: 0; font-size: 28px; }

main { padding-block: 56px 24px; }

section + section { margin-top: 56px; }

h1, h2 {
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}

h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; margin: 28px 0 8px; }

p { margin: 0 0 16px; }

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

/* The three tabs */
.tabs {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tabs li {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}

.glyph {
  display: block;
  width: 60px;
  height: 40px;
  margin: 0 auto 12px;
  background: var(--accent);
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

.tabs strong { display: block; font-size: 18px; }
.tabs span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Sample quote */
.sample {
  margin: 0;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}

.sample p { font-size: 23px; font-weight: 500; line-height: 1.35; margin: 0; text-wrap: pretty; }
.sample footer { margin-top: 14px; color: var(--muted); }

blockquote.signoff {
  margin: 24px 0 0;
  padding: 0;
  font-style: italic;
}

/* Lists and definition rows */
ul.plain { padding-left: 1.2em; margin: 0 0 16px; }
ul.plain li { margin-bottom: 6px; }

.updated { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .band { padding-block: 40px 36px; }
  .logo-name { font-size: 38px; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .sample p { font-size: 20px; }
}
