:root {
  --bg: #f7f3ff;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #171324;
  --text-soft: rgba(23, 19, 36, 0.72);
  --line: rgba(23, 19, 36, 0.12);
  --shadow: 0 28px 80px rgba(97, 24, 71, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --content-width: 72rem;
  --berry-950: #5a163c;
  --berry-900: #7a1f52;
  --berry-800: #9c2e6d;
  --berry-700: #bf4f8a;
  --berry-600: #de74a8;
  --berry-500: #f098c1;
  --berry-100: #fff0f7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 20%, white) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 82% 8%, rgba(245, 178, 215, 0.24) 0%, rgba(255, 255, 255, 0) 25%),
    linear-gradient(180deg, #faf7ff 0%, #f6f2ff 42%, #f9f7fc 100%);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  padding: 0 1.25rem 1.5rem;
}

.hero,
.content-grid,
.topbar__inner,
.footer-note {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0.85rem;
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 63, 125, 0.14);
  box-shadow: 0 14px 40px rgba(97, 24, 71, 0.08);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--berry-900);
}

.topbar__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--berry-600));
  box-shadow: 0 0 0 5px rgba(215, 94, 154, 0.12);
}

.topbar__meta {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0.15rem;
  padding: clamp(2.3rem, 5vw, 4.8rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(140deg, rgba(245, 159, 203, 0.98), rgba(223, 112, 169, 0.98) 38%, rgba(178, 74, 125, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 36px 90px rgba(156, 55, 104, 0.22);
  animation: rise-in 700ms ease both;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 24rem);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  pointer-events: none;
}

.hero__glow--top {
  inset: -6rem auto auto -4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 222, 236, 0.32);
  opacity: 1;
}

.hero__glow--side {
  inset: auto -4rem -5rem auto;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 186, 219, 0.28);
  opacity: 1;
}

.eyebrow,
.status-card__eyebrow,
.toc__label {
  margin: 0 0 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
}

.hero__subtitle {
  margin: 1.4rem 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 244, 250, 0.88);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 2rem;
  color: rgba(255, 237, 247, 0.82);
  font-size: 0.95rem;
}

.hero__meta strong {
  color: white;
  font-weight: 600;
}

.status-card {
  position: relative;
  z-index: 1;
  align-self: stretch;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-card h2 {
  margin: 0;
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: white;
}

.status-card__eyebrow {
  color: rgba(255, 236, 246, 0.76);
}

.status-card p:last-child {
  margin-bottom: 0;
  color: rgba(240, 233, 252, 0.84);
}

.content-grid {
  display: block;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.decision-brief {
  min-width: 0;
  padding: clamp(1.7rem, 3vw, 2.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184, 63, 125, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 255, 0.95));
  box-shadow: 0 32px 80px rgba(92, 20, 62, 0.12);
}

.toc {
  position: sticky;
  top: 1.25rem;
}

.toc__inner {
  padding: 1.1rem 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(49, 24, 34, 0.06);
  backdrop-filter: blur(16px);
}

.toc__inner ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc__item + .toc__item {
  margin-top: 0.55rem;
}

.toc__item a {
  display: block;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.toc__item--level-3 a {
  padding-left: 0.8rem;
  font-size: 0.89rem;
}

.toc__item a:hover,
.toc__item a:focus-visible {
  color: var(--text);
  transform: translateX(2px);
}

.prose h2,
.prose h3,
.prose h4 {
  scroll-margin-top: 1.5rem;
}

.prose h2 {
  margin: 3.5rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(184, 63, 125, 0.14);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--berry-900);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose blockquote {
  margin: 1rem 0;
}

.prose p,
.prose li {
  font-size: 1.03rem;
  color: color-mix(in srgb, var(--text) 84%, black);
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.38rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(184, 63, 125, 0.12);
  background: rgba(249, 245, 255, 0.8);
}

.prose th,
.prose td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(35, 24, 29, 0.08);
}

.prose th {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(109, 35, 73, 0.78);
  background: rgba(255, 240, 247, 0.9);
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.callout {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 63, 125, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.callout__label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.callout__logo {
  flex: 0 0 auto;
  display: block;
  height: 1.1rem;
  width: auto;
}

.callout__logo--penn-state {
  height: 0.85rem;
}

.callout__content > :first-child {
  margin-top: 0;
}

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

.school-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.school-callout-grid .callout {
  margin: 0;
  height: 100%;
}

.school-read-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.school-read-card {
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(184, 63, 125, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 252, 0.95));
  box-shadow: 0 18px 48px rgba(92, 20, 62, 0.08);
}

.school-read-card h2 {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.school-read-card h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.school-read-card p:last-child,
.school-read-card ul:last-child {
  margin-bottom: 0;
}

.school-read-card--wvu {
  background: linear-gradient(180deg, rgba(255, 239, 246, 0.98), rgba(255, 248, 251, 0.95));
  border-color: rgba(191, 79, 138, 0.2);
}

.school-read-card--wvu h2 {
  color: var(--berry-900);
}

.school-read-card--psu {
  background: linear-gradient(180deg, rgba(255, 246, 250, 0.98), rgba(255, 251, 253, 0.95));
  border-color: rgba(145, 83, 116, 0.18);
}

.school-read-card--psu h2 {
  color: #7b2b57;
}

.callout--success {
  background: linear-gradient(180deg, rgba(255, 238, 246, 0.98), rgba(255, 247, 251, 0.95));
}

.callout--success .callout__label {
  color: var(--berry-700);
}

.callout--note {
  background: linear-gradient(180deg, rgba(255, 244, 249, 0.98), rgba(255, 249, 252, 0.95));
}

.callout--note .callout__label {
  color: #7b2b57;
}

.callout--warning {
  background: linear-gradient(180deg, rgba(255, 247, 236, 0.98), rgba(255, 252, 247, 0.94));
}

.callout--warning .callout__label {
  color: #9d5c17;
}

::selection {
  background: color-mix(in srgb, var(--accent) 22%, white);
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding: 0 0.85rem 1rem;
  }

  .hero,
  .decision-brief {
    border-radius: 24px;
  }

  .topbar {
    padding-top: 0.8rem;
  }

  .topbar__inner {
    border-radius: 20px;
    padding: 0.85rem 0.95rem;
  }

  .topbar__meta {
    display: none;
  }

  .hero {
    padding: 1.7rem 1.4rem 2rem;
  }

  .status-card {
    padding: 1.25rem;
  }

  .hero__meta {
    font-size: 0.9rem;
  }

  .prose p,
  .prose li {
    font-size: 0.98rem;
  }

  .school-callout-grid {
    grid-template-columns: 1fr;
  }

  .school-read-grid {
    grid-template-columns: 1fr;
  }
}

.footer-note {
  margin-top: 1rem;
  padding: 0.5rem 0 0.25rem;
  font-size: 0.92rem;
  color: rgba(109, 35, 73, 0.72);
}

@media print {
  body {
    background: white;
  }

  .page-shell {
    padding: 0;
  }

  .hero,
  .decision-brief,
  .toc__inner {
    box-shadow: none;
    border: 1px solid #ddd;
    background: white;
    backdrop-filter: none;
  }

  .content-grid {
    display: block;
  }

  .toc {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
