:root {
  color-scheme: light;
  --ink: #221a1d;
  --muted: #695f63;
  --line: #eadfe2;
  --paper: #fffafa;
  --panel: #ffffff;
  --accent: #e9163d;
  --accent-dark: #a90f2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  font-weight: 700;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  border-left: 6px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 28px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin: 18px 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

p,
li {
  font-size: 16px;
}

ul {
  padding-left: 22px;
}

.callout {
  border-color: #ffd2dc;
  background: #fff4f6;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .panel {
    padding: 18px;
  }
}
