:root {
  color-scheme: light;
  --background: #f2f8ff;
  --surface: #ffffff;
  --ice: #d4e6f7;
  --navy: #142e4f;
  --steel: #638fbf;
  --text: #17314e;
  --muted: #51667c;
  --border: rgba(20, 46, 79, 0.16);
  --max: 840px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 8px 12px;
  background: var(--surface);
  border: 2px solid var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
}

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

.brand {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px;
}

.hero {
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(242, 248, 255, 0.96), rgba(242, 248, 255, 0.72), rgba(242, 248, 255, 0.28)),
    url("/assets/brand-hero.png") center right / cover no-repeat;
  border-radius: 8px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  max-width: 720px;
  margin: 10px 0 16px;
  font-size: 4rem;
}

h2 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 18px;
  padding-left: 1.3rem;
}

ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
}

li {
  margin: 6px 0;
}

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

.panel {
  margin: 18px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.link-card {
  display: block;
  min-height: 96px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
}

.link-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.link-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.meta,
.site-footer {
  color: var(--muted);
  font-size: 0.92rem;
}

code {
  padding: 0.1em 0.28em;
  background: var(--ice);
  border-radius: 4px;
  color: var(--navy);
}

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

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

  h1 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: 480px;
    padding: 26px;
    background:
      linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(242, 248, 255, 0.76), rgba(242, 248, 255, 0.45)),
      url("/assets/brand-hero.png") center bottom / cover no-repeat;
  }
}
