:root {
  --shell-night: #07131b;
  --shell-night-soft: #0b1b24;
  --shell-panel: #10242d;
  --shell-ink: #f5f2e9;
  --shell-muted: #a8b5ba;
  --shell-amber: #e9a657;
  --shell-amber-bright: #ffc778;
  --shell-paper: #e7e1d5;
  --shell-line: rgba(255, 255, 255, .13);
  --shell-serif: Georgia, "Times New Roman", serif;
  --shell-sans: Arial, Helvetica, sans-serif;
}

.global-header,
.global-footer,
.global-breadcrumbs,
.section-sidebar {
  box-sizing: border-box;
  font-family: var(--shell-sans);
}

.global-header *,
.global-footer *,
.global-breadcrumbs *,
.section-sidebar * { box-sizing: border-box; }

.global-header {
  position: relative;
  z-index: 50;
  color: var(--shell-ink);
  background: rgba(4, 16, 22, .98);
  border-bottom: 1px solid var(--shell-line);
}

.global-header__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--shell-ink) !important;
  letter-spacing: .01em;
  text-decoration: none !important;
}

.global-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(233, 166, 87, .68);
  color: var(--shell-amber-bright);
  font-family: var(--shell-serif);
  font-size: 22px;
}

.global-brand strong,
.global-brand small { display: block; }
.global-brand strong {
  color: var(--shell-ink);
  font-family: var(--shell-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
}
.global-brand small {
  margin-top: 4px;
  color: #92a1a8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .21em;
  line-height: 1.2;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 36px);
  color: #d7dde0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.global-nav a {
  position: relative;
  padding: 13px 0;
  color: #d7dde0 !important;
  text-decoration: none !important;
}
.global-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--shell-amber);
  transition: right .2s ease;
}
.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.global-nav a[aria-current="page"]::after { right: 0; }
.global-nav a[aria-current="page"] { color: var(--shell-amber-bright) !important; }

.global-breadcrumbs {
  color: #73848b;
  background: var(--shell-paper);
  border-bottom: 1px solid #cec5b5;
  font-size: 12px;
}
.global-breadcrumbs ol {
  width: min(1180px, calc(100% - 48px));
  min-height: 44px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.global-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.global-breadcrumbs li + li::before { content: "/"; color: #aa9d8e; }
.global-breadcrumbs a { color: #475960 !important; text-decoration: none !important; }
.global-breadcrumbs a:hover { color: #9a622c !important; }
.global-breadcrumbs [aria-current="page"] { color: #8c5d2f; font-weight: 700; }

.page-layout,
.home-content-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 68px);
}

.page-layout > :not(.section-sidebar) { grid-column: 2; min-width: 0; }
.page-layout > .section-sidebar { grid-column: 1; grid-row: 1 / span 999; }
.page-layout .reading,
.page-layout .shell,
.page-layout .feature { width: 100%; }

.report {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 48px;
  padding: 0 46px 72px;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  column-gap: clamp(34px, 5vw, 64px);
  overflow: visible;
}
.report > .hero { grid-column: 1 / -1; margin-right: -46px; margin-left: -46px; }
.report > .section-sidebar { grid-column: 1; grid-row: 2 / span 999; align-self: start; }
.report > :not(.hero):not(.section-sidebar) { grid-column: 2; min-width: 0; }

.section-sidebar {
  position: sticky;
  top: 24px;
  z-index: 10;
  color: #213039;
  background: var(--shell-paper);
  border: 1px solid #cec5b5;
  border-radius: 13px;
  box-shadow: 0 12px 34px rgba(12, 27, 35, .08);
  overflow: hidden;
}
.section-sidebar summary {
  padding: 15px 18px;
  color: #0c2029;
  background: linear-gradient(100deg, #e7a151, #ffc778);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}
.section-sidebar summary::-webkit-details-marker { display: none; }
.section-sidebar summary::after { content: "+"; float: right; font-size: 16px; line-height: 1; }
.section-sidebar details[open] summary::after { content: "−"; }
.section-sidebar__body { padding: 18px 17px 20px; }
.section-sidebar__label {
  margin: 0 0 8px;
  color: #8b6a43;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section-sidebar__label:not(:first-child) { margin-top: 20px; }
.section-sidebar nav { display: grid; gap: 2px; }
.section-sidebar a {
  position: relative;
  display: block;
  padding: 7px 9px 7px 18px;
  border-radius: 6px;
  color: #526068 !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none !important;
}
.section-sidebar a::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #ba8a51;
}
.section-sidebar a:hover { color: #1b303a !important; background: #f5efe6; }
.section-sidebar a[aria-current="page"] {
  color: #9a622c !important;
  background: #fff3e1;
  font-weight: 850;
}
.section-sidebar a[aria-current="page"]::before { border-left-color: #d88932; }
.section-sidebar__note {
  margin: 18px 8px 0;
  padding-top: 15px;
  border-top: 1px solid #e5dfd5;
  color: #7b8589;
  font-size: 11px;
  line-height: 1.45;
}

.term-definition-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 38px 0 0;
  padding: 20px 22px;
  color: #213039;
  background: var(--shell-paper);
  border: 1px solid #cec5b5;
  border-radius: 10px;
}
.term-definition-link > span {
  color: #8b6a43;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.term-definition-link strong { display: block; color: #182a32; font-family: var(--shell-serif); font-size: 18px; }
.term-definition-link p { margin: 5px 0 0; color: #5f6d72; font-size: 12px; line-height: 1.5; }
.term-definition-link a {
  color: #8c5d2f !important;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none !important;
}
.term-definition-link a:hover { color: #5e3511 !important; }

@media (min-width: 901px) {
  .section-sidebar summary { display: none; }
  .section-sidebar details:not([open]) > .section-sidebar__body { display: block; }
}

.global-footer {
  margin-top: 96px;
  padding: 68px max(24px, calc((100% - 1180px) / 2)) 30px;
  color: var(--shell-ink);
  background: #041016;
  font-size: 14px;
  line-height: 1.6;
}
.global-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--shell-line);
}
.global-footer nav { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.global-footer nav a {
  color: #aab7bc !important;
  font-size: 11px;
  text-decoration: none !important;
}
.global-footer nav a:hover { color: var(--shell-amber-bright) !important; }
.global-footer__details { max-width: 1010px; padding: 42px 0 36px; }
.global-footer h2 {
  margin: 0 0 16px;
  color: #d3dade;
  font-family: var(--shell-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}
.global-footer p { margin: 10px 0 0; color: #819198; font-size: 11px; line-height: 1.72; }
.global-footer a { color: var(--shell-amber-bright) !important; }
.global-footer__privacy { margin-top: 26px; }
.global-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.global-footer__bottom p { margin: 0; color: #60727a; font-size: 10px; }
.final-invitation + .global-footer { margin-top: 0; }

@media (max-width: 900px) {
  .page-layout,
  .home-content-layout { grid-template-columns: 1fr; margin-top: 34px; }
  .page-layout > :not(.section-sidebar),
  .page-layout > .section-sidebar { grid-column: 1; grid-row: auto; }
  .section-sidebar { position: relative; top: auto; }
  .section-sidebar__body { padding-top: 14px; }
  .home-content-layout > .section { width: 100%; }
  .report { display: block; width: min(100% - 32px, 1060px); padding: 0 24px 54px; overflow: hidden; }
  .report > .hero { margin-right: -24px; margin-left: -24px; }
  .report > .section-sidebar { margin: 28px 0 46px; }
}

@media (max-width: 1000px) and (min-width: 721px) {
  .global-header__inner { padding: 14px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
  .global-nav { width: 100%; justify-content: space-between; gap: 14px; }
}

@media (max-width: 720px) {
  .global-header__inner {
    width: min(100% - 32px, 1180px);
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .global-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .global-nav a { padding: 9px 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; text-align: center; }
  .global-nav a::after { display: none; }
  .global-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .term-definition-link { grid-template-columns: 1fr; gap: 9px; }
  .term-definition-link a { white-space: normal; }
  .global-breadcrumbs ol,
  .page-layout,
  .home-content-layout { width: min(100% - 32px, 1180px); }
  .global-footer { margin-top: 72px; }
  .global-footer__top { align-items: flex-start; flex-direction: column; }
  .global-footer__bottom { flex-direction: column; gap: 8px; }
}

@media print {
  .global-header,
  .global-breadcrumbs,
  .section-sidebar,
  .global-footer { display: none !important; }
  .page-layout { display: block; width: 100%; margin: 0; }
}
