:root {
  --ink: #171717;
  --muted: #4f5660;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --line: #d9ddd5;
  --school-red: #d91c0d;
  --green: #2f6f4e;
  --cyan: #1c6b7c;
  --coral: #d84f3a;
  --gold: #b88b00;
  --deep: #20362d;
  --deep-strong: #15241f;
  --deep-soft: #29483b;
  --surface-mist: #edf4ef;
  --surface-sky: #eef6f7;
  --surface-rose: #fff0ed;
  --surface-gold: #fbf3dd;
  --surface-ink: #13251f;
  --surface-ink-strong: #08120f;
  --anchor-offset: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: #f3f5f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.56;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px clamp(12px, 3vw, 32px);
  color: var(--ink);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  text-shadow: none;
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  width: 56px;
  min-height: 46px;
  justify-content: center;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 28%, transparent 58%),
    linear-gradient(145deg, rgba(128, 17, 10, 0.72), rgba(207, 40, 20, 0.9) 48%, rgba(87, 13, 9, 0.76)),
    rgb(207, 40, 20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -14px 26px rgba(73, 7, 5, 0.34),
    0 18px 42px rgba(86, 13, 8, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.brand img {
  width: 38px;
  height: auto;
  max-height: 28px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.mobile-menu-toggle {
  display: none;
}

.nav-cluster {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}

.presentation-toggle {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(15, 20, 17, 0.94), rgba(4, 8, 7, 0.82)) padding-box,
    linear-gradient(145deg, rgba(207, 40, 20, 0.92), rgba(146, 24, 12, 0.9)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  isolation: isolate;
}

.presentation-toggle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(8, 13, 11, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.presentation-toggle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: scale(0.88);
}

.presentation-toggle-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: block;
}

.presentation-toggle-icon::before,
.presentation-toggle-icon::after {
  content: "";
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease, inset 180ms ease, width 180ms ease, height 180ms ease;
}

.presentation-toggle-icon::before {
  inset: 1px 1px 5px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 currentColor;
}

.presentation-toggle-icon::after {
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.presentation-toggle:hover,
.presentation-toggle:focus-visible {
  outline: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.presentation-toggle[aria-pressed="true"] {
  background:
    linear-gradient(145deg, rgba(15, 20, 17, 0.94), rgba(4, 8, 7, 0.82)) padding-box,
    linear-gradient(145deg, rgba(184, 139, 0, 0.95), rgba(119, 87, 4, 0.9)) border-box;
}

.presentation-toggle[aria-pressed="true"] .presentation-toggle-icon::before {
  inset: 2px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
}

.presentation-toggle[aria-pressed="true"] .presentation-toggle-icon::after {
  opacity: 0;
}

.presentation-toggle.is-animating {
  animation: presentation-toggle-pulse 320ms cubic-bezier(0.2, 0.82, 0.24, 1);
}

.presentation-toggle.is-animating::after {
  animation: presentation-toggle-ripple 420ms ease-out;
}

.desktop-search-button {
  position: relative;
  z-index: 1;
  width: 34px;
  flex: 0 0 34px;
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
}

.desktop-search-button:hover,
.desktop-search-button:focus-visible {
  background:
    linear-gradient(145deg, rgba(7, 10, 9, 0.74), rgba(26, 34, 31, 0.5)),
    rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 20px rgba(0, 0, 0, 0.2);
  outline: none;
  translate: 0 -1px;
}

.search-icon {
  position: relative;
  width: 19px;
  height: 19px;
  display: block;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.search-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 28%, transparent 58%),
    linear-gradient(145deg, rgba(128, 17, 10, 0.72), rgba(207, 40, 20, 0.9) 48%, rgba(87, 13, 9, 0.76)),
    rgb(207, 40, 20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -14px 26px rgba(73, 7, 5, 0.34),
    0 18px 42px rgba(86, 13, 8, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
  font-size: 0.74rem;
  font-weight: 800;
  isolation: isolate;
  white-space: nowrap;
}

nav::before,
nav::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

nav::before {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-mask-image: linear-gradient(180deg, #000000, transparent 72%);
  mask-image: linear-gradient(180deg, #000000, transparent 72%);
  opacity: 0.85;
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
  backdrop-filter: blur(30px) saturate(1.55);
  z-index: 0;
}

nav::after {
  inset: 3px 14px auto;
  height: 16px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(8px);
  opacity: 0.6;
  z-index: 0;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}

.nav-item[open] {
  z-index: 30;
}

.nav-label-short {
  display: none;
}

.nav-link,
.nav-item summary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, translate 180ms ease;
}

.nav-link::before,
.nav-item summary::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  scale: 0.25 1;
  transform-origin: center;
  transition: opacity 180ms ease, scale 180ms ease;
}

.nav-item summary::-webkit-details-marker {
  display: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-item:hover summary,
.nav-item.has-active-section summary,
.nav-item.is-compact-active summary,
.nav-item[open] summary,
.nav-item summary:focus-visible {
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08) 30%, transparent 58%),
    linear-gradient(145deg, rgba(12, 12, 12, 0.86), rgba(31, 24, 23, 0.78)),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 18px rgba(0, 0, 0, 0.28),
    0 10px 22px rgba(86, 13, 8, 0.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  outline: none;
  translate: 0 -1px;
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.nav-item:hover summary::before,
.nav-item.has-active-section summary::before,
.nav-item.is-compact-active summary::before,
.nav-item[open] summary::before,
.nav-item summary:focus-visible::before {
  opacity: 1;
  scale: 1 1;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  --nav-menu-left: auto;
  --nav-menu-top: auto;
  z-index: 10;
  width: max-content;
  min-width: 150px;
  max-width: min(260px, calc(100vw - 28px));
  padding: 6px;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.88), rgba(0, 0, 0, 0.76)),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -16px 28px rgba(0, 0, 0, 0.24),
    0 24px 60px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
  animation: menu-rise 160ms ease both;
}

.nav-item:not([open]):not(:hover):not(:focus-within) .nav-menu {
  display: none;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-item[open] .nav-menu {
  display: block;
}

.nav-item:nth-last-child(-n + 2) .nav-menu {
  right: 0;
  left: auto;
}

.nav-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-nav-active {
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(207, 40, 20, 0.48), rgba(0, 0, 0, 0.54)),
    rgba(0, 0, 0, 0.42);
  outline: none;
  translate: 2px 0;
}

.mobile-nav-popover {
  position: fixed;
  top: var(--mobile-popover-top, 82px);
  left: 12px;
  right: 12px;
  z-index: 1200;
  display: none;
  gap: 10px;
  padding: 14px;
  max-height: calc(100vh - var(--mobile-popover-top, 82px) - 18px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.88), rgba(0, 0, 0, 0.76)),
    rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -16px 28px rgba(0, 0, 0, 0.24),
    0 24px 60px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
}

.mobile-nav-popover.is-visible {
  display: grid;
  animation: menu-rise 160ms ease both;
}

.mobile-nav-popover-title {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mobile-menu-groups {
  display: grid;
  gap: 8px;
}

.mobile-menu-home,
.mobile-menu-group summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.mobile-menu-group {
  border-radius: 8px;
}

.mobile-menu-group summary {
  cursor: pointer;
  list-style: none;
}

.mobile-menu-group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-group summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.mobile-menu-group[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
  padding: 6px 0 0;
}

.mobile-nav-popover-links {
  display: grid;
  gap: 4px;
}

.mobile-menu-links a,
.mobile-nav-popover a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu-home:hover,
.mobile-menu-home:focus-visible,
.mobile-menu-group summary:focus-visible,
.mobile-nav-popover a:hover,
.mobile-nav-popover a:focus-visible,
.mobile-nav-popover a.is-nav-active {
  color: #ffffff;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(207, 40, 20, 0.48), rgba(0, 0, 0, 0.54)),
    rgba(0, 0, 0, 0.42);
  outline: none;
}

@keyframes menu-rise {
  from {
    opacity: 0;
    translate: 0 -6px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
  }

  .brand span {
    display: none;
  }

  nav {
    font-size: 0.72rem;
  }

  .nav-link,
  .nav-item summary {
    padding-inline: 8px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    padding-inline: 10px;
  }

  nav {
    font-size: 0.72rem;
  }

  .nav-link,
  .nav-item summary {
    padding-inline: 7px;
  }

  .teacher-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #172720;
  isolation: isolate;
}

.hero-animated-bg {
  position: absolute;
  inset: -14%;
  z-index: 0;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 70px),
    linear-gradient(135deg, rgba(47, 111, 78, 0.78), rgba(16, 22, 17, 0.96) 42%, rgba(28, 107, 124, 0.62) 74%, rgba(216, 79, 58, 0.42));
  animation: banner-breathe 18s ease-in-out infinite alternate;
}

.hero-animated-bg::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    repeating-linear-gradient(112deg, transparent 0 82px, rgba(255, 255, 255, 0.08) 82px 84px, transparent 84px 168px),
    repeating-linear-gradient(28deg, transparent 0 118px, rgba(184, 139, 0, 0.12) 118px 120px, transparent 120px 238px);
  opacity: 0.68;
  animation: field-drift 24s linear infinite;
}

.hero-animated-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 22, 17, 0.55), transparent 42%, rgba(16, 22, 17, 0.2)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 62%);
}

.draft-lane {
  position: absolute;
  left: -12%;
  right: -12%;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(1.6rem, 4.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: draft-scroll 32s linear infinite;
}

.lane-one {
  top: 20%;
  transform: rotate(-6deg);
}

.lane-two {
  bottom: 22%;
  color: rgba(255, 255, 255, 0.09);
  transform: rotate(-6deg);
  animation-duration: 42s;
  animation-direction: reverse;
}

.page-text-flow {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(-3deg);
}

.page-line {
  position: absolute;
  right: -8%;
  max-width: min(760px, 62vw);
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.25vw, 2.55rem);
  line-height: 1.35;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
  animation: page-text-write 13s ease-in-out infinite;
}

.page-line-one {
  top: 22%;
  animation-delay: -1s;
}

.page-line-two {
  top: 36%;
  right: -18%;
  animation-delay: -3.2s;
}

.page-line-three {
  top: 50%;
  right: -12%;
  animation-delay: -5.4s;
}

.page-line-four {
  top: 64%;
  right: -4%;
  animation-delay: -7.6s;
}

.page-line-five {
  top: 78%;
  right: -24%;
  animation-delay: -9.8s;
}

.ink-strokes {
  position: absolute;
  inset: 0;
}

.ink-strokes span {
  position: absolute;
  left: 54%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 79, 58, 0.76), rgba(184, 139, 0, 0.7), rgba(255, 255, 255, 0));
  opacity: 0;
  transform-origin: left center;
  animation: stroke-write 7s ease-in-out infinite;
}

.ink-strokes span:nth-child(1) {
  top: 30%;
  width: 27%;
}

.ink-strokes span:nth-child(2) {
  top: 39%;
  width: 20%;
  animation-delay: 0.6s;
}

.ink-strokes span:nth-child(3) {
  top: 48%;
  width: 31%;
  animation-delay: 1.2s;
}

.ink-strokes span:nth-child(4) {
  top: 57%;
  width: 23%;
  animation-delay: 1.8s;
}

.ink-strokes span:nth-child(5) {
  top: 66%;
  width: 28%;
  animation-delay: 2.4s;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 13, 11, 0.92), rgba(10, 13, 11, 0.62) 48%, rgba(10, 13, 11, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.02) 58%);
}

.hero-overlay {
  position: relative;
  z-index: 3;
  width: min(680px, calc(100% - 36px));
  padding: clamp(88px, 10vh, 116px) 0 clamp(32px, 6vh, 56px) clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.typewriter-heading {
  min-height: clamp(8.5rem, 21vw, 16rem);
}

.typewriter-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: var(--gold);
  vertical-align: -0.08em;
  animation: cursor-blink 850ms steps(2, start) infinite;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 30px;
  min-height: calc(1.6em * 2);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 500;
  line-height: 1.6;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 600ms ease, translate 600ms ease;
}

.hero-copy.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (min-width: 821px) {
  .hero {
    min-height: min(72vh, 760px);
  }

  .hero-overlay {
    width: min(700px, calc(100% - 56px));
    padding:
      clamp(104px, 11vh, 136px)
      0
      clamp(38px, 6vh, 60px)
      clamp(32px, 6vw, 88px);
  }

  .typewriter-heading {
    min-height: clamp(10rem, 18vw, 14.5rem);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  text-shadow: none;
}

.progress-wheel {
  --scroll-progress: 0deg;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 8;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(15, 20, 17, 0.94), rgba(4, 8, 7, 0.82)) padding-box,
    conic-gradient(var(--gold) var(--scroll-progress), rgba(255, 255, 255, 0.18) 0deg) border-box;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.progress-wheel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(8, 13, 11, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.progress-wheel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.progress-wheel:hover,
.progress-wheel:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.progress-wheel:focus-visible {
  outline: 3px solid rgba(184, 139, 0, 0.42);
  outline-offset: 3px;
}

.progress-wheel-arrow {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: translateY(4px) rotate(45deg);
}

@keyframes banner-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@keyframes field-drift {
  from {
    translate: 0 0;
  }

  to {
    translate: 9% 6%;
  }
}

@keyframes draft-scroll {
  from {
    translate: 0 0;
  }

  to {
    translate: -32% 0;
  }
}

@keyframes stroke-write {
  0%,
  22% {
    opacity: 0;
    scale: 0 1;
  }

  38%,
  76% {
    opacity: 0.7;
    scale: 1 1;
  }

  100% {
    opacity: 0;
    scale: 1 1;
  }
}

@keyframes page-text-write {
  0%,
  14% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    translate: 0 8px;
  }

  28%,
  72% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    translate: 0 0;
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 0;
    translate: -5% -10px;
  }
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.section {
  --section-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 251, 248, 0.96)),
    var(--paper);
  --section-rule: rgba(216, 79, 58, 0.72);
  --section-glow-one: rgba(47, 111, 78, 0.18);
  --section-glow-two: rgba(216, 79, 58, 0.14);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  background: var(--section-bg);
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section::before {
  top: 0;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--section-rule), rgba(184, 139, 0, 0.66), transparent);
  opacity: 0.48;
  transform-origin: left center;
}

.section::after {
  top: clamp(22px, 5vw, 70px);
  right: clamp(18px, 7vw, 110px);
  width: clamp(150px, 22vw, 320px);
  height: clamp(150px, 22vw, 320px);
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--section-glow-one), rgba(47, 111, 78, 0.06) 42%, transparent 70%),
    radial-gradient(circle at 72% 28%, var(--section-glow-two), transparent 48%);
  opacity: 0;
  transform: translateY(24px) scale(0.82);
  filter: blur(8px);
}

.section:nth-of-type(even)::after {
  right: auto;
  left: clamp(18px, 7vw, 110px);
}

.section > * {
  position: relative;
  z-index: 1;
}

body.reveal-ready .section::before {
  opacity: 0;
  transform: scaleX(0.1);
  transition: opacity 420ms ease, transform 520ms ease;
}

body.reveal-ready .section::after {
  transition:
    opacity 520ms ease,
    transform 560ms ease,
    filter 520ms ease;
}

body.reveal-ready .section.is-section-visible::before {
  opacity: 0.36;
  transform: scaleX(1);
}

body.reveal-ready .section.is-section-visible::after {
  opacity: 0.62;
  transform: translateY(0) scale(1);
  filter: blur(4px);
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading::before,
.teacher-links-heading > div::before,
.split-section > div:first-child::before {
  content: "";
  width: 54px;
  height: 8px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  box-shadow: 0 10px 24px rgba(216, 79, 58, 0.16);
}

.recommended-section .section-heading::before,
.scientific-section .section-heading::before {
  background: linear-gradient(90deg, #ff8f78, rgba(184, 139, 0, 0.92));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 420ms ease,
    translate 420ms ease;
  transition-timing-function: ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

body.reveal-ready [data-reveal="left"] {
  translate: 0 14px;
}

body.reveal-ready [data-reveal="right"] {
  translate: 0 14px;
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(210px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.resource-card {
  min-height: 320px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  scroll-snap-align: start;
}

.resource-card:nth-child(2n) {
  border-top: 6px solid var(--green);
}

.resource-card:nth-child(3n) {
  border-top: 6px solid var(--cyan);
}

.resource-card:nth-child(4n) {
  border-top: 6px solid var(--gold);
}

.resource-card:nth-child(5n) {
  border-top: 6px solid var(--coral);
}

.resource-letter {
  margin: 0;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
}

.resource-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.resource-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.college-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.ethical-ai-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.formatting-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.external-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.college-section .external-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.formatting-section .external-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.external-resource-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--cyan);
  border-radius: 8px;
  background: #ffffff;
}

.external-resource-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.external-resource-card p:not(.step-label) {
  margin: 0;
  color: var(--muted);
}

.template-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.template-disclosure {
  position: relative;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 251, 248, 0.98)),
    var(--paper);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.08);
}

.template-disclosure::before,
.template-disclosure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.template-disclosure::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 79, 58, 0.18), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(28, 107, 124, 0.16), transparent 32%),
    linear-gradient(120deg, rgba(184, 139, 0, 0.14), rgba(255, 255, 255, 0.02) 38%, rgba(47, 111, 78, 0.14) 72%, rgba(216, 79, 58, 0.1));
  background-size: 140% 140%;
  opacity: 0.9;
  animation: template-card-glow 12s ease-in-out infinite alternate;
}

.template-disclosure::after {
  inset: -18% auto auto -24%;
  width: 52%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(18deg);
  opacity: 0.42;
  animation: template-card-sheen 9s ease-in-out infinite;
}

.template-disclosure[open]::before {
  opacity: 1;
  animation-duration: 9.5s;
}

.template-disclosure[open]::after {
  opacity: 0.5;
}

.template-disclosure summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  cursor: pointer;
  list-style: none;
}

.template-disclosure summary::-webkit-details-marker {
  display: none;
}

.template-disclosure summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.template-disclosure[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}

.template-disclosure summary span {
  display: grid;
  gap: 6px;
}

.template-disclosure summary strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.template-disclosure summary small {
  color: var(--muted);
  font-size: 0.98rem;
}

.template-disclosure-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px);
}

.template-disclosure[open] [data-reveal] {
  opacity: 1;
  translate: 0 0;
  filter: none;
}

@keyframes template-card-glow {
  0% {
    background-position: 0% 50%;
    filter: saturate(0.98);
  }

  50% {
    background-position: 55% 46%;
    filter: saturate(1.05);
  }

  100% {
    background-position: 100% 54%;
    filter: saturate(1);
  }
}

@keyframes template-card-sheen {
  0%,
  18% {
    translate: -8% 0;
    opacity: 0;
  }

  44%,
  72% {
    translate: 188% 0;
    opacity: 0.48;
  }

  100% {
    translate: 220% 0;
    opacity: 0;
  }
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.template-actions-bottom {
  margin: 24px 0 0;
}

.template-action-note {
  max-width: 820px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.template-button {
  border-color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.template-button-dark {
  border-color: var(--deep);
  background: var(--deep);
  color: #ffffff;
}

.template-button-clear {
  border-color: rgba(216, 79, 58, 0.5);
  color: var(--coral);
}

.template-sample {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.template-sample-header {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.template-sample-header h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.04;
}

.template-sample-header p:last-child {
  margin: 0;
  color: var(--muted);
}

.template-sample .template-field {
  border-color: rgba(47, 111, 78, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 246, 0.98)),
    #ffffff;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.05);
}

.template-sample .template-block {
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
}

.essay-template {
  display: grid;
  gap: 18px;
}

.template-block,
.template-field {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.template-block {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
}

.template-block-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
}

.template-block-heading h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.template-field {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.template-field span {
  font-weight: 850;
}

.template-field small {
  color: var(--muted);
  font-size: 0.95rem;
}

.template-sample .template-field span {
  color: var(--deep);
  font-size: 1.02rem;
}

.template-sample .template-field small {
  color: #465159;
  line-height: 1.45;
}

.template-sample .template-field-value {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid rgba(184, 139, 0, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(23, 38, 33, 0.96), rgba(9, 14, 13, 0.94));
  color: #fff6c4;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 650;
  line-height: 1.72;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 28px rgba(0, 0, 0, 0.24),
    0 14px 30px rgba(9, 14, 13, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  backdrop-filter: blur(16px) saturate(1.08);
  white-space: pre-wrap;
}

.template-field textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.template-field textarea:focus {
  outline: 3px solid rgba(28, 107, 124, 0.22);
  border-color: var(--cyan);
}

.template-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.process-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-heading p:last-child {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: minmax(92px, 0.22fr) minmax(160px, 0.58fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.step-label {
  margin: 0;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-step h3,
.subject-panel h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.03;
}

.process-step ul,
.draft-structure ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.process-step li + li,
.draft-structure li + li {
  margin-top: 8px;
}

.draft-structure {
  display: grid;
  gap: 18px;
}

.draft-structure h4 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.98rem;
}

.subject-panel {
  margin-top: 32px;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.subject-grid p {
  min-height: 118px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.subject-grid strong {
  color: #ffffff;
}

.introduction-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.intro-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guidance-card,
.component-card,
.hook-grid article,
.sample-panel,
.intro-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.guidance-card {
  padding: clamp(22px, 3vw, 34px);
  border-top: 6px solid var(--green);
}

.guidance-card-muted {
  border-top-color: var(--coral);
}

.guidance-card h3,
.component-card h3,
.hook-panel h3,
.sample-panel h3,
.intro-checklist h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.04;
}

.guidance-card ul,
.intro-checklist ul {
  margin: 18px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.guidance-card li + li,
.intro-checklist li + li {
  margin-top: 10px;
}

.try-this-panel {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(184, 139, 0, 0.35);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(184, 139, 0, 0.1), rgba(255, 255, 255, 0.82));
}

.try-this-panel p {
  margin: 0;
}

.try-this-panel p:last-child {
  color: var(--ink);
  font-weight: 750;
}

.component-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.component-card {
  display: grid;
  grid-template-columns: minmax(92px, 0.2fr) minmax(220px, 0.56fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
  padding: clamp(20px, 3vw, 30px);
}

.component-card p:last-child,
.hook-grid p,
.sample-panel p {
  margin: 0;
  color: var(--muted);
}

.hook-panel {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.hook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hook-grid article {
  padding: 20px;
}

.hook-grid h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.wide-card {
  grid-column: 1 / -1;
}

.sample-panel,
.intro-checklist {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.sample-panel p {
  max-width: 940px;
  margin-top: 18px;
  font-size: 1.08rem;
}

mark {
  padding: 0 3px;
  border-radius: 4px;
  color: inherit;
}

.animated-highlight-sample mark {
  background-repeat: no-repeat;
  background-position: left 58%;
  background-size: 100% 82%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

body.reveal-ready .animated-highlight-sample mark {
  background-size: 0 82%;
}

body.reveal-ready .animated-highlight-sample.is-visible mark {
  animation: highlight-sweep 900ms cubic-bezier(0.2, 0.82, 0.2, 1) forwards;
}

body.reveal-ready .animated-highlight-sample.is-visible mark:nth-of-type(1) {
  animation-delay: 240ms;
}

body.reveal-ready .animated-highlight-sample.is-visible mark:nth-of-type(2) {
  animation-delay: 900ms;
}

body.reveal-ready .animated-highlight-sample.is-visible mark:nth-of-type(3) {
  animation-delay: 1620ms;
}

body.reveal-ready .animated-highlight-sample.is-visible mark:nth-of-type(4) {
  animation-delay: 2320ms;
}

.highlight-hook {
  background: linear-gradient(90deg, rgba(255, 132, 104, 0.46), rgba(255, 132, 104, 0.24));
}

.highlight-context {
  background: linear-gradient(90deg, rgba(80, 160, 220, 0.42), rgba(80, 160, 220, 0.22));
}

.highlight-thesis {
  background: linear-gradient(90deg, rgba(246, 213, 71, 0.56), rgba(246, 213, 71, 0.28));
}

@keyframes highlight-sweep {
  0% {
    background-size: 0 82%;
  }

  74% {
    background-size: 104% 82%;
  }

  100% {
    background-size: 100% 82%;
  }
}

.legend {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 8px;
  border-radius: 4px;
  vertical-align: -0.1rem;
}

.legend-hook {
  background: rgba(255, 132, 104, 0.78);
}

.legend-context {
  background: rgba(80, 160, 220, 0.72);
}

.legend-thesis {
  background: rgba(246, 213, 71, 0.84);
}

.thesis-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.definition-panel,
.formula-panel,
.discipline-panel,
.example-bank {
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.definition-panel {
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
}

.definition-panel h3,
.formula-panel h3,
.discipline-panel h3,
.example-bank h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.04;
}

.definition-panel p,
.formula-panel p,
.discipline-panel p,
.example-bank p {
  color: var(--muted);
}

.definition-panel p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.78);
}

.formula-panel {
  margin-top: 18px;
  background: #eef6f0;
}

.formula-panel p:nth-of-type(2) {
  display: inline-flex;
  margin: 18px 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-weight: 900;
}

.thesis-builder {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 23, 23, 0.16);
}

.thesis-builder-intro {
  max-width: 780px;
}

.thesis-builder h3,
.thesis-builder p {
  margin: 0;
}

.thesis-builder-intro > p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.thesis-builder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thesis-builder-option {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}

.thesis-builder-option:hover,
.thesis-builder-option:focus-visible,
.thesis-builder-option.is-active {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #ffffff;
  translate: 0 -1px;
}

.thesis-builder-option:focus-visible {
  outline: 3px solid rgba(184, 139, 0, 0.48);
  outline-offset: 2px;
}

.thesis-builder-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.thesis-piece {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.thesis-piece span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-piece strong {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.35;
}

.thesis-builder-stage.is-building .thesis-piece {
  animation: thesis-piece-build 760ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.thesis-builder-stage.is-building .thesis-piece:nth-child(2) {
  animation-delay: 150ms;
}

.thesis-builder-stage.is-building .thesis-piece:nth-child(3) {
  animation-delay: 300ms;
}

.thesis-builder-stage.is-building .thesis-piece:nth-child(4) {
  animation-delay: 450ms;
}

.thesis-built-output {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(184, 139, 0, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(184, 139, 0, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.thesis-built-output p:last-child {
  color: #ffffff;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 850;
  line-height: 1.4;
}

@keyframes thesis-piece-build {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    filter: blur(6px);
  }

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

.discipline-panel,
.example-bank {
  background: var(--paper);
}

.discipline-grid,
.example-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.discipline-grid article,
.example-list article {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.discipline-grid h4,
.example-list h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.comparison-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.comparison-intro,
.cer-panel,
.relationship-panel,
.thesis-claim-example,
.notice-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.comparison-intro {
  margin-bottom: 18px;
  background:
    linear-gradient(145deg, var(--deep-soft), var(--deep));
  color: #ffffff;
}

.comparison-intro p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
}

.comparison-card-alt {
  border-top-color: var(--cyan);
}

.comparison-card h3,
.cer-panel h3,
.relationship-panel h3,
.thesis-claim-example h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.04;
}

.comparison-card p,
.comparison-card ul,
.cer-grid p,
.relationship-grid p,
.claim-chain p,
.notice-panel p {
  color: var(--muted);
}

.comparison-card ul {
  margin: 18px 0 0;
  padding-left: 1.1rem;
}

.comparison-card li + li {
  margin-top: 10px;
}

.claim-builder {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
}

.claim-builder h4,
.claim-builder p {
  margin: 0;
}

.claim-builder h4 {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.05;
}

.claim-builder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.claim-builder-button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}

.claim-builder-button:hover,
.claim-builder-button:focus-visible,
.claim-builder-button.is-active {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #ffffff;
  translate: 0 -1px;
}

.claim-builder-button:focus-visible {
  outline: 3px solid rgba(184, 139, 0, 0.48);
  outline-offset: 2px;
}

.claim-builder-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.claim-builder-thesis,
.claim-builder-claim {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.claim-builder-thesis span,
.claim-builder-claim span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claim-builder-thesis p,
.claim-builder-claim p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 800;
  line-height: 1.4;
}

.claim-builder-thesis mark {
  padding: 0 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(246, 213, 71, 0.62), rgba(246, 213, 71, 0.26));
  color: #ffffff;
}

.claim-builder-claim small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.claim-builder-arrow {
  position: relative;
  min-height: 100%;
}

.claim-builder-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  right: 7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: translateY(-50%);
}

.claim-builder-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}

.claim-builder-map.is-mapping .claim-builder-thesis mark,
.claim-builder-map.is-mapping .claim-builder-claim {
  animation: claim-map-pulse 760ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.claim-builder-map.is-mapping .claim-builder-arrow::before {
  animation: claim-arrow-flow 760ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

@keyframes claim-map-pulse {
  0% {
    filter: brightness(1);
    transform: translateY(10px);
  }

  60% {
    filter: brightness(1.16);
    transform: translateY(0);
  }

  100% {
    filter: brightness(1);
    transform: translateY(0);
  }
}

@keyframes claim-arrow-flow {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.45;
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.cer-panel,
.relationship-panel,
.thesis-claim-example,
.notice-panel {
  margin-top: 18px;
}

.cer-grid,
.relationship-grid,
.claim-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.cer-grid article,
.relationship-grid p,
.claim-chain article,
.thesis-card {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cer-grid h4,
.claim-chain h4,
.thesis-card h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.thesis-card {
  margin-top: 22px;
  border-top: 6px solid var(--green);
  background: #eef6f0;
}

.thesis-card p,
.notice-panel p {
  margin: 0;
}

.notice-panel p + p {
  margin-top: 10px;
}

.body-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.body-subsection-grid {
  display: grid;
  gap: 18px;
}

.body-subsection-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
}

.body-subsection-card-alt {
  border-top-color: var(--cyan);
}

.body-subsection-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.03;
}

.body-subsection-card > p:not(.step-label) {
  max-width: 760px;
  color: var(--muted);
}

.body-subsection-card .intro-columns {
  margin-top: 18px;
}

.body-subsection-card .guidance-card h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.04;
}

.framework-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.framework-preview article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.framework-preview h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.framework-preview p {
  margin: 0;
  color: var(--muted);
}

.resource-button {
  border-color: var(--deep);
  background: var(--deep);
  color: #ffffff;
}

.transition-purpose,
.transition-bank {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.transition-purpose p,
.transition-bank p {
  margin: 0;
  color: var(--muted);
}

.transition-builder {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 23, 23, 0.16);
}

.transition-builder-intro {
  max-width: 780px;
}

.transition-builder h4,
.transition-builder h5,
.transition-builder p {
  margin: 0;
}

.transition-builder h4 {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.transition-builder-intro > p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.transition-builder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.transition-builder-button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}

.transition-builder-button:hover,
.transition-builder-button:focus-visible,
.transition-builder-button.is-active {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #ffffff;
  translate: 0 -1px;
}

.transition-builder-button:focus-visible {
  outline: 3px solid rgba(184, 139, 0, 0.48);
  outline-offset: 2px;
}

.transition-builder-output {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: 12px;
}

.transition-builder-output article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 160px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.transition-builder-output span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transition-builder-output h5 {
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.transition-builder-output p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.45;
}

.transition-builder-sample p {
  color: #ffffff;
  font-weight: 800;
}

.transition-builder.is-building .transition-builder-output article {
  animation: transition-card-pop 680ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.transition-builder.is-building .transition-builder-output article:nth-child(2) {
  animation-delay: 100ms;
}

.transition-builder.is-building .transition-builder-output article:nth-child(3) {
  animation-delay: 200ms;
}

@keyframes transition-card-pop {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(5px);
  }

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

.transition-bank h4 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.04;
}

.transition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.transition-grid article {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.transition-grid h5 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.95rem;
}

.evidence-card {
  border-top-color: var(--red);
}

.evidence-tip {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.evidence-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.evidence-compare section,
.evidence-starters {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.evidence-compare h4,
.evidence-starters h4 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.05;
}

.evidence-compare h4 {
  color: var(--green);
}

.evidence-avoid h4 {
  color: var(--red);
}

.evidence-compare p,
.evidence-starters p {
  margin: 0;
  color: var(--muted);
}

.evidence-compare blockquote {
  margin: 18px 0 0;
  padding: 16px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.evidence-avoid blockquote {
  border-left-color: var(--red);
}

.evidence-starters {
  margin-top: 18px;
}

.evidence-starters ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-starters li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.conclusion-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 42px);
  margin-top: 34px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.closing-panel h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.04;
}

.closing-panel p {
  color: var(--muted);
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.closing-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.closing-grid h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.closing-grid p {
  margin: 0;
}

.scientific-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.scientific-cheat-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cer-writing-card,
.cer-quick-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cer-writing-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border-top: 6px solid var(--green);
}

.cer-evidence-card {
  border-top-color: var(--cyan);
}

.cer-reasoning-card {
  border-top-color: var(--gold);
}

.cer-writing-card h3,
.cer-quick-check h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.04;
}

.cer-writing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.cer-writing-card li + li {
  margin-top: 10px;
}

.cer-example,
.sentence-starter-list {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cer-example p,
.sentence-starter-list p,
.cer-check-grid p {
  margin: 0;
  color: var(--muted);
}

.cer-example p + p,
.sentence-starter-list p + p,
.cer-check-grid p + p {
  margin-top: 10px;
}

.sentence-starter-list h4,
.cer-check-grid h4 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 1rem;
}

.cer-quick-check {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
}

.cer-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.cer-check-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cer-builder {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--deep), var(--deep-strong));
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 23, 23, 0.16);
}

.cer-builder-intro {
  max-width: 780px;
}

.cer-builder h3,
.cer-builder h4,
.cer-builder p {
  margin: 0;
}

.cer-builder-intro > p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.cer-builder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cer-builder-button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, translate 160ms ease;
}

.cer-builder-button:hover,
.cer-builder-button:focus-visible,
.cer-builder-button.is-active {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #ffffff;
  translate: 0 -1px;
}

.cer-builder-button:focus-visible {
  outline: 3px solid rgba(184, 139, 0, 0.48);
  outline-offset: 2px;
}

.cer-builder-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
}

.cer-builder-focus,
.cer-builder-response {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cer-builder-focus span,
.cer-builder-response span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cer-builder-focus h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.05;
}

.cer-builder-focus p,
.cer-builder-response p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.48;
}

.cer-builder-response mark {
  padding: 0 4px;
  border-radius: 4px;
  color: inherit;
  background-size: 100% 78%;
  background-position: left 62%;
  background-repeat: no-repeat;
  opacity: 0.82;
  transition: opacity 180ms ease, filter 180ms ease;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cer-builder-response mark.is-active {
  opacity: 1;
  filter: brightness(1.18);
}

.cer-mark-claim {
  background-image: linear-gradient(90deg, rgba(184, 139, 0, 0.9), rgba(184, 139, 0, 0.32));
}

.cer-mark-evidence {
  background-image: linear-gradient(90deg, rgba(28, 107, 124, 0.9), rgba(28, 107, 124, 0.32));
}

.cer-mark-reasoning {
  background-image: linear-gradient(90deg, rgba(216, 79, 58, 0.88), rgba(216, 79, 58, 0.32));
}

.cer-builder.is-building .cer-builder-focus,
.cer-builder.is-building .cer-builder-response mark.is-active {
  animation: cer-focus-pop 720ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

@keyframes cer-focus-pop {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(5px);
  }

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

.cer-notes-panel {
  display: block;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.cer-notes-grid,
.cer-example-bank {
  display: grid;
  gap: 14px;
}

.cer-notes-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cer-example-bank {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.cer-notes-grid article,
.cer-example-bank article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cer-notes-grid h3,
.cer-example-bank h3 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.05;
}

.cer-notes-grid h3 {
  color: var(--cyan);
}

.cer-example-bank p,
.cer-notes-grid p {
  margin: 0;
  color: var(--muted);
}

.cer-example-bank p + p {
  margin-top: 10px;
}

.cer-resource-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cer-resource-panel h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 4rem);
}

.cer-resource-panel p:last-child {
  max-width: 640px;
  color: var(--muted);
}

.speaking-section {
  background: #f6f8f5;
  border-top: 1px solid var(--line);
}

.speaking-intro {
  margin-bottom: 18px;
}

.speaking-guide-grid {
  display: grid;
  gap: 18px;
}

.speaking-guide-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.speaking-guide-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.speaking-guide-card > p:not(.step-label) {
  max-width: 780px;
  color: var(--muted);
}

.speaking-guide-card .intro-columns {
  margin-top: 18px;
}

.speaking-guide-card .guidance-card h4 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.04;
}

.slide-example-showcase {
  gap: 16px;
}

.slide-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.slide-example-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 246, 0.98));
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
}

.slide-example-card-good {
  border-top: 5px solid var(--green);
}

.slide-example-card-bad {
  border-top: 5px solid var(--coral);
}

.slide-example-card figcaption {
  display: grid;
  gap: 5px;
}

.slide-example-card figcaption span {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.slide-example-card figcaption small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.slide-example-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.08);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #eef6f0;
}

.resource-search {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
}

.resource-search label {
  color: var(--ink);
  font-weight: 850;
}

.resource-search-control {
  position: relative;
}

.resource-search-control::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid var(--green);
  border-radius: 999px;
  transform: translateY(-58%);
}

.resource-search-control::after {
  content: "";
  position: absolute;
  left: 28px;
  top: calc(50% + 6px);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: rotate(45deg);
}

.resource-search input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(23, 23, 23, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-overflow: ellipsis;
}

.resource-search input:focus {
  outline: 3px solid rgba(47, 111, 78, 0.2);
  border-color: var(--green);
}

.resource-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-search-suggestions button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(23, 23, 23, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, translate 160ms ease;
}

.resource-search-suggestions button:hover,
.resource-search-suggestions button:focus-visible,
.resource-search-suggestions button.is-active {
  border-color: rgba(47, 111, 78, 0.42);
  background: var(--deep);
  color: #ffffff;
  outline: none;
  translate: 0 -1px;
}

.resource-search-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.resource-search-results {
  display: grid;
  gap: 8px;
}

.resource-search-result {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, translate 160ms ease;
}

.resource-search-result:hover,
.resource-search-result:focus-visible {
  border-color: rgba(47, 111, 78, 0.44);
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.1);
  outline: none;
  translate: 3px 0;
}

.resource-search-result span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-search-result strong {
  line-height: 1.15;
}

.resource-search-result small {
  color: var(--muted);
  font-size: 0.84rem;
}

.presentation-controls {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  width: min(560px, calc(100vw - 220px));
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(9, 13, 12, 0.84), rgba(23, 32, 29, 0.68)),
    rgba(7, 11, 10, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 20px rgba(0, 0, 0, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  transform: translateX(-50%);
}

.presentation-scene {
  position: fixed;
  inset: 78px clamp(64px, 12vw, 220px) 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
}

.presentation-scene[hidden] {
  display: none;
}

.presentation-scene-card {
  position: absolute;
  inset: 18px 0 124px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 230, 225, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(245, 247, 244, 0.965)),
    #ffffff;
  border: 1px solid rgba(18, 24, 22, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 24px 54px rgba(0, 0, 0, 0.12);
  transform-origin: center top;
  opacity: 0;
  color: var(--ink);
}

.presentation-scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, calc(0.12 + (var(--scene-depth) * 0.06))), transparent 28%);
  pointer-events: none;
}

.presentation-scene-card-inner {
  max-width: min(920px, 100%);
  margin: 0 auto;
}

.presentation-scene-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.presentation-scene-index {
  flex: 0 0 auto;
  color: rgba(23, 23, 23, 0.4);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presentation-scene-card h3 {
  max-width: 15ch;
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 0.98;
}

.presentation-scene-card p:last-child {
  max-width: 34rem;
  margin: 16px 0 0;
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
  line-height: 1.5;
}

.presentation-scene-caption {
  color: var(--muted);
}

.presentation-scene-lines {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.presentation-scene-line {
  display: block;
  width: var(--scene-line-width);
  max-width: 100%;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(47, 111, 78, 0.14), rgba(28, 107, 124, 0.08)),
    rgba(20, 25, 23, 0.05);
}

.presentation-scene:not([hidden]) .presentation-scene-card {
  animation: presentation-scene-card-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) both;
  animation-delay: var(--scene-delay);
}

.presentation-scene:not([hidden]) .presentation-scene-card[data-scene-active] {
  animation:
    presentation-scene-card-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) both,
    presentation-scene-card-focus 940ms cubic-bezier(0.2, 0.82, 0.24, 1) 1500ms both;
}

.presentation-controls.is-menu-open {
  overflow: visible;
}

.presentation-controls[hidden] {
  display: none;
}

.presentation-controls.is-animating-in {
  animation: presentation-controls-rise 280ms cubic-bezier(0.2, 0.82, 0.24, 1);
}

.presentation-status-wrap {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

.presentation-status {
  width: 100%;
  display: grid;
  gap: 2px;
  position: relative;
  min-width: 0;
  padding: 2px 24px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.presentation-status strong {
  overflow: hidden;
  font-size: 0.96rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presentation-status span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.presentation-status:hover strong,
.presentation-status:focus-visible strong {
  color: #fff7df;
}

.presentation-status:focus-visible {
  outline: none;
}

.presentation-status-hint {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.presentation-status:hover .presentation-status-hint,
.presentation-status:focus-visible .presentation-status-hint,
.presentation-controls.is-menu-open .presentation-status-hint {
  border-color: #fff7df;
  transform: translateY(-48%) rotate(45deg);
}

.presentation-status.is-hinting .presentation-status-hint {
  animation: presentation-status-nudge 1100ms ease-in-out 2;
}

.presentation-slide-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  gap: 6px;
  max-height: min(48vh, 420px);
  padding: 10px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 14, 13, 0.96), rgba(24, 34, 30, 0.93)),
    rgba(8, 12, 11, 0.95);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.presentation-slide-menu[hidden] {
  display: none;
}

.presentation-slide-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.presentation-slide-option span {
  font-size: 0.88rem;
  font-weight: 760;
  color: inherit;
}

.presentation-slide-option small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
}

.presentation-slide-option:hover,
.presentation-slide-option:focus-visible,
.presentation-slide-option.is-active {
  border-color: rgba(184, 139, 0, 0.42);
  background: rgba(184, 139, 0, 0.12);
  outline: none;
  translate: 0 -1px;
}

.presentation-slide-option.is-active span {
  color: #fff1b6;
}

.presentation-nav-button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.presentation-nav-button:hover,
.presentation-nav-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  translate: 0 -1px;
}

.presentation-nav-button:disabled {
  opacity: 0.45;
  cursor: default;
  translate: none;
}

.resource-search-empty {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.07);
}

.resource-search-empty strong {
  line-height: 1.2;
}

.resource-search-empty small {
  color: var(--muted);
}

.resource-search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.resource-search-empty-actions button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.resource-search-empty-actions button:hover,
.resource-search-empty-actions button:focus-visible {
  border-color: rgba(47, 111, 78, 0.42);
  background: var(--deep);
  color: #ffffff;
  outline: none;
}

.audience-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.audience-card {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, translate 160ms ease;
}

.audience-card-alt {
  border-top-color: var(--coral);
}

.audience-card:hover,
.audience-card:focus-visible {
  border-color: rgba(47, 111, 78, 0.42);
  box-shadow: 0 20px 42px rgba(23, 23, 23, 0.11);
  outline: none;
  translate: 0 -2px;
}

.audience-card span {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
}

.audience-card small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-list a {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, translate 160ms ease;
}

.feature-list a:hover,
.feature-list a:focus-visible {
  border-color: rgba(47, 111, 78, 0.44);
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.1);
  outline: none;
  translate: 0 -2px;
}

.task-card span {
  line-height: 1.1;
}

.task-card small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.teacher-links-section {
  display: grid;
  gap: 24px;
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.teacher-links-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 18px;
  align-items: end;
}

.teacher-links-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.04;
}

.teacher-links-heading > p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.teacher-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.teacher-link-card {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 15px;
  border: 1px solid rgba(23, 23, 23, 0.13);
  border-left: 4px solid var(--school-red);
  border-radius: 8px;
  background: #fbfbf8;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, translate 160ms ease;
}

.teacher-link-card:nth-child(2n) {
  border-left-color: var(--green);
}

.teacher-link-card:nth-child(3n) {
  border-left-color: var(--cyan);
}

.teacher-link-card:hover,
.teacher-link-card:focus-visible {
  border-color: rgba(47, 111, 78, 0.4);
  box-shadow: 0 14px 28px rgba(23, 23, 23, 0.09);
  outline: none;
  translate: 0 -2px;
}

.teacher-link-card span {
  font-weight: 850;
  line-height: 1.1;
}

.teacher-link-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
}

.recommended-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 240, 0.94)),
    #ffffff;
  border-top: 1px solid var(--line);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 100%;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 251, 248, 0.98)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.08);
}

.path-card:nth-child(2n) {
  border-top-color: var(--cyan);
}

.path-card:nth-child(3n) {
  border-top-color: var(--coral);
}

.path-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.04;
}

.path-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: path-step;
  list-style: none;
}

.path-card li {
  counter-increment: path-step;
}

.path-card a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.path-card a::before {
  content: counter(path-step);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font-size: 0.85rem;
}

.path-card a:hover,
.path-card a:focus-visible {
  border-color: rgba(47, 111, 78, 0.36);
  background: #ffffff;
  outline: none;
  translate: 3px 0;
}

.split-section,
.introduction-section,
.conclusion-section,
.formatting-section {
  --section-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(237, 244, 239, 0.96)),
    linear-gradient(90deg, rgba(47, 111, 78, 0.1), transparent 58%),
    var(--surface-mist);
  --section-rule: rgba(47, 111, 78, 0.72);
  --section-glow-one: rgba(47, 111, 78, 0.2);
  --section-glow-two: rgba(28, 107, 124, 0.14);
  background: var(--section-bg);
}

.teacher-links-section,
.template-section,
.body-section,
.process-section {
  --section-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(251, 243, 221, 0.94)),
    linear-gradient(135deg, rgba(184, 139, 0, 0.1), transparent 62%),
    var(--surface-gold);
  --section-rule: rgba(184, 139, 0, 0.7);
  --section-glow-one: rgba(184, 139, 0, 0.18);
  --section-glow-two: rgba(216, 79, 58, 0.12);
  background: var(--section-bg);
}

.college-section,
.thesis-section,
.speaking-section {
  --section-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 247, 0.96)),
    linear-gradient(90deg, rgba(28, 107, 124, 0.12), transparent 60%),
    var(--surface-sky);
  --section-rule: rgba(28, 107, 124, 0.72);
  --section-glow-one: rgba(28, 107, 124, 0.18);
  --section-glow-two: rgba(47, 111, 78, 0.12);
  background: var(--section-bg);
}

.ethical-ai-section,
.comparison-section {
  --section-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 240, 237, 0.94)),
    linear-gradient(90deg, rgba(216, 79, 58, 0.12), transparent 62%),
    var(--surface-rose);
  --section-rule: rgba(216, 79, 58, 0.72);
  --section-glow-one: rgba(216, 79, 58, 0.18);
  --section-glow-two: rgba(184, 139, 0, 0.12);
  background: var(--section-bg);
}

.recommended-section,
.scientific-section {
  --section-bg:
    radial-gradient(circle at 12% 10%, rgba(216, 79, 58, 0.2), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(28, 107, 124, 0.26), transparent 36%),
    linear-gradient(145deg, rgba(32, 54, 45, 0.98), rgba(8, 18, 15, 0.98)),
    var(--surface-ink);
  --section-rule: rgba(255, 255, 255, 0.34);
  --section-glow-one: rgba(28, 107, 124, 0.22);
  --section-glow-two: rgba(216, 79, 58, 0.18);
  background: var(--section-bg);
  color: #ffffff;
}

.recommended-section::before,
.scientific-section::before {
  opacity: 0.34;
}

.recommended-section .section-heading p:last-child,
.scientific-section .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.recommended-section .eyebrow,
.scientific-section .eyebrow {
  color: #ff8f78;
}

.recommended-section .path-card,
.scientific-section :is(.cer-writing-card, .cer-quick-check, .cer-example, .sentence-starter-list, .cer-check-grid article, .cer-notes-grid article, .cer-example-bank article, .cer-resource-panel) {
  color: var(--ink);
}

.scientific-section .cer-notes-panel {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.scientific-section .try-this-panel {
  border-color: rgba(184, 139, 0, 0.42);
  background:
    linear-gradient(135deg, rgba(251, 243, 221, 0.96), rgba(255, 255, 255, 0.98)),
    #fff9ee;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.scientific-section .try-this-panel p,
.scientific-section .try-this-panel p:last-child {
  color: var(--ink);
}

.scientific-section .try-this-panel .eyebrow {
  color: var(--coral);
}

.section:is(.template-section, .body-section, .process-section, .college-section, .thesis-section, .ethical-ai-section, .formatting-section, .introduction-section, .comparison-section, .conclusion-section, .speaking-section) :is(.external-resource-card, .template-disclosure, .template-block, .template-field, .process-step, .guidance-card, .component-card, .hook-grid article, .sample-panel, .intro-checklist, .formula-panel, .discipline-panel, .example-bank, .comparison-intro, .cer-panel, .relationship-panel, .thesis-claim-example, .notice-panel, .body-subsection-card, .transition-purpose, .transition-bank, .evidence-compare section, .evidence-starters, .closing-panel, .speaking-guide-card) {
  box-shadow: 0 18px 46px rgba(23, 23, 23, 0.07);
}

.site-footer {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 79, 58, 0.2), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(28, 107, 124, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(32, 54, 45, 0.98), rgba(8, 18, 15, 0.98));
  color: #ffffff;
}

.site-footer-main {
  display: grid;
  gap: 0;
  align-items: start;
}

.site-footer h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 5vw, 4.8rem);
}

.footer-meta {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer .eyebrow {
  color: #ff8f78;
}

.footer-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 0.9rem;
  justify-content: flex-start;
}

.footer-nav::before,
.footer-nav::after {
  display: none;
}

.footer-nav a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  translate: 0 -1px;
}

body.presentation-mode {
  overflow: hidden;
}

body.presentation-transitioning::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: rgba(7, 10, 9, 0.18);
  opacity: 0;
}

body.presentation-transitioning.is-entering::after {
  animation: presentation-backdrop-in 320ms ease-out;
}

body.presentation-transitioning.is-exiting::after {
  animation: presentation-backdrop-out 220ms ease-out;
}

body.presentation-mode .hero,
body.presentation-mode .site-footer,
body.presentation-mode .progress-wheel,
body.presentation-mode .nav-cluster,
body.presentation-mode .mobile-menu-toggle {
  display: none;
}

body.presentation-mode .site-header {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
}

body.presentation-mode main {
  min-height: 100vh;
}

body.presentation-mode .section {
  display: none;
  position: fixed;
  inset: 78px clamp(64px, 12vw, 220px) 0;
  min-height: auto;
  height: calc(100vh - 78px);
  overflow: auto;
  padding-bottom: 124px;
  overscroll-behavior: contain;
  border-radius: 30px 30px 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 72px rgba(0, 0, 0, 0.18);
  transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
}

body.presentation-mode .section.is-slide-active {
  display: block;
}

body.presentation-mode.presentation-scene-active .section.is-slide-active {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(10px);
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack {
  display: block;
  overflow: hidden;
  pointer-events: none;
  padding-bottom: 96px;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack > * {
  pointer-events: none;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-1,
body.presentation-mode.presentation-scene-active .section.is-slide-stack-2,
body.presentation-mode.presentation-scene-active .section.is-slide-stack-3,
body.presentation-mode.presentation-scene-active .section.is-slide-stack-4 {
  opacity: 0;
  transform: translateY(220px);
  filter: saturate(0.72) brightness(0.985);
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-1 {
  --stack-offset: 66px;
  --stack-opacity: 0.86;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-2 {
  --stack-offset: 44px;
  --stack-opacity: 0.68;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-3 {
  --stack-offset: 22px;
  --stack-opacity: 0.5;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-4 {
  --stack-offset: 0px;
  --stack-opacity: 0.34;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-1 {
  z-index: 5;
  animation:
    presentation-live-slide-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) 210ms both,
    presentation-live-slide-fade 640ms ease 1760ms both;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-2 {
  z-index: 4;
  animation:
    presentation-live-slide-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) 420ms both,
    presentation-live-slide-fade 640ms ease 1660ms both;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-3 {
  z-index: 3;
  animation:
    presentation-live-slide-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) 630ms both,
    presentation-live-slide-fade 640ms ease 1560ms both;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-4 {
  z-index: 2;
  animation:
    presentation-live-slide-stack 1120ms cubic-bezier(0.2, 0.82, 0.24, 1) 840ms both,
    presentation-live-slide-fade 640ms ease 1460ms both;
}

body.presentation-mode.presentation-scene-active .section.is-slide-stack-active {
  z-index: 6;
  opacity: 0;
  transform: translateY(220px);
  filter: none;
  animation:
    presentation-live-slide-stack-front 1180ms cubic-bezier(0.2, 0.82, 0.24, 1) both,
    presentation-live-slide-focus 940ms cubic-bezier(0.2, 0.82, 0.24, 1) 1560ms both;
}

body.presentation-mode .section::before,
body.presentation-mode .section::after {
  opacity: 0.72;
}

body.presentation-mode .section > * {
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.presentation-mode .feature-list,
body.presentation-mode .teacher-link-grid,
body.presentation-mode .path-grid,
body.presentation-mode .external-resource-grid,
body.presentation-mode .scientific-cheat-sheet,
body.presentation-mode .cer-check-grid,
body.presentation-mode .cer-notes-grid,
body.presentation-mode .cer-example-bank {
  margin-left: auto;
  margin-right: auto;
}

@keyframes presentation-toggle-pulse {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes presentation-toggle-ripple {
  0% {
    opacity: 0.42;
    transform: scale(0.88);
  }

  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes presentation-controls-rise {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes presentation-scene-card-stack {
  0% {
    opacity: 0;
    transform:
      translateY(220px)
      scale(1)
      rotate(0deg);
  }

  58% {
    opacity: calc(0.92 - (var(--scene-depth) * 0.1));
    transform:
      translateY(calc(var(--scene-stack-offset) + 14px))
      scale(1)
      rotate(0deg);
  }

  100% {
    opacity: calc(0.98 - (var(--scene-depth) * 0.14));
    transform:
      translateY(var(--scene-stack-offset))
      scale(1)
      rotate(0deg);
  }
}

@keyframes presentation-scene-card-focus {
  0% {
    opacity: 1;
    transform: translateY(var(--scene-stack-offset)) scale(1) rotate(0deg);
  }

  55% {
    opacity: 1;
    transform:
      translateY(18px)
      scale(1.01)
      rotate(0deg);
  }

  100% {
    opacity: 0;
    transform:
      translateY(0)
      scale(1.015)
      rotate(0deg);
  }
}

@keyframes presentation-live-slide-stack {
  0% {
    opacity: 0;
    transform: translateY(220px);
  }

  58% {
    opacity: 0.9;
    transform: translateY(calc(var(--stack-offset, 0px) + 14px));
  }

  100% {
    opacity: var(--stack-opacity, 0.82);
    transform: translateY(var(--stack-offset, 0px));
  }
}

@keyframes presentation-live-slide-stack-front {
  0% {
    opacity: 0;
    transform: translateY(220px);
  }

  60% {
    opacity: 1;
    transform: translateY(98px);
  }

  100% {
    opacity: 1;
    transform: translateY(88px);
  }
}

@keyframes presentation-live-slide-focus {
  0% {
    opacity: 1;
    transform: translateY(88px);
  }

  56% {
    opacity: 1;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes presentation-live-slide-fade {
  0% {
    opacity: var(--stack-opacity, 0.82);
  }

  100% {
    opacity: 0;
  }
}

@keyframes presentation-status-nudge {
  0%,
  100% {
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.78;
  }

  35% {
    transform: translateY(-42%) rotate(45deg);
    opacity: 1;
  }

  65% {
    transform: translateY(-74%) rotate(45deg);
    opacity: 1;
  }
}

@keyframes presentation-backdrop-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes presentation-backdrop-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presentation-toggle.is-animating,
  .presentation-toggle.is-animating::after,
  .presentation-controls.is-animating-in,
  body.presentation-transitioning::after,
  .presentation-status.is-hinting .presentation-status-hint,
  .presentation-scene:not([hidden]) .presentation-scene-card,
  body.presentation-mode.presentation-scene-active .section.is-slide-stack {
    animation: none;
  }
}

@media (max-width: 820px) {
  :root {
    --anchor-offset: 78px;
  }

  .site-header {
    align-items: center;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .brand span {
    display: none;
  }

  .brand {
    width: 44px;
    min-height: 38px;
    padding: 5px 6px;
  }

  .brand img {
    width: 30px;
    max-height: 23px;
  }

  .nav-cluster {
    display: none;
  }

  .desktop-search-button {
    display: none;
  }

  .mobile-menu-toggle {
    grid-column: 3;
    justify-self: end;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background:
      radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 28%, transparent 58%),
      linear-gradient(145deg, rgba(128, 17, 10, 0.72), rgba(207, 40, 20, 0.9) 48%, rgba(87, 13, 9, 0.76)),
      rgb(207, 40, 20);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -12px 22px rgba(73, 7, 5, 0.32),
      0 14px 32px rgba(86, 13, 8, 0.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.35);
    backdrop-filter: blur(24px) saturate(1.35);
    color: #ffffff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 850;
    letter-spacing: 0;
    cursor: pointer;
  }

  .mobile-menu-icon,
  .mobile-menu-icon::before,
  .mobile-menu-icon::after {
    width: 14px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-menu-icon {
    position: relative;
  }

  .mobile-menu-icon::before,
  .mobile-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-menu-icon::before {
    top: -5px;
  }

  .mobile-menu-icon::after {
    top: 5px;
  }

  .site-header::after {
    content: none;
  }

  .nav-label-full {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }

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

  .nav-link,
  .nav-item summary {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    justify-content: center;
    gap: 3px;
    padding: 7px 5px;
    font-size: 0.67rem;
    text-align: center;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    min-height: 78svh;
    min-height: 78dvh;
    height: auto;
    padding-top: 64px;
  }

  .hero-overlay {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100% - 28px);
    padding:
      max(72px, calc(env(safe-area-inset-top) + 56px))
      0
      max(26px, calc(env(safe-area-inset-bottom) + 14px))
      18px;
  }

  .page-text-flow {
    opacity: 0.46;
  }

  .page-line {
    right: -52%;
    max-width: none;
    font-size: 1rem;
  }

  h1 {
    max-width: 11ch;
  }

  .typewriter-heading {
    min-height: clamp(14rem, 54vw, 19rem);
  }

  .hero-copy {
    margin: 18px 0 18px;
    min-height: calc(1.6em * 2);
  }

  .resource-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .external-resource-grid {
    grid-template-columns: 1fr;
  }

  .college-section .external-resource-grid {
    grid-template-columns: 1fr;
  }

  .formatting-section .external-resource-grid {
    grid-template-columns: 1fr;
  }

  .teacher-links-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .teacher-link-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 230px;
  }

  .cer-resource-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .process-step,
  .component-card,
  .subject-grid,
  .intro-columns,
  .hook-grid,
  .discipline-grid,
  .example-list,
  .comparison-grid,
  .cer-grid,
  .relationship-grid,
  .claim-builder-map,
  .claim-chain,
  .thesis-builder-stage,
  .framework-preview,
  .transition-builder-output,
  .transition-grid,
  .evidence-compare,
  .evidence-starters ul,
  .closing-panel,
  .closing-grid,
  .template-pair,
  .slide-example-grid,
  .scientific-cheat-sheet,
  .cer-builder-stage,
  .cer-check-grid,
  .cer-notes-grid,
  .cer-example-bank {
    grid-template-columns: 1fr;
  }

  .subject-grid p {
    min-height: 0;
  }

  .split-section,
  .audience-paths,
  .feature-list,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .presentation-controls {
    right: 12px;
    left: 76px;
    width: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    justify-content: center;
    transform: none;
  }

  .presentation-status {
    min-width: 0;
    flex: 1 1 auto;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .resource-search input {
    min-height: 48px;
  }

  .path-card,
  .thesis-builder,
  .claim-builder,
  .transition-builder,
  .cer-builder {
    box-shadow: 0 14px 34px rgba(23, 23, 23, 0.12);
  }

  .thesis-piece,
  .claim-builder-thesis,
  .claim-builder-claim,
  .cer-builder-focus,
  .cer-builder-response,
  .transition-builder-output article {
    min-height: auto;
  }

  .claim-builder-arrow {
    min-height: 42px;
  }

  .claim-builder-arrow::before {
    top: 50%;
    left: 50%;
    right: auto;
    width: 3px;
    height: 34px;
    transform: translate(-50%, -50%);
  }

  .claim-builder-arrow::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%) rotate(135deg);
  }

  body.presentation-mode .site-header {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.presentation-mode .section {
    inset: 64px 16px 0;
    height: calc(100vh - 64px);
    padding-bottom: 116px;
  }

  .presentation-scene {
    inset: 64px 16px 0;
  }
}

@keyframes scroll-cue-nudge {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 4px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animated-bg,
  .hero-animated-bg::before,
  .draft-lane,
  .page-line,
  .ink-strokes span,
  .animated-highlight-sample mark,
  .template-disclosure::before,
  .template-disclosure::after,
  .nav-menu,
  .mobile-nav-popover,
  .site-header::after,
  .typewriter-cursor,
  .progress-wheel {
    animation: none;
  }

  .nav-link,
  .nav-link::before,
  .nav-item summary,
  .nav-item summary::before,
  .progress-wheel {
    transition: none;
  }

  body.reveal-ready [data-reveal] {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition: none;
  }

  .section::before,
  .section::after {
    transition: none;
    transform: none;
    filter: none;
  }

  .thesis-builder-stage.is-building .thesis-piece {
    animation: none;
  }

  .claim-builder-map.is-mapping .claim-builder-thesis mark,
  .claim-builder-map.is-mapping .claim-builder-claim,
  .claim-builder-map.is-mapping .claim-builder-arrow::before {
    animation: none;
  }

  .transition-builder.is-building .transition-builder-output article {
    animation: none;
  }

  .cer-builder.is-building .cer-builder-focus,
  .cer-builder.is-building .cer-builder-response mark.is-active {
    animation: none;
  }

  body.reveal-ready .animated-highlight-sample mark {
    background-size: 100% 82%;
  }
}

@media print {
  .site-header,
  .hero,
  .directory,
  .site-footer,
  .progress-wheel,
  .process-section,
  .introduction-section,
  .thesis-section,
  .comparison-section,
  .body-section,
  .conclusion-section,
  .split-section,
  .template-actions {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .section {
    padding: 0;
  }

  .template-section {
    display: block;
    border: 0;
  }

  .essay-template,
  .template-block {
    gap: 10px;
  }

  .template-block,
  .template-field {
    break-inside: avoid;
    border-color: #8b8b8b;
    background: #ffffff;
  }

  .template-field textarea {
    min-height: 72px;
    border-color: #8b8b8b;
  }
}
