/* Eloquent Learn — marketing site (Monarch-inspired) */
@import url("https://fonts.googleapis.com/css2?family=Forum&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --m-bg: #faf9f7;
  --m-surface: #ffffff;
  --m-text: #1a1a1a;
  --m-muted: #5c5c5c;
  --m-border: #e8e4df;
  --m-accent: #7c5c3e;
  --m-accent-hover: #634a32;
  --m-accent-soft: #efe6dc;
  --m-warm: #f3ede6;
  --m-radius: 14px;
  --m-radius-pill: 999px;
  --m-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.06);
  --m-max: 1120px;
  --m-brand: "Forum", Georgia, "Times New Roman", serif;
  --m-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --m-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.mkt {
  margin: 0;
  font-family: var(--m-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--m-text);
  background: var(--m-bg);
}

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

.mkt img {
  max-width: 100%;
  display: block;
}

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

/* Promo bar */
.mkt-promo {
  background: #111827;
  color: #f9fafb;
  text-align: center;
  font-size: 0.875rem;
  padding: 10px 16px;
}

.mkt-promo strong {
  font-weight: 600;
}

/* Header */
.mkt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--m-border);
}

.mkt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--m-brand);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.mkt-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--m-accent), #a67c52);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--m-brand);
  font-size: 1.1rem;
}

.mkt-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--m-muted);
}

.mkt-nav a:hover,
.mkt-nav a.is-active {
  color: var(--m-text);
}

.mkt-nav a.is-active {
  font-weight: 600;
}

.mkt-lang {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--m-muted);
  margin-left: 10px;
}

.mkt-lang:hover {
  color: var(--m-accent);
}

.mkt-lang--mobile {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  margin-left: 0;
}

@media (min-width: 768px) {
  .mkt-lang--mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .mkt-nav .mkt-lang {
    display: none;
  }
}

html[lang="zh-CN"] body.mkt {
  font-family: var(--m-sans), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html[lang="zh-CN"] .mkt-section h2,
html[lang="zh-CN"] .mkt-pillar-card h3,
html[lang="zh-CN"] .mkt-value-accordion__label {
  font-family: var(--m-serif), "Songti SC", "Noto Serif SC", serif;
}

.mkt-footer__tag {
  color: var(--m-muted);
  margin: 14px 0 0;
  max-width: 32ch;
  font-size: 0.92rem;
}

/* Subpage hero */
.mkt-page-hero {
  padding: 56px 0 40px;
  background: var(--m-warm);
  border-bottom: 1px solid var(--m-border);
}

.mkt-page-hero h1 {
  font-family: var(--m-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 18ch;
}

.mkt-page-hero--wide h1 {
  max-width: 24ch;
}

.mkt-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Cards grid */
.mkt-cards {
  display: grid;
  gap: 16px;
}

.mkt-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 22px;
}

.mkt-card h3 {
  font-family: var(--m-serif);
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.mkt-card p {
  margin: 0 0 14px;
  color: var(--m-muted);
  font-size: 0.95rem;
}

/* Curriculum table */
.mkt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  background: var(--m-surface);
}

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

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

.mkt-table th {
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

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

.mkt-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--m-accent-soft);
  color: var(--m-accent);
}

/* FAQ */
.mkt-faq {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.mkt-faq details {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 14px 16px;
}

.mkt-faq summary {
  font-weight: 600;
  cursor: pointer;
}

.mkt-faq p {
  margin: 12px 0 0;
  color: var(--m-muted);
  font-size: 0.95rem;
}

/* Why cards (pricing) */
.mkt-why-grid {
  display: grid;
  gap: 14px;
}

.mkt-why {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 18px;
}

.mkt-why h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.mkt-why p {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.92rem;
}

/* Bullet list */
.mkt-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--m-muted);
}

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

/* Two column layout */
.mkt-split {
  display: grid;
  gap: 32px;
  align-items: start;
}

.mkt-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mkt-menu-btn {
  display: inline-flex;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mkt-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--m-text);
  position: relative;
}

.mkt-menu-btn span::before,
.mkt-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--m-text);
}

.mkt-menu-btn span::before {
  top: -5px;
}

.mkt-menu-btn span::after {
  top: 5px;
}

.mkt-mobile-nav {
  display: none;
  border-top: 1px solid var(--m-border);
  padding: 12px 0 18px;
}

.mkt-mobile-nav.is-open {
  display: block;
}

.mkt-mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--m-muted);
}

/* Buttons */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--m-radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.mkt a.mkt-btn--primary,
.mkt a.mkt-btn--primary:hover,
.mkt a.mkt-btn--primary:focus-visible {
  color: #fff;
}

.mkt-btn--primary:hover {
  background: var(--m-accent-hover);
}

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

.mkt-btn--ghost:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.mkt-btn--light {
  background: #fff;
  color: var(--m-accent);
}

.mkt-btn--light:hover {
  background: #faf7f4;
}

.mkt-btn__label--mobile {
  display: none;
}

/* Hero */
.mkt-hero {
  position: relative;
  overflow: hidden;
}

.mkt-hero--video {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 85vh, 820px);
}

.mkt-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1a1510;
}

.mkt-video-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mkt-hero__video,
.mkt-video-story__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  pointer-events: none;
}

.mkt-hero__video {
  object-position: center center;
  filter: none;
}

.mkt-hero__video--hero {
  object-position: center center;
}

.mkt-video-story__video {
  object-position: center;
  filter: brightness(0.9) contrast(1.06) saturate(0.92);
}

.mkt-hero__video.is-active,
.mkt-video-story__video.is-active {
  opacity: 1;
  z-index: 1;
}

.mkt-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.05) 0%, rgba(20, 16, 12, 0.02) 42%, rgba(20, 16, 12, 0.42) 100%),
    linear-gradient(90deg, rgba(20, 16, 12, 0.14) 0%, transparent 55%);
}

.mkt-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3.5vw, 48px) clamp(20px, 4vh, 36px);
  pointer-events: none;
}

.mkt-hero__stage a,
.mkt-hero__stage button {
  pointer-events: auto;
}

.mkt-hero__panel {
  width: min(840px, calc(100vw - 40px));
  max-width: min(840px, calc(100vw - 40px));
  transform: translateY(-50%);
}

.mkt-hero--video .mkt-hero__panel h1 {
  color: #fff;
  max-width: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.mkt-hero--video .mkt-btn--primary {
  background: var(--m-accent);
  color: #fff;
  border-color: var(--m-accent);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.mkt-hero--video .mkt-btn--primary:hover {
  background: var(--m-accent-hover);
  border-color: var(--m-accent-hover);
  color: #fff;
}

.mkt-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(124, 92, 62, 0.08), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(166, 124, 82, 0.12), transparent 35%),
    var(--m-warm);
}

.mkt-hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.mkt-hero h1 {
  font-family: var(--m-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 16ch;
}

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

.mkt-btn--on-video {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--m-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.mkt-btn--on-video:hover {
  background: #fff;
}

.mkt-hero__card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 4px);
  box-shadow: var(--m-shadow);
  padding: 18px;
}

/* Video story section (Monarch "What is" pattern) */
.mkt-video-story {
  padding-top: 56px;
  padding-bottom: 56px;
}

.mkt-video-story__grid {
  display: grid;
  gap: 32px;
  align-items: center;
  max-width: 720px;
}

.mkt-video-story__grid--split {
  max-width: none;
}

.mkt-video-story__media {
  position: relative;
  border-radius: calc(var(--m-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--m-border);
  box-shadow: var(--m-shadow);
  background: #111;
  aspect-ratio: 16 / 10;
}

.mkt-video-story__media .mkt-video-story__video {
  display: block;
}

.mkt-video-story__copy .mkt-section__lede {
  margin-bottom: 0;
}

#what .mkt-video-story__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

#what .mkt-video-story__copy {
  width: 100%;
}

#what .mkt-section__lede {
  margin-inline: auto;
  text-align: center;
}

#student-outcomes .mkt-video-story__video.is-active {
  opacity: 1;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero__video,
  .mkt-video-story__video {
    transition: none;
  }

  .mkt-value-accordion__panel {
    transition: none;
  }

  .mkt-testimonials__track {
    transition: none;
  }

  .mkt-hero__video:not(.is-active),
  .mkt-video-story__video:not(.is-active) {
    display: none;
  }

  .mkt-hero--video {
    background: var(--m-warm);
  }

  .mkt-video-story__media {
    background: var(--m-warm);
    aspect-ratio: auto;
    min-height: 200px;
  }
}

/* Product screenshots */
.mkt-product-shot {
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 16, 12, 0.08);
}

.mkt-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Product mock UI */
.mkt-ui {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.78rem;
}

.mkt-ui__bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.mkt-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mkt-ui__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.mkt-ui__side {
  background: #fff;
  border-right: 1px solid #e2e8f0;
  padding: 12px 10px;
}

.mkt-ui__side div {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
  color: #64748b;
}

.mkt-ui__side div.is-active {
  background: var(--m-accent-soft);
  color: var(--m-accent);
  font-weight: 600;
}

.mkt-ui__main {
  padding: 14px;
}

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

.mkt-ui__stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.mkt-ui__stat strong {
  display: block;
  font-size: 1rem;
  color: var(--m-text);
}

.mkt-ui__stat span {
  color: #64748b;
}

.mkt-ui__table {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.mkt-ui__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid #f1f5f9;
}

.mkt-ui__row--head {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.mkt-ui__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Sections */
.mkt-section {
  padding: 72px 0;
}

.mkt-section--alt {
  background: var(--m-surface);
  border-block: 1px solid var(--m-border);
}

.mkt-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--m-accent);
  margin-bottom: 12px;
}

.mkt-section h2 {
  font-family: var(--m-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.mkt-section__lede {
  font-size: 1.08rem;
  color: var(--m-muted);
  max-width: 58ch;
  margin: 0 0 24px;
}

/* Value accordion — buyer outcomes + pillar cards */
.mkt-value-accordion {
  padding-top: 0;
  padding-bottom: 56px;
}

.mkt-value-accordion[data-value-accordion] {
  margin: 0 auto;
  max-width: 720px;
  background: var(--m-warm);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 10px);
  box-shadow: var(--m-shadow);
  overflow: hidden;
}

@media (min-width: 900px) {
  .mkt-value-accordion[data-value-accordion] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .mkt-value-accordion__item {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--m-warm);
    border: 1px solid var(--m-border);
    border-radius: calc(var(--m-radius) + 10px);
    box-shadow: var(--m-shadow);
    overflow: hidden;
  }

  .mkt-value-accordion__item + .mkt-value-accordion__item {
    border-top: none;
  }

  .mkt-value-accordion__trigger {
    flex: 0 0 auto;
    cursor: default;
    pointer-events: none;
  }

  .mkt-value-accordion__trigger:hover,
  .mkt-value-accordion__trigger.is-active {
    background: transparent;
  }

  .mkt-value-accordion__label {
    max-width: none;
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  }

  .mkt-value-accordion__panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    grid-template-rows: 1fr;
  }

  .mkt-value-accordion__panel-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .mkt-value-accordion__panel-inner > .mkt-pillar-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
  }

  .mkt-value-accordion__panel-inner > .mkt-pillar-card .mkt-pillar-card__list {
    flex: 1;
  }

  .mkt-pillar-card h3 {
    max-width: none;
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  }
}

.mkt-value-accordion__item + .mkt-value-accordion__item {
  border-top: 1px solid var(--m-border);
}

.mkt-value-accordion__trigger {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 32px);
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mkt-value-accordion__trigger:hover,
.mkt-value-accordion__trigger.is-active {
  background: rgba(255, 255, 255, 0.45);
}

.mkt-value-accordion__icon {
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.5 14.2 9.8 21.5 12 14.2 14.2 12 21.5 9.8 14.2 2.5 12 9.8 9.8 12 2.5Z' fill='%237c5c3e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.mkt-value-accordion__item:nth-child(2) .mkt-value-accordion__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.5 14.2 9.8 21.5 12 14.2 14.2 12 21.5 9.8 14.2 2.5 12 9.8 9.8 12 2.5Z' fill='%23a67c52'/%3E%3C/svg%3E");
}

.mkt-value-accordion__item:nth-child(3) .mkt-value-accordion__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.5 14.2 9.8 21.5 12 14.2 14.2 12 21.5 9.8 14.2 2.5 12 9.8 9.8 12 2.5Z' fill='%235c4530'/%3E%3C/svg%3E");
}

.mkt-value-accordion__label {
  font-family: var(--m-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--m-text);
}

.mkt-value-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.mkt-value-accordion__panel.is-open {
  grid-template-rows: 1fr;
}

.mkt-value-accordion__panel-inner {
  overflow: hidden;
}

.mkt-value-accordion__panel-inner > .mkt-pillar-card {
  margin: 0 clamp(12px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
  border-radius: calc(var(--m-radius) + 4px);
  box-shadow: none;
}

/* Pillar cards — MagicSchool-style audience blocks */
.mkt-pillar-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 10px);
  box-shadow: var(--m-shadow);
  padding: clamp(32px, 5vw, 52px) clamp(24px, 4vw, 40px);
  text-align: center;
}

.mkt-pillar-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--m-accent);
  margin: 0 0 16px;
}

.mkt-pillar-card h3 {
  font-family: var(--m-serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 auto 28px;
  max-width: 24ch;
}

.mkt-pillar-card__list {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 34ch;
  text-align: left;
}

.mkt-pillar-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--m-muted);
  font-weight: 500;
  line-height: 1.45;
}

.mkt-pillar-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--m-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11 12.5 5' stroke='%237c5c3e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Platform stack */
.mkt-platform-stack {
  margin-top: 36px;
}

.mkt-platform-stack .mkt-feature:first-child {
  padding-top: 0;
}

/* Feature rows */
.mkt-feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
}

.mkt-feature + .mkt-feature {
  border-top: 1px solid var(--m-border);
}

.mkt-feature__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-accent);
  margin-bottom: 10px;
}

.mkt-feature h3 {
  font-family: var(--m-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 12px;
}

.mkt-feature p {
  color: var(--m-muted);
  margin: 0;
  max-width: 48ch;
}

/* Testimonials carousel */
.mkt-testimonials {
  overflow: hidden;
}

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

.mkt-testimonials__header h2 {
  margin-inline: auto;
  max-width: 20ch;
}

.mkt-testimonials__lede {
  margin-inline: auto;
}

.mkt-testimonials__viewport {
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
  touch-action: pan-y;
}

.mkt-testimonials__track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.mkt-testimonials__card {
  flex: 0 0 min(100%, 420px);
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 6px);
  box-shadow: var(--m-shadow);
  padding: clamp(28px, 4vw, 36px);
  position: relative;
  box-sizing: border-box;
}

.mkt-testimonials__mark {
  display: block;
  font-family: var(--m-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--m-accent-soft);
  margin-bottom: 8px;
}

.mkt-testimonials__card blockquote {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--m-text);
}

.mkt-testimonials__card cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--m-accent);
}

.mkt-testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.mkt-testimonials__nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mkt-testimonials__nav:hover {
  background: var(--m-accent-soft);
  border-color: var(--m-accent);
}

.mkt-testimonials__dots {
  display: flex;
  gap: 8px;
}

.mkt-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d6d0c8;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mkt-testimonials__dot.is-active {
  background: var(--m-accent);
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .mkt-testimonials__viewport {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    touch-action: pan-x pan-y;
  }

  .mkt-testimonials__viewport::-webkit-scrollbar {
    display: none;
  }

  .mkt-testimonials__track {
    display: contents;
  }

  .mkt-testimonials__card {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    text-align: center;
  }

  .mkt-testimonials__mark {
    margin-inline: auto;
  }

  .mkt-testimonials__card blockquote,
  .mkt-testimonials__card cite {
    text-align: center;
  }
}

/* Legacy static quotes (other pages) */
.mkt-quotes {
  display: grid;
  gap: 16px;
}

.mkt-quote {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 22px;
}

.mkt-quote blockquote {
  margin: 0 0 14px;
  font-size: 1rem;
}

.mkt-quote cite {
  font-style: normal;
  font-size: 0.86rem;
  color: var(--m-muted);
}

/* CTA band */
.mkt-cta {
  background: linear-gradient(135deg, #5c4033, #7c5c3e);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.mkt-cta h2 {
  font-family: var(--m-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 20px;
}

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

/* Contact */
.mkt-contact {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 2px);
  padding: 28px;
}

.mkt-form {
  display: grid;
  gap: 12px;
}

.mkt-form label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

.mkt-form input,
.mkt-form textarea,
.mkt-form select {
  font: inherit;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.mkt-form textarea {
  min-height: 110px;
  resize: vertical;
}

.mkt-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mkt-contact__note {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.mkt-contact__note.is-success {
  color: #1f6b3f;
}

.mkt-contact__note.is-error {
  color: #9b2c2c;
}

.mkt-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* Footer */
.mkt-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--m-border);
  background: #fff;
}

.mkt-footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin-bottom: 32px;
}

.mkt-footer h4 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

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

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

.mkt-footer a {
  color: var(--m-muted);
  font-size: 0.92rem;
}

.mkt-footer a:hover {
  color: var(--m-text);
}

.mkt-footer__bottom {
  border-top: 1px solid var(--m-border);
  padding-top: 18px;
  color: var(--m-muted);
  font-size: 0.86rem;
}

/* Platform page */
.mkt-platform-grid {
  display: grid;
  gap: 20px;
}

.mkt-platform-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 22px;
}

.mkt-platform-card h3 {
  margin: 0 0 8px;
  font-family: var(--m-serif);
}

.mkt-platform-card p {
  margin: 0;
  color: var(--m-muted);
}

.mkt-platform-grid__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .mkt-nav {
    display: flex;
  }

  .mkt-menu-btn {
    display: none;
  }

  .mkt-hero__stage {
    padding-right: clamp(32px, 5vw, 72px);
    padding-bottom: clamp(20px, 4vh, 36px);
  }

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

  .mkt-video-story__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }

  #what .mkt-video-story__grid {
    max-width: 48rem;
  }

  .mkt-testimonials__card {
    flex-basis: calc((100% - 40px) / 2);
  }

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

  .mkt-feature--reverse .mkt-feature__copy {
    order: 2;
  }

  .mkt-feature--reverse .mkt-feature__visual {
    order: 1;
  }

  .mkt-quotes {
    grid-template-columns: repeat(3, 1fr);
  }

  .mkt-platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .mkt-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 767px) {
  .mkt-header__actions .mkt-btn--ghost {
    display: none;
  }

  .mkt-header__actions .mkt-btn--primary {
    white-space: nowrap;
    font-size: clamp(0.72rem, 3.1vw, 0.88rem);
    padding: 10px clamp(12px, 3.5vw, 16px);
    line-height: 1.2;
  }

  .mkt-header__actions .mkt-btn__label--mobile {
    display: inline;
  }

  .mkt-header__actions .mkt-btn__label--desktop {
    display: none;
  }

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

  .mkt-ui__side {
    display: none;
  }

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