:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #52616b;
  --line: #d9e2ec;
  --accent: #0f766e;
  --notice-bg: #fff7ed;
  --notice-border: #f97316;
  --notice-ink: #7c2d12;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.site-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.site-header,
.site-footer {
  color: var(--muted);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 28px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

p,
li {
  font-size: 16px;
}

.effective-date {
  margin-top: 0;
  color: var(--muted);
}

.draft-notice {
  margin: 0 0 24px;
  border: 1px solid var(--notice-border);
  border-left-width: 4px;
  border-radius: 6px;
  background: var(--notice-bg);
  color: var(--notice-ink);
  padding: 12px 14px;
  font-weight: 700;
}

.language-divider {
  margin: 36px 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}

.site-footer {
  margin-top: 24px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }
}
