/* ==========================================================================
   MRCOG Academy — Public marketing site
   ========================================================================== */

/* ==========================================================================
   1. Homepage hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-plum-deep);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(176, 141, 87, 0.24), transparent 44%),
    radial-gradient(circle at 8% 92%, rgba(158, 74, 92, 0.26), transparent 46%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  margin-bottom: var(--sp-5);
  max-width: 15ch;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold-400);
  position: relative;
}
.hero-lede {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--text-on-dark-muted);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.68);
}
.hero-assurance span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-assurance span::before { content: "✓"; color: var(--gold-400); font-weight: var(--fw-bold); }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.4rem 0.55rem 0.4rem 0.45rem;
  margin-bottom: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.hero-pill:hover { border-color: var(--gold-500); color: var(--white); }
.hero-pill b {
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--gold-500);
  color: var(--plum-900);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ---------- Product interface preview (pure CSS mock) ---------- */
.app-preview {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.app-preview-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--ink-050);
  border-bottom: 1px solid var(--border-subtle);
}
.app-preview-dots { display: flex; gap: 5px; }
.app-preview-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-200);
  display: block;
}
.app-preview-url {
  flex: 1;
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-3xs);
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-preview-body { padding: var(--sp-5); display: grid; gap: var(--sp-4); background: var(--ivory); }
.app-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.app-preview-head strong { font-family: var(--font-display); font-size: var(--fs-base); }
.app-preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.app-preview-metric {
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border-subtle);
}
.app-preview-metric span {
  display: block;
  font-size: var(--fs-3xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.app-preview-metric b {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--plum-800);
  font-variant-numeric: tabular-nums;
}
.app-preview-rows { display: grid; gap: var(--sp-3); }
.app-preview-row {
  display: grid;
  gap: 5px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border-subtle);
}
.app-preview-row-head {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-2xs);
  color: var(--text-secondary);
}
.app-preview-row-head b { color: var(--text-primary); font-weight: var(--fw-semibold); }

.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-2xs);
}
.hero-float strong { display: block; font-size: var(--fs-xs); color: var(--text-primary); }
.hero-float span { color: var(--text-muted); }
.hero-float--bl { left: -22px; bottom: -20px; }
.hero-float-mark {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--state-correct-bg);
  color: var(--state-correct);
  font-size: var(--fs-sm);
  flex: none;
}

/* ==========================================================================
   2. Stats band
   ========================================================================== */

.stats-band {
  background: var(--plum-050);
  border-block: 1px solid var(--plum-100);
  padding-block: var(--sp-8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
}
.stat-cell { text-align: center; }
.stat-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: var(--fw-semibold);
  color: var(--plum-800);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.stat-cell span {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   3. Split feature sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-visual { order: -1; }
.split-copy h2 { max-width: 18ch; }

.showcase-question {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.showcase-question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-2xs);
  color: var(--text-muted);
}
.showcase-stem {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
}
.showcase-options { display: grid; gap: var(--sp-2); }
.showcase-option {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}
.showcase-option b {
  width: 20px; height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: var(--fs-3xs);
  color: var(--text-muted);
}
.showcase-option--correct {
  background: var(--state-correct-bg);
  border-color: var(--state-correct-border);
  color: var(--state-correct);
}
.showcase-option--correct b { background: var(--state-correct); border-color: var(--state-correct); color: var(--white); }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: var(--sp-4);
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xs);
  transition: all var(--t-base) var(--ease-out);
  border-top: 3px solid var(--plum-400);
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold-500);
  color: inherit;
}
.category-card h3 { font-size: var(--fs-base); margin: 0; }
.category-card p { font-size: var(--fs-2xs); color: var(--text-muted); margin: 0; }
.category-count {
  margin-top: auto;
  padding-top: var(--sp-3);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  color: var(--plum-700);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   4. Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: start;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base) var(--ease-out);
}
.plan-card:hover { box-shadow: var(--shadow-md); border-color: var(--plum-200); }
.plan-card--featured {
  border: 1.5px solid var(--plum-700);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--plum-050), var(--white) 34%);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--plum-700);
  color: var(--gold-300);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.plan-duration {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}
.plan-tagline { font-size: var(--fs-2xs); color: var(--text-muted); margin-bottom: var(--sp-5); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--plum-800);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.plan-price sup { font-size: 0.46em; top: -0.75em; font-weight: var(--fw-medium); }
.plan-per {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  margin-top: var(--sp-2);
}
.plan-per b { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.plan-save {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-sm);
  background: var(--state-included-bg);
  border: 1px solid var(--state-included-border);
  color: var(--state-included);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-semibold);
}
.plan-features {
  list-style: none;
  padding: var(--sp-5) 0 0;
  margin: var(--sp-5) 0 var(--sp-6);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: var(--sp-3);
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
}
.plan-features li::before { content: "✓"; color: var(--state-included); font-weight: var(--fw-bold); flex: none; }
.plan-features li.is-excluded { color: var(--ink-400); }
.plan-features li.is-excluded::before { content: "×"; color: var(--ink-300); }
.plan-renewal {
  margin-top: var(--sp-3);
  font-size: var(--fs-3xs);
  color: var(--text-muted);
  text-align: center;
  line-height: var(--lh-normal);
}

/* Premium standalone promo */
.premium-promo {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--r-xl);
  background: var(--grad-plum-deep);
  color: var(--text-on-dark);
  border: 1px solid var(--plum-600);
  box-shadow: var(--shadow-lg);
}
.premium-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 96% 4%, rgba(176, 141, 87, 0.3), transparent 44%),
    repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.premium-promo > * { position: relative; }
.premium-promo h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.premium-promo p { color: var(--text-on-dark-muted); }
.premium-price-block {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.premium-price {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-semibold);
  color: var(--white);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}
.premium-price-note {
  font-size: var(--fs-2xs);
  color: var(--gold-300);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: var(--sp-2);
}

/* ==========================================================================
   5. Auth pages
   ========================================================================== */

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
}
.auth-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-8);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--grad-plum-deep);
  color: var(--text-on-dark);
}
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(176, 141, 87, 0.22), transparent 48%),
    radial-gradient(circle at 10% 88%, rgba(158, 74, 92, 0.26), transparent 46%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px);
  pointer-events: none;
}
.auth-panel > * { position: relative; }
.auth-panel h2,
.auth-panel .panel-title {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  max-width: 16ch;
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}
.auth-panel p { color: var(--text-on-dark-muted); max-width: 44ch; }
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  background: var(--surface-page);
}
.auth-form-inner { width: 100%; max-width: var(--container-form); }
.auth-form-inner > header { margin-bottom: var(--sp-7); }
.auth-form-inner h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: var(--sp-2); }
.auth-form-inner > header p { color: var(--text-secondary); font-size: var(--fs-sm); margin: 0; }

.auth-quote {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.auth-quote p { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-sm); font-style: italic; margin-bottom: var(--sp-4); }

.auth-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.auth-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.auth-stat span { font-size: var(--fs-3xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-300); }

/* ==========================================================================
   6. Checkout
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: var(--sp-8);
  align-items: start;
}
.order-summary { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
.summary-item {
  display: flex;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border-subtle);
}
.summary-thumb {
  width: 68px; height: 68px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--grad-plum);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-size: 1.25rem;
}
.summary-thumb--gold { background: var(--grad-gold); color: var(--plum-900); }
.summary-item h3 { font-size: var(--fs-base); margin-bottom: var(--sp-1); }
.summary-item p { font-size: var(--fs-2xs); color: var(--text-muted); margin: 0; }

.fieldset-block {
  border: 0;
  padding: 0;
  margin: 0 0 var(--sp-8);
}
.fieldset-block legend {
  padding: 0;
  margin-bottom: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.fieldset-step {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-right: var(--sp-3);
  border-radius: 50%;
  background: var(--plum-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  vertical-align: 2px;
}

/* Success page */
.success-mark {
  width: 78px; height: 78px;
  margin: 0 auto var(--sp-6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--state-correct-bg);
  border: 2px solid var(--state-correct-border);
  color: var(--state-correct);
  font-size: 2rem;
}

/* ==========================================================================
   7. Comparison / inclusion tables
   ========================================================================== */

.compare-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
}
.compare-col {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.compare-col--subscription { border-top: 3px solid var(--plum-600); }
.compare-col--standalone { border-top: 3px solid var(--gold-500); }
.compare-col h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.compare-col > p { font-size: var(--fs-2xs); color: var(--text-muted); margin-bottom: var(--sp-5); }

/* ==========================================================================
   8. Curriculum / module lists (course detail + premium pages)
   ========================================================================== */

.module-list {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.module {
  border-bottom: 1px solid var(--border-subtle);
}
.module:last-child { border-bottom: 0; }
.module > summary {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast) var(--ease-out);
}
.module > summary::-webkit-details-marker { display: none; }
.module > summary:hover { background: var(--plum-050); }
.module[open] > summary { background: var(--plum-050); border-bottom: 1px solid var(--border-subtle); }
.module-index {
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--plum-100);
  color: var(--plum-700);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.module-title { flex: 1; min-width: 0; }
.module-title strong { display: block; font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.module-title span { display: block; font-size: var(--fs-2xs); color: var(--text-muted); margin-top: 2px; }
.module-chevron {
  flex: none;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: transform var(--t-base) var(--ease-out);
}
.module[open] .module-chevron { transform: rotate(180deg); }

.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  margin: 0;
}
.lesson-row:last-child { border-bottom: 0; }
.lesson-mark {
  flex: none;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--white);
  font-size: var(--fs-3xs);
  color: var(--text-muted);
}
.lesson-mark--done { background: var(--state-correct-bg); border-color: var(--state-correct-border); color: var(--state-correct); }
.lesson-mark--locked { background: var(--state-locked-bg); color: var(--ink-400); }
.lesson-mark--play { background: var(--plum-700); border-color: var(--plum-700); color: var(--white); }
.lesson-name { flex: 1; min-width: 0; color: var(--text-primary); }
.lesson-name a { color: inherit; text-decoration: none; }
.lesson-name a:hover { color: var(--plum-700); text-decoration: underline; }
.lesson-dur { flex: none; font-size: var(--fs-2xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Outcome grid */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4) var(--sp-6);
}
.outcome {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}
.outcome::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-bold);
}

/* Faculty */
.faculty-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.faculty-card h3 { font-size: var(--fs-base); margin-bottom: var(--sp-1); }
.faculty-role { font-size: var(--fs-2xs); color: var(--gold-700); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--sp-3); }
.faculty-card p { font-size: var(--fs-sm); color: var(--text-secondary); margin: 0; line-height: var(--lh-relaxed); }

/* Filter rail on question-bank page */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.filter-group-label {
  font-size: var(--fs-3xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
.search-field { position: relative; flex: 1; min-width: 210px; }
.search-field .input { padding-left: 2.35rem; }
.search-field-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  font-size: var(--fs-sm);
  pointer-events: none;
}
