.rt-public-announcement {
  background: #0a2025;
  color: #b9c9c5;
  font: 400 11px/1.4 system-ui, sans-serif;
  letter-spacing: .065em;
  padding: 9px 12px;
  text-align: center;
}
.rt-public-wrap { width: min(calc(100% - 48px), 1160px); margin-inline: auto; }
.rt-public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,248,241,.98);
  border-bottom: 1px solid #dce5dd;
  color: #17383c;
  font-family: system-ui, sans-serif;
}
.rt-public-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.rt-public-header a, .rt-public-footer .rt-public-brand { text-decoration: none; }
.rt-public-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font: 400 27px/.96 Georgia, serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.rt-public-brand small {
  display: block;
  color: #4f6e67;
  margin-top: 5px;
  font: 700 9px/1.45 system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.rt-public-mark {
  width: 54px;
  height: 54px;
  display: block;
  border: 1px solid #e0e8de;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px #14323314;
}
.rt-public-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rt-public-desktop { display: flex; align-items: center; gap: clamp(13px,1.6vw,23px); }
.rt-public-header :is(nav a, .rt-public-about > summary) {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #405d5e;
  font: 650 13px/1.35 system-ui, sans-serif;
  white-space: nowrap;
}
.rt-public-header :is(nav a, summary):hover { color: #0b685e; text-decoration: underline; text-underline-offset: 3px; }
.rt-public-header :is(a, summary):focus-visible { outline: 2px solid #197167; outline-offset: 3px; }
.rt-public-header details, .rt-public-header summary { margin: 0; padding: 0; border: 0; background: transparent; }
.rt-public-header summary { cursor: pointer; list-style: none; }
.rt-public-header summary::-webkit-details-marker { display: none; }
.rt-public-header summary::before, .rt-public-header .rt-public-mobile > summary::after { content: none; }
.rt-public-about { position: relative; }
.rt-public-header .rt-public-about > summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.rt-public-header .rt-public-about[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.rt-public-about-links {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 174px;
  padding: 5px 11px;
  border: 1px solid #dce5dd;
  border-radius: 12px;
  background: #f8f8f1;
  box-shadow: 0 12px 28px #17383c1e;
}
.rt-public-header .rt-public-compare {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  background: #12343a;
  color: #f4f8ee;
  font: 700 13px/1.2 system-ui, sans-serif;
  text-align: center;
}
.rt-public-header .rt-public-compare:hover { background: #205059; }
.rt-public-header .rt-public-mobile { display: none; }
.rt-public-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.index-hero .rt-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-inline: 8px; color: #d2e5dd; }
:is(#top,#main,#options,#collections,#listen,#compare,#story,#questions,#existing,#brainwave-guide) { scroll-margin-top: 84px; }
.article-grid .contents { top: 102px; max-height: calc(100vh - 120px); }
.article-body > section[id], .article-body > #sources { scroll-margin-top: 102px; }
.rt-public-footer { background: #071c21; color: #b7cdc4; padding: 53px 0 22px; font: 400 13px/1.65 system-ui, sans-serif; }
.rt-public-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 32px; }
.rt-public-identity { max-width: 290px; }
.rt-public-identity .rt-public-brand { color: #f1f6ed; font-size: 32px; }
.rt-public-identity .rt-public-brand small { color: #a5c0b6; }
.rt-public-footer-grid p { margin: 10px 0; }
.rt-public-footer-grid nav p { margin-top: 5px; color: #f1f6ed; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.rt-public-footer-grid ul { margin: 0; padding: 0; list-style: none; }
.rt-public-footer-grid li a { display: inline-flex; align-items: center; min-height: 37px; }
.rt-public-footer a { color: inherit; text-decoration: none; }
.rt-public-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.rt-public-footer a:focus-visible { outline: 2px solid #c8e6d4; outline-offset: 3px; }
.rt-public-footer .legacy-links, .rt-public-footer .footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rt-public-footer .legacy-links { margin-top: 22px; }
.rt-public-footer .legacy-links a { text-decoration: underline; text-underline-offset: 3px; }
.rt-public-footer .footer-bottom { border-top: 1px solid #214046; margin-top: 30px; padding-top: 18px; justify-content: space-between; color: #a7bfb6; font-size: 11px; }
@media (max-width: 1100px) {
  :is(#top,#main,#options,#collections,#listen,#compare,#story,#questions,#existing,#brainwave-guide) { scroll-margin-top: 72px; }
  .article-grid .contents, .article-body > section[id], .article-body > #sources { scroll-margin-top: 88px; }
  .article-grid .contents { top: 88px; max-height: calc(100vh - 106px); }
  .rt-public-header-row { min-height: 72px; }
  .rt-public-desktop { display: none; }
  .rt-public-compare { margin-left: auto; }
  .rt-public-header .rt-public-mobile { display: block; }
  .rt-public-mobile > summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b9cac2; border-radius: 50%; }
  .rt-public-mobile-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(100%,385px);
    max-height: calc(100vh - 112px);
    max-height: calc(100dvh - 112px);
    overflow: auto;
    padding: 9px 24px 12px;
    background: #f8f8f1;
    border: 1px solid #dce5dd;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 22px 36px #1b30232a;
  }
  .rt-public-mobile-links > :is(a, details) { border-bottom: 1px solid #dce5dd; }
  .rt-public-mobile-links > a:last-child { border-bottom: 0; }
  .rt-public-mobile-links .rt-public-about-links { position: static; border: 0; box-shadow: none; padding: 0 0 3px 15px; }
}
@media (max-width: 760px) {
  .rt-public-wrap { width: min(calc(100% - 34px), 1160px); }
  .rt-public-announcement { font-size: 10px; }
  .rt-public-header-row { gap: 10px; }
  .rt-public-mark { width: 45px; height: 45px; }
  .rt-public-brand { font-size: 24px; }
  .rt-public-footer { padding-top: 36px; }
  .rt-public-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .rt-public-identity { grid-column: 1 / -1; }
  .rt-public-footer-grid li a { min-height: 44px; }
}
@media (max-width: 420px) {
  .rt-public-header-row { width: calc(100% - 22px); gap: 7px; }
  .rt-public-brand { font-size: 20px; gap: 7px; }
  .rt-public-brand small { font-size: 8px; letter-spacing: .09em; }
  .rt-public-mark { width: 38px; height: 38px; border-radius: 10px; }
  .rt-public-header .rt-public-compare { width: 84px; font-size: 11px; padding-inline: 6px; }
}
