:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5d6875;
  --navy: #072945;
  --gold: #f8b600;
  --green: #21b36b;
  --soft: #f5f7fb;
  --line: #dfe6ee;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

a {
  color: #0b6d99;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.nav {
  width: min(1100px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 22px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

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

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-switch button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 36px;
  padding: 0 10px;
}

.language-switch button:hover {
  border-color: #0b6d99;
}

.hero {
  width: min(1100px, calc(100% - 32px));
  min-height: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.1;
}

.hero-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
}

.eyebrow {
  color: #9a7000 !important;
  font-weight: 700;
  font-size: 17px !important;
  margin-bottom: 10px !important;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel div,
.link-grid a,
.document {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-panel div {
  padding: 24px;
}

.hero-panel strong,
.link-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.hero-panel span,
.link-grid span {
  color: var(--muted);
}

.section {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-grid a {
  display: block;
  padding: 22px;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  background: var(--green);
  color: #07140c;
}

.secondary-link {
  border: 1px solid rgba(15, 40, 60, 0.18);
  color: var(--navy);
}

.document {
  width: min(900px, calc(100% - 32px));
  margin: 32px auto 56px;
  padding: clamp(22px, 5vw, 44px);
}

.document h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 36px;
}

.document h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 23px;
}

.document p,
.document li {
  color: #263442;
  font-size: 17px;
}

.updated {
  color: var(--muted) !important;
  margin-top: 0;
}

footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 32px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .nav,
  .nav-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switch {
    width: 100%;
  }

  .nav {
    padding: 16px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
