:root {
  --bg: #f2f4f5;
  --panel: #ffffff;
  --ink: #1e2730;
  --muted: #55606d;
  --header: #1c3144;
  --header-border: #4e6477;
  --accent: #0b4f8a;
  --line: #c7ced5;
  --gold: #b38b2d;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(180deg, #213a4f 0%, var(--header) 100%);
  color: #ffffff;
  border-bottom: 4px solid var(--gold);
}

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

.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-title a {
  color: #ffffff;
  text-decoration: none;
}

.site-tagline {
  margin: 6px 0 0;
  max-width: 760px;
  color: #d7e0e8;
  font-size: 0.98rem;
}

.site-nav {
  margin-top: 18px;
  border-top: 1px solid var(--header-border);
  padding-top: 12px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.content {
  margin: 28px auto 36px;
}

.content article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 32px 34px;
}

h1,
h2 {
  color: #17222c;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.25;
}

h1 {
  margin: 0 0 14px;
  font-size: 2rem;
}

h2 {
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8dde2;
  font-size: 1.34rem;
}

p {
  margin: 0 0 16px;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #f8f6ef;
  padding: 12px 14px;
  color: #3d434a;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #e8ecef;
  color: #39444f;
}

.site-footer .wrap {
  padding: 18px 0 28px;
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .site-header .wrap {
    padding: 18px 0 14px;
  }

  .site-title {
    font-size: 1.7rem;
  }

  .content {
    margin: 20px auto 28px;
  }

  .content article {
    padding: 22px 18px 24px;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}
