:root {
  color-scheme: light;
  --ink: #18191f;
  --muted: #5f6472;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9d5ca;
  --gold: #d6a83f;
  --green: #387b64;
  --red: #9b3f35;
  --navy: #24344d;
  --shadow: 0 16px 40px rgba(24, 25, 31, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.94);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand span {
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 8vw, 5.3rem);
  letter-spacing: 0;
}

h2 {
  margin-top: 44px;
  font-size: 1.7rem;
}

h3 {
  margin-top: 28px;
  font-size: 1.18rem;
}

p {
  margin: 14px 0 0;
}

ul,
ol {
  margin: 14px 0 0;
  padding-left: 1.35rem;
}

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

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.17rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stat-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.stat-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.stat-value {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.content {
  padding: 34px 0 72px;
}

.page-title {
  padding: 58px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-title h1 {
  font-size: clamp(2.25rem, 7vw, 4.6rem);
}

.doc {
  max-width: 820px;
}

.doc .updated {
  color: var(--muted);
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(24, 25, 31, 0.05);
}

.card:hover {
  border-color: var(--gold);
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  font-weight: 500;
}

.notice {
  margin-top: 28px;
  border-left: 4px solid var(--gold);
  background: #fff8df;
  padding: 16px 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-grid nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .card {
    min-height: 0;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .wrap {
    width: 100%;
  }
}
