@font-face {
  font-family: Syne;
  src: url("/fonts/syne.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #07080d;
  --ink-2: #12141d;
  --cream: #f4ede0;
  --cream-dim: #d8d0c2;
  --coral: #ff5c39;
  --gold: #f0c14b;
  --mint: #3ee0b8;
  --blue: #7aa2ff;
  --pink: #ff4d8d;
  --line: rgba(244, 237, 224, 0.14);
  --focus: #f0c14b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(255, 92, 57, 0.28), transparent 55%),
    radial-gradient(800px 480px at 90% 5%, rgba(122, 162, 255, 0.22), transparent 50%),
    radial-gradient(700px 500px at 70% 80%, rgba(62, 224, 184, 0.1), transparent 55%),
    linear-gradient(180deg, #0b0d16 0%, var(--ink) 40%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--gold); }
a:hover { color: #ffe38a; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 20;
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  box-shadow: 0 0 0 3px rgba(255, 92, 57, 0.2);
}
nav.site-nav {
  display: flex;
  gap: 1.1rem;
  font-size: 1rem;
}
nav.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
}
nav.site-nav a:hover, nav.site-nav a:focus-visible { color: var(--cream); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: 2.5rem;
  row-gap: 1.75rem;
  align-items: center;
  padding: 1.8rem 0 2.2rem;
  min-height: 0;
}
.hero-copy { min-width: 0; }
.hero .setup-panel {
  grid-column: 1 / -1;
  min-width: 0;
}
.setup-panel h2 {
  font-family: "Inter Tight", Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow span { color: var(--cream-dim); letter-spacing: 0.14em; }

h1 {
  font-family: "Inter Tight", Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin: 0 0 1.05rem;
  overflow-wrap: break-word;
}
h1 .grad {
  display: block;
  background: linear-gradient(100deg, var(--coral) 10%, var(--gold) 48%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 1.125rem;
  max-width: 36rem;
  color: var(--cream-dim);
  margin: 0;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  background: var(--cream);
  color: var(--ink);
}
.btn-primary:hover { background: #fff8ee; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream-dim); }
.btn:focus-visible, input:focus-visible, select:focus-visible, .tile:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.stack {
  position: relative;
  height: 420px;
}
.stack .mini {
  position: absolute;
  width: min(300px, 80%);
  aspect-ratio: 1.586 / 1;
  border-radius: 1.15rem;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transform-origin: center;
}
.stack .mini:nth-child(1) {
  left: 8%;
  top: 18%;
  transform: rotate(-16deg);
  background: linear-gradient(135deg, #0a3d91, #1b6fd9);
  z-index: 1;
}
.stack .mini:nth-child(2) {
  left: 28%;
  top: 0;
  transform: rotate(8deg);
  background: linear-gradient(145deg, #001b5e, #006fcf);
  z-index: 2;
}
.stack .mini:nth-child(3) {
  left: 18%;
  top: 42%;
  transform: rotate(14deg);
  background: linear-gradient(145deg, #8b1111, #e0392d);
  z-index: 3;
}
.mini .who { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: .85; }
.mini .title { font-family: Syne, sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; line-height: 1.05; }
.mini .chip {
  width: 2.1rem; height: 1.55rem; border-radius: 0.3rem;
  background: linear-gradient(135deg, #efe4b8, #c9a84c 45%, #f7e7a1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.section { padding: 1rem 0 3.5rem; }
.section h2 {
  font-family: "Inter Tight", Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  margin: 0 0 0.4rem;
}
.section-lead { color: var(--cream-dim); margin: 0 0 1.4rem; max-width: 40rem; line-height: 1.65; }

.controls {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.search, .select {
  background: var(--ink-2);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  width: 100%;
}
.search::placeholder { color: #8c8578; }
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.3rem 0 1.1rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip-btn {
  border: 0;
  background: rgba(244,237,224,.06);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.88rem;
}
.chip-btn[aria-pressed="true"] {
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.05rem;
}
.tile {
  appearance: none;
  text-align: left;
  border: 0;
  cursor: pointer;
  aspect-ratio: 1.586 / 1;
  border-radius: 1.15rem;
  padding: 1rem 1.05rem 0.9rem;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: var(--ink-on);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 22px 40px rgba(0,0,0,.38); }
.tile .shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 62%);
  pointer-events: none;
}
.tile-iss {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}
.tile-name {
  display: block;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-top: 0.2rem;
  padding-right: 2.35rem;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.tile-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: auto;
}
.badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.55rem; }
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  background: var(--badge-bg, rgba(255,255,255,.2));
  color: var(--badge-ink, inherit);
}
.tile .icchip {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.35rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #efe4b8, #c9a84c 45%, #f7e7a1);
  opacity: .95;
}

.empty { padding: 2rem; text-align: center; color: var(--cream-dim); }

.setup {
  background: linear-gradient(180deg, rgba(244,237,224,.05), rgba(244,237,224,.02));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.35rem 1.4rem 1.45rem;
}
.setup-panel .section-lead {
  margin-bottom: 0;
  max-width: 44rem;
}
.setup-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  flex-wrap: wrap;
}
pre.prompt {
  margin: 1rem 0 0;
  padding: 1rem 1.05rem;
  background: #05060a;
  border-radius: 1rem;
  overflow: auto;
  max-height: 22rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e9e1d2;
  white-space: pre-wrap;
}
pre.prompt[hidden] { display: none; }
.send-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.send-note, .send-status {
  margin: 0.75rem 0 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 46rem;
}
.send-status { color: var(--mint); }
.setup-fallbacks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin-top: 1rem;
}
.btn-text {
  background: none;
  border: 0;
  color: var(--cream-dim);
  padding: 0.2rem 0;
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.btn-text:hover, .btn-text:focus-visible { color: var(--cream); }
.copied { color: var(--mint); font-weight: 700; font-size: 0.9rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.65;
}
footer.site h2 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--cream); }
footer.site ul { padding-left: 1.1rem; }
.fineprint { margin-top: 1.1rem; max-width: 46rem; }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal-back {
  position: absolute;
  inset: 0;
  background: rgba(4,5,10,.72);
  backdrop-filter: blur(8px);
  border: 0;
  width: 100%;
  height: 100%;
}
.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  background: var(--ink-2);
  border-radius: 1.4rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  border: 1px solid var(--line);
}
.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.banner {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--ink-on);
  padding: 1.4rem 1.5rem 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.banner h2 {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.45rem;
  color: inherit;
  overflow-wrap: break-word;
}
.banner .sub { opacity: .9; font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.poster {
  aspect-ratio: 1 / 1;
  width: min(210px, 38%);
  justify-self: end;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, var(--c1), var(--c2) 80%, #fff3);
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink-on);
}
.poster small, .poster strong { display: block; }
.poster small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}
.poster strong {
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 0.15rem;
}
.detail {
  padding: 1.2rem 1.4rem 1.6rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.2rem;
}
.stat {
  background: rgba(244,237,224,.05);
  border-radius: 0.9rem;
  padding: 0.8rem 0.85rem;
}
.stat b {
  display: block;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.stat span { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.4; }
.block h3 {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.15rem 0 0.5rem;
}
.list { margin: 0; padding-left: 1.15rem; color: var(--cream-dim); line-height: 1.65; }
.kv { display: grid; gap: 0.35rem; }
.kv div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.35rem 0; }
.flag {
  background: rgba(240,193,75,.12);
  color: var(--gold);
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.6rem;
    overflow: hidden;
    row-gap: 1.35rem;
  }
  .hero-copy { order: 1; }
  .hero .setup-panel { order: 2; }
  .stack { order: 3; }
  h1 {
    font-size: clamp(2.4rem, 10.5vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 0.9rem;
  }
  h1 .h1-rest { display: block; }
  .stack {
    height: 250px;
    margin: 0 auto;
    width: min(340px, 100%);
  }
  .stack .mini { width: min(210px, 62%); }
  .stack .mini:nth-child(1) { left: 2%; top: 20%; transform: rotate(-14deg); }
  .stack .mini:nth-child(2) { left: 22%; top: 2%; transform: rotate(6deg); }
  .stack .mini:nth-child(3) { left: 12%; top: 40%; transform: rotate(12deg); }
  .controls { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; aspect-ratio: auto; min-height: 16em; }
  .poster { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}

/* ---- Card art redesign ---- */
.grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem 1.15rem;
}
.tile {
  aspect-ratio: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--cream);
  overflow: visible;
  box-shadow: none;
  gap: 0.8rem;
  justify-content: flex-start;
  transition: none;
}
.tile:hover { transform: none; box-shadow: none; }
.card-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 5.2% / 8.2%;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 14px 30px rgba(0,0,0,.45),
    0 2px 6px rgba(0,0,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-art.is-portrait {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.card-art.is-portrait img {
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.5));
  transition: transform .22s ease;
}
.tile:hover .card-art,
.tile:focus-visible .card-art {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.1) inset,
    0 26px 46px rgba(0,0,0,.55),
    0 4px 10px rgba(0,0,0,.4);
}
.tile:hover .card-art.is-portrait,
.tile:focus-visible .card-art.is-portrait { box-shadow: none; }
.tile:hover .card-art.is-portrait img { transform: translateY(-6px); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .card-art { outline: 3px solid var(--focus); outline-offset: 4px; }

.card-art.is-fallback {
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: var(--ink-on);
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 1rem;
}
.card-art .shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 62%);
  pointer-events: none;
}
.card-art .icchip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.35rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #efe4b8, #c9a84c 45%, #f7e7a1);
}
.fallback-iss {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}
.fallback-name {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.15rem;
  line-height: 1.3;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.05rem 0.15rem 0;
}
.tile-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 1.35rem;
}
.tile-logo {
  display: block;
  height: 1.15rem;
  width: auto;
  max-width: 58%;
  object-fit: contain;
  object-position: left center;
}
img.tile-logo[src$="apple.svg"] { height: 1.35rem; }
img.tile-logo[src$="target.svg"] { height: 1.45rem; }
img.tile-logo[src$="wells-fargo.svg"] { height: 1.5rem; }
img.tile-logo[src$="american-express.svg"] { height: 1.5rem; }
.logo-text {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream-dim);
}
.tile-fee {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream-dim);
  white-space: nowrap;
}
.tile .tile-name {
  font-size: 1.15rem;
  padding-right: 0;
  margin-top: 0.1rem;
  color: var(--cream);
}
.tile .badges { margin-top: 0.25rem; }
.tile .badge {
  background: rgba(244,237,224,.08);
  color: var(--cream-dim);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Modal */
.banner {
  aspect-ratio: auto;
  min-height: 0;
  background:
    radial-gradient(70% 120% at 85% 40%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 70%),
    linear-gradient(135deg, #151826, #0d0f18);
  color: var(--cream);
  padding: 2.4rem 2rem 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.6rem;
}
.banner-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.banner-logo {
  display: block;
  height: 1.6rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.6rem;
}
img.banner-logo[src$="apple.svg"],
img.banner-logo[src$="target.svg"],
img.banner-logo[src$="wells-fargo.svg"],
img.banner-logo[src$="american-express.svg"] { height: 2.2rem; }
.banner .sub { color: var(--cream-dim); opacity: 1; }
.banner-copy > p:not(.sub) {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cream-dim);
  margin: 0;
}
.banner-art { justify-self: end; width: min(420px, 100%); }
.banner-art .card-art {
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 6px 14px rgba(0,0,0,.4);
}
.banner-art .card-art.is-portrait { box-shadow: none; }

/* Hero stack: real card art */
.stack .mini {
  padding: 0;
  background: none !important;
  border-radius: 5.2% / 8.2%;
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.4);
  overflow: visible;
}
.stack .mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 880px) {
  .banner { grid-template-columns: 1fr; padding: 3.4rem 1.2rem 1.4rem; gap: 1.2rem; }
  .banner-art { justify-self: center; width: min(360px, 100%); order: -1; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.85rem; }
  .tile-logo { height: 0.95rem; }
  img.tile-logo[src$="apple.svg"],
  img.tile-logo[src$="target.svg"],
  img.tile-logo[src$="wells-fargo.svg"],
  img.tile-logo[src$="american-express.svg"] { height: 1.2rem; }
  .tile-fee { font-size: 0.8rem; }
  .tile .tile-name { font-size: 1.05rem; line-height: 1.3; }
  .tile .badge { font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .card-art, .card-art.is-portrait img { transition: none; }
  .tile:hover .card-art { transform: none; }
}
