:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #000000;
  --red: #e4002b;
  --paper: #f0f0f0;
  --navy: #001f3f;
  --green: #006400;
  --gold: #ffd700;
  --grey: #6c757d;
  --line: #d3d6d9;
  --r: 8px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
main, section, aside, article, figure, nav, div { min-width: 0; }
section, [id] { scroll-margin-top: 24px; }
h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { margin: 16px 0 24px; font-size: clamp(2.5rem, 4.5vw, 4rem); letter-spacing: -.035em; max-width: 15ch; }
h2 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); margin: 8px 0 24px; letter-spacing: -.025em; max-width: 26ch; }
h3 { font-size: 1.25rem; margin: 24px 0 16px; line-height: 1.3; }
p { margin: 0 0 16px; max-width: 72ch; }
ul { margin: 16px 0 24px; padding-left: 24px; }
li { margin: 8px 0; }
a { color: var(--navy); font-size: 1rem; line-height: 1.6; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
a span[aria-hidden] { flex: 0 0 auto; }
button, textarea, summary { font: inherit; }
button { cursor: pointer; min-height: 48px; min-width: 48px; padding: 8px 16px; border: 2px solid var(--navy); border-radius: var(--r); background: var(--navy); color: var(--white); line-height: 1.6; }
button:hover { background: var(--ink); border-color: var(--ink); }
label { display: block; margin: 16px 0 8px; font-weight: 700; }
textarea { display: block; width: 100%; max-width: 100%; min-height: 176px; resize: vertical; border: 1px solid var(--grey); border-radius: var(--r); padding: 16px; color: var(--ink); background: var(--white); line-height: 1.6; }
textarea::placeholder { color: #525a61; opacity: 1; }
figure { margin: 0; }
img { display: block; max-width: 100%; width: 100%; height: auto; object-fit: cover; color: var(--navy); background: var(--paper); font-size: 1rem; line-height: 1.6; }
figcaption, caption { font-size: 1rem; text-align: left; color: var(--navy); }
figcaption { padding: 16px 0; border-bottom: 1px solid var(--line); }
dl { margin: 24px 0 16px; }
dt { font-weight: 700; color: var(--navy); }
dd { margin: 8px 0 0; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 24px 0 16px; }
caption { padding-bottom: 16px; }
th, td { text-align: left; vertical-align: top; padding: 16px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
thead { color: var(--white); background: var(--navy); }
th:first-child { width: 27%; }
tbody th { background: var(--paper); color: var(--navy); }
td p:last-child { margin-bottom: 0; }
summary { cursor: pointer; min-height: 48px; padding: 12px 16px; color: var(--navy); font-weight: 700; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.u { background: var(--navy); color: var(--white); }
.u p { margin: 0; }
.u a { color: var(--white); }
.u a:hover { text-decoration-thickness: 2px; }
.mast { min-height: 88px; border-bottom: 1px solid var(--line); }
.home { font-weight: 700; text-decoration: none; }
.mark { width: 16px; height: 24px; border-left: 8px solid var(--red); border-bottom: 8px solid var(--red); }
.menu { position: relative; }
.menu summary { min-width: 96px; border: 1px solid var(--grey); border-radius: var(--r); }
.menu nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; width: 336px; max-width: calc(100vw - 48px); padding: 16px; border: 1px solid var(--navy); border-radius: var(--r); background: var(--white); box-shadow: 0 8px 24px #001f3f18; }
.menu a { display: flex; padding: 8px; }
.menu a:hover { background: var(--paper); }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 48px; }
.tag { margin-bottom: 8px; font-weight: 700; color: var(--navy); }
.lead { font-size: 1.125rem; max-width: 52ch; }
.hero .pic { padding-top: 8px; }
.pic img { border-radius: var(--r); aspect-ratio: 6 / 5; }
.note .pic img { aspect-ratio: 3 / 2; }
.actions { justify-content: flex-start; margin-block: 24px 0; gap: 16px; }
.btn { min-height: 48px; padding: 12px 16px; background: var(--red); color: var(--white); border-radius: var(--r); text-decoration: none; font-weight: 700; }
.btn:hover { background: var(--navy); color: var(--white); }
.ref { padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ref:hover { border-color: var(--red); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.box { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.box h3:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
.go { border-top: 8px solid var(--green); }
.hold { border-top: 8px solid var(--red); }
.start { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.start h2 { max-width: 38ch; }
.cap { margin-top: 16px; margin-bottom: 24px; padding-left: 16px; border-left: 3px solid var(--grey); color: var(--navy); }
.flow { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 48px; align-items: start; }
.rail { position: sticky; top: 24px; padding: 24px 16px; background: var(--paper); border-radius: var(--r); }
.rail h2 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 16px; }
.rail ul { list-style: none; margin: 0; padding: 0; }
.rail li { margin: 0; }
.rail a { display: flex; width: 100%; padding: 8px 0; border-top: 1px solid var(--line); }
.guide > section { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); }
.pair > div { padding: 24px; }
.pair > div + div { border-left: 1px solid var(--line); }
.more { margin: 24px 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.more > p, .more > .ref { margin: 0 16px 16px; }
.more[open] summary { margin-bottom: 8px; }
.call { padding: 24px; background: var(--paper); border-left: 8px solid var(--gold); border-radius: var(--r); margin-top: 24px; }
.call h3 { margin-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0; }
.links a { min-height: 48px; }
.cost { border-top: 2px solid var(--navy); }
.cost > div { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cost dd { margin: 0; }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.q { padding: 24px; background: var(--paper); border-radius: var(--r); }
.q h3 { margin: 0 0 16px; font-size: 1.125rem; }
.q p { margin: 0; }
.note { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; padding: 32px 0 0; }
.note h3 { margin-top: 0; }
.note .pic { align-self: start; }
.plain { background: var(--white); color: var(--navy); }
.plain:hover { color: var(--white); }
.status { color: var(--navy); margin: 16px 0 0; }
.fn { padding: 24px 0; border-top: 1px solid var(--line); }
.fn h3 { margin-top: 0; }
.fn .back { padding: 8px 16px; background: var(--paper); border-radius: var(--r); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; border-top: 8px solid var(--navy); }
.foot p { margin: 0; max-width: 58ch; }
.foot a { flex: 0 1 auto; }
.lost { min-height: 55vh; padding-block: 64px; }
.lost h1 { max-width: 24ch; }
.skip { position: fixed; top: 8px; left: 24px; z-index: 20; transform: translateY(-150%); padding: 12px 16px; background: var(--white); border: 2px solid var(--navy); }
.skip:focus { transform: none; }

@media (max-width: 960px) {
  .hero { gap: 32px; }
  .flow { grid-template-columns: 176px minmax(0, 1fr); gap: 32px; }
  .note { grid-template-columns: minmax(0, 1fr); }
  .note .pic { max-width: 480px; }
  .qs { grid-template-columns: minmax(0, 1fr); }
  .cols { gap: 16px; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 24px; }
  .u .row { gap: 0 16px; padding-block: 8px; }
  .mast { gap: 8px; }
  .home { gap: 8px; }
  .menu summary { min-width: 88px; padding-inline: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px; gap: 24px; }
  .hero .pic { padding: 0; }
  .cols, .pair { grid-template-columns: minmax(0, 1fr); }
  .pair > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rail { position: static; padding: 24px; }
  .rail ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .rail a { min-height: 72px; }
  .guide > section { padding-block: 24px 40px; }
  .cost > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  th, td { padding: 16px 8px; }
  th:first-child { width: 29%; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  .u, .mast, .rail, .menu, .skip, .actions, .ref, .back, .foot a { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .hero, .flow, .note { display: block; }
  .pic { display: none; }
  .guide > section { padding-block: 16px; }
  h2, h3, caption { break-after: avoid; }
  .box, .q, .call, .fn, tr { break-inside: avoid; }
  a { color: var(--ink); text-decoration: underline; }
  .more:not([open])::after { content: "Open this panel in the browser to read its details before printing."; display: block; padding: 16px; }
  textarea { min-height: 160px; }
}
