:root {
  --navy: #102a43;
  --navy-2: #0b1b33;
  --ink: #202124;
  --muted: #5b677a;
  --line: #dce7f3;
  --soft: #f4f8ff;
  --white: #ffffff;
  --gold: #f6c343;
  --gold-2: #ffe08a;
  --teal: #00a6a6;
  --blue: #246bfe;
  --sky: #24b6ff;
  --coral: #ff6b5f;
  --violet: #7357ff;
  --mint: #3bd6a3;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
  --shadow-strong: 0 28px 70px rgba(16, 42, 67, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(36, 107, 254, 0.12), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(0, 166, 166, 0.11), transparent 25%),
    linear-gradient(90deg, rgba(36, 107, 254, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f7fbff 36%, #ffffff);
  background-size: auto, auto, 74px 74px, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 42px;
  height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background:
    linear-gradient(90deg, rgba(36, 107, 254, 0.1), rgba(255, 255, 255, 0.95) 30%, rgba(0, 166, 166, 0.08)),
    rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(36, 107, 254, 0.16);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown {
  position: relative;
}

.nav-menu a {
  position: relative;
  padding: 12px 9px;
  border-radius: 999px;
  color: #344054;
  font-size: 0.91rem;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: #eaf4ff;
}

.nav-menu a.active::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(620px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(36, 107, 254, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.mega-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 8px 8px 0;
  padding: 0 12px;
  border-radius: 999px;
  color: #1454d8;
  background: #eef4ff;
  font-size: 0.88rem;
}

.mega-menu a:hover {
  color: var(--white);
  background: var(--blue);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 22px rgba(36, 107, 254, 0.24);
  border-radius: 999px;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.active {
  color: var(--white);
  background: linear-gradient(135deg, #174de0, #008f91);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
}

.page {
  animation: pageIn 0.38s ease;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-stage {
  overflow: hidden;
  padding: 28px 0 58px;
  background:
    radial-gradient(circle at 10% 10%, rgba(36, 107, 254, 0.18), transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(0, 166, 166, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(16, 42, 67, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #edf7ff);
  background-size: auto, auto, 64px 64px, auto;
}

.banner-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 0 8px;
}

.banner-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.banner-slide {
  position: relative;
  flex: 0 0 min(78vw, 1500px);
  min-height: clamp(320px, 36vw, 610px);
  overflow: hidden;
  border: 6px solid #ffffff;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(32, 33, 36, 0.22);
  isolation: isolate;
}

.banner-slide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.95;
}

.banner-slide::after {
  position: absolute;
  inset: 20px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 25px;
  pointer-events: none;
}

.banner-slide.blue-yellow::before {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 224, 138, 0.95) 0 30%, transparent 31%),
    linear-gradient(100deg, #0788d9 0 48%, #18c2b7 49% 100%);
}

.banner-slide.yellow-white::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(105deg, #eff6ff 0 45%, #ffe08a 46% 100%);
}

.banner-slide.red-soft::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(105deg, #fff4f1 0 47%, #ff6b5f 48% 100%);
}

.banner-slide.navy-gold::before {
  background:
    radial-gradient(circle at 72% 30%, rgba(59, 214, 163, 0.82), transparent 30%),
    linear-gradient(105deg, #102a43 0 48%, #7357ff 49% 100%);
}

.banner-copy {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 6%;
  z-index: 3;
  width: min(48%, 650px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.banner-partner-logo {
  width: min(220px, 42%);
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.banner-copy p {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.55rem);
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.banner-slide.yellow-white .banner-copy p,
.banner-slide.red-soft .banner-copy p {
  color: var(--ink);
  text-shadow: none;
}

.banner-copy h1 {
  max-width: 11ch;
  margin-bottom: 10px;
  color: #ffd500;
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  line-height: 0.85;
  text-shadow: 0 9px 0 rgba(178, 105, 0, 0.3), 0 18px 30px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.banner-slide.yellow-white .banner-copy h1,
.banner-slide.red-soft .banner-copy h1 {
  color: #202124;
  text-shadow: 0 8px 0 rgba(245, 183, 0, 0.22);
}

.banner-copy h2 {
  max-width: 520px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(1.1rem, 2.1vw, 2rem);
  line-height: 1.12;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.banner-slide.yellow-white .banner-copy h2,
.banner-slide.red-soft .banner-copy h2 {
  color: var(--ink);
  text-shadow: none;
}

.banner-products {
  position: absolute;
  right: 7%;
  top: 12%;
  bottom: 11%;
  z-index: 2;
  width: min(43%, 690px);
}

.banner-book {
  position: absolute;
  width: clamp(72px, 8vw, 145px);
  height: clamp(108px, 12vw, 215px);
  display: grid;
  align-content: space-between;
  padding: 14px 10px;
  border-radius: 8px 16px 16px 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ed3434, #ff9b16);
  border: 2px solid rgba(255, 255, 255, 0.52);
  box-shadow: 16px 22px 30px rgba(0, 0, 0, 0.28);
  transform: perspective(500px) rotateY(-11deg);
}

.banner-book strong,
.banner-book em {
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.34);
}

.banner-book strong {
  font-size: clamp(0.72rem, 1vw, 1.05rem);
  line-height: 1;
  text-transform: uppercase;
}

.banner-book em {
  font-style: normal;
  font-size: clamp(1.3rem, 2.2vw, 2.6rem);
  font-weight: 900;
}

.banner-book.b1 {
  top: 0;
  left: 4%;
}

.banner-book.b2 {
  top: 2%;
  left: 27%;
  background: linear-gradient(135deg, #1b8fee, #08abc4);
}

.banner-book.b3 {
  top: 4%;
  left: 50%;
  background: linear-gradient(135deg, #34a853, #ffcf21);
}

.banner-book.b4 {
  top: 8%;
  left: 73%;
  background: linear-gradient(135deg, #f08b19, #ffcf21);
}

.banner-book.b5 {
  bottom: 0;
  left: 22%;
  background: linear-gradient(135deg, #7d4cc2, #1b8fee);
}

.banner-book.b6 {
  bottom: 2%;
  left: 52%;
  background: linear-gradient(135deg, #08abc4, #34a853);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-arrow:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.04);
}

.banner-arrow span {
  width: 44px;
  height: 52px;
  display: block;
  background: #d9fbff;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
  filter: drop-shadow(0 0 0 #24b6ff) drop-shadow(3px 4px 0 #24b6ff);
}

.banner-arrow.prev span {
  transform: scaleX(-1);
}

.banner-arrow.prev {
  left: 10.4%;
}

.banner-arrow.next {
  right: 10.4%;
}

.banner-dots {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.banner-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 33, 36, 0.25);
  cursor: pointer;
}

.banner-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.action-section {
  position: relative;
  overflow: hidden;
  padding-top: 38px;
  padding-bottom: 38px;
  background:
    radial-gradient(circle at 88% 12%, rgba(36, 107, 254, 0.1), transparent 24%),
    repeating-radial-gradient(circle at 8% 76%, transparent 0 36px, rgba(36, 107, 254, 0.07) 37px 38px, transparent 39px 76px),
    linear-gradient(180deg, #ffffff, #f7fbff 58%, #ffffff);
}

.action-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1.18fr;
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(36, 107, 254, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 96% 16%, rgba(245, 183, 0, 0.22), transparent 24%),
    repeating-linear-gradient(90deg, rgba(36, 107, 254, 0.055) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, rgba(255, 253, 242, 0.96), #ffffff);
  box-shadow: var(--shadow-strong);
}

.action-title {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(36, 107, 254, 0.56), transparent 30%),
    radial-gradient(circle at 86% 82%, rgba(0, 166, 166, 0.34), transparent 30%),
    linear-gradient(135deg, #102a43 0%, #0b1b33 55%, #174de0 140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px rgba(8, 33, 63, 0.18);
}

.action-title::before {
  position: absolute;
  inset: -28%;
  content: "";
  background:
    repeating-radial-gradient(circle at 18% 28%, transparent 0 42px, rgba(255, 255, 255, 0.13) 43px 44px, transparent 45px 84px),
    repeating-radial-gradient(circle at 86% 78%, transparent 0 54px, rgba(255, 224, 138, 0.12) 55px 56px, transparent 57px 106px);
  opacity: 0.9;
}

.action-title::after {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 52%;
  height: 160%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(18deg);
}

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

.action-title h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.04;
}

.action-title .eyebrow,
.action-title h2 {
  color: #ffffff;
}

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

.action-card {
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 22px;
  border: 2px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--blue), var(--teal), var(--gold-2)) border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 183, 0, 0.65);
  box-shadow: var(--shadow);
}

.action-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.action-card h3 {
  margin-bottom: 0;
  color: var(--ink);
}

.action-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(115, 87, 255, 0.13), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(0, 166, 166, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(36, 107, 254, 0.06) 25%, transparent 25%) 0 0 / 38px 38px,
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

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

.audience-card {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.audience-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.audience-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.78));
}

.audience-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.audience-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
}

.audience-card p {
  color: rgba(255, 255, 255, 0.86);
}

.audience-card span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold-2);
  font-weight: 800;
}

.section,
.hero,
.page-hero {
  padding: 86px 0;
}

.home-intro-section {
  position: relative;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at 8% 78%, transparent 0 48px, rgba(36, 107, 254, 0.075) 49px 50px, transparent 51px 96px),
    radial-gradient(circle at 40% 12%, rgba(255, 224, 138, 0.16), transparent 24%),
    linear-gradient(100deg, #ffffff 0 60%, var(--navy) 60% 100%);
}

.home-intro-section::before {
  position: absolute;
  top: 42px;
  right: 0;
  width: 42%;
  height: calc(100% - 84px);
  content: "";
  background:
    radial-gradient(circle at 50% 30%, rgba(36, 107, 254, 0.42), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, rgba(0, 166, 166, 0.32), rgba(255, 255, 255, 0.04));
  border-radius: 34px 0 0 34px;
}

.home-intro-section::after {
  position: absolute;
  bottom: -70px;
  left: -4%;
  width: 48%;
  height: 150px;
  content: "";
  border: 3px solid rgba(36, 107, 254, 0.18);
  border-color: rgba(36, 107, 254, 0.18) transparent transparent;
  border-radius: 50%;
}

.home-intro-section .container {
  position: relative;
  z-index: 1;
}

.home-intro-section .media-card {
  transform: rotate(1deg);
  border: 8px solid #ffffff;
}

.page .section.offer-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(41, 168, 255, 0.16), transparent 24%),
    radial-gradient(circle at 14% 72%, rgba(255, 107, 95, 0.11), transparent 23%),
    repeating-linear-gradient(0deg, rgba(16, 42, 67, 0.045) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #eef7ff, #ffffff);
}

.offer-section .card {
  min-height: 260px;
}

.offer-section .card:nth-child(odd) {
  transform: translateY(16px);
}

.offer-section .card:hover {
  transform: translateY(8px) scale(1.01);
}

.product-showcase-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(59, 214, 163, 0.13), transparent 22%),
    repeating-radial-gradient(circle at 10% 22%, transparent 0 54px, rgba(36, 107, 254, 0.065) 55px 56px, transparent 57px 110px),
    linear-gradient(180deg, #ffffff, #f7fbff),
    #ffffff;
}

.product-showcase-section .book-grid {
  padding: 24px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(36, 107, 254, 0.35), transparent 26%),
    var(--navy);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.product-showcase-section .book-card {
  background: #ffffff;
}

.page .section.gallery-showcase-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(36, 107, 254, 0.24), transparent 20%),
    linear-gradient(180deg, var(--navy) 0 42%, #e9f8ff 42% 100%);
}

.page .section.gallery-showcase-section .section-head h2,
.page .section.gallery-showcase-section .section-head p,
.page .section.gallery-showcase-section .eyebrow {
  color: #ffffff;
}

.page .section.gallery-showcase-section .section-head .button {
  background: #ffffff;
  color: var(--navy);
}

.section.soft,
.page-hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(36, 107, 254, 0.18), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(0, 166, 166, 0.14), transparent 22%),
    linear-gradient(90deg, rgba(16, 42, 67, 0.05) 1px, transparent 1px),
    var(--soft);
  background-size: auto, auto, 70px 70px, auto;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 33, 63, 0.93), rgba(8, 33, 63, 0.64) 52%, rgba(8, 33, 63, 0.28)),
    url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1800&q=85")
      center / cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  content: "";
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.trust-stage {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 216, 77, 0.44), transparent 28%),
    radial-gradient(circle at 12% 76%, rgba(245, 183, 0, 0.22), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #fff7c8 100%);
}

.trust-stage::after {
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  content: "";
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.trust-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 38px;
}

.trust-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
}

.trust-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.logo-train-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(245, 183, 0, 0.24);
}

.logo-train-wrap.customer-train {
  border-bottom: 1px solid rgba(245, 183, 0, 0.24);
}

.train-label {
  margin-bottom: 14px;
  color: #8a6900;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-train {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  width: max-content;
  display: flex;
  gap: 16px;
  animation: logoTrain 34s linear infinite;
}

.logo-track.reverse {
  animation-name: logoTrainReverse;
  animation-duration: 38s;
}

.logo-train:hover .logo-track {
  animation-play-state: paused;
}

.train-logo {
  min-width: 230px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid rgba(245, 183, 0, 0.26);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(122, 96, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 850;
  line-height: 1.2;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.train-logo:has([data-logo-size="featured-square"]),
.train-logo:has([data-logo-size="featured-wide"]) {
  min-width: 330px;
  min-height: 150px;
}

.train-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 210, 138, 0.7);
  background: var(--white);
}

.train-logo-image {
  max-width: 188px;
  max-height: 58px;
  object-fit: contain;
}

.partner-logo-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 216, 77, 0.28), transparent 24%),
    linear-gradient(180deg, #fff9db, #ffffff);
}

.partner-showcase-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.partner-showcase-head h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.partner-logo-showcase .logo-train-wrap {
  padding: 0;
  border: 0;
}

.partner-logo-showcase .logo-train {
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.train-logo.logo-only {
  min-width: 265px;
  min-height: 126px;
  padding: 28px 34px;
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(122, 96, 0, 0.1);
}

.train-logo.logo-only:has([data-logo-size="featured-square"]),
.train-logo.logo-only:has([data-logo-size="featured-wide"]) {
  min-width: 360px;
  min-height: 178px;
}

.train-logo.logo-only .train-logo-image {
  max-width: 205px;
  max-height: 72px;
}

.train-logo.logo-only:hover {
  border-color: rgba(245, 183, 0, 0.62);
}

.trust-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.trust-actions .button.outline {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(245, 183, 0, 0.48);
}

@keyframes logoTrain {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes logoTrainReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #8a6900;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  color: var(--navy);
}

.hero p,
.page-hero p,
.section-head p {
  max-width: 760px;
  color: #dce5ef;
  font-size: 1.12rem;
}

.page-hero p,
.section-head p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 33, 63, 0.18);
}

.button.gold {
  color: var(--navy);
  background: var(--gold-2);
}

.button.outline {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(36, 107, 254, 0.28);
}

.hero .button.outline {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(245, 183, 0, 0.48);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2,
.split-copy h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.1;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 235, 0.72)),
    var(--white);
  box-shadow: 0 1px 0 rgba(122, 96, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 183, 0, 0.58);
  box-shadow: var(--shadow);
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 3px solid rgba(245, 183, 0, 0.45);
  outline-offset: 4px;
}

.card h3 {
  color: var(--navy);
  font-size: 1.12rem;
}

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
}

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

.book-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: start;
  overflow: hidden;
}

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(32, 33, 36, 0.12);
}

.book-cover::before {
  content: none;
}

.book-cover::after {
  content: none;
}

.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-card .button {
  margin-top: 8px;
}

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

.product-choice-card {
  min-height: 330px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  align-items: start;
}

.product-choice-card h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.product-choice-card .button {
  margin-top: 22px;
}

.product-choice-icon,
.test-card-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-size: 1.35rem;
  font-weight: 900;
}

.test-card {
  min-height: 300px;
}

.test-card-icon {
  margin-bottom: 18px;
}

.test-card .button {
  margin-top: 8px;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.product-type-tabs,
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-category-panel {
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(122, 96, 0, 0.08);
}

.product-category-panel h2 {
  color: var(--ink);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.product-category-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(239, 228, 184, 0.85);
}

.product-category-group h3 {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.product-chip {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #1454d8;
  background: #eef4ff;
  cursor: pointer;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-chip span {
  color: #4f7fcf;
}

.product-chip:hover,
.product-chip.active {
  color: var(--white);
  background: #3d7bfd;
  transform: translateY(-1px);
}

.product-chip.active span,
.product-chip:hover span {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.media-card {
  min-height: 390px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.media-card img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: #eaf6ff;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.logo-card {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  text-align: center;
  font-weight: 800;
}

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

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.image-card img {
  height: 230px;
  object-fit: cover;
}

.image-card .body {
  padding: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #5d4700;
  background: #fff1a6;
  font-size: 0.8rem;
  font-weight: 750;
}

.cta {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 220, 0.78)),
    #fff2a8;
}

.cta::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at 76% 28%, rgba(245, 183, 0, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 188, 0.62) 47%, rgba(255, 255, 255, 0.82));
  pointer-events: none;
}

.cta-logo-cloud {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-logo-item {
  position: absolute;
  min-width: 230px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  opacity: 0.66;
  filter: saturate(1.05);
  backdrop-filter: blur(5px);
}

.cta-logo-image {
  max-width: 178px;
  max-height: 58px;
  object-fit: contain;
}

.cta-logo-item .logo-fallback {
  color: var(--navy);
  font-size: 1.35rem;
}

.cta-logo-1 {
  top: 5%;
  left: 3%;
  transform: rotate(-12deg);
}

.cta-logo-2 {
  top: 12%;
  left: 22%;
  transform: rotate(8deg);
}

.cta-logo-3 {
  top: 5%;
  left: 43%;
  transform: rotate(-4deg);
}

.cta-logo-4 {
  top: 9%;
  right: 12%;
  transform: rotate(11deg);
}

.cta-logo-5 {
  top: 40%;
  left: 8%;
  transform: rotate(7deg);
}

.cta-logo-6 {
  top: 44%;
  left: 34%;
  transform: rotate(-10deg);
}

.cta-logo-7 {
  top: 38%;
  right: 26%;
  transform: rotate(5deg);
}

.cta-logo-8 {
  top: 50%;
  right: 3%;
  transform: rotate(-8deg);
}

.cta-logo-9 {
  bottom: 5%;
  left: 16%;
  transform: rotate(-3deg);
}

.cta-logo-10 {
  bottom: 4%;
  left: 49%;
  transform: rotate(13deg);
}

.cta-logo-11 {
  bottom: 12%;
  right: 18%;
  transform: rotate(-14deg);
}

.cta-logo-12 {
  bottom: 29%;
  right: 43%;
  transform: rotate(4deg);
}

.cta-logo-13 {
  top: -8%;
  right: 34%;
  transform: rotate(-18deg);
}

.cta-logo-14 {
  bottom: -4%;
  right: 4%;
  transform: rotate(16deg);
}

.cta-logo-15 {
  bottom: -6%;
  left: 2%;
  transform: rotate(12deg);
}

.cta-logo-16 {
  top: -6%;
  left: 62%;
  transform: rotate(-9deg);
}

.cta-logo-17 {
  top: 67%;
  left: 31%;
  transform: rotate(18deg);
}

.cta-logo-18 {
  top: 29%;
  right: 1%;
  transform: rotate(3deg);
}

.cta-logo-19 {
  top: 33%;
  left: 55%;
  transform: rotate(-17deg);
}

.cta-logo-20 {
  bottom: 31%;
  left: -3%;
  transform: rotate(15deg);
}

.cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.search {
  min-width: min(360px, 100%);
  flex: 1;
}

.search input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 142px;
  padding-top: 12px;
  resize: vertical;
}

.search input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 183, 0, 0.16);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #46566d;
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.filter.active,
.filter:hover {
  color: var(--ink);
  background: var(--gold-2);
  border-color: var(--gold);
}

.partner-logo {
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px dashed #e4ca62;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--soft);
  font-weight: 900;
}

.partner-card {
  min-height: 154px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.partner-card .partner-logo {
  width: 100%;
  height: 118px;
  margin: 0;
  border-style: solid;
  background: #ffffff;
}

.partner-card-featured-square,
.partner-card-featured-wide {
  min-height: 190px;
}

.partner-card-featured-square .partner-logo,
.partner-card-featured-wide .partner-logo {
  height: 154px;
}

.partner-logo .logo-image {
  max-width: 225px;
  max-height: 82px;
  object-fit: contain;
}

.customer-card {
  min-height: 278px;
}

.customer-card .partner-logo {
  min-height: 92px;
  margin-bottom: 18px;
  border-radius: 16px;
}

.customer-card h3 {
  overflow-wrap: anywhere;
}

.customer-card .customer-logo-image {
  width: auto;
  height: 72px;
  max-width: 170px;
  max-height: 72px;
  border-radius: 14px;
  object-fit: contain;
}

.customer-card .logo-fallback {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #246bfe, #0fa3b1);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

.partner-logo .logo-image[data-logo-size="large-square"] {
  max-width: 108px;
  max-height: 108px;
}

.partner-logo .logo-image[data-logo-size="large-tall"] {
  max-width: 150px;
  max-height: 94px;
}

.partner-logo .logo-image[data-logo-size="featured-square"] {
  max-width: 162px;
  max-height: 162px;
}

.partner-logo .logo-image[data-logo-size="featured-wide"] {
  max-width: 300px;
  max-height: 141px;
}

.train-logo-image[data-logo-size="large-square"] {
  max-width: 102px;
  max-height: 102px;
}

.train-logo-image[data-logo-size="large-tall"] {
  max-width: 144px;
  max-height: 88px;
}

.train-logo-image[data-logo-size="featured-square"] {
  max-width: 150px;
  max-height: 150px;
}

.train-logo-image[data-logo-size="featured-wide"] {
  max-width: 280px;
  max-height: 132px;
}

.train-logo.logo-only .train-logo-image[data-logo-size="large-square"] {
  max-width: 118px;
  max-height: 118px;
}

.train-logo.logo-only .train-logo-image[data-logo-size="large-tall"] {
  max-width: 170px;
  max-height: 104px;
}

.train-logo.logo-only .train-logo-image[data-logo-size="featured-square"] {
  max-width: 165px;
  max-height: 165px;
}

.train-logo.logo-only .train-logo-image[data-logo-size="featured-wide"] {
  max-width: 310px;
  max-height: 148px;
}

.generated-wordmark {
  width: 100%;
  object-fit: contain;
}

.logo-combo {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.logo-combo .logo-combo-image {
  flex: 0 0 auto;
  max-width: 78px;
  max-height: 78px;
}

.logo-combo-name {
  color: var(--ink);
  font-size: clamp(0.9rem, 1.2vw, 1.18rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: left;
}

.train-logo .logo-combo {
  gap: 10px;
}

.train-logo .logo-combo .logo-combo-image {
  max-width: 68px;
  max-height: 68px;
}

.train-logo .logo-combo-name {
  max-width: 145px;
  font-size: 0.98rem;
}

.partner-card .logo-combo-name {
  max-width: 150px;
}

.logo-image + .logo-fallback {
  display: none;
}

.logo-fallback {
  color: var(--navy);
  font-weight: 900;
}

.logo-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.6vw, 1.55rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.partner-logo .logo-wordmark {
  font-size: 1rem;
}

.train-logo .logo-wordmark {
  font-size: 1.15rem;
}

.logo-cengage {
  color: #6b8bb6;
  letter-spacing: 0.04em;
}

.logo-mm {
  color: #202124;
  font-size: 1.55rem;
}

.logo-mm::first-letter {
  color: #cf2830;
}

.logo-vector {
  color: #ffffff;
  background: #77c64a;
  font-weight: 800;
}

.logo-binary {
  color: #202124;
  font-weight: 950;
}

.logo-compass {
  color: #2e7cc5;
}

.logo-build {
  color: #6aa43a;
}

.logo-cambridge {
  color: #7f1d2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.logo-collins,
.logo-mcgraw,
.logo-seed {
  color: #ffffff;
  background: #d9232e;
}

.logo-hmh {
  color: #6b6f7a;
  font-size: 0.9rem;
}

.logo-school-specialty {
  color: #3777bc;
}

.logo-findel {
  color: #1f2933;
}

.logo-follett {
  color: #213b83;
}

.logo-carolina {
  color: #5f7fa5;
  letter-spacing: 0.04em;
}

.logo-hodder {
  color: #2e73b8;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-item strong {
  color: var(--gold);
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 18px;
}

.project-card img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-lines {
  display: grid;
  gap: 12px;
}

.case-lines b {
  color: var(--navy);
}

.news-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  padding: 0;
}

.news-feature img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.news-feature .body {
  padding: 34px;
}

.resource-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.file-icon {
  width: 54px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--gold-2);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-info {
  display: grid;
  gap: 16px;
}

.info-line {
  display: flex;
  gap: 14px;
}

.info-line .icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
}

.map {
  min-height: 250px;
  display: grid;
  place-items: center;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(45deg, rgba(8, 33, 63, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(8, 33, 63, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(8, 33, 63, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(8, 33, 63, 0.05) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  text-align: center;
}

.empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.footer {
  padding: 56px 0 22px;
  color: #dbeafe;
  background:
    radial-gradient(circle at 12% 10%, rgba(36, 107, 254, 0.32), transparent 24%),
    radial-gradient(circle at 88% 84%, rgba(0, 166, 166, 0.24), transparent 24%),
    linear-gradient(135deg, #102a43, #0b1b33);
}

.footer-grid {
  width: min(var(--container), calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;
  gap: 34px;
  margin: 0 auto;
}

.footer .brand strong {
  color: var(--white);
}

.footer .brand small,
.footer p {
  color: #bfdbfe;
}

.footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #dbeafe;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  width: min(var(--container), calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bfdbfe;
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4, 16, 30, 0.72);
}

.modal.show {
  display: flex;
}

.modal-card {
  width: min(860px, 100%);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.modal-card img {
  max-height: 560px;
  object-fit: cover;
}

.modal-card .body {
  padding: 22px;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    width: min(390px, 100%);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 20px;
    background: var(--white);
    box-shadow: -20px 28px 60px rgba(8, 33, 63, 0.18);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: clip-path 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-menu.open {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-menu a {
    padding: 14px 12px;
  }

  .nav-dropdown {
    display: grid;
  }

  .mega-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    margin: 4px 0 10px;
    padding: 14px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu {
    display: grid;
    transform: none;
  }

  .mega-menu a {
    width: auto;
    padding: 0 10px;
  }

  .nav-menu .nav-cta {
    margin: 10px 0 0;
    text-align: center;
  }

  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .section,
  .hero,
  .page-hero {
    padding: 62px 0;
  }

  .banner-stage {
    padding-top: 10px;
  }

  .banner-slide {
    flex-basis: 88vw;
    min-height: 560px;
  }

  .banner-copy {
    top: 7%;
    right: 7%;
    bottom: auto;
    left: 7%;
    width: auto;
    justify-content: flex-start;
  }

  .banner-partner-logo {
    width: min(180px, 46%);
    max-height: 62px;
    margin-bottom: 14px;
  }

  .banner-copy p {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 24px rgba(8, 33, 63, 0.12);
    text-shadow: none;
  }

  .banner-copy h1 {
    max-width: 9.5ch;
    margin-bottom: 10px;
    font-size: clamp(2.05rem, 8.7vw, 3.7rem);
    line-height: 0.98;
  }

  .banner-copy h2 {
    max-width: 92%;
    display: inline;
    padding: 4px 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.76);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-size: clamp(1rem, 3.7vw, 1.28rem);
    line-height: 1.28;
    text-shadow: none;
  }

  .banner-products {
    right: 7%;
    bottom: 13%;
    top: auto;
    left: 7%;
    width: auto;
    height: 180px;
  }

  .banner-book {
    width: 68px;
    height: 106px;
  }

  .banner-arrow {
    width: 48px;
    height: 48px;
    font-size: 2.3rem;
  }

  .banner-arrow.prev {
    left: 6%;
  }

  .banner-arrow.next {
    right: 6%;
  }

  .hero {
    min-height: 620px;
  }

  .trust-stage {
    padding: 68px 0 62px;
  }

  .cta-logo-item {
    min-width: 168px;
    min-height: 86px;
    padding: 16px 18px;
    opacity: 0.48;
  }

  .cta-logo-image {
    max-width: 132px;
    max-height: 44px;
  }

  .section-head,
  .cta .container,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .home-intro-section {
    background:
      repeating-radial-gradient(circle at 8% 82%, transparent 0 42px, rgba(36, 107, 254, 0.07) 43px 44px, transparent 45px 88px),
      linear-gradient(180deg, #ffffff, #f7fbff);
  }

  .home-intro-section::before {
    display: none;
  }

  .gallery-showcase-section {
    background: linear-gradient(180deg, #111827 0 48%, #fff6bf 48% 100%);
  }

  .action-panel,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .action-panel {
    background:
      radial-gradient(circle at 96% 16%, rgba(245, 183, 0, 0.22), transparent 24%),
      repeating-linear-gradient(90deg, rgba(36, 107, 254, 0.055) 0 1px, transparent 1px 28px),
      linear-gradient(135deg, rgba(255, 253, 242, 0.96), #ffffff);
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .grid.two,
  .grid.three,
  .book-grid,
  .product-choice-grid,
  .project-card,
  .news-feature,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .image-grid,
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-card {
    min-height: 270px;
  }

  .stats,
  .form-row,
  .product-category-group {
    grid-template-columns: 1fr;
  }

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

  .resource-card .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .navbar,
  .container,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--container));
  }

  .brand small {
    display: none;
  }

  .actions,
  .trust-actions,
  .toolbar,
  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .search {
    width: 100%;
  }

  .train-logo {
    min-width: 178px;
    min-height: 74px;
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .image-grid,
  .logo-grid,
  .grid.four,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: 92px 1fr;
  }

  .product-choice-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-showcase-section .book-grid {
    padding: 14px;
  }

  .book-cover {
    min-height: 0;
  }
}
