:root {
  color-scheme: light;
  --bg: #fff8f3;
  --text: #1d1d1f;
  --muted: #61646b;
  --line: #e3ddd7;
  --accent: #ff6b4a;
  --accent-dark: #ba3d25;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.compact {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero {
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

article h2,
.document h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

article p,
.document p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.document {
  max-width: 820px;
  padding-top: 48px;
}

.document h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.document h2 {
  margin-top: 36px;
}

.document p + p {
  margin-top: 14px;
}

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

.back {
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 960px);
    padding: 40px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
