:root {
  color-scheme: light dark;
  --navy-950: #04142f;
  --navy-900: #061b44;
  --navy-800: #0b326c;
  --navy-700: #124985;
  --red-600: #ef1b2d;
  --red-700: #ce1021;
  --blue-100: #e9f1fb;
  --ink: #0b1f3f;
  --muted: #5f6f89;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --border: #dce4ef;
  --success: #0a7a56;
  --warning-bg: #fff7e8;
  --warning-border: #e2a527;
  --warning-ink: #684700;
  --shadow: 0 24px 70px rgb(6 27 68 / 12%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--navy-700);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-700);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #56a8ff;
  outline-offset: 4px;
  border-radius: 6px;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 6vw, 4.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
dl,
table {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--surface);
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: var(--shadow);
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: rgb(6 27 68 / 96%);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgb(255 255 255 / 8%) 39%),
    var(--navy-950);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 4px rgb(239 27 45 / 25%);
}

.brand-text small {
  display: block;
  color: #b9c9e2;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: #dce8fa;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgb(255 255 255 / 11%);
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 12vw, 132px) 0 clamp(70px, 10vw, 108px);
  background:
    radial-gradient(circle at 88% 24%, rgb(255 255 255 / 10%) 0 120px, transparent 121px),
    radial-gradient(circle at 90% 18%, transparent 0 205px, rgb(255 255 255 / 9%) 206px 208px, transparent 209px),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
}

.hero::after {
  position: absolute;
  bottom: -95px;
  left: 8%;
  width: 230px;
  height: 230px;
  border: 2px solid rgb(239 27 45 / 42%);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--red-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffadb5;
}

.eyebrow::before {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero h1,
.hero strong {
  color: #ffffff;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #dce7f7;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  color: #bed0e8;
  font-size: 0.9rem;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-600);
  content: "";
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding-block: 52px 86px;
}

.content-card,
.side-card,
.tile,
.contact-card,
.step,
.notice {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 36px rgb(6 27 68 / 7%);
}

.content-card {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
}

.content-card > section {
  padding-block: 34px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.content-card > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-card > section:last-child {
  padding-bottom: 0;
}

.side-stack {
  align-self: start;
}

.side-card {
  position: sticky;
  top: 102px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.side-card h2 {
  margin-bottom: 13px;
  font-size: 1rem;
  letter-spacing: 0;
}

.side-card nav {
  display: grid;
  gap: 3px;
}

.side-card nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.side-card nav a:hover {
  background: var(--surface-soft);
  color: var(--navy-800);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile,
.contact-card,
.step {
  padding: 26px;
  border-radius: var(--radius-md);
}

.tile {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.tile-number,
.icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-weight: 900;
}

.tile:nth-child(even) .tile-number {
  background: #ffe9ec;
  color: var(--red-700);
}

.tile p {
  color: var(--muted);
}

.tile .text-link {
  margin-top: auto;
  padding-top: 16px;
}

.text-link,
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
}

.text-link::after,
.button-link::after {
  content: "→";
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-link {
  min-height: 48px;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--red-600);
  color: #ffffff;
  text-decoration: none;
}

.button-link:hover {
  background: var(--red-700);
  color: #ffffff;
}

.button-link.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--navy-800);
}

.button-link.secondary:hover {
  border-color: var(--navy-700);
  background: var(--surface-soft);
}

.notice {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--navy-700);
  border-radius: 12px;
  color: var(--muted);
}

.notice.warning {
  border-color: var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-ink);
}

.notice.success {
  border-color: var(--success);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.data-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.92rem;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-soft);
  color: var(--navy-900);
  font-size: 0.77rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.definition-list {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 14px 24px;
}

.definition-list dt {
  color: var(--navy-900);
  font-weight: 850;
}

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

.check-list,
.plain-list {
  padding-left: 1.25rem;
}

.check-list li,
.plain-list li {
  margin-bottom: 9px;
}

.check-list li::marker {
  color: var(--success);
}

.steps {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 78px;
  counter-increment: steps;
}

.step::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-600);
  color: #ffffff;
  content: counter(steps);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card p {
  color: var(--muted);
}

.contact-card a {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: 0.75rem;
  font-weight: 850;
}

.tag.required {
  background: #ffe7ea;
  color: var(--red-700);
}

.site-footer {
  background: var(--navy-950);
  color: #b9c9df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-block: 50px;
}

.site-footer h2,
.site-footer h3,
.site-footer strong {
  color: #ffffff;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.site-footer h3 {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 7px;
}

.site-footer a {
  color: #e4edfa;
}

.footer-bottom {
  padding-block: 19px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.87rem;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 940px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 15px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .cards-grid.three,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    position: static;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    padding-inline: 0;
  }

  .cards-grid,
  .definition-list {
    grid-template-columns: 1fr;
  }

  .definition-list dd {
    margin-top: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .step {
    padding: 70px 22px 24px;
  }

  .step::before {
    top: 20px;
    left: 22px;
  }

  th,
  td {
    min-width: 160px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf4ff;
    --muted: #b8c5d9;
    --surface: #0b1d38;
    --surface-soft: #06142a;
    --border: #253b5e;
    --blue-100: #17355f;
    --warning-bg: #302710;
    --warning-border: #d7a32f;
    --warning-ink: #f6d989;
    --shadow: 0 24px 70px rgb(0 0 0 / 28%);
  }

  a {
    color: #86bfff;
  }

  a:hover {
    color: #ff8e99;
  }

  h1,
  h2,
  h3,
  strong,
  .definition-list dt,
  th {
    color: #f5f8ff;
  }

  .content-card,
  .side-card,
  .tile,
  .contact-card,
  .step,
  .notice {
    box-shadow: 0 12px 36px rgb(0 0 0 / 20%);
  }

  .tile:nth-child(even) .tile-number,
  .tag.required {
    background: #491b29;
    color: #ff9ca7;
  }

  .button-link.secondary {
    color: #dfeaff;
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #ffffff;
    color: #111827;
    font-size: 11pt;
  }

  .site-header,
  .side-stack,
  .site-footer,
  .button-row,
  .skip-link {
    display: none !important;
  }

  .hero {
    padding: 24px 0;
    background: #ffffff;
    color: #111827;
  }

  .hero h1,
  .hero strong,
  h1,
  h2,
  h3,
  strong {
    color: #111827;
  }

  .hero-lead,
  .hero-meta,
  .muted {
    color: #4b5563;
  }

  .page-shell {
    display: block;
    padding: 0;
  }

  .content-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  a {
    color: #111827;
  }
}
