:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  --background: #f6f5f2;
  --surface: #ffffff;
  --text: #171717;
  --muted: #626262;
  --border: #deddd9;
  --accent: #171717;
  --accent-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

header {
  padding: 28px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 18px;
}

main {
  padding: 28px 0 72px;
}

.card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgb(0 0 0 / 5%);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 8vw, 58px);
}

h2 {
  margin: 42px 0 12px;
  font-size: 25px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

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

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
}

footer {
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0c0c0c;
    --surface: #171717;
    --text: #f5f5f3;
    --muted: #aaa9a5;
    --border: #343432;
    --accent: #f5f5f3;
    --accent-text: #171717;
  }
}
