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

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

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

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

a {
  color: inherit
}

.region {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  color: var(--edge)
}

.group-small, .region-dark, .unit-off, .case-small, .badge-lead {
  width: min(100% - 2rem, var(--lift));
  margin-inline: auto
}

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

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

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

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

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

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

.ribbon:empty {
  display: none
}

.ribbon:empty + .region-last {
  margin-inline-start: auto
}

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

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

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

.piece-link::-webkit-details-marker {
  display: none
}

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

.piece-link span {
  position: relative
}

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

.piece-link span::after {
  position: absolute;
  top: 6px
}

.piece-dark {
  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(--paper);
  border: 1px solid color-mix(in srgb, var(--edge) 20%, transparent);
  border-radius: var(--warm);
  box-shadow: var(--head)
}

.piece-dark a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--shell);
  text-decoration: none;
  color: var(--edge)
}

.piece-dark a:hover {
  background: color-mix(in srgb, var(--edge) 12%, transparent)
}

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

.region .band-dark {
  color: inherit;
  border-color: color-mix(in srgb, var(--edge) 45%, transparent)
}

.region .band-dark:hover {
  background: color-mix(in srgb, var(--edge) 14%, transparent)
}

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

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

.group-small::-webkit-scrollbar {
  display: none
}

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

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

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

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

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

.band-dark {
  background: transparent;
  color: var(--alt);
  border-color: var(--band)
}

.band-dark:hover {
  background: var(--dim)
}

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

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

.article, .layer h2, .layer h3, .tile h2, .tile h3, .unit-view {
  color: var(--alt);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance
}

.article {
  font-size: var(--bold);
  margin: 0 0 1rem
}

.unit-view {
  font-size: var(--foot);
  margin: 0 0 1.25rem
}

.tile h3, .layer h3 {
  font-size: var(--fill);
  margin: 1.75rem 0 0.5rem
}

.layer p, .tile p {
  margin: 0 0 1rem
}

.tile > :last-child, .layer > :last-child {
  margin-bottom: 0
}

.layer a, .tile a {
  color: color-mix(in srgb, var(--tone) 72%, var(--alt));
  text-underline-offset: 3px
}

.caption {
  display: block
}

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

.caption > .unit:not(.case):nth-of-type(odd) {
  background: var(--dim)
}

.tile {
  max-width: var(--lead)
}

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

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

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

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

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

.unit-list .tile 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(--tone);
  color: var(--frame);
  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(--band);
  border-inline-start: 3px solid var(--thin);
  border-radius: 0 var(--shell) var(--shell) 0;
  background: var(--dim);
  font-size: 0.95rem
}

.note p {
  margin: 0 0 0.6rem
}

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

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

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

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

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

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

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

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

.layer blockquote, .tile blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid var(--tone);
  border-radius: 0 var(--shell) var(--shell) 0;
  background: var(--dim);
  color: var(--thin);
  font-size: 0.95rem
}

.layer blockquote p, .tile blockquote p {
  margin: 0 0 0.6rem
}

.layer blockquote > :last-child, .tile blockquote > :last-child {
  margin-bottom: 0
}

.tile blockquote strong, .layer blockquote strong {
  color: var(--alt)
}

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

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

.unit-table .tile {
  max-width: none;
  overflow-x: auto
}

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

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

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

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

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

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

.figure-thumb {
  border: 1px solid var(--band);
  border-radius: var(--warm);
  box-shadow: var(--head);
  width: 100%
}

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

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

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

.chunk-first a {
  color: var(--tone);
  font-weight: 600
}

.segment {
  text-align: center
}

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

.segment-meta {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--thin)
}

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

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

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

.case .article {
  grid-area: title;
  color: #ffffff
}

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

.case .layer {
  margin-bottom: 1.5rem
}

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

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

.chip .band {
  width: 100%
}

.chip-less {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 0.9rem 1.25rem;
  background: color-mix(in srgb, var(--tone) 22%, var(--cool));
  color: var(--alt);
  border-bottom: 3px solid var(--tone)
}

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

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

.chip-copy {
  font-weight: 800;
  font-size: var(--fill);
  color: inherit;
  text-align: center
}

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

.chip-side {
  font-size: var(--foot);
  font-weight: 800;
  line-height: 1.15;
  color: var(--alt);
  margin: 0;
  text-wrap: balance
}

.chip-narrow {
  font-size: 0.8rem;
  color: var(--thin);
  margin: 0
}

.block {
  padding-block: 1.5rem
}

.plate {
  border: 1px solid var(--band);
  border-radius: var(--warm);
  background: var(--soft);
  padding: 0.5rem 1.1rem
}

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

.plate-shut::-webkit-details-marker {
  display: none
}

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

.plate[open] .plate-shut::before {
  transform: rotate(-135deg)
}

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

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

.plate-off a {
  color: var(--thin);
  text-underline-offset: 3px
}

.plate-off a:hover {
  color: var(--alt)
}

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

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

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

.bay-side {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dim)
}

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

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

.bay-large {
  font-weight: 600;
  color: var(--alt);
  line-height: 1.3;
  margin: 0
}

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

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

.area {
  background: var(--cool);
  border: 1px solid var(--band);
  border-radius: var(--warm);
  padding: 1.1rem 1.2rem
}

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

.area-edge {
  font-weight: 700;
  color: var(--alt)
}

.area-soft {
  color: var(--tone);
  font-weight: 700;
  white-space: nowrap
}

.area-sub {
  margin: 0;
  color: var(--thin)
}

.board-bold {
  display: grid;
  gap: 0.5rem;
  max-width: var(--lead)
}

.board-lead {
  border: 1px solid var(--band);
  border-radius: var(--shell);
  background: var(--soft);
  padding: 0 1.1rem
}

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

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

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

.board-lead[open] .board-on::before {
  content: "−"
}

.board-outer {
  color: var(--thin);
  padding-bottom: 1rem
}

.board-outer > :first-child {
  margin-top: 0
}

.board-outer > :last-child {
  margin-bottom: 0
}

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

.sheet-thumb {
  margin: 0;
  font-size: var(--fill);
  font-weight: 800;
  color: var(--alt);
  text-wrap: balance
}

.sheet-stub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--thin)
}

.badge {
  border-top: 1px solid var(--band);
  background: var(--dim);
  color: var(--thin);
  padding-block: 2rem 6rem
}

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

.badge-light {
  margin-inline-end: auto;
  font-weight: 700;
  color: var(--alt)
}

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

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

.badge-line:empty {
  display: none
}

.badge-line a {
  text-decoration: none
}

.badge-line a:hover {
  text-decoration: underline
}

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

.badge-shut p {
  margin: 0
}

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

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

.field {
  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(--tone) 14%, var(--paper));
  color: var(--edge);
  border-top: 1px solid color-mix(in srgb, var(--tone) 45%, transparent)
}

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

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

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

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

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

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

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

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

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

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

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

  .region-dark {
    flex-wrap: nowrap
  }

  .ribbon, .group, .region-last .band-dark {
    display: none
  }

  .ribbon + .region-last {
    margin-inline-start: auto
  }

  .piece {
    display: block;
    order: 3
  }

  .region-last {
    margin-inline-start: auto
  }

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

  .unit {
    padding-block: 1.75rem
  }

  .chip-cell, .sheet {
    padding: 1.15rem
  }

  .case-last .band-light, .sheet .band-light {
    width: 100%
  }

  .field-soft {
    display: none
  }

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

}
