:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #fffefa;
  --ink: #171717;
  --muted: #6b655e;
  --line: #ddd6cb;
  --accent: #087f7a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f6f5f1 0%, #eef6f3 64%, #ffffff 100%);
  color: var(--ink);
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.hero {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.brand p {
  margin-top: 10px;
  font-size: 18px;
}

.admin-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

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

.intro code {
  display: block;
  padding: 14px;
  overflow-x: auto;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-size: 15px;
}

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

article {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.92);
}

pre {
  margin: 14px 0 0;
  padding: 14px;
  overflow-x: auto;
  border-radius: 8px;
  background: #f1eee8;
  color: #1f1f1f;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hero {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .brand {
    align-items: flex-start;
  }

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