:root {
  --ink: #202327;
  --muted: #626c73;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --teal: #0e7c7b;
  --coral: #c65f4a;
  --gold: #b88a2d;
  --line: #e3ded6;
  --shadow: 0 18px 45px rgba(28, 35, 38, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(14, 124, 123, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--coral);
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 1rem;
  padding: 0.7rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(251, 250, 247, 0.93);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 4.5rem;
  padding: 0 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo {
  background: #050505;
  border: 1px solid rgba(32, 35, 39, 0.18);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(32, 35, 39, 0.12);
  height: 2.45rem;
  object-fit: cover;
  padding: 0.08rem;
  width: 2.45rem;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #efe9df;
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 30rem;
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background: rgba(19, 23, 25, 0.42);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  align-self: end;
  color: #fff;
  max-width: 720px;
  padding: 7rem 1.25rem 4rem;
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.eyebrow {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 3.3rem;
  line-height: 1.04;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  max-width: 44rem;
}

.hero-actions,
.compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.link-grid,
.support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
  padding: 3rem 1.25rem;
}

.resource-card,
.support-card,
.support-panel,
.legal-document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.resource-card {
  display: grid;
  gap: 0.8rem;
  min-height: 12rem;
  padding: 1.25rem;
  text-decoration: none;
}

.resource-label {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.resource-copy,
.support-card p,
.legal-document p,
.legal-document li {
  color: var(--muted);
}

.document-shell,
.support-shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 0 1.25rem 4rem;
}

.document-hero {
  padding: 4rem 0 2rem;
}

.document-hero .eyebrow {
  color: var(--coral);
}

.document-hero h1 {
  color: var(--ink);
}

.document-hero .lead {
  color: var(--muted);
}

.legal-document {
  padding: 2rem;
}

.legal-document section + section {
  border-top: 1px solid var(--line);
  margin-top: 1.8rem;
  padding-top: 1.8rem;
}

.legal-document ul {
  padding-left: 1.25rem;
}

.support-panel {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.support-card {
  padding: 1.25rem;
}

.compact-links a {
  background: #efe9df;
  border-radius: 8px;
  font-weight: 800;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-bottom: 0.85rem;
    padding-top: 0.85rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 34rem;
  }

  .hero-content {
    padding-bottom: 3rem;
    padding-top: 8rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1.05rem;
  }

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

  .support-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-document {
    padding: 1.25rem;
  }
}
