:root {
  color-scheme: light;
  --bg: #f1f1f1;
  --surface: #ffffff;
  --surface-subdued: #f7f7f7;
  --text: #1f2124;
  --muted: #61666c;
  --line: #d9dadd;
  --line-strong: #c9ccd1;
  --focus: #2c6ecb;
  --primary: #1c6b2f;
  --primary-hover: #135824;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent-strong);
}

.page {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero,
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  padding: 24px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.875rem;
}

.button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.button:hover {
  border-color: #b6bac0;
  background: var(--surface-subdued);
}

.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.status-pill {
  border: 1px solid var(--line);
  background: var(--surface-subdued);
  color: var(--muted);
}

.status-pill[data-tone="success"] {
  border-color: #9fd3aa;
  background: #e4f1e8;
  color: #23542f;
}

.status-pill[data-tone="critical"] {
  border-color: #e6b3b3;
  background: #fbeaea;
  color: #8a1f1f;
}

.status-pill[data-tone="warning"] {
  border-color: #e3cc96;
  background: #fbf3df;
  color: #7a4d03;
}

.status-pill[data-tone="info"] {
  border-color: #b7cee8;
  background: #eaf3fd;
  color: #234f8e;
}

h1,
h2 {
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  font-size: 1.125rem;
  font-weight: 650;
}

h2 {
  font-size: 1rem;
  font-weight: 650;
}

.lede,
.panel p,
.steps,
.definition-list dd {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.panel {
  padding: 20px;
  margin-bottom: 16px;
}

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

.steps {
  margin: 0;
  padding-left: 18px;
}

.steps li + li {
  margin-top: 8px;
}

.definition-list {
  margin: 0;
}

.definition-list.compact dt,
.definition-list.compact dd {
  font-size: 0.98rem;
}

.definition-list div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.definition-list dt {
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
}

.definition-list dd {
  margin: 0;
}

.callout {
  border-left: 3px solid var(--primary);
  background: var(--surface-subdued);
}

@media (max-width: 720px) {
  .page {
    width: min(100vw - 24px, 980px);
    padding: 16px 0 28px;
  }

  .hero,
  .panel {
    padding: 16px;
    border-radius: 10px;
  }

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