@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --canvas: #f7f7f3;
  --ink: #232c3c;
  --accent: #586ba6;
  --accent-hover: #445787;
  --surface: #edf0f6;
  --muted: #66728b;
  --line: #c4ccdc;
  --page-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
  border-radius: 3px;
}
::selection { background: #dce2f1; color: var(--ink); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }

.container {
  width: min(calc(100% - 2.5rem), var(--page-width));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.brand img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-size: 0.8125rem;
}
.nav-link img { display: none; opacity: 0.65; }
.nav-link:hover span { text-decoration: underline; text-underline-offset: 0.3em; }

.hero { padding-top: 3.5rem; padding-bottom: 4.5rem; }
.hero-intro {
  max-width: 30ch;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 650;
}
h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.45rem, 8.6vw, 5.75rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
h1 span { display: block; }
h1 span + span { margin-top: 0.12em; color: var(--accent); }
.hero-details { display: grid; gap: 2rem; margin-top: 2rem; }
.hero-description { max-width: 44ch; font-size: 1.125rem; line-height: 1.65; }
.hero-action { width: fit-content; max-width: 100%; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 58px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  transition: background-color 150ms ease;
}
.button img { filter: brightness(0) invert(1); flex: 0 0 auto; }
.button:hover { background: var(--accent-hover); }
.button:active { background: var(--ink); }
.action-note { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; }

.custody { padding-block: 3.25rem; background: var(--surface); scroll-margin-top: 1rem; }
.custody-layout { display: grid; gap: 2rem; }
.release-status { margin-bottom: 1rem; color: var(--accent); font-size: 0.8125rem; font-weight: 700; }
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.custody-question { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.025em; }
.custody-description { max-width: 43ch; margin-top: 1.25rem; font-size: 1rem; line-height: 1.7; }
.custody-topics { margin: 0; padding: 0; list-style: none; }
.custody-topics li {
  padding-block: 1.35rem;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.custody-topics li + li { border-top: 1px solid var(--line); }
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 2rem;
}
.site-footer p { color: var(--muted); font-size: 0.875rem; }

@media (min-width: 600px) {
  .container { width: min(calc(100% - 11.5vw), var(--page-width)); }
  .site-header { padding-block: 2.5rem; }
  .brand { gap: 1rem; font-size: 1.35rem; }
  .brand img { width: 44px; height: 44px; }
  .nav-link { font-size: 1rem; }
  .nav-link img { display: block; }
  .hero-intro { max-width: none; font-size: 1.125rem; }
  h1 { font-size: clamp(3.25rem, 6.15vw, 5.75rem); }
  .hero-description { font-size: 1.375rem; }
  .hero-action { min-width: 310px; }
  .button { width: 100%; min-height: 74px; font-size: 1.25rem; }
  .action-note { font-size: 1rem; }
  .custody { padding-block: 4rem; }
  .custody-question { font-size: 1.375rem; }
  .custody-description { font-size: 1.125rem; }
  .custody-topics li { font-size: 1.125rem; }
  .site-footer .brand { font-size: 1rem; }
  .site-footer .brand img { width: 36px; height: 36px; }
}

@media (min-width: 1000px) {
  .hero { padding-top: 4.6rem; padding-bottom: 4.5rem; }
  .hero-intro { font-size: 1.25rem; }
  h1 { margin-top: 1.5rem; }
  .hero-details {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4rem;
    margin-top: 2.6rem;
  }
  .hero-description { max-width: 43ch; font-size: 1.5rem; }
  .hero-action { min-width: 335px; }
  .action-note { font-size: 1.125rem; }
  .custody-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6.5rem;
    align-items: center;
  }
  .release-status { font-size: 0.875rem; }
  .custody-topics li { padding-block: 1.6rem; font-size: 1.25rem; }
  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 2.25rem;
  }
  .site-footer p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media (forced-colors: active) {
  .button { border-color: ButtonText; }
  .button img, .nav-link img { display: none; }
}
