:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --text: #1f2328;
  --muted: #6b7280;
  --line: #d8dbe0;
  --accent: #f48120;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: #0f5cc0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.panel {
  width: min(680px, 100%);
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
}

h2 {
  margin: 30px 0 8px;
  font-size: 20px;
}

p {
  margin: 0 0 14px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

nav a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
}

.document {
  width: min(800px, calc(100% - 36px));
  margin: 48px auto;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 700;
}

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

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

  .panel,
  .document {
    padding: 24px;
  }

  h1 {
    font-size: 28px;
  }
}
