/*
 * PRIMEX landing-page stylesheet — SINGLE SOURCE OF TRUTH for exam landing CSS.
 * Generated/extracted from the canonical landing template; do NOT hand-edit per page.
 * Linked by every public/<exam>.html generated by scripts/seo/generate-landing-pages.mjs.
 * Superset of all 23 exam landings (rich generation). See reports/landing-page-architecture.md.
 */

/* ===== core layout, tokens, hero, features, FAQ, pricing, sticky CTA, footer ===== */

/* a11y: WCAG 2.1 AA fixes (auto-injected) */
/* #7 Global focus indicator */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--accent, #7e5a1f);
  outline-offset: 2px;
  border-radius: 2px;
}
/* #5 Nav link tap targets ≥44px */
.nav-link, .nav-login, .nav-back { white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* #6 Nav CTA tap target */
.nav-cta { white-space: nowrap;
  min-height: 44px;
  padding: 14px 24px !important;
  display: inline-flex;
  align-items: center;
}
/* #3 Pricing ghost button border (was 1.34:1, now 4.95:1) */
.pricing-btn-ghost {
  border-color: var(--muted) !important;
}
/* #2 DM Mono micro-labels minimum 11px (was 8-9px) */
.exam-tag { font-size: 11px !important; min-height: 32px; padding: 8px 0 !important; }
/* a11y: skip link (auto-injected) */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.skip-link:focus{position:fixed;left:16px;top:16px;width:auto;height:auto;background:var(--ink,#141210);color:#fff;padding:12px 16px;border-radius:6px;z-index:9999;text-decoration:none;font-weight:600;}
/* section-title utility classes (auto-injected) */
.section-title--centered{text-align:center;}
.section-title--mt-12{margin-top:12px;}
.section-title--mb-0{margin-bottom:0;}
.section-title--mb-16{margin-bottom:16px;}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:   #0c0f17;
  --paper: #f6f3ee;
  --gold:  #7e5a1f;
  --rule:  #d8d2c8;
  --muted: #6a6158;
  --pass:  #2d6a3f;
  --mid:   #f0ece5;
  /* Exam accent; swap this per exam */
  --accent: #818cf8;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  height: 56px; padding: 0 40px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--paper); z-index: 100;
}
.nav-logo {
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-back { white-space: nowrap;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.15s;
}
.nav-back:hover { color: var(--ink); }
.nav-cta { white-space: nowrap;
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 10px 22px; text-decoration: none; transition: background 0.15s;
}
.nav-cta:hover { background: var(--gold); }

/* === MOBILE_HAMBURGER_INJECTED === */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-hamburger-icon, .nav-hamburger-icon::before, .nav-hamburger-icon::after {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  border-radius: 1px; transition: transform 0.25s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-hamburger-icon { position: relative; }
.nav-hamburger-icon::before, .nav-hamburger-icon::after {
  content: ''; position: absolute; left: 0;
}
.nav-hamburger-icon::before { top: -7px; }
.nav-hamburger-icon::after  { top:  7px; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-icon { background: transparent; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-icon::before { top: 0; transform: rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-icon::after  { top: 0; transform: rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed; inset: 56px 0 0 0;
  background: var(--paper);
  padding: 24px 24px max(24px, env(safe-area-inset-bottom)) 24px;
  flex-direction: column;
  z-index: 99;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
}
.nav-mobile[data-open="true"] { display: flex; }
.nav-mobile a {
  display: block; padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: 'DM Mono', monospace;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  min-height: 44px;
}
.nav-mobile .nav-mobile-cta {
  margin-top: 24px;
  background: var(--ink); color: var(--paper);
  text-align: center; padding: 16px;
  border-bottom: none;
}
body.nav-locked { overflow: hidden; }
@media (max-width: 640px) {
  .nav-right { display: none !important; }
  .nav-hamburger { display: inline-flex; }
}

/* ── HERO ── */
.hero {
  max-width: 680px; margin: 0 auto;
  padding: 48px 40px 64px;
  text-align: center;
}
.hero-breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
}
.hero-breadcrumb a { color: var(--muted); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--gold); }
.hero-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: #7e5a1f; padding: 5px 12px;
  border: 1px solid var(--gold);
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400; line-height: 1.06; letter-spacing: -1.5px;
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 14px 32px; text-decoration: none; transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold); }
.btn-ghost {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.15s;
}
.btn-ghost:hover { color: var(--ink); }

.hero-badges {
  margin-top: 28px; margin-bottom: 28px;
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center;
  list-style: none; padding: 0;
}
.hero-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
}
.hero-badge::before { content: '✓ ' / ''; color: var(--pass); }

/* AEO blocks */
.aeo-section { border-top: 1px solid var(--rule); padding: 64px 40px; }
.aeo-inner { max-width: 1000px; margin: 0 auto; }
.aeo-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 32px; margin-top: 24px;
}
.aeo-stats div { padding: 0; }
.aeo-stats dt {
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.aeo-stats dd {
  font-size: 22px; letter-spacing: -0.5px; color: var(--ink);
}
.aeo-prose {
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule);
}
.aeo-prose p {
  font-size: 15px; color: var(--ink); line-height: 1.75;
  margin-bottom: 14px;
}
.aeo-prose p:last-child { margin-bottom: 0; }

/* (hero mockup removed) */

/* ── EXAM STATS STRIP ── */
.stats-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 20px 28px;
  border-right: 1px solid var(--rule);
}
.stat-cell:last-child { border-right: none; }
.stat-cell-label {
  font-family: 'DM Mono', monospace;
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.stat-cell-value {
  font-size: 20px; font-weight: 400; letter-spacing: -0.5px; line-height: 1.2;
  color: var(--ink);
}
.stat-cell-value .accent { color: var(--accent); }
.stat-cell-sub {
  font-family: 'DM Mono', monospace;
  font-size: 9px; color: var(--muted); letter-spacing: 0.5px; margin-top: 2px;
}

/* ── DOMAINS SECTION ── */
.domains-section {
  border-bottom: 1px solid var(--rule);
  padding: 64px 40px;
}
.domains-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400; letter-spacing: -0.8px; line-height: 1.15;
  margin-bottom: 40px;
}
.domains-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.domain-card {
  padding: 28px;
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.domain-card:nth-child(-n+4) { border-top: none; }
.domain-card:nth-child(4n+1) { border-left: none; }
.domain-weight {
  font-size: 36px; font-weight: 400; letter-spacing: -2px; line-height: 1;
  color: var(--accent); margin-bottom: 8px;
}
.domain-name {
  font-size: 17px; font-weight: 400; letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.domain-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }
.domain-topics {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule);
  font-family: 'DM Mono', monospace;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
}

/* ── FEATURE ACCORDION ── */
.feat-section { border-top: 1px solid var(--rule); padding: 48px 40px 16px; }
.feat-section-inner { max-width: 820px; margin: 0 auto; }
.feat-row { border-bottom: 1px solid var(--rule); }
.feat-row:first-of-type { border-top: 1px solid var(--rule); }
.feat-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; letter-spacing: -0.4px; line-height: 1.2; margin-bottom: 14px; }
.feat-desc { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.feat-points { list-style: none; }
.feat-points li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.feat-points li:last-child { border-bottom: none; }
.feat-points li::before { content: '–' / ''; color: var(--gold); font-family: 'DM Mono', monospace; flex-shrink: 0; line-height: 1.5; }
.feat-text { padding: 0 0 28px; overflow: hidden; }
.feat-row.accordion-collapsed .feat-text { max-height: 0; padding: 0; opacity: 0; visibility: hidden; }
.feat-accordion-toggle {
  display: block; width: 100%; padding: 22px 36px 22px 0;
  background: none; border: none; text-align: left;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px; font-weight: 400; color: var(--ink);
  cursor: pointer; transition: color 0.2s; position: relative; letter-spacing: -0.2px;
}
.feat-accordion-toggle:hover { color: var(--gold); }
.feat-accordion-toggle::after {
  content: '+'; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-family: 'DM Mono', monospace;
  font-size: 18px; color: var(--muted); transition: transform 0.25s ease, color 0.2s;
}
.feat-row:not(.accordion-collapsed) .feat-accordion-toggle::after { transform: translateY(-50%) rotate(45deg); color: var(--gold); }
.feat-accordion-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.feat-text { transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease; max-height: 1400px; opacity: 1; }
.feat-text::after { content: ''; display: block; clear: both; }
.feat-visual { float: right; width: 44%; margin: 4px 0 18px 32px; }
.feat-visual picture { display: block; }
.feat-visual img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 12px; }
@media (max-width: 640px) {
  .feat-section { padding: 32px 20px 8px; }
  .feat-accordion-toggle { font-size: 16px; padding: 18px 32px 18px 0; }
  .feat-visual { float: none; width: 100%; margin: 0 0 18px; }
}

/* Stats strip: at tablet, span 5th cell across the empty slot */
@media (max-width: 980px) {
  .stat-cell:nth-child(5) { grid-column: 2 / 4; border-right: none !important; }
}
/* Hero tag: tighten letter-spacing on mobile so long college names don't wrap to 3 lines */
@media (max-width: 640px) {
  .hero-tag { letter-spacing: 1.5px; padding: 4px 10px; font-size: 9px; }
}
/* Mobile sticky bottom CTA */
.sticky-cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--paper); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-align: center; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); text-decoration: none; z-index: 50; border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 -4px 12px rgba(0,0,0,0.08); }
.sticky-cta-bar:hover { background: var(--gold); }
@media (max-width: 640px) { .sticky-cta-bar { display: block; } body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); } }
/* Pricing cards: align prices at top and CTAs at bottom regardless of feature/savings line count */
.pricing-card { display: flex; flex-direction: column; }
.pricing-card .pricing-btn { margin-top: auto; }
/* Section zebra rhythm - restores vertical rhythm without filters or shadows (FB browser safe) */
.domains-section, .about-section, .lograder-practice-section, .faq-section { background: var(--mid); }
.about-section { border-top: 1px solid var(--rule); padding: 72px 40px; }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
.about-text { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.about-facts { list-style: none; }
.about-facts li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; align-items: flex-start; }
.about-facts li:last-child { border-bottom: none; }
.about-fact-key { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); flex: 0 0 100px; padding-top: 2px; }
.about-fact-val { color: var(--ink); flex: 1; }
.pricing-card { padding: 26px; border: 1px solid var(--rule); position: relative; }
.pricing-card.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pricing-section { border-top: 1px solid var(--rule); padding: 72px 40px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.best-value { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 2px; text-transform: uppercase; background: var(--gold); color: var(--paper); padding: 4px 14px; }
.pricing-plan { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.featured .pricing-plan { color: rgba(255,255,255,0.4); }
.pricing-price { font-size: 40px; font-weight: 400; letter-spacing: -2px; line-height: 1; margin-bottom: 4px; }
.pricing-period { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.featured .pricing-period { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }
.pricing-feats { list-style: none; margin-bottom: 22px; }
.pricing-feats li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 8px; line-height: 1.4; }
.featured .pricing-feats li { border-color: rgba(255,255,255,0.18); }
.pricing-feats li:last-child { border-bottom: none; }
.featured .yes { color: #4ade80; }
.featured .no { color: rgba(255,255,255,0.1); }
.pricing-btn-light { background: var(--paper); color: var(--ink); }
.pricing-btn-light:hover { background: #e8e3da; }
.step2 { margin-top: 18px; padding: 14px 18px; background: rgba(154,111,42,0.07); border: 1px solid rgba(154,111,42,0.2); }
.step2-lbl { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 5px; }
.step2-txt { font-size: 13px; color: var(--ink); line-height: 1.65; }
.faq-section { border-top: 1px solid var(--rule); padding: 72px 40px; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq-q { background: none; border: 0; padding: 0; width: 100%; text-align: left; color: inherit; font-family: inherit; font-size: 18px; font-weight: 400; letter-spacing: -0.2px; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.faq-q::after { content: '+'; font-family: 'DM Mono', monospace; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 600px; padding-top: 12px; }
.other-exams-section { border-top: 1px solid var(--rule); padding: 64px 40px; }
.other-exams-inner { max-width: 1100px; margin: 0 auto; }
.other-exams-grid { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; }
.other-exam-card { padding: 20px 24px; border: 1px solid var(--rule); margin: -1px 0 0 -1px; text-decoration: none; transition: background 0.15s; display: flex; flex-direction: column; gap: 4px; min-width: 200px; flex: 1; }
.other-exam-card:hover { background: rgba(0,0,0,0.02); }
.other-exam-tag { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; }
.other-exam-name { font-size: 14px; color: var(--ink); line-height: 1.4; }
.other-exam-desc { font-size: 12px; color: var(--muted); }
/* Mobile font floor: bring 8-9px DM Mono labels up to legible 11px */
@media (max-width: 640px) {
  .hero-badge, .stat-cell-label, .stat-cell-sub, .footer-disclaimer,
  .guarantee-row span, .label, .free-strip-aside { font-size: 11px; }
  /* WCAG 2.5.5 touch-target floor for small links/chips on mobile */
  .college-tag, .footer-link, .btn-ghost, .btn-link, .nav-back, .hero-breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .pricing-btn { padding: 14px 12px; }
}
/* === FOOTER_TINY_TEXT_BUMP === */
/* === HIDE_VIVA_MOBILE === */
@media (max-width: 640px) {
  /* Viva picker screenshot doesn't sell the live viva session well; hide on mobile.
     Keep the accordion header + description text. */
  .feat-visual:has(img[src$="/viva.png"]) { display: none; }
  .feat-row:has(img[src$="/viva.png"]) { gap: 0 !important; }
}

@media (max-width: 640px) {
  .footer-link { font-size: 12px !important; letter-spacing: 1.2px !important; }
  .footer-disclaimer { font-size: 11px !important; }
  .nav-cta { white-space: nowrap; font-size: 13px; }
}


/* Footer (v2 — 2026, injected) */
footer {
  border-top: 1px solid var(--rule, #d8d2c8);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.footer-logo { text-decoration: none; display: inline-flex; align-items: center; color: inherit; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-link {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted, #6a6158);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-link:hover { color: var(--ink, #0c0f17); }
.footer-disc, .footer-disclaimer {
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: var(--muted, #6a6158);
  line-height: 1.5;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  footer { padding: 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; row-gap: 10px; }
  .footer-link { font-size: 13px; }
  .footer-disc, .footer-disclaimer { font-size: 12px; }
}

/* ===== free-strip ===== */
.free-strip{background:var(--mid);border-bottom:1px solid var(--rule);padding:11px 40px;font-family:'DM Mono',monospace}
.free-strip-wrap{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:11px;letter-spacing:1.5px}
.free-strip-label{color:var(--muted);text-transform:uppercase}
.free-strip-chip{color:var(--ink);text-decoration:none;padding:10px 14px;background:var(--paper);border:1px solid var(--rule);border-radius:4px;text-transform:uppercase;transition:border-color .15s,color .15s,background .15s;min-height:44px;display:inline-flex;align-items:center;cursor:pointer}
.free-strip-chip:active{background:var(--mid)}
.free-strip-chip:hover{border-color:var(--gold);color:var(--gold)}
.free-strip-aside{color:var(--muted);text-decoration:none;margin-left:auto;text-transform:uppercase;font-size:10px;letter-spacing:1.5px}
.free-strip-aside:hover{color:var(--ink)}
@media (max-width:640px){.free-strip{padding:10px 20px}.free-strip-wrap{gap:10px;font-size:10px}.free-strip-aside{margin-left:0;width:100%}}

/* ===== lograder practice cards ===== */
    .lograder-practice-section {
      max-width: 1200px; margin: 0 auto; padding: 80px 40px;
      border-top: 1px solid var(--rule, #d8d2c8);
    }
    .lograder-practice-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
      color: var(--gold, #7e5a1f); margin-bottom: 12px;
    }
    .lograder-practice-h {
      font-family: 'EB Garamond', Georgia, serif;
      font-weight: 500; font-size: 32px; line-height: 1.2;
      margin: 0 0 14px; color: var(--ink, #0c0f17);
    }
    .lograder-practice-lede {
      font-size: 18px; color: var(--muted, #6a6158); margin: 0 0 36px;
      line-height: 1.55;
    }
    .lograder-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 18px;
    }
    .lograder-card {
      display: block;
      background: var(--paper, #f6f3ee);
      border: 1px solid var(--rule, #d8d2c8);
      border-radius: 6px;
      padding: 22px 22px;
      text-decoration: none;
      color: var(--ink, #0c0f17);
      transition: border-color 0.15s, transform 0.15s;
    }
    .lograder-card:hover { border-color: var(--gold, #7e5a1f); transform: translateY(-2px); }
    .lograder-card-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
      color: var(--muted, #6a6158); margin-bottom: 10px;
    }
    .lograder-card-title {
      font-family: 'EB Garamond', Georgia, serif;
      font-weight: 500; font-size: 20px; line-height: 1.25;
      margin: 0 0 10px; color: var(--ink, #0c0f17);
    }
    .lograder-card-blurb {
      font-size: 14px; line-height: 1.55; color: var(--muted, #6a6158);
      margin: 0 0 14px;
    }
    .lograder-card-cta {
      font-family: 'DM Mono', monospace;
      font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
      color: var(--gold, #7e5a1f); font-weight: 500;
    }
    @media (max-width: 720px) {
      .lograder-practice-section { padding: 56px 20px; }
      .lograder-practice-h { font-size: 26px; }
    }

/* ===== trial bridge ===== */
    .trial-bridge { border-top: 1px solid var(--rule, #d8d2c8); background: var(--paper, #f6f3ee); padding: 64px 40px; }
    .trial-bridge-inner { max-width: 720px; margin: 0 auto; text-align: center; }
    .trial-bridge-eyebrow { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold, #7e5a1f); margin-bottom: 14px; }
    .trial-bridge-h { font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.6px; line-height: 1.15; margin: 0 0 16px; color: var(--ink, #0c0f17); }
    .trial-bridge-sub { font-size: 16px; color: var(--muted, #6a6158); line-height: 1.7; margin: 0 auto 28px; max-width: 560px; }
    .trial-bridge-cta { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; background: var(--ink, #0c0f17); color: var(--paper, #f6f3ee); padding: 15px 34px; text-decoration: none; display: inline-block; transition: background 0.15s; min-height: 44px; }
    .trial-bridge-cta:hover { background: var(--gold, #7e5a1f); }
    .trial-bridge-note { display: block; margin-top: 14px; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted, #6a6158); }
    @media (max-width: 640px) { .trial-bridge { padding: 48px 20px; } }

/* ===== related exams + related guides + breadcrumb ===== */
.related-exams { border-top: 1px solid var(--rule); padding: 48px 40px 32px; background: var(--mid); }
.related-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.related-h { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { margin-bottom: 8px; font-size: 15px; }
.related-list li a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.related-list li a:hover { border-bottom-color: var(--gold); color: var(--gold); }
.related-list li.muted { color: var(--muted); font-style: italic; }
@media (max-width: 640px) { .related-exams { padding: 32px 20px 24px; } .related-wrap { gap: 24px; } }

.related-guides{margin:48px auto 0;padding:28px 40px 0;max-width:1180px;border-top:1px solid var(--rule)}
.related-guides + .related-guides{margin-top:32px}
.related-guides-heading{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);font-weight:400;margin-bottom:14px}
.related-guides-list{list-style:none;margin:0;padding:0}
.related-guides-list li{padding:8px 0;border-bottom:1px solid var(--mid);font-size:15px}
.related-guides-list li:last-child{border-bottom:none}
.related-guides-list a{color:var(--ink);text-decoration:none;border-bottom:1px solid transparent;transition:border-color 0.15s}
.related-guides-list a:hover{border-bottom-color:var(--gold);color:var(--gold)}
.related-guides-desc{color:var(--muted)}

/* Semantic breadcrumb (auto-injected) */
ol.primex-breadcrumb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
ol.primex-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
ol.primex-breadcrumb li + li::before { content: '\203A'; color: var(--muted, #6a6158); }


/* ===== rad-proof (imaging-exam proof strip; acem/fracs/racp/ranzcr) ===== */
.rad-proof{background:var(--paper);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:48px 40px}
.rad-proof-wrap{max-width:1200px;margin:0 auto}
.rad-proof-eyebrow{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:10px}
.rad-proof-title{font-family:'EB Garamond',Georgia,serif;font-size:28px;font-weight:500;color:var(--ink);margin:0 0 8px;letter-spacing:-0.01em}
.rad-proof-sub{color:var(--muted);font-size:15px;margin:0 0 24px;max-width:660px}
.rad-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.rad-proof-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--rule);border-radius:8px;overflow:hidden;background:#fff;transition:border-color .15s,transform .15s}
.rad-proof-card:hover{border-color:var(--gold);transform:translateY(-2px)}
.rad-proof-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#0c0f17}
.rad-proof-cap{display:block;font-family:'DM Mono',monospace;font-size:11px;letter-spacing:.4px;color:var(--ink);padding:10px 12px;line-height:1.45}
.rad-proof-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.rad-proof-credit{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:.4px;color:var(--muted);font-style:italic}
.rad-proof-credit a{color:var(--muted);text-decoration:underline;text-decoration-style:dotted}
.rad-proof-credit a:hover{color:var(--gold)}
.rad-proof-cta{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--ink);background:transparent;border:1px solid var(--rule);border-radius:4px;padding:11px 16px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;transition:border-color .15s,color .15s}
.rad-proof-cta:hover{border-color:var(--gold);color:var(--gold)}
@media (max-width:760px){.rad-proof{padding:36px 20px}.rad-proof-title{font-size:23px}.rad-proof-grid{grid-template-columns:repeat(2,1fr);gap:12px}}

/* ===== hero eyebrow (CICM 'built by' credit) + domains intro ===== */
.hero-eyebrow{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
.domains-intro{margin-bottom:32px;max-width:720px}
