:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --panel: #ffffff;
  --text: #20242a;
  --muted: #68717d;
  --line: #dedbd2;
  --accent: #6d5f18;
  --accent-soft: #f2edcf;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

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

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.topbar-inner,
.main,
.footer {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.main {
  display: grid;
  align-content: center;
  padding: 64px 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 44px);
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.meta-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.meta-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.meta-value {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

.footer {
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .topbar-inner,
  .main,
  .footer {
    width: min(100% - 28px, 960px);
  }

  .topbar-inner {
    height: 58px;
  }

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