/* ExamPede static SEO pages.
 *
 * These pages deliberately have no Tailwind, JavaScript, font, or application
 * runtime dependency. Keep this stylesheet self-contained and system-font only.
 */

:root {
  color-scheme: light;
  --seo-paper: #f7f0e3;
  --seo-paper-deep: #f0e5d1;
  --seo-surface: #fffaf0;
  --seo-surface-strong: #fffdf8;
  --seo-navy: #0b2948;
  --seo-navy-deep: #071d32;
  --seo-navy-soft: #405976;
  --seo-red: #c6242b;
  --seo-red-deep: #a81d23;
  --seo-gold: #b98228;
  --seo-gold-deep: #7a4f17;
  --seo-gold-soft: #f2dfb9;
  --seo-line: #ddcfb6;
  --seo-line-dark: rgba(247, 240, 227, 0.2);
  --seo-ink-soft: #596a7b;
  --seo-focus: #ecb64e;
  --seo-shadow-sm: 0 6px 18px rgba(11, 41, 72, 0.07);
  --seo-shadow-md: 0 15px 35px rgba(11, 41, 72, 0.13);
  --seo-radius-sm: 0.5rem;
  --seo-radius: 0.875rem;
  --seo-radius-lg: 1.25rem;
  --seo-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --seo-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --seo-content: 72rem;
  --seo-reading: 68ch;
}

html {
  background: var(--seo-paper);
  scroll-padding-top: 6rem;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.seo-shell {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--seo-navy);
  background:
    radial-gradient(circle at 12% 4%, rgba(185, 130, 40, 0.07) 0.06rem, transparent 0.08rem),
    radial-gradient(circle at 76% 30%, rgba(11, 41, 72, 0.04) 0.06rem, transparent 0.08rem),
    var(--seo-paper);
  background-size: 0.9rem 0.9rem, 1.15rem 1.15rem, auto;
  font-family: var(--seo-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.seo-shell :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) {
  margin-block-start: 0;
}

.seo-shell :where(h1, h2, h3, h4) {
  color: var(--seo-navy);
  font-family: var(--seo-serif);
  line-height: 1.12;
  text-wrap: balance;
}

.seo-shell :where(p, li, dd) {
  overflow-wrap: anywhere;
}

.seo-shell :where(img, svg, video) {
  display: block;
  max-width: 100%;
  height: auto;
}

.seo-shell :where(button, input, select, textarea) {
  font: inherit;
}

.seo-shell a {
  color: var(--seo-red-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.seo-shell a:hover {
  color: var(--seo-red);
  text-decoration-thickness: 0.13em;
}

.seo-shell :where(a, button, summary, [tabindex]):focus-visible {
  outline: 0.2rem solid var(--seo-focus);
  outline-offset: 0.2rem;
}

.seo-shell :where([id], details) {
  scroll-margin-top: 6rem;
}

.seo-container {
  width: min(var(--seo-content), calc(100% - 2rem));
  margin-inline: auto;
}

.seo-main {
  min-width: 0;
  padding-block: 0 4rem;
}

.seo-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Keyboard users reach the primary page content before repeated navigation. */
.seo-skip-link,
.seo-skip {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 0.125rem solid var(--seo-focus);
  border-radius: var(--seo-radius-sm);
  color: var(--seo-navy-deep);
  background: var(--seo-surface-strong);
  box-shadow: var(--seo-shadow-md);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 2rem));
}

.seo-skip-link:focus,
.seo-skip-link:focus-visible,
.seo-skip:focus,
.seo-skip:focus-visible {
  color: var(--seo-navy-deep);
  transform: translateY(0);
}

/* Header and primary navigation */
.seo-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--seo-line-dark);
  color: var(--seo-paper);
  background: rgba(7, 29, 50, 0.98);
  box-shadow: 0 0.25rem 1.25rem rgba(7, 29, 50, 0.12);
}

.seo-header-inner,
.seo-header > .seo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 0.5rem 1rem;
  padding-block: 0.65rem;
}

.seo-shell .seo-brand {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--seo-paper);
  font-family: var(--seo-serif);
  font-size: clamp(1.45rem, 5vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.seo-shell .seo-brand:hover {
  color: #fffdf8;
  text-decoration: none;
}

.seo-brand-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.seo-brand-copy {
  min-width: 0;
}

.seo-brand-copy small {
  display: block;
  margin-top: 0.25rem;
  color: var(--seo-gold-soft);
  font: 750 0.48rem/1.15 var(--seo-sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.seo-nav {
  min-width: 0;
}

.seo-nav :where(ul, ol) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.65rem;
  border-radius: var(--seo-radius-sm);
  color: rgba(247, 240, 227, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.seo-nav a:hover,
.seo-nav a[aria-current="page"] {
  color: #fffdf8;
  background: rgba(247, 240, 227, 0.1);
}

.seo-nav a[aria-current="page"] {
  box-shadow: inset 0 -0.15rem var(--seo-gold);
}

/* Breadcrumbs */
.seo-breadcrumbs {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(11, 41, 72, 0.09);
  color: var(--seo-navy-soft);
  background: rgba(255, 250, 240, 0.72);
  font-size: 0.8rem;
}

.seo-breadcrumbs :where(ol, ul) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-breadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.3rem;
}

.seo-breadcrumbs li + li::before {
  margin-inline: 0.1rem 0.2rem;
  color: var(--seo-gold-deep);
  content: "/";
}

.seo-breadcrumbs a {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  color: var(--seo-navy-soft);
  font-weight: 700;
}

.seo-breadcrumbs [aria-current="page"] {
  color: var(--seo-navy);
  font-weight: 750;
}

/* Page hero */
.seo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 8vw, 6.25rem);
  border-bottom: 1px solid rgba(185, 130, 40, 0.38);
  color: var(--seo-paper);
  background:
    radial-gradient(circle at 90% 4%, rgba(50, 110, 151, 0.32), transparent 34%),
    radial-gradient(circle at 7% 100%, rgba(185, 130, 40, 0.2), transparent 28%),
    linear-gradient(145deg, #0c3153, var(--seo-navy-deep));
}

.seo-hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -16rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(236, 182, 78, 0.18);
  border-radius: 50%;
  content: "";
}

.seo-hero-inner {
  max-width: 58rem;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #e8b65a;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.seo-eyebrow::before {
  width: 1.75rem;
  height: 0.15rem;
  border-radius: 999px;
  background: var(--seo-red);
  content: "";
}

.seo-hero h1 {
  max-width: 21ch;
  margin-bottom: 1rem;
  color: #fffaf0;
  font-size: clamp(2.45rem, 8.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.seo-deck {
  max-width: var(--seo-reading);
  margin-bottom: 0;
  color: #c4d0da;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.65;
}

/* `.seo-lead` is intentionally navy on paper sections. Dark heroes need their
 * own readable foreground, including the unclassed explanatory copy on 404. */
.seo-hero .seo-deck,
.seo-hero .seo-lead,
.seo-hero .seo-hero-inner > p:not([class]) {
  color: #d5dee5;
}

.seo-status {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(236, 182, 78, 0.42);
  border-radius: 999px;
  color: #f5deb1;
  background: rgba(7, 29, 50, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.seo-status::before {
  content: none;
}

.seo-status > [aria-hidden="true"] {
  color: var(--seo-gold);
  font-size: 0.78rem;
  line-height: 1;
}

/* General sections and readable copy */
.seo-section {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--seo-line);
  background: rgba(247, 240, 227, 0.93);
}

.seo-section:nth-of-type(even),
.seo-section--alternate {
  background: rgba(255, 253, 248, 0.94);
}

.seo-section:last-child {
  border-bottom: 0;
}

.seo-section-header,
.seo-section-head {
  max-width: 52rem;
  margin-bottom: 1.75rem;
}

.seo-section h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.025em;
}

.seo-section h2::after {
  display: block;
  width: 4rem;
  height: 0.18rem;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: var(--seo-red);
  content: "";
}

.seo-section h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

/* The shared eyebrow is pale gold for navy heroes. Paper sections use the
 * deeper brand gold so their small uppercase text retains clear contrast. */
.seo-section .seo-eyebrow {
  color: var(--seo-gold-deep);
}

.seo-section :where(p, ul, ol):not([class]),
.seo-prose {
  max-width: var(--seo-reading);
}

.seo-prose > * + * {
  margin-top: 1.15em;
}

.seo-lead {
  max-width: var(--seo-reading);
  color: var(--seo-navy-soft);
  font-size: 1.08rem;
}

/* Linked directory and related-exam cards */
.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1rem;
  align-items: stretch;
}

.seo-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 13rem;
  flex-direction: column;
  padding: 1.3rem 1.3rem 1.15rem 1.45rem;
  overflow: hidden;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius);
  color: var(--seo-navy);
  background: var(--seo-surface);
  box-shadow: var(--seo-shadow-sm);
  text-decoration: none;
}

.seo-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.25rem;
  background: var(--seo-gold);
  content: "";
}

.seo-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(185, 130, 40, 0.07);
  content: "";
  pointer-events: none;
}

a.seo-card:hover {
  border-color: rgba(185, 130, 40, 0.75);
  color: var(--seo-navy);
  box-shadow: var(--seo-shadow-md);
  text-decoration: none;
  transform: translateY(-0.18rem);
}

.seo-card h2,
.seo-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
}

.seo-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
  color: var(--seo-ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.seo-card-meta,
.seo-card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 0.65rem;
  color: var(--seo-gold-deep);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-card-action {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--seo-red-deep);
  font-size: 0.84rem;
  font-weight: 850;
}

.seo-card--featured {
  min-height: auto;
  max-width: 52rem;
  border-color: rgba(198, 36, 43, 0.3);
  background:
    linear-gradient(120deg, rgba(198, 36, 43, 0.035), transparent 42%),
    var(--seo-surface);
}

.seo-card--featured::before {
  background: var(--seo-red);
}

/* Facts and small comparison data */
.seo-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius);
  background: var(--seo-surface-strong);
  box-shadow: var(--seo-shadow-sm);
}

.seo-fact-grid > div,
.seo-fact {
  min-width: 0;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--seo-line);
}

.seo-fact-grid > div:last-child,
.seo-fact:last-child {
  border-bottom: 0;
}

.seo-fact-grid dt,
.seo-fact dt {
  margin-bottom: 0.28rem;
  color: var(--seo-gold-deep);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-fact-grid dd,
.seo-fact dd {
  margin: 0;
  color: var(--seo-navy);
  font-weight: 720;
  line-height: 1.45;
}

.seo-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius);
  background: var(--seo-surface-strong);
  box-shadow: var(--seo-shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.seo-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.seo-table :where(th, td) {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--seo-line);
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  color: var(--seo-surface-strong);
  background: var(--seo-navy);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.seo-table tr:last-child td {
  border-bottom: 0;
}

/* Lists, coverage hierarchy, and disclosure panels */
.seo-list,
.seo-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-list {
  display: grid;
  gap: 0.65rem;
}

.seo-list > li {
  position: relative;
  min-width: 0;
  padding-left: 1.45rem;
}

.seo-list > li::before {
  position: absolute;
  top: 0.67em;
  left: 0.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 0.12rem solid var(--seo-gold-deep);
  border-radius: 50%;
  content: "";
}

.seo-list > li > strong,
.seo-list > li > span {
  display: block;
}

.seo-list > li > strong + span {
  margin-top: 0.15rem;
  color: var(--seo-ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.seo-list--numbered {
  counter-reset: seo-step;
}

.seo-list--numbered > li {
  min-height: 2.35rem;
  padding-left: 3.15rem;
  counter-increment: seo-step;
}

.seo-list--numbered > li::before {
  top: 0;
  left: 0;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(185, 130, 40, 0.36);
  border-radius: 0.7rem;
  color: var(--seo-gold-deep);
  background: var(--seo-gold-soft);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  content: counter(seo-step);
}

.seo-coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
  align-items: start;
}

.seo-coverage > .seo-section-head,
.seo-coverage > .seo-coverage-card {
  grid-column: 1 / -1;
}

.seo-coverage > .seo-section-head {
  margin-bottom: 0.5rem;
}

.seo-coverage-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius);
  background: var(--seo-surface-strong);
  box-shadow: var(--seo-shadow-sm);
}

.seo-coverage-card > summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 3.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 3.2rem 0.9rem 1.15rem;
  color: var(--seo-surface-strong);
  background: var(--seo-navy);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

.seo-coverage-card > summary::-webkit-details-marker {
  display: none;
}

.seo-coverage-card > summary::after {
  position: absolute;
  right: 1.05rem;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid rgba(242, 223, 185, 0.38);
  border-radius: 50%;
  color: var(--seo-gold-soft);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
}

.seo-coverage-card[open] > summary::after {
  content: "\2212";
}

.seo-coverage-card > summary:hover {
  background: #123b60;
}

.seo-coverage-card > summary .seo-card-meta {
  margin: 0;
  color: var(--seo-gold-soft);
  font-size: 0.7rem;
  white-space: nowrap;
}

.seo-coverage-card[open] > summary {
  border-bottom: 1px solid var(--seo-line);
}

.seo-coverage-card > :where(h3, h4) {
  margin: 0;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--seo-line);
  color: var(--seo-surface-strong);
  background: var(--seo-navy);
  font-family: var(--seo-sans);
  font-size: 1rem;
  line-height: 1.4;
}

.seo-coverage-card > :where(p, ul, ol, div) {
  margin: 0;
  padding: 1rem 1.15rem;
}

.seo-coverage-card > .seo-coverage-card__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.seo-coverage__leaf {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius-sm);
  background: rgba(247, 240, 227, 0.5);
}

.seo-coverage__leaf h3 {
  margin-bottom: 0.55rem;
  font-family: var(--seo-sans);
  font-size: 0.98rem;
  line-height: 1.4;
}

.seo-topic-list {
  display: grid;
  gap: 0.45rem;
  color: var(--seo-ink-soft);
  font-size: 0.9rem;
}

.seo-topic-list li {
  position: relative;
  padding-left: 1rem;
}

.seo-topic-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--seo-red);
  content: "";
}

.seo-details,
.seo-faq details {
  overflow: hidden;
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius-sm);
  background: var(--seo-surface-strong);
}

.seo-details + .seo-details,
.seo-faq details + details {
  margin-top: 0.7rem;
}

.seo-details summary,
.seo-faq summary {
  min-height: 3.25rem;
  padding: 0.85rem 2.8rem 0.85rem 1rem;
  color: var(--seo-navy);
  background: rgba(242, 223, 185, 0.25);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
}

.seo-details summary:hover,
.seo-faq summary:hover {
  background: rgba(242, 223, 185, 0.48);
}

.seo-details[open] summary,
.seo-faq details[open] summary {
  border-bottom: 1px solid var(--seo-line);
}

.seo-details > :not(summary),
.seo-faq details > :not(summary) {
  margin: 0;
  padding: 1rem;
}

.seo-faq {
  max-width: 52rem;
}

/* Evidence, notices, and conversion */
.seo-sources {
  max-width: 52rem;
}

.seo-sources > .seo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-source;
}

.seo-sources > .seo-list > li {
  position: relative;
  min-width: 0;
  padding: 1rem 1rem 1rem 3.25rem;
  border-top: 1px solid var(--seo-line);
  counter-increment: seo-source;
}

.seo-sources > .seo-list > li:first-child {
  border-top: 0;
}

.seo-sources > .seo-list > li::before {
  position: absolute;
  top: 1rem;
  left: 0;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(185, 130, 40, 0.36);
  border-radius: 50%;
  color: var(--seo-gold-deep);
  background: var(--seo-gold-soft);
  font-size: 0.75rem;
  font-weight: 850;
  content: counter(seo-source);
}

.seo-sources strong {
  display: block;
  color: var(--seo-navy);
}

.seo-sources small,
.seo-source-meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--seo-ink-soft);
  font-size: 0.78rem;
}

.seo-callout {
  max-width: 52rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(185, 130, 40, 0.42);
  border-left: 0.3rem solid var(--seo-gold);
  border-radius: var(--seo-radius-sm);
  color: var(--seo-navy);
  background: rgba(242, 223, 185, 0.4);
}

.seo-callout > :last-child {
  margin-bottom: 0;
}

.seo-callout--warning {
  border-color: rgba(198, 36, 43, 0.35);
  border-left-color: var(--seo-red);
  background: rgba(198, 36, 43, 0.06);
}

.seo-callout--compact {
  max-width: none;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.seo-cta {
  position: relative;
  display: grid;
  max-width: var(--seo-content);
  min-width: 0;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  overflow: hidden;
  border: 1px solid rgba(236, 182, 78, 0.34);
  border-radius: var(--seo-radius-lg);
  color: var(--seo-paper);
  background:
    radial-gradient(circle at 95% 10%, rgba(50, 110, 151, 0.34), transparent 35%),
    linear-gradient(140deg, #0c3153, var(--seo-navy-deep));
  box-shadow: var(--seo-shadow-md);
}

.seo-cta > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.seo-cta h2,
.seo-cta h3 {
  margin-bottom: 0.55rem;
  color: #fffaf0;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.seo-cta p {
  max-width: 62ch;
  margin-bottom: 0;
  color: #c4d0da;
}

.seo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.seo-button,
.seo-cta a:not(.seo-card),
a.seo-cta,
button.seo-cta {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--seo-red);
  border-radius: var(--seo-radius-sm);
  color: #fff;
  background: var(--seo-red);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.15rem rgba(198, 36, 43, 0.2);
}

.seo-button:hover,
.seo-cta a:not(.seo-card):hover,
a.seo-cta:hover,
button.seo-cta:hover {
  border-color: var(--seo-red-deep);
  color: #fff;
  background: var(--seo-red-deep);
  text-decoration: none;
}

.seo-button--secondary,
.seo-cta .seo-button--secondary {
  border-color: rgba(247, 240, 227, 0.58);
  color: var(--seo-paper);
  background: transparent;
  box-shadow: none;
}

.seo-button--secondary:hover,
.seo-cta .seo-button--secondary:hover {
  border-color: var(--seo-paper);
  color: var(--seo-navy-deep);
  background: var(--seo-paper);
}

/* If the class is placed directly on a CTA link instead of its panel. */
a.seo-cta,
button.seo-cta {
  width: fit-content;
  max-width: 100%;
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--seo-radius-sm);
}

/* Footer and 404 */
.seo-footer {
  padding-block: 2.5rem;
  border-top: 1px solid rgba(236, 182, 78, 0.2);
  color: #b8c5d0;
  background: var(--seo-navy-deep);
  font-size: 0.82rem;
}

.seo-footer-inner,
.seo-footer > .seo-container {
  display: grid;
  gap: 1rem;
}

.seo-footer p {
  max-width: var(--seo-reading);
  margin-bottom: 0;
}

.seo-footer :where(ul, ol) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-footer a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--seo-gold-soft);
  font-weight: 750;
}

.seo-footer a:hover {
  color: #fffaf0;
}

.seo-404 {
  display: grid;
  min-height: calc(100vh - 11rem);
  place-items: center;
  padding-block: 3rem;
  text-align: center;
}

.seo-404-inner {
  width: min(40rem, 100%);
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid var(--seo-line);
  border-radius: var(--seo-radius-lg);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--seo-shadow-md);
}

.seo-404-code {
  display: block;
  color: var(--seo-red);
  font: 800 clamp(3rem, 18vw, 7rem)/0.9 var(--seo-serif);
  letter-spacing: -0.05em;
}

.seo-404 h1 {
  margin-block: 1rem 0.75rem;
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.seo-404 p {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--seo-ink-soft);
}

.seo-404 .seo-button {
  margin-top: 0.8rem;
}

/* Defensive handling for unusually long source names, URLs, and code samples. */
.seo-shell :where(pre, code, samp, kbd) {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
}

.seo-shell pre {
  max-width: 100%;
  padding: 1rem;
  overflow-x: auto;
  border-radius: var(--seo-radius-sm);
  color: var(--seo-paper);
  background: var(--seo-navy-deep);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 40rem) {
  .seo-container {
    width: min(var(--seo-content), calc(100% - 3rem));
  }

  .seo-fact-grid > div,
  .seo-fact {
    border-right: 1px solid var(--seo-line);
  }

  .seo-fact-grid > div:last-child,
  .seo-fact:last-child {
    border-right: 0;
  }

  .seo-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .seo-footer-inner,
  .seo-footer > .seo-container {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 62rem) {
  .seo-header-inner,
  .seo-header > .seo-container {
    min-height: 5rem;
    flex-wrap: nowrap;
  }

  .seo-nav :where(ul, ol) {
    justify-content: flex-end;
  }

  .seo-nav a {
    padding-inline: 0.85rem;
  }

  .seo-hero-inner {
    padding-inline-start: 1rem;
    border-left: 0.2rem solid var(--seo-red);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .seo-shell :where(a, button, summary) {
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease,
      box-shadow 150ms ease, transform 150ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .seo-shell *,
  .seo-shell *::before,
  .seo-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .seo-card,
  .seo-fact-grid,
  .seo-coverage-card,
  .seo-callout,
  .seo-cta,
  .seo-404-inner {
    border: 1px solid CanvasText;
  }

  .seo-card::before,
  .seo-card::after,
  .seo-hero::after,
  .seo-status::before {
    display: none;
  }
}

@media print {
  :root {
    --seo-paper: #fff;
    --seo-surface: #fff;
    --seo-surface-strong: #fff;
    --seo-navy: #111;
    --seo-navy-soft: #333;
    --seo-ink-soft: #333;
    --seo-line: #aaa;
  }

  html,
  .seo-shell {
    color: #111;
    background: #fff !important;
  }

  .seo-header {
    position: static;
    color: #111;
    background: #fff;
    box-shadow: none;
  }

  .seo-brand,
  .seo-nav a,
  .seo-footer,
  .seo-footer a {
    color: #111;
  }

  .seo-nav,
  .seo-skip-link,
  .seo-skip,
  .seo-status,
  .seo-cta-actions {
    display: none !important;
  }

  .seo-hero,
  .seo-cta,
  .seo-footer {
    color: #111;
    background: #fff !important;
    box-shadow: none;
  }

  .seo-hero h1,
  .seo-deck,
  .seo-cta h2,
  .seo-cta h3,
  .seo-cta p {
    color: #111;
  }

  .seo-card,
  .seo-fact-grid,
  .seo-coverage-card,
  .seo-details,
  .seo-faq details,
  .seo-callout,
  .seo-404-inner {
    break-inside: avoid;
    box-shadow: none;
  }

  .seo-section,
  .seo-hero,
  .seo-footer {
    padding-block: 1.5rem;
  }

  .seo-main {
    padding-bottom: 0;
  }

  .seo-shell a {
    color: #111;
    text-decoration: underline;
  }
}
