:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #1f2a32;
  --muted: #5b6870;
  --line: #d9e0dc;
  --accent: #1d6f64;
  --accent-ink: #ffffff;
  --notice-bg: #fff7df;
  --notice-border: #dfb84f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.page {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
}

.header-inner {
  padding: 24px 0 18px;
}

.brand {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.page {
  padding: 40px 0 56px;
}

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

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.08;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

p,
li {
  max-width: 760px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.notice {
  max-width: 760px;
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--notice-border);
  border-radius: 8px;
  background: var(--notice-bg);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .nav a {
    flex: 1 1 100%;
    justify-content: center;
  }
}
