:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1d2430;
  --muted: #5d6878;
  --line: #d9dee7;
  --accent: #176b87;
  --accent-strong: #0f4f66;
}

* {
  box-sizing: border-box;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--text);
}

.hero,
.page-heading,
.policy {
  padding: 56px 0 32px;
}

.hero {
  min-height: 440px;
  display: grid;
  align-items: end;
  margin-bottom: 16px;
  padding: 40px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 24, 34, 0.88), rgba(10, 24, 34, 0.48)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #ffffff;
}

.hero h1,
.page-heading h1,
.policy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: 2.25rem;
  line-height: 1.2;
}

.hero p,
.page-heading p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--muted);
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
}

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

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

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

.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.item {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.item h2,
.item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.item p {
  margin: 0 0 16px;
  color: var(--muted);
}

.text-link {
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.info-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.info-list dt {
  margin: 0 0 4px;
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.policy {
  max-width: 760px;
}

.policy section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.policy p {
  margin: 0;
  color: var(--muted);
}

.updated {
  margin-bottom: 32px;
}

.site-footer {
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero,
  .page-heading,
  .policy {
    padding-top: 36px;
  }

  .hero {
    min-height: 380px;
    padding: 28px;
  }

  .hero h1,
  .page-heading h1,
  .policy h1 {
    font-size: 1.8rem;
  }
}
