:root {
  color-scheme: light dark;
  --canvas: #f6f1e7;
  --ink: #161613;
  --quiet: #615d54;
  --surface: #e3dfd6;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #171714;
    --ink: #f6f1e7;
    --quiet: #aaa398;
    --surface: #25241f;
  }
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 0.2em; }

.shell {
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hub .shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 48px;
}

.hub-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.footer {
  color: var(--quiet);
  font-size: 0.86rem;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 62ch;
  margin: 26px 0 54px;
  color: var(--quiet);
  font-size: 1.08rem;
}

h2 {
  margin: 42px 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

p, ul { margin: 0 0 18px; }

ul { padding-left: 1.2rem; }

.links {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}

.links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 650;
}

.meta {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 0.88rem;
}

.footer {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hub .footer { margin-top: 0; }

@media (max-width: 520px) {
  .shell { padding-top: 22px; }
  .hub .shell { padding-top: 0; }
}
