:root {
  --head: #0b1220;
  --dim: #dfe5f0;
  --lead: #ffffff;
  --flat: #ffb300;
  --fill: #111111;
  --round: #d99700;
  --tone: #070b16;
  --foot: #ffffff;
  --brand: color-mix(in srgb, var(--dim) 6%, var(--head));
  --thin: color-mix(in srgb, var(--dim) 3%, var(--head));
  --zone: color-mix(in srgb, var(--dim) 18%, var(--head));
  --field: var(--dim);
  --lift: 1160px;
  --frame: 78ch;
  --flow: 14px;
  --card: 8px;
  --warm: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --main: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --alt: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --bold: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --space: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

*, *::before, *::after {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--head);
  color: var(--dim);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--main);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word
}

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

a {
  color: inherit
}

.crest {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--tone);
  color: var(--foot)
}

.element-edge, .margin-less, .slot-open, .crest-small, .pane-less {
  width: min(100% - 2rem, var(--lift));
  margin-inline: auto
}

.crest-small {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 60px;
  padding-block: 0.5rem
}

.ring {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0
}

.ring img {
  height: 32px;
  width: auto;
  object-fit: contain
}

.weave {
  display: flex;
  gap: 0.15rem;
  margin-inline-end: auto;
  min-width: 0
}

.weave a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--card);
  text-decoration: none;
  color: inherit;
  opacity: 0.82;
  white-space: nowrap;
  font-size: 0.92rem
}

.weave a:hover {
  background: color-mix(in srgb, var(--foot) 14%, transparent);
  opacity: 1
}

.weave:empty {
  display: none
}

.weave:empty + .crest-less {
  margin-inline-start: auto
}

.crest-less {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0
}

.caption {
  display: none;
  position: relative;
  flex-shrink: 0
}

.caption-on {
  list-style: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--foot) 40%, transparent);
  border-radius: var(--card)
}

.caption-on::-webkit-details-marker {
  display: none
}

.caption-on span, .caption-on span::before, .caption-on span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px
}

.caption-on span {
  position: relative
}

.caption-on span::before {
  position: absolute;
  top: -6px
}

.caption-on span::after {
  position: absolute;
  top: 6px
}

.caption-narrow {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 25;
  min-width: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--tone);
  border: 1px solid color-mix(in srgb, var(--foot) 20%, transparent);
  border-radius: var(--flow);
  box-shadow: var(--warm)
}

.caption-narrow a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--card);
  text-decoration: none;
  color: var(--foot)
}

.caption-narrow a:hover {
  background: color-mix(in srgb, var(--foot) 12%, transparent)
}

.caption-narrow .strip {
  margin-top: 0.4rem;
  color: var(--foot);
  border-color: color-mix(in srgb, var(--foot) 40%, transparent)
}

.crest .strip-plain {
  color: inherit;
  border-color: color-mix(in srgb, var(--foot) 45%, transparent)
}

.crest .strip-plain:hover {
  background: color-mix(in srgb, var(--foot) 14%, transparent)
}

.margin {
  background: color-mix(in srgb, var(--foot) 8%, var(--tone));
  border-top: 1px solid color-mix(in srgb, var(--foot) 12%, transparent);
  font-size: 0.9rem
}

.margin-less {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none
}

.margin-less::-webkit-scrollbar {
  display: none
}

.margin a {
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--foot);
  opacity: 0.8;
  white-space: nowrap;
  border-bottom: 2px solid transparent
}

.margin a:hover {
  opacity: 1;
  border-bottom-color: var(--flat)
}

.strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--shell, transparent);
  border-radius: var(--card);
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  background: var(--flat);
  color: var(--fill);
  transition: background-color 0.15s ease, transform 0.05s ease
}

.strip:hover {
  background: var(--round)
}

.strip:active {
  transform: translateY(1px)
}

.strip-plain {
  background: transparent;
  color: var(--lead);
  border-color: var(--zone)
}

.strip-plain:hover {
  background: var(--brand)
}

.strip-shut {
  padding: 0.9rem 1.8rem;
  font-size: var(--alt)
}

:focus-visible {
  outline: 2px solid var(--flat);
  outline-offset: 2px
}

.tier h3, .tier h2, .pane-flat, .lane h3, .binder, .lane h2 {
  color: var(--lead);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance
}

.binder {
  font-size: var(--space);
  margin: 0 0 1rem
}

.pane-flat {
  font-size: var(--bold);
  margin: 0 0 1.25rem
}

.tier h3, .lane h3 {
  font-size: var(--alt);
  margin: 1.75rem 0 0.5rem
}

.lane p, .tier p {
  margin: 0 0 1rem
}

.tier > :last-child, .lane > :last-child {
  margin-bottom: 0
}

.lane a, .tier a {
  color: color-mix(in srgb, var(--flat) 72%, var(--lead));
  text-underline-offset: 3px
}

.well {
  display: block
}

.pane {
  padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  scroll-margin-top: 72px
}

.well > .pane:not(.slot):nth-of-type(odd) {
  background: var(--brand)
}

.tier {
  max-width: var(--frame)
}

.pane-list .tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem
}

.pane-list .tier ul > li {
  position: relative;
  padding-inline-start: 1.9rem;
  padding-block: 0.15rem
}

.pane-list .tier ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 0.4rem;
  border-inline-start: 2px solid var(--flat);
  border-bottom: 2px solid var(--flat);
  transform: rotate(-45deg)
}

.pane-list .tier ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem
}

.pane-list .tier ol > li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 2.6rem
}

.pane-list .tier ol > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--flat);
  color: var(--fill);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--zone);
  border-inline-start: 3px solid var(--field);
  border-radius: 0 var(--card) var(--card) 0;
  background: var(--brand);
  font-size: 0.95rem
}

.note p {
  margin: 0 0 0.6rem
}

.note > :last-child {
  margin-bottom: 0
}

.note strong {
  color: var(--lead)
}

.note--disclosure {
  color: var(--field);
  font-size: 0.88rem;
  background: transparent;
  border-inline-start-color: var(--zone)
}

.note--warning {
  border-inline-start-color: var(--flat);
  background: color-mix(in srgb, var(--flat) 10%, var(--head))
}

.note--takeaway {
  font-variant-numeric: tabular-nums;
  border-inline-start-color: var(--lead)
}

.note--rg {
  border: 1px solid color-mix(in srgb, var(--lead) 30%, var(--zone));
  border-radius: var(--flow);
  background: var(--thin)
}

.note--rg a {
  font-weight: 600
}

.note--independent {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--field);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--zone);
  border-radius: 0;
  padding: 1rem 0 0
}

.lane blockquote, .tier blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--flat);
  border-radius: 0 var(--card) var(--card) 0;
  background: var(--head);
  color: var(--dim);
  font-size: 0.95rem
}

.lane blockquote p, .tier blockquote p {
  margin: 0 0 0.6rem
}

.tier blockquote > :last-child, .lane blockquote > :last-child {
  margin-bottom: 0
}

.tier blockquote strong, .lane blockquote strong {
  color: var(--lead)
}

.tier hr {
  border: 0;
  border-top: 1px solid var(--zone);
  margin: 2rem 0
}

.tier table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  background: var(--thin);
  border: 1px solid var(--zone);
  border-radius: var(--flow);
  overflow: hidden
}

.pane-table .tier {
  max-width: none;
  overflow-x: auto
}

.tier td, .tier th {
  border-bottom: 1px solid var(--zone);
  padding: 0.7rem 0.9rem;
  text-align: start;
  vertical-align: top
}

.tier caption {
  caption-side: top;
  text-align: start;
  padding: 0 0 0.6rem;
  font-weight: 700;
  color: var(--lead)
}

.tier thead th {
  background: color-mix(in srgb, var(--flat) 16%, var(--brand));
  color: var(--dim);
  font-weight: 700;
  white-space: nowrap
}

.tier tbody tr:last-child td {
  border-bottom: 0
}

.tier tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--dim) 3%, transparent)
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: 2rem;
  align-items: start
}

.article-soft {
  border: 1px solid var(--zone);
  border-radius: var(--flow);
  box-shadow: var(--warm);
  width: 100%
}

.slot {
  position: relative;
  padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
  background: var(--tone);
  isolation: isolate
}

.slot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--deep, none);
  background-size: cover;
  background-position: center
}

.ramp-small {
  margin-top: 1.25rem;
  text-align: center
}

.ramp-small a {
  color: var(--flat);
  font-weight: 600
}

.stem {
  text-align: center
}

.stem-narrow {
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  font-weight: 800;
  color: var(--flat);
  margin-bottom: 0.5rem
}

.stem-line {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--field)
}

.stem-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem
}

@media (max-width: 700px) {
  .slot::before {
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--size, var(--deep, none))
  }

}
.slot-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
  grid-template-areas: "title offer" "text offer";
  align-content: start;
  gap: 0 2rem
}

.slot .binder {
  grid-area: title;
  color: #ffffff
}

.slot-outer {
  grid-area: text;
  color: #f2f4f8;
  max-width: 62ch
}

.slot .lane {
  margin-bottom: 1.5rem
}

.slot-side {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75
}

.cell {
  grid-area: offer;
  background: var(--head);
  border: 1px solid color-mix(in srgb, var(--flat) 40%, var(--zone));
  border-radius: var(--flow);
  box-shadow: var(--warm);
  overflow: hidden;
  align-self: start
}

.cell .strip {
  width: 100%
}

.cell-soft {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--flat) 12%, var(--head));
  color: var(--lead);
  border-bottom: 3px solid var(--flat)
}

.cell-soft img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain
}

.cell-plain {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  text-align: center
}

.cell-top {
  font-weight: 800;
  font-size: var(--alt);
  color: inherit;
  text-align: center
}

.cell-sub {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--field);
  margin: 0
}

.cell-meta {
  font-size: var(--bold);
  font-weight: 800;
  line-height: 1.15;
  color: var(--lead);
  margin: 0;
  text-wrap: balance
}

.cell-cell {
  font-size: 0.8rem;
  color: var(--field);
  margin: 0
}

.drawer {
  padding-block: 1.5rem
}

.entry {
  border: 1px solid var(--zone);
  border-radius: var(--flow);
  background: var(--thin);
  padding: 0.5rem 1.1rem
}

.entry-thumb {
  cursor: pointer;
  font-weight: 700;
  color: var(--lead);
  padding-block: 0.6rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem
}

.entry-thumb::-webkit-details-marker {
  display: none
}

.entry-thumb::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 2px solid var(--flat);
  border-bottom: 2px solid var(--flat);
  transform: rotate(45deg);
  transition: transform 0.15s ease
}

.entry[open] .entry-thumb::before {
  transform: rotate(-135deg)
}

.entry-flat {
  columns: 2;
  gap: 2rem;
  margin: 0 0 0.75rem;
  padding-inline-start: 1.2rem;
  font-size: 0.95rem
}

.entry-flat li {
  break-inside: avoid;
  margin-bottom: 0.3rem
}

.entry-flat a {
  color: var(--field);
  text-underline-offset: 3px
}

.entry-flat a:hover {
  color: var(--lead)
}

.course {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.row {
  display: flex;
  flex-direction: column;
  background: var(--thin);
  border: 1px solid var(--zone);
  border-radius: var(--flow);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease
}

.row:hover {
  border-color: var(--flat);
  transform: translateY(-2px)
}

.row-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand)
}

.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.row-top {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem;
  margin-top: auto
}

.row-view {
  font-weight: 600;
  color: var(--lead);
  line-height: 1.3;
  margin: 0
}

.row .strip {
  width: 100%;
  padding-block: 0.5rem;
  font-size: 0.95rem
}

.zone2-less {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.cabinet {
  background: var(--head);
  border: 1px solid var(--zone);
  border-radius: var(--flow);
  padding: 1.1rem 1.2rem
}

.cabinet-last {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem
}

.cabinet-dark {
  font-weight: 700;
  color: var(--lead)
}

.cabinet-edge {
  color: var(--flat);
  font-weight: 700;
  white-space: nowrap
}

.cabinet-image {
  margin: 0;
  color: var(--field)
}

.bridge-large {
  display: grid;
  gap: 0.5rem;
  max-width: var(--frame)
}

.bridge-last {
  border: 1px solid var(--zone);
  border-radius: var(--card);
  background: var(--thin);
  padding: 0 1.1rem
}

.bridge-on {
  cursor: pointer;
  font-weight: 600;
  color: var(--lead);
  padding-block: 0.9rem;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem
}

.bridge-on::-webkit-details-marker {
  display: none
}

.bridge-on::before {
  content: "+";
  color: var(--flat);
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0
}

.bridge-last[open] .bridge-on::before {
  content: "−"
}

.bridge-bold {
  color: var(--field);
  padding-bottom: 1rem
}

.bridge-bold > :first-child {
  margin-top: 0
}

.bridge-bold > :last-child {
  margin-bottom: 0
}

.crate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: var(--flow);
  background: color-mix(in srgb, var(--flat) 12%, var(--brand));
  border: 1px solid color-mix(in srgb, var(--flat) 35%, var(--zone))
}

.crate-light {
  margin: 0;
  font-size: var(--alt);
  font-weight: 800;
  color: var(--lead);
  text-wrap: balance
}

.crate-sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--field)
}

.element {
  border-top: 1px solid var(--zone);
  background: var(--head);
  color: var(--dim);
  padding-block: 2rem 6rem
}

.element-edge {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--zone)
}

.element-info {
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--lead)
}

.element-info img {
  height: 32px;
  width: auto;
  object-fit: contain
}

.element-large {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem
}

.element-large:empty {
  display: none
}

.element-large a {
  text-decoration: none
}

.element-large a:hover {
  text-decoration: underline
}

.element-on {
  width: min(100% - 2rem, var(--lift));
  margin-inline: auto;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: grid;
  gap: 0.5rem
}

.element-on p {
  margin: 0
}

.element-shut {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap
}

.block {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.78rem
}

.body2 {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--tone);
  color: var(--foot);
  border-top: 1px solid color-mix(in srgb, var(--flat) 45%, transparent)
}

.body2-dark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25
}

.body2-lead {
  font-weight: 800;
  color: var(--foot);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.body2-alt {
  font-size: 0.75rem;
  opacity: 0.7
}

.body2 .strip {
  margin-inline-start: auto;
  flex-shrink: 0
}

@media (max-width: 960px) {
  .slot-open {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "offer" "text";
    gap: 1.25rem
  }

  .article {
    grid-template-columns: 1fr
  }

  .article-soft {
    max-width: 260px;
    margin-inline: auto
  }

}
@media (max-width: 700px) {
  .entry-flat {
    columns: 1
  }

  .course {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 0.75rem
  }

}
@media (max-width: 640px) {
  .crest {
    position: static
  }

  .crest-small {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.6rem
  }

  .crest-small {
    flex-wrap: nowrap
  }

  .margin, .weave, .crest-less .strip-plain {
    display: none
  }

  .weave + .crest-less {
    margin-inline-start: auto
  }

  .caption {
    display: block;
    order: 3
  }

  .crest-less {
    margin-inline-start: auto
  }

  .crest-less .strip {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem
  }

  .pane {
    padding-block: 1.75rem
  }

  .crate, .cell-plain {
    padding: 1.15rem
  }

  .crate .strip-shut, .slot-outer .strip-shut {
    width: 100%
  }

  .body2-alt {
    display: none
  }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before {
    transition: none !important
  }

}
