.seo-shell {
  box-sizing: border-box;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 4rem);
  color: #eef4ff;
  background: linear-gradient(145deg, #080d1c 0%, #111c36 58%, #102b3a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}

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

.seo-shell__inner {
  width: min(70rem, 100%);
  margin: 0 auto;
}

.seo-shell__brand,
.seo-shell a { color: #9fe8ff; }

.seo-shell__brand {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-shell__breadcrumb ol,
.seo-shell__links,
.seo-shell__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-shell__breadcrumb { margin-bottom: 1rem; }
.seo-shell__breadcrumb li:not(:last-child)::after { content: " /"; color: #8fa1c2; }

.seo-shell__status {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: .35rem .65rem;
  border: 1px solid rgba(159, 232, 255, .45);
  border-radius: 999px;
  color: #d9f7ff;
  background: rgba(62, 171, 203, .12);
  font-size: .9rem;
  font-weight: 700;
}

.seo-shell h1 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.75rem);
  line-height: 1.04;
}

.seo-shell__intro {
  max-width: 72ch;
  margin: 1.25rem 0 1.75rem;
  color: #c8d5ec;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.seo-shell__hero {
  display: block;
  width: min(100%, 60rem);
  height: auto;
  max-height: 32rem;
  margin: 1.5rem 0;
  border-radius: 1.25rem;
  object-fit: cover;
  background: #16233f;
}

.seo-shell__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.seo-shell__card {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .055);
}

.seo-shell__card h2 { margin-top: 0; font-size: 1.2rem; }
.seo-shell__card p { color: #c8d5ec; line-height: 1.6; }
.seo-shell__links { margin-top: 1.5rem; }
.seo-shell__links a { display: inline-block; padding: .7rem .9rem; border: 1px solid rgba(159, 232, 255, .35); border-radius: .7rem; }

.seo-shell__facts { margin: 1rem 0; }
.seo-shell__facts li { padding: .55rem .75rem; border-radius: .65rem; background: rgba(255, 255, 255, .07); }
.seo-shell__description { white-space: pre-line; line-height: 1.7; }
.seo-shell__javascript-note { margin: 0; padding: .75rem 1rem; color: #17233c; background: #dff7ff; font: 500 .95rem/1.5 system-ui, sans-serif; }

@media (prefers-reduced-motion: reduce) {
  .seo-shell *, .seo-shell *::before, .seo-shell *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Django public documents use the same small, dependency-free initial shell. */
.seo-skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .7rem 1rem; color: #07101f; background: #fff; border-radius: .5rem; }
.seo-skip-link:focus { transform: none; }
.seo-site-header,
.seo-site-footer,
.seo-document { box-sizing: border-box; width: min(76rem, calc(100% - 2rem)); margin-inline: auto; }
.seo-public-body { margin: 0; color: #eef4ff; background: #080d1c; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.seo-site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.seo-site-header nav,
.seo-site-footer nav,
.seo-related,
.seo-pagination { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.seo-site-header a,
.seo-site-footer a,
.seo-document a { color: #9fe8ff; }
.seo-brand { color: #fff !important; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.seo-document { min-height: 70vh; padding-block: 1rem 4rem; overflow-wrap: anywhere; }
.seo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.seo-breadcrumbs li:not(:last-child)::after { content: " /"; color: #8190ad; }
.seo-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .75fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-block: 1.5rem 2.5rem; }
.seo-hero img { display: block; width: 100%; height: auto; max-height: 28rem; border-radius: 1.25rem; object-fit: cover; background: #16233f; }
.seo-eyebrow { margin-bottom: .35rem; color: #9fe8ff; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.seo-status { display: inline-block; padding: .35rem .65rem; border: 1px solid rgba(159,232,255,.4); border-radius: 999px; }
.seo-hero h1 { margin: .9rem 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.05; }
.seo-summary { max-width: 68ch; color: #c8d5ec; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.seo-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; margin-block: 2rem; }
.seo-details div,
.seo-section { padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: rgba(255,255,255,.055); }
.seo-details dt { color: #aab8d3; font-size: .9rem; }
.seo-details dd { margin: .3rem 0 0; font-weight: 700; }
.seo-section { margin-block: 1rem; }
.seo-section h2 { margin-top: 0; }
.seo-section p,
.seo-section li { color: #c8d5ec; line-height: 1.65; }
.seo-resource-links { padding-left: 1.25rem; }
.seo-related,
.seo-pagination { margin-top: 1.5rem; }
.seo-related a,
.seo-pagination a { padding: .7rem .9rem; border: 1px solid rgba(159,232,255,.35); border-radius: .7rem; }
.seo-site-footer { padding-block: 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,.1); color: #aab8d3; }
.seo-noscript-note { margin: 0; padding: .75rem 1rem; color: #17233c; background: #dff7ff; }

@media (max-width: 720px) {
  .seo-site-header { align-items: flex-start; flex-direction: column; }
  .seo-hero { grid-template-columns: 1fr; }
  .seo-hero img { max-height: 20rem; }
}
