/* BT22 Profile — aligned with behindthe22.com (navy + gold, modern surfaces) */

:root {
  --ink: #08273d;
  --ink-2: #123f5e;
  --ink-deep: #061c2d;
  --navy: var(--ink);
  --paper: #f7f4ec;
  --paper-2: #f3f0e8;
  --ivory: var(--paper);
  --surface: #f8f7f4;
  --white: #fffefb;
  --card: var(--white);
  --line: #e6e1d6;
  --line-strong: #c9c2b0;
  --shadow-sm: 0 1px 3px rgba(8, 39, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 39, 61, 0.08);
  --text: #24211d;
  --ink-body: var(--text);
  --muted: #55524a;
  --gold: #deb53d;
  --gold-soft: #e8c666;
  --gold-text: #7a5f1a;
  --focus: var(--gold);
  --warn: #fbf4dc;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --header-h: 68px;
  --radius-sm: 6px;
  --radius-md: 12px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h2,
h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0.65rem 0;
}

a {
  color: var(--ink-2);
}

a:hover {
  color: var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.page-wrap {
  padding: 2rem 0 3.5rem;
  max-width: 46rem;
}

.narrow {
  max-width: 40rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  background: var(--ink-deep);
  color: #d9dfe8;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar strong {
  color: #fff;
  font-weight: 600;
}

.topbar a {
  color: var(--gold-soft);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar .sep {
  margin: 0 6px;
  opacity: 0.5;
}

.preview-banner {
  background: var(--warn);
  color: var(--gold-text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.live-site-banner {
  background: var(--navy);
  color: var(--ivory);
}

.beta-line {
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem 1.25rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.pill {
  display: inline-block;
  font: 600 0.75rem/1.35 var(--sans);
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
  margin: 0 0.15rem;
}

.pill.live {
  background: #e3ebd8;
  color: #3f4c2c;
  border-color: #8fa070;
}

.pill.planned {
  background: transparent;
  color: var(--muted);
  border-color: var(--line-strong);
}

.pill.soon {
  background: #f3e8c4;
  color: #5c4a1a;
  border-color: #c9a227;
}

.footer-ecosystem {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.footer-ecosystem .footer-links {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-ecosystem a {
  font-weight: 600;
}

.footer-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.25rem 2rem;
  text-align: left;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-col-title {
  font: 600 0.75rem/1.4 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.footer-col-links li {
  margin: 0.35rem 0;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}

.glance-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.glance-term {
  font: 600 0.72rem/1.35 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.glance-pills {
  margin: 0.25rem 0 0.35rem;
}

.glance-detail {
  font-size: 0.9375rem;
  color: var(--text);
  margin: 0;
  line-height: 1.45;
}

.roadmap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.roadmap-table th,
.roadmap-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.roadmap-table thead th {
  background: var(--paper);
  font-family: var(--serif);
  color: var(--ink);
}

.roadmap-table tbody th {
  font-weight: 600;
  background: var(--white);
}

.screener-catalog-table .catalog-actions {
  white-space: nowrap;
}

.screener-catalog-table .catalog-actions .button {
  margin: 0.15rem 0.2rem 0.15rem 0;
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
}

.steps-roadmap {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .steps-roadmap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.step-card-head h2 {
  font-size: 1.05rem;
  margin: 0;
  flex: 1 1 8rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font: 700 0.875rem var(--sans);
}

.step-pill {
  margin: 0;
  flex: 1 1 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chart-connect-card {
  border-top: 4px solid var(--ink-2);
}

.chart-connect-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.chart-connect-head h2 {
  margin: 0;
  flex: 1 1 auto;
}

.chart-connect-pill {
  margin: 0;
}

.chart-connect-list {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.chart-connect-actions {
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chart-connect-compact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}

.chart-connect-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 32rem;
  box-shadow: var(--shadow-md);
}

.chart-connect-dialog::backdrop {
  background: rgba(8, 39, 61, 0.45);
}

body.bt22-profile-app > footer,
body.bt22-profile-app footer.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 2.5rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 254, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand img {
  height: 32px;
  width: auto;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.15;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}

.portal-tag {
  font: 600 0.8125rem var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.case-pill {
  margin: 0 0 0 auto;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: right;
}

.case-pill strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
}

.flag {
  display: inline-block;
  margin-left: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--muted);
}

nav.subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 0;
}

nav.subnav .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 8px;
  padding-bottom: 8px;
}

nav.profile-nav-grouped .container {
  align-items: flex-end;
  gap: 0.35rem 0.75rem;
}

.nav-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  padding-right: 0.5rem;
  border-right: 1px solid var(--line);
  margin-right: 0.25rem;
}

.nav-group:last-of-type {
  border-right: none;
}

.nav-group-label {
  font: 600 0.65rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.15rem;
}

.nav-group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  min-height: 6.5rem;
}

.metric-term {
  font: 600 0.72rem var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.metric-value {
  font: 700 1.35rem var(--serif);
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.metric-detail {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.35;
}

.profile-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.roadmap-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.roadmap-dash-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  background: var(--surface);
}

.roadmap-dash-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.roadmap-dash-card .roadmap-table {
  font-size: 0.85rem;
}

.roadmap-dash-more {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.roadmap-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hub-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

ul.plain-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}

ul.plain-list li {
  margin: 0.35rem 0;
}

.hub-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.hub-card li {
  margin-bottom: 0.35rem;
}

.dashboard-main h2 {
  margin-top: 0;
}

.small-hint {
  font-size: 0.88rem;
}

nav.subnav a {
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

nav.subnav a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

nav.subnav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

nav.subnav a.subnav-out {
  margin-left: auto;
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 700;
}

nav.subnav a.subnav-out:hover {
  background: var(--gold-soft);
}

nav.subnav a.subnav-cta {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-weight: 600;
}

nav.subnav a.subnav-cta:hover {
  background: var(--ink-2);
  color: var(--white);
}

.eyebrow {
  font: 600 0.8125rem var(--sans);
  letter-spacing: 0.02em;
  color: var(--gold-text);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.hero-band {
  background: var(--ink);
  color: #d9dfe8;
  border-bottom: 1px solid rgba(222, 181, 61, 0.45);
  padding: 3.5rem 0 3rem;
  margin-bottom: 0.5rem;
}

.hero-band .container {
  max-width: 52rem;
}

.hero-band h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.hero-band .lede {
  color: #d9dfe8;
}

.hero-band strong {
  color: #fff;
}

.hero-band-subpage {
  padding: 2.25rem 0 2rem;
}

.harm-marker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.55rem;
  margin: 1rem 0 0.5rem;
}

.harm-marker-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
}

.harm-marker-id {
  font: 600 0.75rem/1.2 system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  text-transform: uppercase;
}

.harm-marker-label {
  color: var(--text);
  line-height: 1.35;
}

.pocket-card-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .pocket-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pocket-card .pocket-prompt {
  font-weight: 600;
  color: var(--ink);
}

.pocket-distinct {
  font-size: 0.9rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.65rem;
}

.hub-link-list {
  line-height: 1.6;
}

.guide-blocks-wireframe {
  margin: 1rem 0;
}

.guide-block-stub {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.guide-block-stub summary {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-weight: 600;
  list-style: none;
}

.guide-block-stub summary::-webkit-details-marker {
  display: none;
}

.guide-block-title {
  flex: 1 1 12rem;
}

.screener-flow #step-label,
.screener-flow #s01-step-label {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.screener-flow .screener-progress {
  background: var(--line);
  border-radius: 999px;
  height: 0.4rem;
  margin: 0 0 1rem;
  overflow: hidden;
}

.screener-flow .screener-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ink), var(--gold));
  border-radius: 999px;
  transition: width 0.2s ease;
}

.beta-feedback-form {
  margin-top: 0.75rem;
}

.beta-feedback-form textarea {
  min-height: 6rem;
}

#profile-option .chart-connect-card {
  margin-top: 1rem;
  border-top-width: 1px;
}

.help-topic-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 40rem) {
  .help-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.help-topic-grid .card {
  margin: 0;
  height: 100%;
}

.help-topic-grid .card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.n01-questions fieldset {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.n01-questions fieldset legend {
  font-size: 1rem;
  padding: 0 0.25rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.coaching-card {
  border-left: 4px solid var(--gold);
}

.hero-band a {
  color: var(--gold-soft);
}

.hero-band a:hover {
  color: #fff;
}

.card,
.notice,
.step,
fieldset {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.card.feature {
  border-top: 4px solid var(--gold);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.stack .card {
  margin: 0.75rem 0;
}

.notice {
  background: var(--warn);
  border-left: 4px solid var(--gold);
  box-shadow: none;
}

.hold {
  border-top: 4px solid var(--ink);
}

label,
legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}

.choice {
  font-weight: 450;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.4rem 0;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  min-height: 44px;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.button.primary,
button.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font: 600 0.9375rem var(--sans);
  padding: 12px 22px;
  min-height: 44px;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

button:hover,
.button:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: var(--white);
}

button.secondary,
.button.secondary {
  background: transparent;
  color: var(--ink);
}

button.secondary:hover,
.button.secondary:hover {
  background: var(--paper-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

.button.gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.button.gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink-deep);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.muted {
  color: var(--muted);
  font-size: 0.9375rem;
}

.step[hidden] {
  display: none;
}

.error {
  color: #6b2d2d;
  font-weight: 650;
}

#profile-option {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem) 3rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .container,
body.bt22-profile-app > footer {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  max-width: 32rem;
  padding: 1.2rem;
  box-shadow: var(--shadow-md);
}

dialog::backdrop {
  background: rgba(8, 39, 61, 0.45);
}

@media (max-width: 640px) {
  .case-pill {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  nav.subnav a.subnav-out {
    margin-left: 0;
  }
}

/* Legacy class hooks before chrome runs */
.site-header {
  width: 100%;
}

.crisis {
  background: var(--ink-deep);
  color: #d9dfe8;
  padding: 0.7rem 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
}

.crisis a {
  color: var(--gold-soft);
}

.brand .org,
.brand .product {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* Legacy profile stewardship — gold accents to honor the fallen (preview) */
.bt22-legacy-mode .hero-band-legacy {
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-2) 55%, #1a3a52 100%);
  border-bottom: 3px solid var(--gold);
  color: var(--paper);
}

.bt22-legacy-mode .hero-band-legacy h1,
.bt22-legacy-mode .hero-band-legacy .lede {
  color: var(--paper);
}

.bt22-legacy-mode .legacy-eyebrow {
  color: var(--gold-soft);
  letter-spacing: 0.06em;
}

.bt22-legacy-mode .site-header {
  border-bottom: 2px solid var(--gold);
}

.bt22-legacy-mode .flag.legacy-flag {
  background: var(--gold);
  color: var(--ink-deep);
  border: none;
}

.bt22-legacy-mode .legacy-portal-suffix {
  color: var(--gold-soft);
  font-weight: 600;
}

.bt22-legacy-mode .legacy-setup-card,
.bt22-legacy-mode .legacy-summary-card {
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-md);
}

.bt22-legacy-mode .legacy-hub-card {
  border-top: 3px solid var(--gold);
}

.bt22-legacy-mode .legacy-priority.now {
  background: var(--gold);
  color: var(--ink-deep);
}

.legacy-summary-dl {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
}

.legacy-summary-dl dt {
  font-weight: 600;
  margin: 0;
}

.legacy-summary-dl dd {
  margin: 0;
}

.legacy-72h-notice {
  border-left: 4px solid var(--gold);
}