:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #253047;
  background: #ffffff;
  font-size: 17px;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand img {
  display: block;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.25rem;
  font-size: 0.88rem;
}

.site-header nav a {
  padding: 0.35rem 0;
}

[aria-current="page"] {
  font-weight: 700;
  color: #2058af;
}

.page-heading {
  padding: 2.8rem 0 1.4rem;
}

.eyebrow {
  color: #2058af;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-heading .eyebrow {
  margin: 0;
}

h1 {
  margin: 0.5rem 0 1rem;
  color: #15223b;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h2 {
  margin: 0 0 1rem;
  color: #15223b;
  font-size: 1.35rem;
  line-height: 1.4;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 42rem;
  color: #52617b;
  font-size: 1.2rem;
  line-height: 1.65;
}

.document-meta,
.site-footer {
  color: #59677e;
  font-size: 0.85rem;
}

.contents {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
}

.contents h2 {
  font-size: 1rem;
}

.contents ol {
  columns: 2;
  column-gap: 2.5rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contents li {
  break-inside: avoid;
}

.notice-contents {
  padding-left: 0;
  list-style: none;
}

.legal-notice > section > section {
  margin-top: 2rem;
  scroll-margin-top: 1.5rem;
}

.legal-notice h3 {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.15rem;
}

.legal-notice h4 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1rem;
}

main > section {
  margin-top: 2.5rem;
  scroll-margin-top: 1.5rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

.steps li {
  padding-left: 0.4rem;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

caption {
  padding: 0.9rem 1rem;
  text-align: left;
  color: #59677e;
}

th,
td {
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

th {
  color: #15223b;
}

thead {
  background: #f7f9fc;
}

tbody th {
  width: 28%;
}

.process,
.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.process article,
.document-links a {
  padding: 1.4rem;
  border: 1px solid #dbe4ef;
  border-radius: 0.6rem;
  background: #f7f9fc;
}

.process p:last-child,
.document-links p:last-child {
  margin-bottom: 0;
}

.document-links a {
  text-decoration: none;
}

.document-links a h2 {
  color: #2058af;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.document-links a:hover {
  background: #edf3fc;
}

a {
  color: #2058af;
  text-underline-offset: 0.2em;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

li + li {
  margin-top: 0.75rem;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #e2e8f0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -10000px;
}

.skip-link:focus {
  left: 1rem;
  padding: 0.6rem 1rem;
  background: #ffffff;
  z-index: 1;
}

@media (max-width: 640px) {
  body {
    padding: 0 1.15rem;
  }

  .site-header {
    gap: 0.5rem;
  }

  .brand img {
    width: 88px;
    height: 88px;
  }

  .page-heading {
    padding-top: 2rem;
  }

  .contents ol {
    columns: 1;
  }

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

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    max-width: none;
    padding: 0;
    font-size: 11pt;
  }

  .site-header nav,
  .contents,
  .skip-link {
    display: none;
  }

  .table-scroll {
    overflow: visible;
  }

  table {
    min-width: 0;
  }

  h2,
  h3 {
    break-after: avoid;
  }
}
