:root {
  --red: #c62026;
}

.hero .eyebrow {
  color: #ffb4ab;
}

.hero .eyebrow::before {
  background: #ffb4ab;
}

.crumb a,
p a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.status-chip {
  color: #0c7a3e;
}

footer .foot-cols :where(h2, h3, h4, h5),
footer .disclaimer,
footer .foot-bottom,
footer .foot-bottom a {
  color: #aeb9cc;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: -10000px;
  z-index: 10000;
  padding: 10px 16px;
  background: #162e51;
  color: #fff;
  font: 700 14px/1.3 system-ui, sans-serif;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus {
  left: 8px;
}

main:focus {
  outline: none;
}

html {
  scroll-padding-top: 88px;
}

[id] {
  scroll-margin-top: 88px;
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(26, 68, 128, 0.14);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffbe2e !important;
  outline-offset: 3px !important;
}

.btn:active,
button:active {
  transform: translateY(1px);
}

nav a[aria-current="page"] {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.prose {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[data-gba-text="large"] {
  font-size: 112.5%;
}

html[data-gba-contrast="high"] {
  filter: contrast(1.16);
}

html[data-gba-simple="true"] .hero-facts,
html[data-gba-simple="true"] .partner-section,
html[data-gba-simple="true"] [data-gba-optional="true"] {
  display: none !important;
}

body.gba-plan-active {
  padding-bottom: 72px;
}

.gba-utility-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line, #d9e0e9);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 46, 81, 0.18);
}

body.gba-plan-active .gba-utility-dock {
  bottom: 82px;
}

.gba-icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid var(--line, #d9e0e9);
  border-radius: 3px;
  background: #fff;
  color: var(--navy, #1a4480);
  font: 800 13px/1 system-ui, sans-serif;
  cursor: pointer;
}

.gba-icon-button:hover,
.gba-icon-button[aria-pressed="true"] {
  border-color: var(--navy, #1a4480);
  background: var(--navy, #1a4480);
  color: #fff;
}

.gba-plan-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 85;
  border-top: 3px solid var(--red, #c62026);
  background: var(--navy-deep, #162e51);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(22, 46, 81, 0.2);
}

.gba-plan-bar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100% - 32px, 1120px);
  min-height: 66px;
  margin-inline: auto;
}

.gba-plan-bar-copy {
  min-width: 0;
  margin-right: auto;
}

.gba-plan-bar-copy strong,
.gba-plan-bar-copy span {
  display: block;
}

.gba-plan-bar-copy strong {
  overflow: hidden;
  font: 800 13px/1.3 system-ui, sans-serif;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.gba-plan-bar-copy span {
  margin-top: 3px;
  color: #cdd8ea;
  font: 500 11px/1.35 system-ui, sans-serif;
}

.gba-plan-bar a,
.gba-plan-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font: 800 11px/1.2 system-ui, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-plan-bar a:last-of-type {
  border-color: var(--red, #c62026);
  background: var(--red, #c62026);
}

.gba-search-dialog {
  width: min(94vw, 780px);
  max-height: 86vh;
  padding: 0;
  border: 1px solid var(--line, #d9e0e9);
  border-radius: 0;
  background: #fff;
  color: #14213d;
  box-shadow: 0 24px 70px rgba(10, 27, 50, 0.32);
}

.gba-search-dialog::backdrop {
  background: rgba(10, 27, 50, 0.72);
}

.gba-search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid #d9e0e9;
}

.gba-search-head input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 10px 13px;
  border: 1px solid #91a4bd;
  border-radius: 0;
  background: #fff;
  color: #14213d;
  font: 500 16px/1.3 system-ui, sans-serif;
}

.gba-search-head h2 {
  min-width: 0;
  margin: 0 auto 0 0;
  color: #14213d;
  font: 800 18px/1.25 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-search-body {
  overflow: auto;
  max-height: calc(86vh - 86px);
  padding: 18px;
}

.gba-search-status {
  margin: 0 0 12px;
  color: #5b616b;
  font: 700 11px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-search-results {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d9e0e9;
}

.gba-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px 2px;
  border-bottom: 1px solid #d9e0e9;
  color: #14213d;
  text-decoration: none;
}

.gba-command-result {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d9e0e9;
  border-radius: 0;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.gba-command-result:hover {
  background: #eef4fb;
}

.gba-search-result strong,
.gba-search-result span,
.gba-search-result small {
  display: block;
}

.gba-search-result strong {
  color: #1a4480;
  font: 800 13px/1.35 system-ui, sans-serif;
}

.gba-search-result span {
  margin-top: 4px;
  color: #5b616b;
  font: 500 11.5px/1.5 system-ui, sans-serif;
}

.gba-search-result small {
  color: #b50909;
  font: 800 9.5px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.gba-search-empty {
  padding: 24px 4px;
  color: #5b616b;
  font: 500 13px/1.6 system-ui, sans-serif;
}

.gba-privacy-dialog {
  width: min(94vw, 720px);
}

.gba-privacy-intro,
.gba-privacy-details p,
.gba-privacy-status {
  margin: 0 0 16px;
  color: #5b616b;
  font: 500 12px/1.6 system-ui, sans-serif;
}

.gba-submit-review {
  width: min(94vw, 720px);
  max-height: 88vh;
  padding: 0;
  border: 1px solid #91a4bd;
  border-radius: 0;
  background: #fff;
  color: #14213d;
  box-shadow: 0 24px 70px rgba(10, 27, 50, 0.32);
}

.gba-submit-review::backdrop {
  background: rgba(10, 27, 50, 0.72);
}

.gba-submit-review-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #d9e0e9;
}

.gba-submit-review-head h2 {
  margin: 0 auto 0 0;
  color: #14213d;
  font: 800 20px/1.25 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-submit-review-head button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d9e0e9;
  border-radius: 3px;
  background: #fff;
  color: #1a4480;
  font: 700 22px/1 system-ui, sans-serif;
  cursor: pointer;
}

.gba-submit-review-body {
  overflow: auto;
  max-height: calc(88vh - 78px);
  padding: 22px;
}

.gba-submit-review-body > p,
.gba-submit-plan p {
  margin: 0 0 18px;
  color: #5b616b;
  font: 500 12px/1.6 system-ui, sans-serif;
}

.gba-submit-review dl {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid #d9e0e9;
  border-left: 1px solid #d9e0e9;
}

.gba-submit-review dt,
.gba-submit-review dd {
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  border-right: 1px solid #d9e0e9;
  border-bottom: 1px solid #d9e0e9;
  overflow-wrap: anywhere;
}

.gba-submit-review dt {
  background: #f5f7fa;
  color: #5b616b;
  font: 800 10px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-submit-review dd {
  color: #14213d;
  font: 600 12px/1.5 system-ui, sans-serif;
  white-space: pre-wrap;
}

.gba-submit-plan {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid #1a4480;
  background: #eef4fb;
}

.gba-submit-plan strong {
  display: block;
  color: #14213d;
  font: 800 11px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-submit-plan p {
  margin: 5px 0 0;
}

.gba-submit-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.gba-submit-review-actions button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #1a4480;
  border-radius: 3px;
  background: #fff;
  color: #1a4480;
  font: 800 11px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-submit-review-actions .primary {
  background: #1a4480;
  color: #fff;
}

.gba-privacy-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  border-top: 1px solid #d9e0e9;
  border-left: 1px solid #d9e0e9;
}

.gba-privacy-stat {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid #d9e0e9;
  border-bottom: 1px solid #d9e0e9;
}

.gba-privacy-stat span,
.gba-privacy-stat strong {
  display: block;
}

.gba-privacy-stat span {
  color: #5b616b;
  font: 700 9.5px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-privacy-stat strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #14213d;
  font: 800 13px/1.4 system-ui, sans-serif;
}

.gba-privacy-details {
  padding: 14px 16px;
  border-left: 4px solid #1a4480;
  background: #eef4fb;
}

.gba-privacy-details p {
  margin: 0;
}

.gba-privacy-actions {
  display: flex;
  gap: 9px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}

.gba-privacy-actions button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #1a4480;
  border-radius: 3px;
  background: #fff;
  color: #1a4480;
  font: 800 10.5px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-privacy-actions button.danger {
  border-color: #b50909;
  color: #b50909;
}

.gba-privacy-status {
  min-height: 20px;
  margin: 0;
  color: #1b6b3a;
  font-weight: 700;
}

.gba-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.gba-icon-button .gba-icon {
  width: 18px;
  height: 18px;
}

.gba-mega-wrap {
  position: relative;
  z-index: 75;
  flex: 0 0 auto;
}

.gba-mega-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line, #d9e0e9);
  border-radius: 3px;
  background: #fff;
  color: var(--navy, #1a4480);
  font: 800 11px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-mega-trigger:hover,
.gba-mega-trigger[aria-expanded="true"] {
  border-color: var(--navy, #1a4480);
  background: var(--navy, #1a4480);
  color: #fff;
}

.gba-mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(92vw, 820px);
  max-height: min(72vh, 620px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line, #d9e0e9);
  border-top: 4px solid var(--red, #c62026);
  border-radius: 0;
  background: #fff;
  color: #14213d;
  box-shadow: 0 22px 60px rgba(22, 46, 81, 0.24);
}

.gba-mega-panel[hidden] {
  display: none;
}

.gba-mega-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e0e9;
}

.gba-mega-head strong,
.gba-mega-head span {
  display: block;
}

.gba-mega-head strong {
  color: #162e51;
  font: 800 18px/1.2 system-ui, sans-serif;
}

.gba-mega-head span {
  max-width: 520px;
  margin-top: 5px;
  color: #5b616b;
  font: 500 12px/1.5 system-ui, sans-serif;
}

.gba-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid #d9e0e9;
  border-left: 1px solid #d9e0e9;
}

.gba-mega-group {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid #d9e0e9;
  border-bottom: 1px solid #d9e0e9;
}

.gba-mega-group h2 {
  margin: 0 0 10px;
  color: #5b616b;
  font: 800 10px/1.3 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-mega-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 0;
  color: #1a4480;
  font: 700 12px/1.35 system-ui, sans-serif;
  text-decoration: none;
}

.gba-mega-group a:hover {
  color: #b50909;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gba-breadcrumbs {
  width: min(100% - 40px, 1120px);
  margin: 18px auto 0;
  color: #5b616b;
  font: 700 10.5px/1.4 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-breadcrumbs a {
  color: #1a4480;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gba-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 210;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--red, #c62026);
  pointer-events: none;
}

.gba-reader-dock {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 88;
}

body.gba-plan-active .gba-reader-dock {
  bottom: 82px;
}

.gba-reader-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #91a4bd;
  border-radius: 3px;
  background: #fff;
  color: #1a4480;
  box-shadow: 0 10px 28px rgba(22, 46, 81, 0.15);
  font: 800 11px/1.2 system-ui, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-reader-dialog {
  width: min(94vw, 640px);
  max-height: 84vh;
}

.gba-reader-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
  border-top: 1px solid #d9e0e9;
  border-left: 1px solid #d9e0e9;
}

.gba-reader-meta div {
  padding: 13px;
  border-right: 1px solid #d9e0e9;
  border-bottom: 1px solid #d9e0e9;
}

.gba-reader-meta span,
.gba-reader-meta strong {
  display: block;
}

.gba-reader-meta span {
  color: #5b616b;
  font: 800 9px/1.3 system-ui, sans-serif;
  text-transform: uppercase;
}

.gba-reader-meta strong {
  margin-top: 4px;
  color: #162e51;
  font: 800 12px/1.35 system-ui, sans-serif;
}

.gba-reader-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d9e0e9;
}

.gba-reader-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 2px;
  border-bottom: 1px solid #d9e0e9;
  color: #1a4480;
  font: 700 12px/1.4 system-ui, sans-serif;
  text-decoration: none;
}

.gba-reader-links a span:first-child {
  color: #b50909;
  font-variant-numeric: tabular-nums;
}

.gba-reader-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.gba-reader-actions a,
.gba-reader-actions button,
.gba-install-prompt button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #1a4480;
  border-radius: 3px;
  background: #fff;
  color: #1a4480;
  font: 800 10.5px/1.2 system-ui, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.gba-reader-actions a:first-child,
.gba-install-prompt button:first-of-type {
  background: #1a4480;
  color: #fff;
}

.gba-install-prompt {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 89;
  width: min(92vw, 380px);
  padding: 18px;
  border: 1px solid #91a4bd;
  border-top: 4px solid #c62026;
  background: #fff;
  color: #14213d;
  box-shadow: 0 18px 50px rgba(22, 46, 81, 0.22);
}

.gba-install-prompt strong,
.gba-install-prompt span {
  display: block;
}

.gba-install-prompt strong {
  font: 800 14px/1.3 system-ui, sans-serif;
}

.gba-install-prompt span {
  margin: 5px 0 14px;
  color: #5b616b;
  font: 500 11.5px/1.5 system-ui, sans-serif;
}

.gba-install-actions {
  display: flex;
  gap: 8px;
}

body :where(h1, h2, h3) {
  text-wrap: balance;
}

body :where(p, li, dd) {
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .content-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .gba-mega-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .gba-mega-panel {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .gba-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .nav-cta {
    display: none !important;
  }

  .cta-band {
    padding-inline: 20px !important;
  }

  .gba-utility-dock {
    right: 10px;
    bottom: 10px;
  }

  body.gba-plan-active .gba-utility-dock {
    bottom: 76px;
  }

  .gba-plan-bar-inner {
    gap: 7px;
    min-height: 64px;
  }

  .gba-plan-bar-copy span,
  .gba-plan-bar button {
    display: none;
  }

  .gba-plan-bar a {
    min-height: 38px;
    padding: 8px 10px;
  }

  .gba-search-result {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gba-privacy-stats {
    grid-template-columns: 1fr 1fr;
  }

  .gba-submit-review dl {
    grid-template-columns: 1fr;
  }

  .gba-submit-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.gba-plan-active {
    padding-bottom: 66px;
  }

  .gba-mega-panel {
    padding: 18px;
  }

  .gba-mega-grid,
  .gba-reader-meta,
  .gba-reader-actions {
    grid-template-columns: 1fr;
  }

  .gba-reader-dock {
    left: 10px;
    bottom: 10px;
  }

  body.gba-plan-active .gba-reader-dock {
    bottom: 76px;
  }

  .gba-reader-trigger span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}
