:root {
  color-scheme: light;
  --bg: #f3f5f1;
  --panel: #ffffff;
  --panel-soft: #f8f9f6;
  --ink: #18212a;
  --muted: #68727c;
  --line: #d9ded6;
  --navy: #101820;
  --slate: #2f3b45;
  --green: #08745f;
  --blue: #235f94;
  --red: #8c2f3e;
  --gold: #b58a2a;
  --amex-gold: #d4af37;
  --platinum: #9aa4aa;
  --amex: #016fd0;
  --chase: #117aca;
  --capital-blue: #004878;
  --capital-red: #d22e1e;
  --shadow: 0 18px 42px rgba(24, 33, 42, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 88px 88px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.terminal-body {
  background: #edf1f4;
}

.terminal-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid #d3dbe1;
  background: #ffffff;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.rail-brand .card-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
}

.card-logo {
  position: relative;
  overflow: hidden;
}

.card-logo::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 24%;
  height: 20%;
  border-radius: 2px;
  background: currentColor;
  opacity: .9;
}

.card-logo::after {
  content: "";
  position: absolute;
  left: 18%;
  bottom: 24%;
  width: 34%;
  height: 12%;
  border-radius: 99px;
  background: currentColor;
  opacity: .75;
}

.rail-brand strong {
  font-size: 18px;
  line-height: 1.05;
}

.rail-nav {
  display: grid;
  gap: 8px;
}

.rail-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 820;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.rail-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--navy);
}

.rail-nav a.active {
  border-color: #d7dee4;
  background: #f4f7f9;
  color: var(--ink);
}

.rail-nav a:hover {
  border-color: #c4d0d9;
  background: #edf3f7;
  color: var(--ink);
  transform: translateX(3px);
}

.rail-nav .amex-link::before {
  background: var(--amex);
}

.rail-nav .chase-link::before {
  background: var(--chase);
}

.rail-nav .capital-link::before {
  background: linear-gradient(135deg, var(--capital-blue), var(--capital-red));
}

.rail-note {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #d7dee4;
  border-radius: 12px;
  background: #f8fafb;
}

.rail-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rail-note strong {
  display: block;
  margin: 6px 0 8px;
}

.rail-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-note {
  margin-top: 0;
  border-color: #cbd7df;
  background: #f7fafb;
}

.trust-note p {
  color: #32414c;
}

.terminal-main {
  min-width: 0;
  padding: 24px;
}

.workspace-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid #d3dbe1;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, .05) 1px, transparent 1px),
    #ffffff;
  background-size: 64px 64px;
}

.workspace-header h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 62px);
}

.terminal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.primary-pane {
  display: grid;
  gap: 18px;
}

.issuer-card {
  border: 1px solid #d3dbe1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 33, 42, .06);
}

.issuer-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.issuer-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.issuer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 340px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.issuer-card:hover,
.issuer-card:focus-visible {
  transform: translateY(-5px);
  border-color: #b9c7d2;
  box-shadow: 0 20px 44px rgba(24, 33, 42, .14);
}

.issuer-card:focus-visible {
  outline: 3px solid rgba(8, 116, 95, .28);
  outline-offset: 3px;
}

.issuer-card-head {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
  text-align: center;
}

.issuer-card-head h2 {
  margin: 0;
  font-size: 31px;
}

.amex-card .issuer-card-head {
  background: linear-gradient(135deg, #08233f, var(--amex));
}

.amex-card:hover {
  border-color: color-mix(in srgb, var(--amex), white 35%);
}

.chase-card .issuer-card-head {
  background: linear-gradient(135deg, #092d4f, var(--chase));
}

.chase-card:hover {
  border-color: color-mix(in srgb, var(--chase), white 35%);
}

.capital-card .issuer-card-head {
  background: linear-gradient(135deg, var(--capital-blue), var(--capital-red));
}

.capital-card:hover {
  border-color: color-mix(in srgb, var(--capital-red), white 35%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.trust-banner {
  position: relative;
  z-index: 10;
  padding: 10px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #d8e0e5;
  background: #f7fafb;
  color: #34444f;
  font-size: .82rem;
  line-height: 1.4;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  min-width: 38px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.nav a:hover {
  background: #eef2f4;
  color: var(--ink);
}

.research-hero,
.page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 76px);
  border-bottom: 1px solid #d7ddd6;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, .05) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0, #f5f7f8 100%);
  background-size: 72px 72px, auto;
}

.page-hero {
  grid-template-columns: 1fr;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(135deg, #101820, #2f3b45);
  background-size: 72px 72px, auto;
}

.amex-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(135deg, #08233f, var(--amex));
  background-size: 72px 72px, auto;
}

.amex-gold-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, #5f4610, var(--amex-gold));
  background-size: 72px 72px, auto;
}

.amex-platinum-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, #182027, #7d8991 54%, #c7ced2);
  background-size: 72px 72px, auto;
}

.chase-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(135deg, #101820, var(--chase));
  background-size: 72px 72px, auto;
}

.capitalone-page {
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(135deg, var(--capital-blue), var(--capital-red));
  background-size: 72px 72px, auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.lede {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.page-hero .lede {
  color: #d5dde0;
}

.page-hero .eyebrow {
  color: #fff;
}

.back-link {
  width: max-content;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .76);
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #aab4bb;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.report-card,
.card-profile,
.research-grid article,
.credit-rules article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.report-card {
  padding: 22px;
}

.report-card span,
.data-strip span,
.ticker,
.card-body h4 {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.card-top span {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.report-card strong {
  display: block;
  margin: 10px 0;
  font-size: 28px;
  line-height: 1.05;
}

.report-card p {
  color: var(--muted);
}

.data-strip,
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid #cfd6cf;
  border-radius: 6px;
  background: #cfd6cf;
  transform: translateY(-18px);
  box-shadow: var(--shadow);
}

.data-strip div,
.metrics div {
  min-height: 122px;
  padding: 20px;
  background: var(--panel);
  border-top: 4px solid var(--green);
}

.data-strip strong,
.metrics strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 25px;
  line-height: 1.05;
}

.data-strip small,
.metrics span {
  display: block;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.muted-section,
.credits-section {
  background: #e9ede8;
}

.section-intro {
  max-width: 680px;
}

.section-intro.wide {
  max-width: 960px;
}

.section-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.research-grid,
.card-grid,
.credit-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.brand-summary-grid {
  align-items: stretch;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-grid article,
.credit-rules article {
  padding: 22px;
}

.brand-summary {
  position: relative;
  overflow: hidden;
  border-top: 8px solid var(--navy);
}

.brand-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  opacity: .1;
}

.amex-summary {
  border-top-color: var(--amex);
}

.amex-summary::before {
  background: var(--amex);
}

.chase-summary {
  border-top-color: var(--chase);
}

.chase-summary::before {
  background: var(--chase);
}

.capitalone-summary {
  border-top-color: var(--capital-red);
}

.capitalone-summary::before {
  background: linear-gradient(90deg, var(--capital-blue), var(--capital-red));
}

.brand-summary h3,
.brand-summary p,
.brand-summary a,
.brand-summary .ticker,
.brand-summary .brand-facts {
  position: relative;
}

.brand-facts {
  display: grid;
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.brand-facts div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  background: #fff;
}

.brand-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-align: right;
}

.research-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.research-grid p,
.credit-rules p {
  color: var(--muted);
}

.credit-rules {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-profile {
  overflow: hidden;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-5px);
  border-color: #b9c7d2;
  box-shadow: 0 20px 44px rgba(24, 33, 42, .14);
}

.card-link:focus-visible {
  outline: 3px solid rgba(8, 116, 95, .28);
  outline-offset: 3px;
}

.card-report {
  max-width: 1040px;
}

.card-detail {
  display: block;
}

.card-detail summary {
  cursor: pointer;
  list-style: none;
}

.card-detail summary::-webkit-details-marker {
  display: none;
}

.card-detail summary:focus-visible {
  outline: 3px solid rgba(8, 116, 95, .28);
  outline-offset: -3px;
}

.card-top {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  background: var(--navy);
}

.card-top.amex {
  background: linear-gradient(135deg, #5f4610, var(--amex-gold));
}

.card-top.platinum {
  background: linear-gradient(135deg, #2e363c, var(--platinum));
}

.card-top.chase {
  background: linear-gradient(135deg, #093b68, var(--chase));
}

.card-top.chase.reserve {
  background: linear-gradient(135deg, #101820, var(--chase));
}

.card-top.chase.freedom {
  background: linear-gradient(135deg, #0b5f9d, #39a0dc);
}

.card-top.chase.business {
  background: linear-gradient(135deg, #12263a, #17715f);
}

.card-top.chase.partner-card {
  background: linear-gradient(135deg, #17202a, #8c6f2a);
}

.card-top.capitalone {
  background: linear-gradient(135deg, var(--capital-blue), var(--capital-red));
}

.card-top.capitalone.venture {
  background: linear-gradient(135deg, #283d56, #08745f);
}

.card-top h3 {
  margin: 32px 0 10px;
  font-size: 31px;
}

.card-top b {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
}

.card-top em {
  display: inline-flex;
  margin-top: 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-top em::after {
  content: "Open guide";
}

.card-detail[open] .card-top em::after {
  content: "Guide open";
}

.card-body {
  padding: 22px;
}

.card-body h4 {
  margin: 20px 0 8px;
}

.card-body h4:first-child {
  margin-top: 0;
}

.card-body h5 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.updated-note {
  padding: 14px 16px;
  border: 1px solid #d9c58d;
  border-radius: 12px;
  background: #fff8df;
  color: #493a12;
}

.card-body p,
.card-body li {
  color: var(--muted);
}

.card-body ul {
  margin: 0;
  padding-left: 20px;
}

.card-body .multiplier-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.multiplier-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafb;
  color: var(--muted);
}

.multiplier-list .rate {
  display: block;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: 0;
}

.multiplier-list .text-rate {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.snapshot-grid div,
.analysis-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafb;
}

.snapshot-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.analysis-grid p {
  margin-bottom: 0;
}

.travel-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.travel-feature-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fafb);
}

.travel-feature-grid .feature-rate {
  display: block;
  margin-bottom: 18px;
  color: var(--amex-gold);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 950;
  line-height: .9;
}

.travel-feature-grid .status-rate {
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
}

.travel-feature-grid p {
  margin-bottom: 0;
}

.credit-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #d3dbe1;
  border-radius: 12px;
  background: #d3dbe1;
}

.credit-table > div {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(280px, 1.3fr) minmax(240px, 1fr);
  gap: 1px;
}

.credit-table span {
  padding: 14px;
  background: #fff;
  color: var(--muted);
}

.credit-table span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.credit-table .credit-head span {
  background: #f4f7f9;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.protection-table {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafb;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--amex-gold);
}

.faq-section {
  background: #e9ede8;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 1040px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 1040px;
}

.related-grid a {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}

.related-grid a:hover,
.related-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: #b9c7d2;
}

.notice {
  display: flex;
  gap: 12px;
  margin: clamp(22px, 4vw, 42px) clamp(18px, 5vw, 72px);
  padding: 16px 18px;
  border: 1px solid #d9c58d;
  border-radius: 6px;
  background: #fff8df;
  color: #493a12;
}

.notice strong {
  flex: 0 0 auto;
}

.sources {
  background: var(--navy);
  color: #fff;
}

.sources .section-intro p:not(.eyebrow) {
  color: #b8c2c6;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.source-list a {
  display: block;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.source-list a:hover {
  border-color: var(--gold);
}

footer {
  padding: 28px clamp(18px, 5vw, 72px) 42px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--navy);
}

footer p {
  max-width: 920px;
  margin: 0;
  color: #b8c2c6;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .terminal-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #d3dbe1;
  }

  .rail-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rail-note {
    margin-top: 0;
  }

  .terminal-layout {
    grid-template-columns: 1fr;
  }

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

  .research-hero,
  .page-hero,
  .data-strip,
  .metrics,
  .research-grid,
  .card-grid,
  .card-grid.two-up,
  .credit-rules,
  .source-list {
    grid-template-columns: 1fr;
  }

  .data-strip,
  .metrics {
    transform: none;
    margin-top: 18px;
  }

}

@media (max-width: 680px) {
  .terminal-main {
    padding: 14px;
  }

  .workspace-header {
    padding: 18px;
  }

  .workspace-header,
  .issuer-board,
  .rail-nav {
    grid-template-columns: 1fr;
  }

  .issuer-card {
    min-height: auto;
  }

  .snapshot-grid,
  .analysis-grid,
  .travel-feature-grid,
  .credit-table > div,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .multiplier-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .notice {
    display: block;
  }

  .notice strong {
    display: block;
    margin-bottom: 6px;
  }
}
