:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --paper: #fffdf8;
  --text: #1f2428;
  --muted: #667085;
  --line: #ded7cc;
  --accent: #4d6293;
  --accent-dark: #344566;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 22px 72px;
}

.shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 18px 50px rgb(31 36 40 / 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4d6293, #8a98ba);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: 0;
}

p,
li {
  font-size: 1rem;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.updated {
  margin-bottom: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

footer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .page {
    padding-top: 24px;
  }

  .shell {
    padding: 24px 18px;
  }
}
