/* ============================================================================
   TeachQuest Marketing Site (public, pre-login)
   ============================================================================ */

.mkt-site {
  background: var(--color-page-bg);
  color: var(--color-text);
  min-height: 100vh;
}

.mkt-site--auth {
  display: flex;
  flex-direction: column;
}

.mkt-auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mkt-auth-main .user-type-container,
.mkt-auth-main .form-container {
  min-height: auto;
  flex: 1;
  padding: 24px 20px 48px;
}

/* ---- Epic auth pages (full-bleed scene + overlay panel) ---- */
.mkt-site--auth-epic {
  min-height: 100vh;
  min-height: 100svh;
  background: #0a0618;
}

.mkt-site--auth-epic .mkt-auth-main,
.mkt-site--register .mkt-auth-main,
.mkt-site--login .mkt-auth-main {
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: transparent;
}

.mkt-site--auth-epic .mkt-footer,
.mkt-site--register .mkt-footer,
.mkt-site--login .mkt-footer {
  position: relative;
  z-index: 1;
  background: rgba(8, 6, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mkt-site--auth-epic .mkt-footer__tagline,
.mkt-site--auth-epic .mkt-footer__heading,
.mkt-site--auth-epic .mkt-footer__list a,
.mkt-site--auth-epic .mkt-footer__bottom,
.mkt-site--auth-epic .mkt-footer__meta,
.mkt-site--auth-epic .mkt-footer__meta-links a {
  color: rgba(255, 255, 255, 0.72);
}

.mkt-site--auth-epic .mkt-footer__list a:hover,
.mkt-site--auth-epic .mkt-footer__meta-links a:hover {
  color: #fff;
}

.mkt-site--auth-epic .mkt-footer__social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
}

.mkt-site--auth-epic .mkt-footer__social-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.auth-epic {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  overflow-x: hidden;
  overflow-y: visible;
}

.auth-epic__backdrop {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-epic__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.auth-epic__hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 6, 24, 0.42) 0%,
    rgba(8, 6, 24, 0.12) 42%,
    rgba(8, 6, 24, 0.06) 58%,
    rgba(8, 6, 24, 0.18) 100%
  );
}

.auth-epic__hero-glow {
  position: absolute;
  inset: auto -15% -25% -15%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.12), transparent 70%);
  pointer-events: none;
}

.auth-epic__overlay {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.auth-epic__hero-copy {
  position: relative;
  color: #fff;
  text-align: center;
  max-width: 640px;
  padding: clamp(8px, 1.5vw, 16px) 0;
}

.auth-epic__hero-copy::before {
  content: '';
  position: absolute;
  inset: -20px -28px;
  z-index: -1;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(8, 6, 24, 0.38) 0%,
    rgba(8, 6, 24, 0.12) 55%,
    transparent 78%
  );
  pointer-events: none;
}

.auth-epic__eyebrow {
  font-family: 'Audiowide', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ede9fe;
  margin: 0 0 14px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.auth-epic__headline {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.65);
}

.auth-epic__tagline {
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 auto;
  max-width: 52ch;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.75);
}

.auth-epic__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 480px);
  flex-shrink: 0;
}

.auth-epic .auth-epic__form-wrap {
  min-height: auto;
  background: transparent;
  padding: 0;
  width: 100%;
  margin: 0;
}

.auth-epic .auth-epic__card {
  width: 100%;
  max-width: none;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(124, 115, 255, 0.12) inset,
    0 16px 48px rgba(0, 0, 0, 0.28),
    0 4px 20px rgba(124, 115, 255, 0.1);
  animation: authEpicReveal 0.75s ease;
}

[data-theme="dark"] .auth-epic .auth-epic__card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 4px 20px rgba(124, 115, 255, 0.12);
}

.auth-epic__quest-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 115, 255, 0.16), rgba(251, 191, 36, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-epic__quest-badge i {
  color: #d97706;
  font-size: 13px;
}

.auth-epic .user-type-title {
  font-size: clamp(26px, 3vw, 32px);
}

.auth-epic .user-type-subtitle {
  font-size: 15px;
  line-height: 1.5;
}

.auth-epic .user-type-card {
  border-color: rgba(124, 115, 255, 0.22);
  background: linear-gradient(180deg, var(--color-background-alt) 0%, var(--color-surface) 100%);
}

.auth-epic .user-type-card:hover {
  border-color: #f59e0b;
  box-shadow:
    0 14px 36px rgba(124, 115, 255, 0.22),
    0 0 28px rgba(251, 191, 36, 0.14);
}

.auth-epic .user-type-icon {
  filter: drop-shadow(0 4px 12px rgba(124, 115, 255, 0.35));
}

.auth-epic .user-type-card--register {
  border-color: rgba(251, 191, 36, 0.42);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.1) 0%, var(--color-surface) 100%);
}

.auth-epic .user-type-card--register:hover {
  border-color: #f59e0b;
  box-shadow:
    0 14px 36px rgba(251, 191, 36, 0.18),
    0 0 28px rgba(124, 115, 255, 0.12);
}

.auth-epic .user-type-card--register .user-type-icon {
  color: #d97706;
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.35));
}

.auth-epic .form-title {
  font-family: 'Cinzel', serif;
}

@keyframes authEpicReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 900px) {
  .auth-epic__overlay {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(40px, 5vw, 72px);
    padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
    max-width: 1180px;
  }

  .auth-epic__hero-copy {
    flex: 1 1 0;
    text-align: left;
    align-self: center;
    max-width: min(500px, 46%);
  }

  .auth-epic__tagline {
    margin: 0;
  }

  .auth-epic__panel {
    flex: 0 0 auto;
    width: min(100%, 420px);
    align-self: center;
  }

  .auth-epic__hero-shade {
    background: linear-gradient(
      90deg,
      rgba(8, 6, 24, 0.48) 0%,
      rgba(8, 6, 24, 0.14) 38%,
      rgba(8, 6, 24, 0.05) 55%,
      rgba(8, 6, 24, 0.2) 100%
    );
  }
}

@media (max-width: 899px) {
  .auth-epic__overlay {
    justify-content: flex-start;
    padding-top: clamp(24px, 6vh, 48px);
  }

  .auth-epic__tagline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.mkt-site--login .auth-epic__panel {
  width: min(100%, 560px);
}

.mkt-site--login .auth-epic .user-type-options--login {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mkt-site a:not(.mkt-btn) {
  color: inherit;
}

/* CTA/footer links must not inherit white text onto light buttons */
.mkt-site a.mkt-btn--primary {
  color: #fff;
}

.mkt-site a.mkt-btn--white {
  color: var(--color-primary);
  background: #fff;
}

.mkt-site a.mkt-btn--ghost {
  color: var(--color-text);
}

/* ---- Navigation ---- */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

[data-theme="dark"] .mkt-nav {
  background: rgba(15, 23, 42, 0.92);
}

.mkt-nav__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px clamp(16px, 2.5vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 28px);
  box-sizing: border-box;
}

.mkt-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.mkt-nav__logo {
  width: auto;
  height: 86px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.mkt-nav__brand-text {
  font-family: 'Cinzel', serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.mkt-nav__teach { color: var(--color-brand-teach); }
.mkt-nav__quest { color: var(--color-brand-quest); }

.mkt-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface, #fff);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.15rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
}

.mkt-nav__toggle:hover,
.mkt-nav__toggle:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-brand-hover-bg);
  outline: none;
}

.mkt-nav__drawer {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: clamp(12px, 1.5vw, 28px);
}

.mkt-nav__links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(2px, 0.6vw, 10px);
  min-width: 0;
}

.mkt-nav__tray {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(4px, 0.6vw, 10px);
  margin-left: auto;
  flex-shrink: 0;
}

.mkt-nav__guest {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(4px, 0.6vw, 10px);
  flex-shrink: 0;
}

.mkt-nav__lang {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.mkt-nav__lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface, #fff);
  color: var(--color-text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.mkt-nav__lang-trigger:hover,
.mkt-nav__lang.is-open .mkt-nav__lang-trigger {
  border-color: var(--color-primary);
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
}

.mkt-nav__lang-trigger:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-brand-hover-bg);
}

.mkt-nav__lang-trigger:disabled {
  opacity: 0.6;
  cursor: wait;
}

.mkt-nav__lang-menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  min-width: 13rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface, #fff);
  box-shadow: 0 12px 32px rgb(0 0 0 / 16%);
}

.mkt-nav__lang-menu[hidden] {
  display: none;
}

.mkt-nav__lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-text-secondary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.mkt-nav__lang-option:hover,
.mkt-nav__lang-option:focus-visible {
  outline: none;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
}

.mkt-nav__lang-option.is-active {
  color: var(--color-primary);
}

.mkt-nav__lang-option:disabled {
  opacity: 0.55;
  cursor: wait;
}

.mkt-nav__link {
  padding: 8px clamp(8px, 0.9vw, 14px);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.mkt-nav__link:hover,
.mkt-nav__link.is-active {
  color: var(--color-primary);
  background: var(--color-brand-hover-bg);
}

.mkt-nav__link--accent {
  color: var(--color-brand-quest);
}

.mkt-nav__link--btn {
  border: 1px solid var(--color-border);
}

.mkt-nav__link--primary {
  background: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary);
}

.mkt-nav__link--primary:hover,
.mkt-nav__link--primary.is-active {
  background: var(--color-primary-dark);
  color: #fff !important;
  border-color: var(--color-primary-dark);
}

.mkt-nav__social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  margin-right: 4px;
  padding: 0 8px 0 0;
  border-left: none;
  border-right: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mkt-nav__social--in-dropdown {
  display: none;
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 4px 4px;
  border-left: none;
  border-right: none;
  border-top: 1px solid var(--color-border);
}

/* When the header is cramped, socials move into Resources */
.mkt-nav--socials-stashed .mkt-nav__social--header {
  display: none;
}

.mkt-nav--socials-stashed .mkt-nav__social--in-dropdown {
  display: flex;
}

.mkt-nav--compact .mkt-nav__social--header {
  display: none;
}

.mkt-nav--compact .mkt-nav__social--in-dropdown {
  display: flex;
}

.mkt-nav__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.15s, background 0.15s;
}

.mkt-nav__social-link:hover {
  color: var(--color-primary);
  background: var(--color-brand-hover-bg);
}

.mkt-nav__item--dropdown {
  position: relative;
}

.mkt-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  margin-top: -6px;
  padding: 18px 12px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 400;
}

.mkt-nav__item--dropdown.is-open .mkt-nav__dropdown,
.mkt-nav__item--dropdown:hover .mkt-nav__dropdown,
.mkt-nav__item--dropdown:focus-within .mkt-nav__dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mkt-nav__dropdown-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  grid-column: 1 / -1;
}

.mkt-nav__dropdown-link {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--color-text);
}

.mkt-nav__dropdown-link:hover,
.mkt-nav__dropdown-link.is-active {
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
}

.mkt-nav__dropdown--simple::before {
  display: none;
}

.mkt-nav__item--dropdown.is-open .mkt-nav__dropdown--simple,
.mkt-nav__item--dropdown:hover .mkt-nav__dropdown--simple,
.mkt-nav__item--dropdown:focus-within .mkt-nav__dropdown--simple {
  display: block;
  grid-template-columns: 1fr;
  min-width: 220px;
}

.mkt-nav__dropdown--features {
  min-width: 240px;
}

.mkt-nav__dropdown--resources {
  min-width: 200px;
}

/* ---- Hero ---- */
.mkt-hero {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.mkt-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124, 115, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255, 107, 107, 0.1), transparent);
  pointer-events: none;
}

.mkt-hero__inner {
  position: relative;
  z-index: 1;
}

.mkt-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.mkt-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.mkt-hero__title-line {
  display: block;
}

.mkt-hero__title-line--sub {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
  margin: 0.12em 0;
}

@media (min-width: 520px) {
  .mkt-hero__title-line {
    white-space: nowrap;
  }
}

.mkt-hero__accent {
  color: var(--color-brand-quest);
  display: block;
}

.mkt-hero__tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 540px;
  margin-bottom: 12px;
}

.mkt-hero__tagline--motto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2em 0.55em;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-top: 4px;
  margin-bottom: 28px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.mkt-motto__teach,
.mkt-motto__quest,
.mkt-motto__repeat {
  color: inherit;
}

.mkt-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 14px;
}

.mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.mkt-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 4px;
}

.mkt-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.mkt-hero__stat-value {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  min-width: 3.5ch;
}

.mkt-hero__stat-value[data-hero-stat='teachers']:empty::before,
.mkt-hero__stat-value[data-hero-stat='students']:empty::before {
  content: '…';
  opacity: 0.45;
}

.mkt-hero__stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__stat-value {
  color: #fcd34d;
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__stat-label {
  color: rgba(237, 233, 254, 0.82);
}

.mkt-hero__note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.mkt-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.mkt-hero__image {
  display: block;
  width: 100%;
  max-width: min(100%, 400px);
  height: auto;
  aspect-ratio: 1024 / 1536;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(124, 115, 255, 0.18);
}

/* ---- Buttons ---- */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mkt-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mkt-btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.mkt-btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.mkt-btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  font-weight: 700;
}

.mkt-btn--white:hover {
  background: #f8f7ff;
  color: var(--color-primary-dark);
}

/* ---- Banner ---- */
.mkt-banner {
  margin: 0 24px 48px;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-banner--classcraft {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(124, 115, 255, 0.08));
  border: 1px solid rgba(124, 115, 255, 0.2);
  border-radius: 16px;
}

.mkt-banner__inner {
  padding: 32px 36px;
}

.mkt-banner__title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.mkt-banner__body {
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  max-width: 800px;
}

.mkt-banner__link {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* ---- Legacy site notice (dismissible) ---- */
.mkt-legacy-banner {
  position: relative;
  z-index: 200;
  background: var(--color-brand-quest);
  color: #fff;
  border-bottom: 2px solid color-mix(in srgb, var(--color-brand-quest) 70%, #000);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-brand-quest) 35%, transparent);
}

.mkt-legacy-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  text-align: center;
}

.mkt-legacy-banner__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* Beat `.mkt-site a:not(.mkt-btn) { color: inherit }` so text stays Quest red on white */
.mkt-legacy-banner a.mkt-legacy-banner__link,
.mkt-site a.mkt-legacy-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand-quest);
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.mkt-legacy-banner a.mkt-legacy-banner__link:hover,
.mkt-site a.mkt-legacy-banner__link:hover {
  background: #fff5f5;
  color: var(--color-brand-quest);
  transform: translateY(-1px);
}

.mkt-legacy-banner__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.mkt-legacy-banner__dismiss:hover {
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
}

@media (max-width: 640px) {
  .mkt-legacy-banner__inner {
    padding: 12px 12px 12px 14px;
    justify-content: flex-start;
    text-align: left;
  }

  .mkt-legacy-banner__dismiss {
    margin-left: auto;
  }
}

/* ---- Sections ---- */
.mkt-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.mkt-section--alt {
  background: var(--color-surface);
  max-width: none;
}

.mkt-section--alt > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.mkt-section__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.mkt-section__intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Readable headers over photographic section backgrounds (hero-style scrim) */
.mkt-site--home .mkt-section--classes .mkt-section__head,
.mkt-site--home .mkt-section--rpg-features .mkt-section__head {
  position: relative;
  z-index: 1;
  padding: 10px 16px 12px;
  color: #fff;
}

.mkt-site--home .mkt-section--classes .mkt-section__head::before,
.mkt-site--home .mkt-section--rpg-features .mkt-section__head::before {
  content: '';
  position: absolute;
  inset: -6px -10px;
  z-index: -1;
  border-radius: 14px;
  background: radial-gradient(
    ellipse at center,
    rgba(8, 6, 24, 0.52) 0%,
    rgba(8, 6, 24, 0.34) 62%,
    rgba(8, 6, 24, 0.22) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.mkt-site--home .mkt-section--rpg-features .mkt-section__head {
  max-width: 920px;
}

.mkt-site--home .mkt-section--classes .mkt-section__head .mkt-section__title,
.mkt-site--home .mkt-section--rpg-features .mkt-section__head .mkt-section__title {
  color: #fff;
  margin-bottom: 6px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 12px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
}

.mkt-site--home .mkt-section--classes .mkt-section__head .mkt-section__intro,
.mkt-site--home .mkt-section--rpg-features .mkt-section__head .mkt-section__intro {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ---- Cards ---- */
.mkt-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mkt-card-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.mkt-card {
  position: relative;
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.mkt-section--alt .mkt-card {
  background: var(--color-background-alt, var(--color-page-bg));
}

.mkt-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mkt-card--link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.mkt-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.mkt-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.mkt-card__badge--popular {
  background: var(--color-primary);
  color: #fff;
}

.mkt-card__badge--new {
  background: var(--color-success);
  color: #fff;
}

.mkt-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mkt-card__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  flex: 1 1 auto;
}

.mkt-card__more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
}

/* ---- Classroom play (copy + screenshot carousel) ---- */
.mkt-classroom-play {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-classroom-play__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.mkt-classroom-play__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.mkt-classroom-carousel {
  width: 100%;
}

.mkt-classroom-carousel__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.mkt-classroom-carousel__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-background-secondary);
}

.mkt-classroom-carousel__slide {
  display: none;
  position: absolute;
  inset: 0;
}

.mkt-classroom-carousel__slide.is-active {
  display: block;
  animation: mkt-classroom-fade 0.45s ease;
}

.mkt-classroom-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes mkt-classroom-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mkt-classroom-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.15s, transform 0.15s;
}

.mkt-classroom-carousel__nav:hover {
  background: rgba(15, 23, 42, 0.78);
}

.mkt-classroom-carousel__nav--prev {
  left: 12px;
}

.mkt-classroom-carousel__nav--next {
  right: 12px;
}

.mkt-classroom-carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mkt-classroom-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.mkt-classroom-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.mkt-site--home .mkt-section--classroom-play {
  max-width: none;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

.mkt-site--home .mkt-section--classroom-play > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 900px) {
  .mkt-classroom-play {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mkt-classroom-play__copy {
    order: 1;
  }

  .mkt-classroom-play__media {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-classroom-carousel__slide.is-active {
    animation: none;
  }
}

/* ---- Pillars ---- */
.mkt-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.mkt-pillar {
  text-align: center;
  padding: 28px 20px;
}

.mkt-pillar__icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.mkt-pillar__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mkt-pillar__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ---- RPG stat cards ---- */
.mkt-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mkt-stat-card {
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
}

.mkt-section--alt .mkt-stat-card {
  background: var(--color-background-alt, var(--color-page-bg));
}

.mkt-stat-card__stat {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.mkt-stat-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mkt-stat-card__view {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* ---- Classes section background ---- */
.mkt-site--home .mkt-section--classes {
  position: relative;
  max-width: none;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: clamp(560px, 62vw, 780px);
  padding-top: 32px;
  padding-bottom: 32px;
}

.mkt-site--home .mkt-section--classes::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/main/classes.webp') center 42% / cover no-repeat;
  opacity: 0.85;
}

.mkt-site--home .mkt-section--classes::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-page-bg);
  opacity: 0.52;
}

.mkt-site--home .mkt-section--classes > * {
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-site--home .mkt-section--classes .mkt-section__head {
  margin-top: auto;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.mkt-site--home .mkt-section--classes .mkt-class-grid {
  width: 100%;
}

/* ---- RPG Features section background ---- */
.mkt-site--home .mkt-section--rpg-features {
  position: relative;
  max-width: none;
  isolation: isolate;
  background: transparent;
}

.mkt-site--home .mkt-section--rpg-features::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/main/rpg.webp') center / cover no-repeat;
  opacity: 0.85;
}

.mkt-site--home .mkt-section--rpg-features::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-surface);
  opacity: 0.52;
}

.mkt-site--home .mkt-section--rpg-features > * {
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Class cards ---- */
.mkt-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.mkt-class-card {
  border-radius: 14px;
  padding: 28px 22px;
  color: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-class-card--defender {
  background: linear-gradient(135deg, var(--color-class-defender) 0%, var(--color-danger-dark) 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}

.mkt-class-card--wizard {
  background: linear-gradient(135deg, var(--color-class-wizard) 0%, var(--color-info-dark) 100%);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.28);
}

.mkt-class-card--healer {
  background: linear-gradient(135deg, var(--color-class-healer) 0%, var(--color-success-dark) 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

.mkt-class-card--tinkerer {
  background: linear-gradient(135deg, var(--color-class-tinkerer) 0%, var(--color-warning-dark) 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);
}

.mkt-class-card:hover {
  transform: translateY(-4px);
}

.mkt-class-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: 0.95;
}

.mkt-class-card__title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.mkt-class-card__body {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.92;
  margin-bottom: 10px;
}

.mkt-class-card__perk {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.85;
}

/* ---- Comparison table ---- */
.mkt-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.mkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mkt-table th,
.mkt-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.mkt-table th {
  background: var(--color-brand-hover-bg);
  font-weight: 700;
}

.mkt-table tr:last-child td {
  border-bottom: none;
}

/* ---- Quotes ---- */
.mkt-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.mkt-quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px;
  margin: 0;
}

.mkt-quote__text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}

.mkt-quote__author {
  font-size: 0.85rem;
  font-weight: 700;
}

.mkt-quote__author span {
  font-weight: 400;
  color: var(--color-text-secondary);
}

.mkt-quote--expandable .mkt-quote__text {
  margin-bottom: 12px;
}

.mkt-quote__toggle {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  font-family: inherit;
}

.mkt-quote__toggle:hover {
  text-decoration: underline;
}

/* ---- Testimonial carousel (homepage) ---- */
.mkt-testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
}

.mkt-testimonial-carousel__viewport {
  position: relative;
}

.mkt-testimonial-carousel__slide {
  display: none;
}

.mkt-testimonial-carousel__slide.is-active {
  display: block;
  animation: mkt-carousel-fade 0.35s ease;
}

@keyframes mkt-carousel-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mkt-testimonial-carousel .mkt-quote--carousel {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(124, 115, 255, 0.06), var(--color-surface));
  min-height: 180px;
}

.mkt-testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.mkt-testimonial-carousel__nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.mkt-testimonial-carousel__nav:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-brand-hover-bg);
}

.mkt-testimonial-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-testimonial-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.mkt-testimonial-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

.mkt-testimonial-carousel__more {
  text-align: center;
  margin: 18px 0 0;
}

.mkt-testimonial-carousel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.mkt-testimonial-carousel__link:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .mkt-testimonial-carousel__slide.is-active {
    animation: none;
  }
}

/* ---- CTA ---- */
.mkt-cta {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
}

.mkt-cta__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.mkt-cta__subtitle {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Homepage: vivid colour & life ---- */
.mkt-site--home {
  background: var(--color-page-bg);
}

.mkt-site--home .mkt-hero--home {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  min-height: clamp(640px, 88vh, 920px);
}

.mkt-hero--has-bg {
  position: relative;
  overflow: hidden;
}

.mkt-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mkt-hero__backdrop-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.76;
}

.mkt-hero__backdrop-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 6, 24, 0.62) 0%,
    rgba(8, 6, 24, 0.28) 40%,
    rgba(8, 6, 24, 0.14) 62%,
    rgba(8, 6, 24, 0.38) 100%
  );
}

.mkt-hero__backdrop-glow {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.14), transparent 72%);
  pointer-events: none;
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
  min-height: inherit;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 5vw, 56px);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__inner {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: min(600px, 100%);
  color: #fff;
  text-align: center;
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__inner::before {
  content: '';
  position: absolute;
  inset: -24px -28px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at center,
    rgba(8, 6, 24, 0.44) 0%,
    rgba(8, 6, 24, 0.3) 62%,
    rgba(8, 6, 24, 0.2) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.mkt-hero--has-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--color-page-bg) 100%);
}

@media (min-width: 900px) {
  .mkt-site--home .mkt-hero--has-bg .mkt-hero__overlay {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__inner {
    flex: 0 1 auto;
    max-width: min(600px, 52%);
    margin-left: auto;
    text-align: left;
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__inner::before {
    inset: -28px -32px;
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__actions {
    justify-content: flex-start;
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__subtitle,
  .mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline {
    max-width: none;
  }
}

.mkt-site--home .mkt-hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 115, 255, 0.14);
  border: 1px solid rgba(124, 115, 255, 0.28);
  letter-spacing: 0.08em;
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__eyebrow {
  color: #ede9fe;
  background: rgba(124, 115, 255, 0.22);
  border-color: rgba(196, 181, 253, 0.35);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.mkt-site--home .mkt-hero__title {
  background: linear-gradient(135deg, var(--color-text) 0%, #4c1d95 55%, var(--color-brand-quest) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mkt-site--home .mkt-hero__accent {
  background: linear-gradient(135deg, var(--color-brand-quest) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mkt-site--home .mkt-hero__tagline {
  color: var(--color-primary-dark);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline {
  color: #fff;
  font-weight: 600;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.75);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline--motto {
  color: #fff;
  background: none;
  box-shadow: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.45);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline--motto .mkt-motto__teach,
.mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline--motto .mkt-motto__quest,
.mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline--motto .mkt-motto__repeat {
  color: #fff;
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__subtitle,
.mkt-site--home .mkt-hero--has-bg .mkt-hero__note {
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.7);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__title {
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 12px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
}

.mkt-site--home .mkt-hero--has-bg .mkt-hero__accent {
  color: #fcd34d;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 12px rgba(0, 0, 0, 0.85);
}

.mkt-site a.mkt-btn--ghost.mkt-btn--ghost-on-dark {
  color: #fff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(8, 6, 24, 0.55);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mkt-site a.mkt-btn--ghost.mkt-btn--ghost-on-dark:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(8, 6, 24, 0.68);
}

.mkt-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.mkt-hero__highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 115, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: 0 4px 16px rgba(124, 115, 255, 0.1);
  backdrop-filter: blur(8px);
}

.mkt-hero__highlight i {
  color: var(--color-primary);
}

.mkt-hero__highlight:nth-child(2) i {
  color: var(--color-brand-quest);
}

.mkt-hero__highlight:nth-child(3) i {
  color: #d97706;
}

@keyframes mktHeroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.mkt-btn--glow {
  box-shadow: 0 8px 28px rgba(124, 115, 255, 0.38);
}

.mkt-btn--glow:hover {
  box-shadow: 0 12px 36px rgba(124, 115, 255, 0.48);
}

.mkt-site--home .mkt-banner--classcraft {
  margin-top: clamp(48px, 7vw, 80px);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.14), rgba(124, 115, 255, 0.16));
  border: 1px solid rgba(124, 115, 255, 0.28);
  box-shadow: 0 12px 40px rgba(124, 115, 255, 0.1);
}

.mkt-site--home .mkt-section--alt {
  background:
    linear-gradient(180deg, rgba(124, 115, 255, 0.08) 0%, rgba(255, 107, 107, 0.05) 100%),
    var(--color-surface);
}

.mkt-site--home .mkt-card__icon {
  background: linear-gradient(135deg, rgba(124, 115, 255, 0.18), rgba(255, 107, 107, 0.12));
}

.mkt-site--home .mkt-card-grid .mkt-card:nth-child(3n + 2) .mkt-card__icon {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.16), rgba(251, 191, 36, 0.12));
  color: var(--color-brand-quest);
}

.mkt-site--home .mkt-card-grid .mkt-card:nth-child(3n) .mkt-card__icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(14, 165, 233, 0.12));
  color: var(--color-success-dark);
}

.mkt-site--home .mkt-card--link:hover {
  border-color: rgba(124, 115, 255, 0.45);
  box-shadow: 0 16px 40px rgba(124, 115, 255, 0.16);
}

.mkt-stat-card--hp {
  border-color: rgba(239, 68, 68, 0.28);
  background: linear-gradient(160deg, rgba(239, 68, 68, 0.08), var(--color-page-bg));
}

.mkt-stat-card--hp .mkt-stat-card__stat {
  color: #ef4444;
}

.mkt-stat-card--mp {
  border-color: rgba(14, 165, 233, 0.28);
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), var(--color-page-bg));
}

.mkt-stat-card--mp .mkt-stat-card__stat {
  color: #0ea5e9;
}

.mkt-stat-card--xp {
  border-color: rgba(124, 115, 255, 0.32);
  background: linear-gradient(160deg, rgba(124, 115, 255, 0.1), var(--color-page-bg));
}

.mkt-stat-card--xp .mkt-stat-card__stat {
  color: var(--color-primary);
}

.mkt-stat-card--gp {
  border-color: rgba(245, 158, 11, 0.32);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.12), var(--color-page-bg));
}

.mkt-stat-card--gp .mkt-stat-card__stat {
  color: #d97706;
}

.mkt-site--home .mkt-cta {
  background:
    radial-gradient(ellipse 80% 120% at 20% 0%, rgba(255, 107, 107, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 100% at 80% 100%, rgba(251, 191, 36, 0.2), transparent 50%),
    linear-gradient(135deg, var(--color-primary) 0%, #5b21b6 48%, var(--color-primary-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mkt-site--home .mkt-hero__highlight {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(167, 139, 250, 0.25);
}

[data-theme="dark"] .mkt-site--home .mkt-hero__title {
  background: linear-gradient(135deg, #f8fafc 0%, #c4b5fd 55%, #fca5a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="dark"] .mkt-site--home .mkt-hero--has-bg .mkt-hero__title {
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

[data-theme="dark"] .mkt-site--home .mkt-hero--has-bg .mkt-hero__accent {
  color: #fcd34d;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

[data-season] .mkt-site--home .mkt-hero--has-bg {
  background: transparent !important;
  border-color: transparent !important;
}

[data-season] .mkt-site--home .mkt-hero--has-bg .mkt-hero__title,
[data-season] .mkt-site--home .mkt-hero--has-bg .mkt-hero__subtitle,
[data-season] .mkt-site--home .mkt-hero--has-bg .mkt-hero__tagline {
  color: #fff !important;
}

[data-season] .mkt-site--home .mkt-hero--has-bg .mkt-hero__accent {
  color: #fcd34d !important;
}

/* ---- Feature detail pages ---- */
.mkt-feature-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.mkt-breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mkt-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.mkt-feature-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.mkt-feature-hero--with-shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 44%);
  gap: 28px;
  align-items: center;
}

.mkt-feature-hero__copy {
  min-width: 0;
}

.mkt-feature-hero-shot {
  margin: 0;
  min-width: 0;
}

.mkt-feature-hero-shot__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: var(--color-page-bg);
}

.mkt-feature-hero--wide {
  display: block;
}

.mkt-feature-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.mkt-feature-hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--color-success);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.mkt-feature-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 8px;
}

.mkt-feature-hero__sub {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.mkt-feature-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.mkt-feature-highlights {
  margin: 0 0 28px;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.mkt-feature-highlights li {
  margin-bottom: 8px;
}

.mkt-teacher-angle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--color-brand-hover-bg);
  border-radius: 12px;
  margin-bottom: 32px;
  border-left: 4px solid var(--color-primary);
}

.mkt-teacher-angle i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 2px;
}

.mkt-detail-section {
  margin-bottom: 32px;
}

.mkt-detail-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.mkt-detail-section__body {
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.mkt-detail-aside {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.mkt-detail-aside h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mkt-detail-aside a {
  color: var(--color-brand-quest);
  font-weight: 700;
}

.mkt-related {
  margin-top: 48px;
}

.mkt-related h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.mkt-feature-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px 24px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.mkt-feature-cta h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 8px;
}

.mkt-feature-cta p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.mkt-feature-cta .mkt-btn + .mkt-btn {
  margin-left: 12px;
}

/* ---- Footer ---- */
.mkt-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 24px 24px;
}

.mkt-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 40px 48px;
  align-items: start;
}

.mkt-footer__brand {
  max-width: 260px;
}

.mkt-footer__brand-link {
  display: inline-block;
  text-decoration: none;
}

.mkt-footer__logo {
  width: auto;
  height: 56px;
  object-fit: contain;
  display: block;
}

.mkt-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}

.mkt-footer__section--rpg {
  grid-column: span 2;
}

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

.mkt-footer__tagline {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-top: 8px;
}

.mkt-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.mkt-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mkt-footer__list a {
  display: block;
  padding: 4px 0;
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.mkt-footer__list a:hover {
  color: var(--color-primary);
}

.mkt-footer__bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.mkt-footer__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}

.mkt-footer__meta-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.mkt-footer__meta-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.mkt-footer__meta-links a:hover {
  color: var(--color-primary);
}

.mkt-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mkt-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mkt-footer__social-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .mkt-hero {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .mkt-site--home .mkt-hero--has-bg {
    min-height: clamp(560px, 82vh, 760px);
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__overlay {
    padding-top: clamp(40px, 7vw, 72px);
    padding-bottom: clamp(40px, 7vw, 72px);
  }

  .mkt-site--home .mkt-hero--has-bg .mkt-hero__inner::before {
    inset: -20px -18px;
  }

  .mkt-hero__backdrop-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 6, 24, 0.68) 0%,
      rgba(8, 6, 24, 0.34) 45%,
      rgba(8, 6, 24, 0.48) 100%
    );
  }

  .mkt-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mkt-footer__brand {
    max-width: none;
  }

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

  .mkt-footer__section--rpg {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .mkt-nav__logo {
    height: 58px;
  }

  .mkt-footer__links {
    grid-template-columns: 1fr;
  }

  .mkt-footer__section--rpg {
    grid-column: span 1;
  }

  .mkt-footer__columns {
    grid-template-columns: 1fr;
  }

  .mkt-feature-cta .mkt-btn + .mkt-btn,
  .mkt-rich-cta__actions .mkt-btn + .mkt-btn {
    margin-left: 0;
    margin-top: 10px;
    display: block;
  }

  .mkt-rich-page {
    padding: 24px 16px 56px;
  }
}

/* Compact / overflow nav — toggled by JS when menu no longer fits */
.mkt-nav--compact .mkt-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.mkt-nav--compact .mkt-nav__drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: var(--shadow-md);
  margin-left: 0;
  min-width: 0;
  max-height: min(80vh, 40rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mkt-nav--compact .mkt-nav__drawer.is-open {
  display: flex;
}

.mkt-nav--compact .mkt-nav__links {
  display: flex;
  position: static;
  flex: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.mkt-nav--compact .mkt-nav__tray {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-left: 0;
  gap: 10px;
}

.mkt-nav--compact .mkt-nav__guest {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.mkt-nav--app-shell.mkt-nav--compact .mkt-nav__guest {
  border-top: none;
  padding-top: 0;
}

.mkt-nav--compact .mkt-nav__link {
  white-space: normal;
  width: 100%;
  justify-content: flex-start;
}

.mkt-nav--compact .mkt-nav__guest .mkt-nav__link--btn {
  justify-content: center;
  min-height: 44px;
}

.mkt-nav--compact .mkt-nav__lang {
  width: 100%;
}

.mkt-nav--compact .mkt-nav__lang-trigger {
  width: 100%;
  height: 44px;
}

.mkt-nav--compact .mkt-nav__lang-menu {
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
}

.mkt-nav--compact .mkt-nav__social--in-dropdown {
  justify-content: flex-start;
  margin-top: 4px;
}

.mkt-nav--compact .mkt-nav__item--dropdown.is-open .mkt-nav__dropdown,
.mkt-nav--compact .mkt-nav__item--dropdown:hover .mkt-nav__dropdown {
  display: grid;
  position: static;
  margin-top: 8px;
  padding: 12px;
  box-shadow: none;
  border: none;
  grid-template-columns: 1fr;
  max-height: none;
}

.mkt-nav--compact .mkt-nav__item--dropdown.is-open .mkt-nav__dropdown--simple,
.mkt-nav--compact .mkt-nav__item--dropdown:hover .mkt-nav__dropdown--simple {
  display: block;
}

/* ---- Rich marketing pages (What is, Classcraft, About) ---- */
.mkt-english-only-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 1.25rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-brand-hover-bg, rgba(88, 80, 236, 0.08));
  color: var(--color-text);
}

.mkt-english-only-notice i {
  margin-top: 2px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mkt-english-only-notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.mkt-rich-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.mkt-rich-hero {
  text-align: center;
  margin-bottom: 40px;
}

.mkt-rich-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.mkt-rich-hero__sub {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Testimonials showcase page ---- */
.mkt-site--testimonials {
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(255, 107, 107, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 8%, rgba(251, 191, 36, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(124, 115, 255, 0.08), transparent 55%),
    var(--color-page-bg);
}

.mkt-site--testimonials .mkt-rich-page {
  max-width: 920px;
  padding-top: 24px;
  padding-bottom: 88px;
}

.mkt-voices-hero {
  text-align: center;
  padding: 48px 8px 56px;
  margin-bottom: 8px;
  position: relative;
}

.mkt-voices-hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-quest);
  margin: 0 0 14px;
}

.mkt-voices-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--color-text);
}

.mkt-voices-hero__sub {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 22px;
}

.mkt-voices-hero__count {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
}

.mkt-voices {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mkt-voice {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  align-items: start;
}

.mkt-voice:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  margin-bottom: 48px;
}

.mkt-voice__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: sticky;
  top: 110px;
}

.mkt-voice__index {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
}

.mkt-voice__mark {
  font-family: 'Cinzel', serif;
  font-size: 5rem;
  line-height: 0.75;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.35;
  user-select: none;
}

.mkt-voice--accent-2 .mkt-voice__mark {
  color: var(--color-brand-quest);
}

.mkt-voice--accent-3 .mkt-voice__mark {
  color: #d97706;
}

.mkt-voice__content {
  max-width: 640px;
  padding-top: 6px;
}

.mkt-voice__lead {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0 0 18px;
}

.mkt-voice__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin: 0;
}

.mkt-voice__theme {
  margin: 22px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.mkt-voice--accent-1 .mkt-voice__theme {
  color: var(--color-primary);
}

.mkt-voice--accent-2 .mkt-voice__theme {
  color: var(--color-brand-quest);
}

.mkt-voice--accent-3 .mkt-voice__theme {
  color: #d97706;
}

.mkt-rich-cta--voices {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .mkt-voice {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 0;
  }

  .mkt-voice__rail {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    position: static;
  }

  .mkt-voice__mark {
    font-size: 3.2rem;
    line-height: 1;
  }

  .mkt-voices-hero {
    padding: 28px 0 36px;
  }
}

[data-theme="dark"] .mkt-site--testimonials {
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(255, 107, 107, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 8%, rgba(251, 191, 36, 0.1), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(124, 115, 255, 0.14), transparent 55%),
    var(--color-page-bg);
}

[data-theme="dark"] .mkt-voice__mark {
  opacity: 0.45;
}

.mkt-rich-section {
  margin-bottom: 48px;
}

.mkt-rich-section__title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.mkt-rich-section__intro,
.mkt-rich-section__outro {
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.mkt-disclaimer {
  padding: 16px 18px;
  background: var(--color-background-secondary);
  border-left: 4px solid var(--color-warning, #d97706);
  border-radius: 10px;
  margin-bottom: 40px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.mkt-disclaimer strong {
  display: block;
  margin-bottom: 6px;
}

.mkt-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.mkt-info-card {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mkt-info-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.mkt-lookback-list,
.mkt-pitch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.mkt-lookback-list li,
.mkt-pitch-list li {
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  line-height: 1.55;
}

.mkt-lookback-list strong,
.mkt-pitch-list strong {
  display: block;
  margin-bottom: 4px;
}

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

.mkt-pillar-grid--core {
  gap: 20px;
}

@media (min-width: 1024px) {
  .mkt-pillar-grid--core {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mkt-site--home .mkt-section--core .mkt-pillar-card {
  height: 100%;
  background: var(--color-page-bg);
  border-color: rgba(124, 115, 255, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mkt-site--home .mkt-section--core .mkt-pillar-card:hover {
  border-color: rgba(124, 115, 255, 0.35);
  box-shadow: 0 12px 32px rgba(124, 115, 255, 0.1);
}

.mkt-site--home .mkt-section--core .mkt-pillar-card:nth-child(1) .mkt-pillar-card__icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-danger-dark);
}

.mkt-site--home .mkt-section--core .mkt-pillar-card:nth-child(2) .mkt-pillar-card__icon {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-info-dark);
}

.mkt-site--home .mkt-section--core .mkt-pillar-card:nth-child(3) .mkt-pillar-card__icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success-dark);
}

.mkt-site--home .mkt-section--core .mkt-pillar-card:nth-child(4) .mkt-pillar-card__icon {
  background: rgba(251, 191, 36, 0.16);
  color: var(--color-warning-dark);
}

.mkt-pillar-card {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.mkt-pillar-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mkt-pillar-card__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.mkt-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mkt-compare-table th,
.mkt-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.mkt-compare-table th {
  background: var(--color-background-secondary);
  font-weight: 700;
}

.mkt-compare-table th:nth-child(2),
.mkt-compare-table td:nth-child(2) {
  text-align: center;
  color: var(--color-success);
}

.mkt-compare-table th:nth-child(3),
.mkt-compare-table td:nth-child(3) {
  text-align: center;
}

.mkt-compare-yes {
  color: var(--color-success);
}

.mkt-compare-no {
  color: var(--color-text-secondary);
}

.mkt-compare-partial {
  color: var(--color-warning, #d97706);
}

.mkt-compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.mkt-compare-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mkt-compare-wrap--wide {
  -webkit-overflow-scrolling: touch;
}

.mkt-compare-table--multi {
  min-width: 920px;
}

.mkt-compare-table--multi th,
.mkt-compare-table--multi td {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.mkt-compare-table--multi .mkt-compare-feature-col {
  text-align: left;
  white-space: normal;
  min-width: 220px;
  max-width: 280px;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--color-surface);
  font-weight: 600;
  box-shadow: 4px 0 8px -6px rgba(0, 0, 0, 0.18);
}

.mkt-compare-table--multi thead .mkt-compare-feature-col {
  background: var(--color-background-secondary);
  z-index: 2;
}

.mkt-compare-table--multi .mkt-compare-col--tq,
.mkt-compare-table--multi td.mkt-compare-col--tq {
  background: rgba(124, 115, 255, 0.08);
}

.mkt-compare-table--multi thead .mkt-compare-col--tq {
  color: var(--color-primary);
  background: rgba(124, 115, 255, 0.14);
}

.mkt-compare-table--multi tbody tr:hover .mkt-compare-feature-col {
  background: var(--color-background-secondary);
}

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

.mkt-competitor-card {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mkt-competitor-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.mkt-competitor-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(124, 115, 255, 0.12);
  color: var(--color-primary);
}

.mkt-competitor-card__name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  margin: 0 0 2px;
}

.mkt-competitor-card__category {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

.mkt-competitor-card__label {
  margin: 8px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.mkt-competitor-card__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.mkt-competitor-card__body--tq {
  color: var(--color-text);
}

.mkt-competitor-card__link {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mkt-competitor-card__link:hover {
  text-decoration: underline;
}

.mkt-compare-deep {
  margin-bottom: 48px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(124, 115, 255, 0.28);
  background:
    radial-gradient(circle at top left, rgba(124, 115, 255, 0.1), transparent 55%),
    var(--color-surface);
}

.mkt-compare-deep .mkt-btn {
  margin-top: 4px;
}

@media (max-width: 760px) {
  .mkt-competitor-grid {
    grid-template-columns: 1fr;
  }
}

.mkt-compare-table--text th[scope='row'] {
  font-weight: 600;
  white-space: nowrap;
  width: 22%;
}

.mkt-compare-table--text td {
  font-size: 0.88rem;
  line-height: 1.5;
  vertical-align: top;
}

.mkt-compare-table--text th:nth-child(2),
.mkt-compare-table--text td:nth-child(2) {
  text-align: left;
  color: var(--color-text-secondary);
}

.mkt-compare-table--text th:nth-child(3),
.mkt-compare-table--text td:nth-child(3) {
  text-align: left;
}

.mkt-compare-tq {
  color: var(--color-text);
  font-weight: 500;
}

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

.mkt-cc-map-card {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-cc-map-card__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mkt-cc-map-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mkt-cc-map-card__was {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.mkt-cc-map-card__now {
  font-size: 1.05rem;
  line-height: 1.3;
}

.mkt-cc-map-card__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.mkt-cc-map-card__improved {
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--color-background-secondary);
  border-radius: 8px;
  margin: 0;
}

.mkt-cc-map-card__improved strong {
  color: var(--color-primary);
}

.mkt-cc-map-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

.mkt-rich-section--beyond {
  padding: 28px;
  background: linear-gradient(135deg, rgba(124, 115, 255, 0.06), rgba(16, 185, 129, 0.04));
  border: 1px solid rgba(124, 115, 255, 0.12);
  border-radius: 16px;
}

.mkt-cc-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mkt-cc-new-card {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.mkt-cc-new-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 10px;
}

.mkt-cc-new-card__title {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.mkt-cc-new-card__body {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin-bottom: 8px;
}

.mkt-cc-new-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 960px) {
  .mkt-cc-map-grid {
    grid-template-columns: 1fr;
  }

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

  .mkt-compare-table--text th[scope='row'] {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .mkt-cc-new-grid {
    grid-template-columns: 1fr;
  }
}

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

.mkt-highlight-card {
  padding: 20px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-highlight-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

.mkt-stat-block {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-stat-block__stat {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.mkt-stat-block__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mkt-stat-block__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.mkt-stat-block__example {
  font-size: 0.85rem;
  padding: 8px 10px;
  background: var(--color-brand-hover-bg);
  border-radius: 8px;
}

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

.mkt-hero-class {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-hero-class__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.mkt-hero-class__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mkt-hero-class--defender .mkt-hero-class__icon {
  background: linear-gradient(135deg, var(--color-class-defender), var(--color-danger-dark));
}

.mkt-hero-class--wizard .mkt-hero-class__icon {
  background: linear-gradient(135deg, var(--color-class-wizard), var(--color-info-dark));
}

.mkt-hero-class--healer .mkt-hero-class__icon {
  background: linear-gradient(135deg, var(--color-class-healer), var(--color-success-dark));
}

.mkt-hero-class--tinkerer .mkt-hero-class__icon {
  background: linear-gradient(135deg, var(--color-class-tinkerer), var(--color-warning-dark));
}

.mkt-hero-class--defender .mkt-hero-class__title {
  color: var(--color-class-defender);
}

.mkt-hero-class--wizard .mkt-hero-class__title {
  color: var(--color-class-wizard);
}

.mkt-hero-class--healer .mkt-hero-class__title {
  color: var(--color-class-healer);
}

.mkt-hero-class--tinkerer .mkt-hero-class__title {
  color: var(--color-class-tinkerer);
}

.mkt-hero-class__title {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.mkt-hero-class__stats {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.mkt-hero-class__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.mkt-hero-class__perks {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.mkt-key-feature-list {
  display: grid;
  gap: 16px;
}

.mkt-key-feature {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-key-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-key-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.mkt-key-feature p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.mkt-key-feature__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.mkt-aside-note {
  padding: 16px 20px;
  margin-bottom: 8px;
  background: var(--color-background-secondary);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
}

.mkt-aside-note__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0 0 8px;
}

.mkt-aside-note__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.mkt-rich-section__subtitle {
  font-size: 1.05rem;
  margin: 24px 0 12px;
}

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

.mkt-pedagogy-card {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-pedagogy-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.mkt-pedagogy-card__title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mkt-pedagogy-card__body {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.mkt-rich-section--research {
  padding: 24px;
  background: var(--color-background-secondary);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.mkt-research-list {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mkt-research-card {
  margin: 0;
  padding: 16px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.mkt-research-card__finding {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 10px;
}

.mkt-research-card__source {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.mkt-research-card__source cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
}

.mkt-research-takeaway {
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--color-surface);
  border-radius: 10px;
  border: 1px solid rgba(124, 115, 255, 0.2);
  margin: 0;
}

.mkt-classroom-stat {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-classroom-stat__label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin: 0 0 6px;
}

.mkt-classroom-stat__rpg {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.mkt-classroom-stat__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0 0 10px;
}

.mkt-classroom-stat__example {
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--color-background-secondary);
  border-radius: 8px;
  margin: 0;
}

.mkt-ped-feature-list {
  display: grid;
  gap: 14px;
}

.mkt-ped-feature {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-ped-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-ped-feature__title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.mkt-ped-feature__rpg {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.mkt-ped-feature__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.mkt-ped-feature__why {
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--color-background-secondary);
  border-radius: 8px;
  margin-bottom: 8px;
}

.mkt-ped-feature__why strong {
  color: var(--color-text);
}

.mkt-ped-feature__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.mkt-team-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.mkt-team-role {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-team-role__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.mkt-team-role__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-team-role__title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.mkt-team-role__role {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.mkt-team-role__body {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.mkt-team-benefits {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-team-benefits__list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.mkt-team-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mkt-team-col {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-team-col h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.mkt-team-col ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
  font-size: 0.92rem;
}

.mkt-steps {
  display: grid;
  gap: 16px;
}

.mkt-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-step__title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.mkt-step__body {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.mkt-rich-cta {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: 16px;
  margin-top: 16px;
}

.mkt-rich-cta__title {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.mkt-rich-cta__sub {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 20px;
  line-height: 1.5;
}

.mkt-rich-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mkt-rich-cta .mkt-btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.mkt-rich-cta .mkt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mkt-creator-list {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

.mkt-creator {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mkt-creator__media {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.mkt-creator__content {
  min-width: 0;
}

.mkt-creator__photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.mkt-creator__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mkt-creator__name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.mkt-creator__role {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.mkt-creator__bio {
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

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

.mkt-mission-card {
  padding: 20px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

/* Must come after base grid definitions so mobile overrides actually win */
@media (max-width: 720px) {
  .mkt-creator {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .mkt-creator__media {
    margin: 0 auto;
    max-width: min(280px, 100%);
  }

  .mkt-creator__content {
    text-align: left;
  }

  .mkt-creator__name {
    text-align: center;
  }

  .mkt-creator__role {
    text-align: center;
  }

  .mkt-hero-class-grid,
  .mkt-stat-grid,
  .mkt-pillar-grid,
  .mkt-info-grid,
  .mkt-highlight-grid,
  .mkt-mission-grid {
    grid-template-columns: 1fr;
  }
}

.mkt-mission-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--color-brand-hover-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mkt-mission-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mkt-mission-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

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

@media (max-width: 720px) {
  .mkt-pedagogy-grid,
  .mkt-team-role-grid {
    grid-template-columns: 1fr;
  }

  .mkt-ped-feature {
    flex-direction: column;
  }

  .mkt-team-cols {
    grid-template-columns: 1fr;
  }

  .mkt-feature-hero--with-shot {
    grid-template-columns: 1fr;
  }

  .mkt-feature-hero-shot {
    order: -1;
  }

  .mkt-blog-hero__title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .mkt-blog-adjacent {
    grid-template-columns: 1fr;
  }
}

/* -- Blog -- */
.mkt-blog {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.mkt-blog--index {
  max-width: 960px;
}

.mkt-blog-hero {
  margin-bottom: 2.75rem;
  text-align: left;
}

.mkt-blog-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-teach, #7C73FF);
}

.mkt-blog-hero__title {
  margin: 0 0 0.85rem;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1.1;
  color: var(--color-text, #1F2937);
}

.mkt-blog-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #6B7280);
}

.mkt-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.mkt-blog-card {
  padding: 0 0 1.75rem;
  border-bottom: 1px solid rgba(124, 115, 255, 0.16);
}

.mkt-blog-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mkt-blog-card__meta {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-quest, #FF6B6B);
}

.mkt-blog-card__title {
  margin: 0 0 0.55rem;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
}

.mkt-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.mkt-blog-card__title a:hover {
  color: var(--color-brand-teach, #7C73FF);
}

.mkt-blog-card__excerpt {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #6B7280);
}

.mkt-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand-teach, #7C73FF);
  text-decoration: none;
}

.mkt-blog-card__link:hover {
  color: var(--color-brand-quest, #FF6B6B);
}

.mkt-blog-post-hero {
  margin-bottom: 2rem;
}

.mkt-blog-post-hero__crumb {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mkt-blog-post-hero__crumb a {
  color: var(--color-brand-teach, #7C73FF);
  text-decoration: none;
}

.mkt-blog-post-hero__title {
  margin: 0 0 0.85rem;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  color: var(--color-text, #1F2937);
}

.mkt-blog-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary, #6B7280);
}

.mkt-blog-prose {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text, #1F2937);
}

.mkt-blog-prose > *:first-child {
  margin-top: 0;
}

.mkt-blog-prose h2,
.mkt-blog-prose h3,
.mkt-blog-prose h4 {
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

.mkt-blog-prose p {
  margin: 0 0 1.15rem;
}

.mkt-blog-prose ul,
.mkt-blog-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.mkt-blog-prose li {
  margin-bottom: 0.4rem;
}

.mkt-blog-prose a {
  color: var(--color-brand-teach, #7C73FF);
  font-weight: 600;
}

.mkt-blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.mkt-blog-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(124, 115, 255, 0.16);
}

.mkt-blog-adjacent__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.mkt-blog-adjacent__link span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-quest, #FF6B6B);
}

.mkt-blog-adjacent__link strong {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--color-text, #1F2937);
}

.mkt-blog-adjacent__link:hover strong {
  color: var(--color-brand-teach, #7C73FF);
}

.mkt-blog-adjacent__link--next {
  text-align: right;
  justify-self: end;
}

.mkt-blog-cta {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(124, 115, 255, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 107, 107, 0.12), transparent 50%),
    #f7f5ff;
  text-align: center;
}

.mkt-blog-cta h2 {
  margin: 0 0 0.5rem;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.mkt-blog-cta p {
  margin: 0 0 1.15rem;
  color: var(--color-text-secondary, #6B7280);
}

.mkt-blog-empty,
.mkt-blog--missing {
  text-align: center;
  padding: 3rem 1rem;
}

.mkt-blog--missing h1 {
  font-family: Cinzel, Georgia, "Times New Roman", serif;
}

/* ========== Press Kit ========== */
.mkt-press-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--color-text);
}

.mkt-press-list {
  margin: 0 0 8px;
  padding-left: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.mkt-press-list li + li {
  margin-top: 8px;
}

.mkt-press-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mkt-press-diff {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-press-diff__title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--color-primary);
}

.mkt-press-diff__body {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}

.mkt-press-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mkt-press-fact {
  text-align: center;
  padding: 28px 16px;
  background:
    linear-gradient(160deg, rgba(0, 24, 72, 0.08), rgba(0, 144, 160, 0.06) 55%, transparent 80%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-press-fact__value {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #001848;
  line-height: 1.1;
  margin-bottom: 8px;
}

.mkt-press-fact__label {
  display: block;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

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

.mkt-press-feature {
  display: block;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-press-feature:hover {
  border-color: rgba(0, 144, 160, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mkt-press-feature__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 24, 72, 0.1);
  color: #0090a0;
  margin-bottom: 12px;
}

.mkt-press-feature__title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.mkt-press-feature__body {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}

.mkt-press-team-list {
  display: grid;
  gap: 28px;
}

.mkt-press-team {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.mkt-press-team__media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.mkt-press-team__name {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  margin: 0 0 4px;
}

.mkt-press-team__role {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-weight: 600;
}

.mkt-press-team__bio {
  margin: 0 0 16px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.mkt-press-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.mkt-press-swatch {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
}

.mkt-press-swatch__chip {
  height: 72px;
}

.mkt-press-swatch__meta {
  padding: 12px;
  display: grid;
  gap: 4px;
}

.mkt-press-swatch__meta strong {
  font-size: 0.9rem;
}

.mkt-press-swatch__meta code {
  font-size: 0.82rem;
  color: var(--color-primary);
}

.mkt-press-swatch__meta span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.mkt-press-boilerplate-list {
  display: grid;
  gap: 16px;
}

.mkt-press-boilerplate {
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-press-boilerplate__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mkt-press-boilerplate__head h3 {
  margin: 0;
  font-size: 1rem;
  font-family: 'Cinzel', serif;
}

.mkt-press-boilerplate__text {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.mkt-press-copy.is-copied {
  border-color: var(--color-success);
  color: var(--color-success);
}

.mkt-press-assets__group + .mkt-press-assets__group {
  margin-top: 32px;
}

.mkt-press-assets__label {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  margin: 0 0 14px;
}

.mkt-press-assets__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mkt-press-asset {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.mkt-press-asset__preview {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(0, 24, 72, 0.08), rgba(0, 144, 160, 0.08)),
    #f4f7fb;
  display: grid;
  place-items: center;
  padding: 12px;
}

.mkt-press-asset__preview img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.mkt-press-asset__meta {
  padding: 14px;
  display: grid;
  gap: 8px;
  flex: 1;
}

.mkt-press-asset__meta h4 {
  margin: 0;
  font-size: 0.95rem;
}

.mkt-press-asset__meta p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  flex: 1;
}

.mkt-press-asset__meta .mkt-btn {
  justify-self: start;
  font-size: 0.85rem;
  padding: 8px 12px;
}

.mkt-press-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.mkt-press-contact__card {
  padding: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.mkt-press-contact__card h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}

.mkt-press-contact__card a,
.mkt-press-contact__card p {
  margin: 0;
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.mkt-press-contact__card a:hover {
  color: var(--color-primary);
}

.mkt-press-contact__social {
  display: grid;
  gap: 8px;
}

.mkt-press-contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text) !important;
  font-weight: 600;
  text-decoration: none;
}

.mkt-press-contact__social-link i {
  color: var(--color-primary);
  width: 1.1em;
  text-align: center;
}

.mkt-press-contact__social-link:hover {
  color: var(--color-primary) !important;
}

@media (max-width: 960px) {
  .mkt-press-diff-grid,
  .mkt-press-feature-grid,
  .mkt-press-swatches,
  .mkt-press-contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-press-facts,
  .mkt-press-assets__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-press-team {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 640px) {
  .mkt-press-diff-grid,
  .mkt-press-feature-grid,
  .mkt-press-facts,
  .mkt-press-swatches,
  .mkt-press-assets__grid,
  .mkt-press-contact__grid {
    grid-template-columns: 1fr;
  }

  .mkt-press-team {
    grid-template-columns: 1fr;
  }

  .mkt-press-team__media {
    max-width: 240px;
  }

  .mkt-press-boilerplate__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
