/* Shared hub + /certs/ deck landing (matches landing.html tokens) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* app.py RSI_STYLES + mobile-prep-shell fallbacks */
  --rsi-navy-900: #050d1a;
  --rsi-navy-800: #0c1e3d;
  --rsi-navy-mid: #162a4a;
  /* Study UI accent: sampled from landing/carousel_shots/01_deck_list_b43nits.png (not web --rsi-muted) */
  --rsi-blue-accent: #90c0f8;
  --rsi-blue-400: var(--rsi-blue-accent);
  --rsi-blue-500: #3d6a9e;
  /* Outlined controls on dark bands — sampled from Settings screenshot (approx.) */
  --rsi-btn-outline: #3166a3;
  --rsi-btn-text-on-dark: #bedbfd;
  --rsi-btn-fill-dark: #162844;
  --rsi-muted-on-dark: #9fb0cc;
  --rsi-gold-400: #c9a227;
  --rsi-cream: #e8eef7;
  --rsi-muted-on-light: #5b6b7c;
  --eyebrow-on-light: var(--rsi-blue-500);
  --eyebrow-on-dark: var(--rsi-gold-400);
  --navy: var(--rsi-navy-800);
  --navy-deep: var(--rsi-navy-900);
  --ink: var(--rsi-navy-900);
  --muted: var(--rsi-muted-on-light);
  --link: var(--rsi-blue-500);
  --line: #d5dce8;
  --bg: color-mix(in srgb, var(--rsi-navy-800) 5.5%, #ffffff);
  --white: #ffffff;
  --sand: #e8eef7;
  --sticky-h: 3.5rem;
  /* legacy aliases (hub inline styles) */
  --teal: var(--rsi-blue-500);
  --teal-bright: var(--rsi-blue-400);
  --teal-soft: var(--sand);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html,
body {
  overflow-x: clip;
}
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--rsi-blue-500); outline-offset: 2px; }

/* Outlined buttons on navy / dark bands (hub hero, CTA band, deck preview card) */
.btn-outline-on-dark,
a.btn-outline-on-dark {
  background: var(--rsi-btn-fill-dark);
  border: 2px solid var(--rsi-btn-outline);
  color: var(--rsi-btn-text-on-dark) !important;
  font-weight: 700;
  text-decoration: none;
}
.btn-outline-on-dark:hover,
a.btn-outline-on-dark:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--rsi-navy-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-height: var(--sticky-h);
}
.site-header .logo { color: #ffffff; }
.site-header .logo span { color: var(--eyebrow-on-dark); }
.site-header .site-nav--desktop a { color: rgba(255, 255, 255, 0.92); }
.site-header .site-nav--desktop a:hover { color: #ffffff; }
.site-header__inner {
  max-width: 1120px; margin: 0 auto; padding: 0.65rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.logo {
  font-family: 'Fraunces', serif; color: var(--navy); font-size: 1.35rem;
  font-weight: 700; text-decoration: none; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.logo span { color: var(--eyebrow-on-light); }
.logo-mark { height: 28px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; margin-left: auto; }
.site-nav a { color: var(--navy); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.site-nav a:hover { color: var(--link); }
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--navy);
  font-size: 0.92rem; padding: 0.35rem 0;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown__panel {
  position: absolute; right: 0; top: 100%; margin-top: 0.35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 31, 51, 0.12);
  padding: 0.75rem 1rem; min-width: 16rem; max-height: 70vh; overflow: auto;
  z-index: 200;
}
.nav-dropdown__group { margin-bottom: 0.65rem; }
.nav-dropdown__group h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 0.35rem;
}
.nav-dropdown__group a {
  display: block; font-size: 0.88rem; padding: 0.2rem 0; font-weight: 600;
}

.breadcrumb {
  max-width: 860px; margin: 0 auto; padding: 1rem 1.25rem 0;
  font-size: 0.85rem; color: var(--muted);
}
.breadcrumb a { text-decoration: none; font-weight: 600; }

.deck-hero {
  max-width: 860px; margin: 0 auto; padding: 1.25rem 1.25rem 2rem;
}
.deck-hero .eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--eyebrow-on-light); margin-bottom: 0.5rem;
}
.deck-hero--split {
  max-width: 1120px;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .deck-hero--split { grid-template-columns: 1fr min(320px, 38vw); }
}
.deck-preview-card {
  background: var(--rsi-btn-fill-dark);
  border: 1px solid var(--rsi-btn-outline);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(49, 102, 163, 0.25), 0 18px 40px rgba(5, 13, 26, 0.25);
  padding: 1.25rem 1.15rem;
  color: var(--rsi-cream);
  font-size: 0.92rem;
}
.deck-preview-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--eyebrow-on-dark);
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.sample-card-figure {
  margin: 0;
  max-width: 360px;
}
.sample-card-caption {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sample-card-figure picture,
.sample-card-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(12, 30, 61, 0.12);
  box-shadow: 0 8px 24px rgba(5, 13, 26, 0.08);
}
.deck-hero .sample-card-figure { max-width: 320px; margin: 0 auto; }
.study-shot-pair {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .study-shot-pair { grid-template-columns: 1fr 1fr; align-items: start; }
}
.study-shot-pair .sample-card-figure { max-width: 100%; }
.hub-screen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.hub-screen-row .sample-card-figure { flex: 0 1 160px; max-width: 200px; }
.deck-hero h1 {
  font-family: 'Fraunces', serif; font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  color: var(--navy); margin-bottom: 0.75rem; line-height: 1.25;
}
.deck-hero .subhead { color: var(--muted); max-width: 52ch; margin-bottom: 1.25rem; }
.deck-hero .price-line {
  font-size: 0.92rem; color: var(--muted); margin-top: 0.85rem;
}

.container { max-width: 860px; margin: 0 auto; padding: 0 1.25rem 3rem; }
section { margin-bottom: 2.5rem; }
section h2 {
  font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--navy);
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.muted { color: var(--muted); font-size: 0.92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.75rem 0; }
.chip {
  display: inline-flex; padding: 0.35rem 0.65rem; border-radius: 999px;
  background: var(--sand); color: var(--ink); font-size: 0.82rem; font-weight: 600;
}
.domains-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin: 0.75rem 0;
}
.domains-table th, .domains-table td {
  padding: 0.6rem 0.85rem; text-align: left; border-bottom: 1px solid var(--line);
}
.domains-table th { background: var(--sand); font-weight: 700; color: var(--navy); }
.domains-table tr:last-child td { border-bottom: none; }

.store-badges {
  --badge-h: 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
}
.store-badges a {
  display: inline-flex; flex: 0 0 auto; line-height: 0;
  border: none; background: none; padding: 0; box-shadow: none;
}
.store-badges a:hover { filter: none; transform: none; background: none; }
.store-badges img {
  height: var(--badge-h); width: auto; max-width: none;
  aspect-ratio: auto; object-fit: contain;
  border: none; box-shadow: none; background: transparent;
}
/* Play PNG is 250px tall; opaque artwork is 168px, centered. Scale the box so the artwork matches --badge-h. */
.store-badges img[src*="google-play"] {
  height: calc(var(--badge-h) * 250 / 168);
}
.hero-ctas.store-badges,
.deck-hero .store-badges,
.about-store-badges,
.closing-cta__badges .store-badges,
.cta-banner .store-badges {
  --badge-h: 48px;
}
.store-badges--header { --badge-h: 40px; }
.store-badges--footer { --badge-h: 36px; }
.site-footer__links,
footer p:has(.store-badges--footer) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.about-store-badges { margin-top: 0.65rem; }
@media (max-width: 480px) {
  .store-badges { --badge-h: 44px; }
  .hero-ctas.store-badges,
  .deck-hero .store-badges,
  .about-store-badges,
  .closing-cta__badges .store-badges,
  .cta-banner .store-badges {
    --badge-h: 44px;
  }
  .store-badges--footer { --badge-h: 36px; }
}

.sample-block {
  border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem;
  background: var(--white); margin-bottom: 1rem;
}
.sample-block h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.sample-options { list-style: none; margin: 0.5rem 0; padding: 0; }
.sample-options li { padding: 0.25rem 0; font-size: 0.92rem; }
details.sample-reveal { margin-top: 0.65rem; }
details.sample-reveal summary {
  cursor: pointer; font-weight: 700; color: var(--link); list-style: none;
}
details.sample-reveal summary::-webkit-details-marker { display: none; }

.feature-tiles { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .feature-tiles { grid-template-columns: 1fr 1fr; } }
.feature-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem; font-size: 0.92rem;
}
.info-callout {
  background: var(--sand); border-left: 4px solid var(--rsi-blue-500);
  padding: 0.85rem 1rem; border-radius: 0 8px 8px 0; font-size: 0.9rem;
  margin: 0.75rem 0;
}
.related-list { list-style: none; padding: 0; }
.related-list li { margin-bottom: 0.45rem; }
.related-list a { font-weight: 600; text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--line); padding: 1.5rem 1.25rem 2rem;
  text-align: center; color: var(--muted); font-size: 0.88rem;
}
.site-footer a { color: var(--navy); font-weight: 600; text-decoration: none; margin: 0 0.35rem; }

.hub-deck-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem; transition: border-color 0.15s, transform 0.15s;
}
.hub-deck-card:hover { border-color: var(--rsi-blue-500); transform: translateY(-2px); }
.hub-deck-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.25rem; }
.hub-deck-grid { display: grid; gap: 0.75rem; }
.hub-deck-grid--all {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hub-deck-grid--all { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hub-deck-grid--all { grid-template-columns: repeat(3, 1fr); }
}
.hub-deck-card__meta {
  font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 0.25rem;
}
.hub-deck-card__cta { margin-top: 0.35rem; font-size: 0.88rem; }
.hub-filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem;
}
.hub-filter-chip {
  font: inherit; font-size: 0.82rem; font-weight: 600;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  cursor: pointer;
}
.hub-filter-chip.is-active {
  border-color: var(--rsi-blue-500); background: var(--sand);
}
.waitlist-chips-grid {
  display: grid; gap: 0.45rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0.75rem 0 1rem;
}
@media (min-width: 640px) {
  .waitlist-chips-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .waitlist-chips-grid { grid-template-columns: repeat(4, 1fr); }
}
.waitlist-chip {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; font-weight: 600; padding: 0.45rem 0.55rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white);
  cursor: pointer;
}
.waitlist-chip input { accent-color: var(--rsi-blue-500); }

.deck-hero-band {
  background: linear-gradient(180deg, var(--rsi-navy-900) 0%, var(--rsi-navy-800) 100%);
  color: var(--rsi-cream);
  padding-bottom: 2rem;
}
.deck-hero-band .breadcrumb--on-dark { color: var(--rsi-muted-on-dark); }
.deck-hero-band .breadcrumb--on-dark a { color: var(--rsi-cream); }
.deck-hero--on-dark .eyebrow { color: var(--eyebrow-on-dark); }
.deck-hero--on-dark h1 { color: var(--white); }
.deck-hero--on-dark .subhead,
.deck-hero--on-dark .price-line { color: var(--rsi-muted-on-dark); }
.deck-hero-band .deck-hero { padding-top: 0.5rem; }

.at-a-glance {
  background: var(--rsi-btn-fill-dark);
  border: 2px solid var(--rsi-btn-outline);
  border-radius: 16px;
  padding: 1.15rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(49, 102, 163, 0.25);
}
.at-a-glance__label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--eyebrow-on-dark); font-weight: 700; margin-bottom: 0.35rem;
}
.at-a-glance__cert {
  font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--white);
  margin-bottom: 0.65rem;
}
.at-a-glance .chips { margin: 0 0 0.65rem; }
.at-a-glance .chip {
  background: rgba(12, 30, 61, 0.55); color: var(--rsi-cream);
  border: 1px solid rgba(49, 102, 163, 0.45);
}
.at-a-glance__count { font-size: 0.9rem; margin-bottom: 0.5rem; }
.at-a-glance__samples a {
  color: var(--rsi-blue-accent); font-weight: 700; text-decoration: none;
}
.at-a-glance__samples a:hover { text-decoration: underline; }

.section-block {
  padding: 1.75rem 0; margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.section-block--alt {
  background: var(--sand);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
}
.section-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--eyebrow-on-light);
  margin-bottom: 0.35rem;
}
.prose-list ul {
  padding-left: 1.25rem; margin: 0.35rem 0 0;
}
.prose-list li { margin-bottom: 0.35rem; }

.closing-cta {
  margin-top: 2rem; padding: 1.75rem 1.25rem;
  background: linear-gradient(180deg, var(--rsi-navy-800), var(--rsi-navy-900));
  color: var(--rsi-cream); border-radius: 16px; text-align: center;
}
.closing-cta h2 {
  font-family: 'Fraunces', serif; color: var(--white); margin-bottom: 0.35rem;
}
.closing-cta p { color: var(--rsi-muted-on-dark); }
.closing-cta__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem;
  margin: 1rem 0;
}
.closing-cta__back a {
  color: var(--rsi-blue-accent); font-weight: 700; text-decoration: none;
}

.reimb-letter-preview {
  margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); overflow: hidden;
}
.reimb-letter-preview summary {
  cursor: pointer; font-weight: 700; padding: 0.85rem 1rem;
  background: var(--sand); list-style: none;
}
.reimb-letter-preview summary::-webkit-details-marker { display: none; }
.reimb-letter-body { padding: 0 1rem 1rem; }
.reimb-letter-text {
  width: 100%; margin: 0.75rem 0 0; padding: 0.85rem 1rem;
  font: 0.88rem/1.55 'Manrope', sans-serif;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fafbfc; color: var(--ink); resize: vertical;
}
.btn-gold {
  background: var(--rsi-gold-400); color: var(--rsi-navy-900);
  border: none; border-radius: 8px; padding: 0.55rem 1rem;
  font-weight: 700; cursor: pointer;
}
.btn-gold:hover { filter: brightness(1.05); }

.hub-find-deck { max-width: 22rem; margin: 1rem 0; }
.hub-find-deck select {
  width: 100%; padding: 0.55rem 0.65rem; border-radius: 8px;
  border: 1px solid var(--line); font: inherit;
}

/* --- Mobile landing v2 (Phases 1–3) --- */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
h1, h2, h3 { text-wrap: balance; }
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 110;
  background: var(--rsi-navy-900);
  pointer-events: none;
}
.site-header {
  top: env(safe-area-inset-top, 0px);
}
.page-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  min-width: 0;
  max-width: min(600px, 100%);
  grid-template-columns: minmax(0, 1fr);
}
.landing-section {
  padding-block: clamp(24px, 5vw, 56px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 899px) {
  .landing-section {
    padding-block: clamp(18px, 3.5vw, 40px) 0;
    gap: 10px;
  }
  section.hero.landing-section,
  .hero.landing-section {
    padding-block: clamp(20px, 4vw, 32px) 0;
  }
  .hero {
    padding-bottom: 1.25rem !important;
    padding-top: clamp(1.5rem, 5vw, 2.25rem) !important;
  }
  .footer-store-wrap {
    margin: 0.35rem 0 0.25rem;
  }
  #waitlist.landing-section,
  #about.landing-section {
    padding-block: clamp(16px, 3.5vw, 32px) 0;
  }
  main:has(> #hero) .landing-section {
    padding-block: clamp(14px, 3vw, 34px) 0;
    gap: 8px;
  }
  main:has(> #hero) .hero.landing-section {
    padding-block: clamp(16px, 3.5vw, 28px) 0;
  }
  .site-disclaimer {
    padding-bottom: 0.5rem;
    margin-bottom: 0;
  }
  footer p:first-child {
    margin-bottom: 0.25rem;
  }
  .footer-store-wrap .store-badge-img {
    height: 36px;
  }
  .pricing-employer-card {
    padding: 0.75rem 0.9rem;
    gap: 6px;
  }
  .flash-card {
    min-height: 0 !important;
  }
  .flash-preview {
    padding: 0.85rem !important;
  }
  .pricing-employer-card summary {
    cursor: pointer;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .waitlist-form .fine {
    display: none;
  }
}
.hero__inner > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}
.landing-section > h2 {
  font-size: 1.3rem;
}
.site-nav--desktop { display: none; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-menu {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--rsi-navy-800);
}
.mobile-menu a {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-hide-badges { }
@media (max-width: 899px) {
  .site-nav--desktop,
  .nav-dropdown,
  .cred-covered,
  .mobile-hide-badges,
  .footer-deck-row--desktop,
  .closing-cta { display: none !important; }
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav--mobile-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }
}
@media (min-width: 900px) {
  .site-nav--mobile-tools,
  .mobile-menu,
  #storebar { display: none !important; }
  .site-nav--desktop { display: flex; }
  .page-wrap { max-width: 860px; }
  .decks-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .decks-list li { border-right: 1px solid var(--line); }
}
.deck-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 6px 0 16px;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
}
.deck-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
  min-height: 44px;
}
.deck-search input:focus { outline: none; }
.deck-finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.deck-finder .chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
}
.deck-finder .chips::-webkit-scrollbar { display: none; }
.deck-finder .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  margin: 0;
  line-height: 1;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font: 600 0.85rem/1 'Manrope', sans-serif;
  cursor: pointer;
}
.deck-finder .chip[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.decks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.decks-list li + li { border-top: 1px solid var(--line); }
.decks-list a {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
}
.decks-list .code {
  font: 600 0.9rem/1.2 ui-monospace, monospace;
  align-self: center;
  margin: 0;
  padding: 0;
}
.decks-list .name {
  font-size: 0.9rem;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
  align-self: center;
  margin: 0;
  padding: 0;
}
.decks-list .name span { display: block; color: var(--muted); font-size: 0.78rem; }
.decks-list .go {
  color: var(--muted);
  align-self: center;
  margin: 0;
  padding: 0;
}
.decks-empty { padding: 14px; color: var(--muted); }
.why-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.why-points li {
  padding-left: 14px;
  border-left: 3px solid var(--rsi-blue-accent);
  display: grid;
  gap: 4px;
}
.why-points strong { color: var(--navy); }
.pricing-employer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 8px;
}
.domain-weights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.domain-weights li { display: grid; gap: 4px; }
.domain-weights .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}
.domain-weights .pct {
  font-family: ui-monospace, monospace;
  color: var(--muted);
}
.domain-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.domain-bar i {
  display: block;
  height: 100%;
  background: var(--rsi-blue-500);
}
.deck-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.deck-lines li {
  padding-left: 14px;
  border-left: 3px solid var(--sand);
}
.hero-back-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.store-badges img,
.store-badges .store-badge-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.hero-ctas.store-badges,
.deck-hero .store-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
  max-width: 100%;
  min-width: 0;
}
.hero-ctas.store-badges a,
.deck-hero .store-badges a {
  flex: 0 1 auto;
  max-width: calc(50% - 4px);
  min-width: 0;
  display: flex;
  justify-content: center;
}
.hero-employer-link {
  margin: 0 0 6px;
}
#storebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  transform: translateY(110%);
  transition: transform 0.2s ease;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-sizing: border-box;
  padding: 10px max(16px, env(safe-area-inset-right, 0px))
    calc(10px + env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  max-width: 100vw;
}
#storebar:not(.show) {
  transform: translateY(110%);
  pointer-events: none;
}
#storebar.show {
  transform: translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  #storebar { transition: none; }
}
.storebar-inner {
  max-width: 600px;
  margin: 0 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.store-badges--sticky {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
}
.store-badges--sticky a {
  flex: 1 1 0;
  max-width: 50%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-store-wrap {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 0.5rem;
}
#reimbursement {
  scroll-margin-top: calc(var(--sticky-h) + env(safe-area-inset-top, 0px) + 12px);
}
.employer-hero-link {
  font-weight: 600;
  text-decoration: none;
}
.employer-hero-link:hover { text-decoration: underline; }
.deck-hero--on-dark .employer-hero-link,
.hero .employer-hero-link {
  color: var(--rsi-blue-accent);
}
.store-review-notice {
  margin: 0.4rem 0 0;
  max-width: 36ch;
  line-height: 1.35;
  font-size: 0.82rem;
}
.deck-hero--on-dark .store-review-notice,
.hero .store-review-notice {
  color: rgba(232, 241, 245, 0.78);
}
.footer-store-wrap .store-review-notice {
  text-align: center;
  margin: 0.25rem auto 0;
}
@media (max-width: 899px) {
  main:has(> #hero) .landing-section {
    gap: 7px;
  }
  main:has(> #hero) .store-review-notice {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }
}
.flash-card,
.sample-block,
.pricing-employer-card,
.reimb-letter-preview {
  background: var(--white);
  border: 1px solid var(--line);
}
.site-footer,
footer {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}
@media (max-width: 899px) {
  main:not(:has(> #hero)) {
    padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }
  main:has(> #hero) {
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 900px) {
  footer, .site-footer { padding-bottom: 2rem; }
  main { padding-bottom: 3rem; }
}
.footer-all-decks { display: none; }
@media (max-width: 899px) {
  .footer-all-decks { display: inline; }
}
.sample-carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 0.75rem;
}
