:root {
  --brand: #0b1220;
  --lift: #dfe5f0;
  --zone: #fff;
  --thin: #ffb300;
  --flat: #111;
  --lead: #d99700;
  --frame: #070b16;
  --alt: #fff;
  --foot: color-mix(in srgb, var(--lift) 6%, var(--brand));
  --field: color-mix(in srgb, var(--lift) 3%, var(--brand));
  --warm: color-mix(in srgb, var(--lift) 18%, var(--brand));
  --grid: color-mix(in srgb, var(--lift) 68%, var(--brand));
  --bold: 1160px;
  --ink: 78ch;
  --stroke: 14px;
  --wide: 8px;
  --space: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
  --core: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --edge: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --shell: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
  --plain: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
  color: inherit
}

.badge {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--frame);
  color: var(--alt)
}

.column__top, .badge__lead, .ribbon__side, .bay__icon, .layer__sub {
  width: min(100% - 2rem, var(--bold));
  margin-inline: auto
}

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

.block {
  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
}

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

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

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

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

.board:empty {
  display: none
}

.board:empty + .badge__open {
  margin-inline-start: auto
}

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

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

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

.pane__info::-webkit-details-marker {
  display: none
}

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

.pane__info span {
  position: relative
}

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

.pane__info span::after {
  position: absolute;
  top: 6px
}

.pane__plain {
  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(--frame);
  border: 1px solid color-mix(in srgb, var(--alt) 20%, transparent);
  border-radius: var(--stroke);
  box-shadow: var(--space)
}

.pane__plain a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--wide);
  text-decoration: none;
  color: var(--alt)
}

.pane__plain a:hover {
  background: color-mix(in srgb, var(--alt) 12%, transparent)
}

.pane__plain .band {
  margin-top: 0.4rem;
  color: var(--alt);
  border-color: color-mix(in srgb, var(--alt) 40%, transparent)
}

.badge .band--bottom {
  color: inherit;
  border-color: color-mix(in srgb, var(--alt) 45%, transparent)
}

.badge .band--bottom:hover {
  background: color-mix(in srgb, var(--alt) 14%, transparent)
}

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

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

.column__top::-webkit-scrollbar {
  display: none
}

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

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

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

.band:hover {
  background: var(--lead)
}

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

.band--bottom {
  background: transparent;
  color: var(--zone);
  border-color: var(--warm)
}

.band--bottom:hover {
  background: var(--foot)
}

.band--icon {
  padding: 0.9rem 1.8rem;
  font-size: var(--edge)
}

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

.tag h2, .row h2, .tag h3, .ribbon__alt, .row h3, .plate {
  color: var(--zone);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance
}

.plate {
  font-size: var(--plain);
  margin: 0 0 1rem
}

.ribbon__alt {
  font-size: var(--shell);
  margin: 0 0 1.25rem
}

.tag h3, .row h3 {
  font-size: var(--edge);
  margin: 1.75rem 0 0.5rem
}

.tag p, .row p {
  margin: 0 0 1rem
}

.row > :last-child, .tag > :last-child {
  margin-bottom: 0
}

.row a, .tag a {
  color: color-mix(in srgb, var(--thin) 72%, var(--zone));
  text-underline-offset: 3px
}

.chip {
  display: block
}

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

.chip > .ribbon:not(.bay):nth-of-type(odd) {
  background: var(--foot)
}

.tag {
  max-width: var(--ink)
}

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

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

.ribbon--list .tag 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(--thin);
  border-bottom: 2px solid var(--thin);
  transform: rotate(-45deg)
}

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

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

.ribbon--list .tag 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(--thin);
  color: var(--flat);
  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(--warm);
  border-inline-start: 3px solid var(--grid);
  border-radius: 0 var(--wide) var(--wide) 0;
  background: var(--foot);
  font-size: 0.95rem
}

.note p {
  margin: 0 0 0.6rem
}

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

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

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

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

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

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

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

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

.row blockquote, .tag blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--thin);
  border-radius: 0 var(--wide) var(--wide) 0;
  background: var(--foot);
  color: var(--grid);
  font-size: 0.95rem
}

.row blockquote p, .tag blockquote p {
  margin: 0 0 0.6rem
}

.tag blockquote > :last-child, .row blockquote > :last-child {
  margin-bottom: 0
}

.row blockquote strong, .tag blockquote strong {
  color: var(--zone)
}

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

.tag table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  background: var(--field);
  border: 1px solid var(--warm);
  border-radius: var(--stroke);
  overflow: hidden
}

.ribbon--table .tag {
  max-width: none;
  overflow-x: auto
}

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

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

.tag thead th {
  background: color-mix(in srgb, var(--thin) 16%, var(--foot));
  color: var(--zone);
  font-weight: 700;
  white-space: nowrap
}

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

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

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

.segment__sub {
  border: 1px solid var(--warm);
  border-radius: var(--stroke);
  box-shadow: var(--space);
  width: 100%
}

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

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

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

.detail__open a {
  color: var(--thin);
  font-weight: 600
}

.aside {
  text-align: center
}

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

.aside__figure {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--grid)
}

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

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

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

.bay .plate {
  grid-area: title;
  color: #fff
}

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

.bay .row {
  margin-bottom: 1.5rem
}

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

.slab {
  grid-area: offer;
  background: var(--brand);
  border: 1px solid color-mix(in srgb, var(--thin) 40%, var(--warm));
  border-radius: var(--stroke);
  box-shadow: var(--space);
  overflow: hidden;
  align-self: start
}

.slab .band {
  width: 100%
}

.slab__icon {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--thin) 22%, var(--brand));
  color: var(--zone);
  border-bottom: 3px solid var(--thin)
}

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

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

.slab__plain {
  font-weight: 800;
  font-size: var(--edge);
  color: inherit;
  text-align: center
}

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

.slab__cell {
  font-size: var(--shell);
  font-weight: 800;
  line-height: 1.15;
  color: var(--zone);
  margin: 0;
  text-wrap: balance
}

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

.sheet {
  padding-block: 1.5rem
}

.caption {
  border: 1px solid var(--warm);
  border-radius: var(--stroke);
  background: var(--field);
  padding: 0.5rem 1.1rem
}

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

.caption__large::-webkit-details-marker {
  display: none
}

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

.caption[open] .caption__large::before {
  transform: rotate(-135deg)
}

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

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

.caption__image a {
  color: var(--grid);
  text-underline-offset: 3px
}

.caption__image a:hover {
  color: var(--zone)
}

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

.box {
  display: flex;
  flex-direction: column;
  background: var(--field);
  border: 1px solid var(--warm);
  border-radius: var(--stroke);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease
}

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

.box__small {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--foot)
}

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

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

.box__thumb {
  font-weight: 600;
  color: var(--zone);
  line-height: 1.3;
  margin: 0
}

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

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

.strip {
  background: var(--brand);
  border: 1px solid var(--warm);
  border-radius: var(--stroke);
  padding: 1.1rem 1.2rem
}

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

.strip__link {
  font-weight: 700;
  color: var(--zone)
}

.strip__image {
  color: var(--thin);
  font-weight: 700;
  white-space: nowrap
}

.strip__icon {
  margin: 0;
  color: var(--grid)
}

.marker__large {
  display: grid;
  gap: 0.5rem;
  max-width: var(--ink)
}

.marker__flat {
  border: 1px solid var(--warm);
  border-radius: var(--wide);
  background: var(--field);
  padding: 0 1.1rem
}

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

.marker__on::-webkit-details-marker {
  display: none
}

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

.marker__flat[open] .marker__on::before {
  content: "−"
}

.marker__alt {
  color: var(--grid);
  padding-bottom: 1rem
}

.marker__alt > :first-child {
  margin-top: 0
}

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

.widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: var(--stroke);
  background: color-mix(in srgb, var(--thin) 12%, var(--foot));
  border: 1px solid color-mix(in srgb, var(--thin) 35%, var(--warm))
}

.widget__foot {
  margin: 0;
  font-size: var(--edge);
  font-weight: 800;
  color: var(--zone);
  text-wrap: balance
}

.widget__top {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--grid)
}

.layer {
  border-top: 1px solid var(--warm);
  background: var(--foot);
  color: var(--grid);
  padding-block: 2rem 6rem
}

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

.layer__on {
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--zone)
}

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

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

.layer__small:empty {
  display: none
}

.layer__small a {
  text-decoration: none
}

.layer__small a:hover {
  text-decoration: underline
}

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

.layer__meta p {
  margin: 0
}

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

.record {
  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
}

.area {
  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: color-mix(in srgb, var(--thin) 14%, var(--frame));
  color: var(--alt);
  border-top: 1px solid color-mix(in srgb, var(--thin) 45%, transparent)
}

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

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

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

.area .band {
  margin-inline-start: auto;
  flex-shrink: 0
}

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

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

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

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

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

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

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

  .badge__lead {
    flex-wrap: nowrap
  }

  .column, .badge__open .band--bottom, .board {
    display: none
  }

  .board + .badge__open {
    margin-inline-start: auto
  }

  .pane {
    display: block;
    order: 3
  }

  .badge__open {
    margin-inline-start: auto
  }

  .badge__open .band {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem
  }

  .ribbon {
    padding-block: 1.75rem
  }

  .slab__wide, .widget {
    padding: 1.15rem
  }

  .widget .band--icon, .bay__dark .band--icon {
    width: 100%
  }

  .area__sub {
    display: none
  }

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

}
