:root {
  color-scheme: dark;
  --bg: #0b1523;
  --panel: #101f30;
  --rule: #27394a;
  --text: #f5efe4;
  --muted: #becad5;
  --sea: #91dcc9;
  --gold: #f4ce8b;
  --serif: Georgia,"Times New Roman",serif;
  --sans: system-ui,-apple-system,"Segoe UI",sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
}

a {
  color: var(--sea);
  text-underline-offset: .24em;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

[hidden] {
  display: none!important;
}

.shell {
  max-width: 1280px;
  margin: auto;
  padding-inline: 40px;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--bg);
  padding: 8px 14px;
  z-index: 4;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.top {
  border-bottom: 1px solid var(--rule);
  background: #0b1523;
}

.top-inner,.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 73px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 700 15px/1.2 var(--serif);
  letter-spacing: .1em;
}

.brand small {
  display: block;
  color: var(--sea);
  font: 700 10px/1.5 var(--sans);
  letter-spacing: .24em;
}

.brand-mark {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #627675;
  border-radius: 50%;
  font: 20px var(--serif);
  color: var(--gold);
}

.top nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top nav a,.crumb a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
}

.top nav a:hover,.top nav a[aria-current],.crumb a:hover {
  color: var(--sea);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 475px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--rule);
  background: #132437;
  display: flex;
  align-items: center;
}

.hero-copy {
  padding: 50px 45px;
  position: relative;
  z-index: 1;
  max-width: calc(50% + 45px);
}

.hero-art {
  position: absolute;
  inset: 0 0 0 36%;
  margin: 0;
  z-index: -1;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 55%;
}

.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#132437,transparent 64%);
}

.hero-art figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  background: #0b1523de;
  padding: 3px 8px;
  border-radius: 5px;
  color: var(--text);
  font-size: .75rem;
}

.eyebrow {
  color: var(--sea);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero h1,.guide-hero h1 {
  font: 500 clamp(3.15rem,7.4vw,6.4rem)/.95 var(--serif);
  letter-spacing: -.055em;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero-summary {
  max-width: 48ch;
  color: #e2e9ef;
  font-size: 1.03rem;
  margin: 0 0 24px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 17px;
  border-radius: 8px;
  text-decoration: none;
  font: 700 .93rem/1.4 var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
}

.primary {
  background: var(--gold);
  color: #201707;
}

.primary:hover {
  background: #ffe0a9;
}

.secondary {
  background: #162839;
  color: var(--text);
  border-color: #637789;
}

.secondary:hover {
  background: #263d50;
}

.quicklinks {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
  margin: 16px 0 42px;
}

.quicklinks a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  text-decoration: none;
  background: var(--panel);
  color: var(--text);
}

.quicklinks a:hover {
  border-color: #729c98;
  background: #172c3b;
}

.quicklinks strong,.quicklinks div span {
  display: block;
}

.quicklinks div span {
  font-size: .86rem;
  color: var(--muted);
}

.quick-icon {
  display: grid;
  justify-items: center;
  align-items: center;
  background: #1d3543;
  color: var(--sea);
  font-size: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
}

.reading {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 45px;
  max-width: 1090px;
  margin: 0 auto 56px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--panel);
  padding: 15px;
}

.toc p {
  font-weight: 700;
  margin: 0 0 8px;
}

.toc a {
  display: block;
  font-size: .91rem;
  text-decoration: none;
  color: var(--muted);
  padding: 5px 0;
}

.toc a:hover {
  color: var(--sea);
  text-decoration: underline;
}

.toc .toc-action {
  border-top: 1px solid var(--rule);
  margin-top: 9px;
  padding-top: 12px;
  color: var(--sea);
}

.article {
  min-width: 0;
}

.article section {
  scroll-margin: 22px;
  padding-bottom: 23px;
  margin-bottom: 29px;
  border-bottom: 1px solid var(--rule);
}

.article h2 {
  font: 500 clamp(1.8rem,3.8vw,2.6rem)/1.08 var(--serif);
  letter-spacing: -.025em;
  margin: 0 0 16px;
  color: var(--text);
}

.article h3 {
  font: 600 1.2rem/1.3 var(--serif);
  margin: 23px 0 6px;
  color: var(--gold);
}

.article p,.article li,.article td {
  color: #d5dfe8;
}

.article p {
  max-width: 74ch;
  margin: 0 0 1em;
}

.steps {
  padding-left: 1.5em;
}

.steps li {
  padding-left: .35em;
  margin-bottom: .85em;
}

.steps li::marker {
  color: var(--sea);
  font-weight: 700;
}

.article strong {
  color: var(--text);
}

.table-scroll {
  margin: 17px 0 20px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
}

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

thead {
  background: #172a3b;
}

tbody th {
  width: 35%;
  font-weight: 650;
  color: var(--sea);
}

tr:last-child>* {
  border-bottom: 0;
}

details {
  margin: 8px 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--panel);
}

summary {
  font-weight: 650;
  cursor: pointer;
  padding: 10px 14px;
}

details p {
  padding: 0 14px;
}

.guide-hero {
  margin: 31px 0 38px;
  padding: 26px 32px 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: radial-gradient(ellipse at 95% 0%,#224456,#122438 65%);
}

.guide-hero h1 {
  font-size: clamp(2.8rem,6.4vw,5.1rem);
  text-wrap: initial;
}

.crumb {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 23px;
  font-size: .9rem;
}

.player iframe {
  display: block;
  border: 0;
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16/9;
}

.player {
  margin: 14px 0;
}

.footer {
  border-top: 1px solid var(--rule);
}

.footer-inner p {
  color: var(--muted);
  font-size: .9rem;
}

@media(max-width:920px) {
  .shell {
    padding-inline: 25px;
  }
  .hero-copy {
    max-width: 60%;
    padding: 35px 28px;
  }
  .reading {
    grid-template-columns: 180px minmax(0,1fr);
    gap: 27px;
  }
}

@media(max-width:640px) {
  .shell {
    padding-inline: 16px;
  }
  .top-inner,.footer-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }
  .top nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .top nav a {
    font-size: .87rem;
  }
  .hero {
    min-height: 0;
    margin-top: 16px;
    display: block;
    border-radius: 14px;
  }
  .hero-copy {
    max-width: none;
    padding: 25px 19px 22px;
  }
  .hero h1 {
    font-size: clamp(2.8rem,12vw,4.4rem);
    text-wrap: initial;
    margin-bottom: 16px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    height: 190px;
    z-index: auto;
  }
  .hero-art:after {
    background: linear-gradient(#132437,transparent 31%);
    pointer-events: none;
  }
  .hero-art img {
    object-position: center 57%;
  }
  .quicklinks {
    grid-template-columns: 1fr;
    margin-bottom: 25px;
    gap: 7px;
  }
  .quicklinks a {
    padding: 9px 12px;
  }
  .reading {
    display: block;
  }
  .toc {
    position: static;
    margin: 0 0 24px;
  }
  .toc nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 13px;
  }
  .toc p {
    flex-basis: 100%;
    margin: 0;
  }
  .guide-hero {
    padding: 20px 17px;
    margin: 16px 0 20px;
  }
  .guide-hero .actions {
    gap: 8px;
  }
  .footer-inner p {
    margin: 0;
  }
  .article section {
    padding-bottom: 17px;
    margin-bottom: 23px;
  }
  th,td {
    padding: 8px 9px;
    overflow-wrap: anywhere;
  }
}

.privacy-content {
  max-width: 750px;
  margin-inline: auto;
}

.privacy-form {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.privacy-form label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.privacy-form p {
  margin: 0;
}

.banner-placement {
  max-width: 100%;
  text-align: center;
}

.banner-placement small {
  color: var(--muted);
}

.banner-placement iframe {
  display: block;
  max-width: 100%;
  border: 0;
  margin-inline: auto;
}

.banner-frame {
  margin: 0;
}
