/*
 * MindfulTime marketing shell (design C, "Evening Trust").
 * Everything is scoped under .mt-mkt so the app (/dashboard, /child, /billing, /admin)
 * is never painted by these rules. Load tokens.css first.
 *
 * Primary button rule: background #0ea2bd, text #1a1f24. White text on teal is not allowed.
 */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/landing/assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/landing/assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/mt-design-c/fonts/inter-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/mt-design-c/fonts/fraunces-italic-500-latin.woff2") format("woff2");
}

/* ---------- Base ---------- */
.mt-mkt {
  font-family: var(--mt-font-body);
  font-size: var(--mt-text-md);
  line-height: var(--mt-leading-body);
  color: var(--mt-ink);
  background: var(--mt-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.mt-mkt { margin: 0; }
.mt-mkt *, .mt-mkt *::before, .mt-mkt *::after { box-sizing: border-box; }
.mt-mkt img, .mt-mkt svg, .mt-mkt video { max-width: 100%; }
.mt-mkt a { color: var(--mt-teal-deep); text-underline-offset: 3px; }
/* Body/content links: deepen teal on hover. Nav/footer use their own pill rules. */
.mt-mkt a:hover { color: var(--mt-teal-2); }
.mt-mkt a:focus-visible,
.mt-mkt button:focus-visible,
.mt-mkt summary:focus-visible,
.mt-mkt input:focus-visible,
.mt-mkt select:focus-visible,
.mt-mkt textarea:focus-visible,
.mt-mkt [tabindex]:focus-visible {
  outline: 3px solid var(--mt-teal);
  outline-offset: 2px;
}
.mt-mkt h1, .mt-mkt h2, .mt-mkt h3, .mt-mkt h4 {
  font-family: var(--mt-font-heading);
  font-weight: 600;
  letter-spacing: var(--mt-tracking-heading);
  color: inherit;
  margin: 0;
}
.mt-mkt p { margin: 0 0 1em; }
.mt-mkt i.bi { display: none; }
.mt-mkt .mt-sr, .mt-mkt .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mt-mkt .skip-link, .mt-mkt .mt-skip {
  position: absolute; left: 12px; top: -64px; z-index: 10001;
  background: var(--mt-ink); color: var(--mt-white);
  padding: 10px 16px; border-radius: var(--mt-radius-sm);
  text-decoration: none; font-weight: 600;
}
.mt-mkt .skip-link:focus, .mt-mkt .mt-skip:focus { top: 12px; color: var(--mt-white); }

/* ---------- Layout primitives ---------- */
.mt-mkt .mt-container, .mt-mkt .container {
  width: 100%;
  max-width: var(--mt-container);
  margin: 0 auto;
  padding-left: var(--mt-gutter);
  padding-right: var(--mt-gutter);
}
.mt-mkt .mt-reading { max-width: var(--mt-reading); }
.mt-mkt .mt-section { padding: var(--mt-section-y) 0; }
.mt-mkt .mt-section--tight { padding: 64px 0; }
.mt-mkt .mt-section--mist { background: var(--mt-mist); }
.mt-mkt .mt-section--night { background: var(--mt-night); color: var(--mt-white); }
.mt-mkt .mt-eyebrow {
  font: var(--mt-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mt-teal-deep);
}
.mt-mkt .mt-on-dark .mt-eyebrow, .mt-mkt .mt-eyebrow--dark, .mt-mkt .hero .mt-eyebrow { color: var(--mt-mist); }
.mt-mkt .mt-h1 {
  font-size: var(--mt-h1);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.mt-mkt .mt-h2 {
  font-size: var(--mt-h2);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.mt-mkt .mt-h3 { font-size: var(--mt-h3); line-height: 1.3; }
.mt-mkt .mt-accent,
.mt-mkt .hero h1 span,
.mt-mkt .mt-hero h1 em {
  font-family: var(--mt-font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--mt-teal-deep);
}
.mt-mkt .hero h1 span { display: block; margin-top: 6px; }
.mt-mkt .mt-on-dark .mt-accent,
.mt-mkt .hero h1 span,
.mt-mkt .mt-hero h1 em,
.mt-mkt .mt-accent--dark { color: var(--mt-teal); }
.mt-mkt .mt-lead { font-size: var(--mt-text-lg); color: var(--mt-slate); max-width: 640px; }
.mt-mkt .mt-muted { color: var(--mt-slate); }
.mt-mkt .mt-center { text-align: center; }
.mt-mkt .mt-stack { display: flex; flex-direction: column; }
.mt-mkt .mt-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mt-mkt .mt-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ---------- Buttons and links ---------- */
.mt-mkt .mt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--mt-touch);
  padding: 11px 24px;
  border-radius: var(--mt-radius-pill);
  border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--mt-font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--mt-dur) var(--mt-ease), box-shadow var(--mt-dur) var(--mt-ease), filter var(--mt-dur) var(--mt-ease), background var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-btn--lg { min-height: 52px; padding: 15px 28px; font-size: 17px; }
.mt-mkt .mt-btn--block { display: flex; width: 100%; }
.mt-mkt .mt-btn--primary,
.mt-mkt .btn-get-started,
.mt-mkt .cta-btn-primary {
  background: #0ea2bd;
  color: #fff;
  border-color: #0ea2bd;
}
.mt-mkt .mt-btn--primary:hover,
.mt-mkt .btn-get-started:hover,
.mt-mkt .cta-btn-primary:hover {
  color: #1a1f24;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.35);
}
/* Teal pills on night chrome stay white until hover, then glow and turn black. */
.mt-mkt .mt-nav .mt-btn--primary,
.mt-mkt .mt-footer .mt-btn--primary,
.mt-mkt .mt-footer__col a.mt-btn,
.mt-mkt .hero .btn-get-started,
.mt-mkt .hero .mt-btn--primary,
.mt-mkt .mt-sky .mt-btn--primary,
.mt-mkt .mt-on-dark .mt-btn--primary,
.mt-mkt .mt-try-box .mt-btn--primary,
.mt-mkt .mt-morning .mt-btn--primary,
.mt-mkt .mt-app .mt-btn--primary,
.mt-mkt #mobile-cta .mt-btn--primary {
  color: #fff;
}
.mt-mkt .mt-nav .mt-btn--primary:hover,
.mt-mkt .mt-footer .mt-btn--primary:hover,
.mt-mkt .mt-footer__col a.mt-btn:hover,
.mt-mkt .mt-footer__col a.mt-btn:focus-visible,
.mt-mkt .hero .btn-get-started:hover,
.mt-mkt .hero .mt-btn--primary:hover,
.mt-mkt .mt-sky .mt-btn--primary:hover,
.mt-mkt .mt-on-dark .mt-btn--primary:hover,
.mt-mkt .mt-try-box .mt-btn--primary:hover,
.mt-mkt .mt-morning .mt-btn--primary:hover,
.mt-mkt .mt-app .mt-btn--primary:hover,
.mt-mkt #mobile-cta .mt-btn--primary:hover {
  color: #1a1f24;
  background: #0ea2bd;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-btn--outline { background: transparent; color: var(--mt-ink); border-color: var(--mt-ink); }
.mt-mkt .mt-btn--outline:hover { background: #0ea2bd; border-color: #0ea2bd; color: #1a1f24; filter: brightness(1.07); box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55); }
.mt-mkt .mt-btn--ghost { background: transparent; color: var(--mt-white); border-color: rgba(255, 255, 255, 0.45); }
.mt-mkt .mt-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--mt-white); }
.mt-mkt .mt-btn--dark { background: var(--mt-ink); color: var(--mt-white); border-radius: var(--mt-radius-sm); }
.mt-mkt .mt-btn--dark:hover { color: var(--mt-white); filter: brightness(1.25); }
.mt-mkt .mt-btn[disabled], .mt-mkt .mt-btn[aria-disabled="true"] {
  background: var(--mt-mist); color: var(--mt-slate); border-color: var(--mt-mist);
  cursor: not-allowed; transform: none; box-shadow: none; filter: none;
}
.mt-mkt .mt-link-arrow { font-weight: 600; text-decoration: none; color: var(--mt-teal-deep); }
.mt-mkt .mt-link-arrow:hover { text-decoration: none; color: var(--mt-teal-2); }

/* ---------- Announcement bar ---------- */
.mt-mkt .mt-announce {
  position: relative; z-index: 60;
  background: var(--mt-ink); color: var(--mt-mist);
  font-size: 13px; line-height: 1.45;
  padding: 8px 56px 8px 24px; text-align: center;
}
.mt-mkt .mt-announce.dismissed, .mt-mkt .mt-announce[hidden] { display: none; }
.mt-mkt .mt-announce strong { color: var(--mt-white); font-weight: 600; }
.mt-mkt .mt-announce a { color: var(--mt-white); font-weight: 600; text-decoration: underline; text-decoration-color: #0ea2bd; text-underline-offset: 3px; white-space: nowrap; }
.mt-mkt .mt-announce a:hover { color: #0ea2bd; text-decoration-color: #0ea2bd; }
.mt-mkt .mt-announce__close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: var(--mt-touch); height: var(--mt-touch);
  background: transparent; border: 0; color: var(--mt-mist); font-size: 16px; cursor: pointer; border-radius: 50%;
}
.mt-mkt .mt-announce__close:hover { color: var(--mt-white); background: rgba(255, 255, 255, 0.1); }
.mt-mkt .ab-mobile { display: none; }
@media (max-width: 640px) {
  .mt-mkt .ab-desktop { display: none; }
  .mt-mkt .ab-mobile { display: inline; }
  .mt-mkt .mt-announce {
    text-align: left; padding: 10px 48px 10px 16px; font-size: 12px; line-height: 1.4;
  }
  .mt-mkt .mt-announce a { white-space: normal; }
}

/* ---------- Nav (on dark) ---------- */
.mt-mkt .mt-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--mt-night); color: var(--mt-white);
}
/* Sticky nav offset for in-page hash targets (Who it's for rows, how-it-works, etc.) */
.mt-mkt [id="how-it-works"],
.mt-mkt [id="about"],
.mt-mkt [id="features"],
.mt-mkt [id="faq"],
.mt-mkt [id="pricing"],
.mt-mkt [id="for"],
.mt-mkt [id="who-tutors"],
.mt-mkt [id="who-homeschool"] {
  scroll-margin-top: 96px;
}
.mt-mkt .mt-nav__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; padding-top: 12px; padding-bottom: 12px;
}
.mt-mkt .mt-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--mt-white); min-height: var(--mt-touch);
}
.mt-mkt .mt-logo:hover { color: var(--mt-white); }
.mt-mkt .mt-logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--mt-teal); color: var(--mt-white);
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 18px/1 var(--mt-font-heading);
}
.mt-mkt .mt-logo__word { font: 600 19px/1 var(--mt-font-heading); letter-spacing: -0.01em; }
.mt-mkt .mt-nav__toggle {
  display: none;
  width: var(--mt-touch); height: var(--mt-touch);
  align-items: center; justify-content: center;
  background: transparent; color: var(--mt-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: var(--mt-radius-sm);
  cursor: pointer;
}
.mt-mkt .mt-nav__bars, .mt-mkt .mt-nav__bars::before, .mt-mkt .mt-nav__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--mt-dur) var(--mt-ease), opacity var(--mt-dur);
}
.mt-mkt .mt-nav__bars { position: relative; }
.mt-mkt .mt-nav__bars::before, .mt-mkt .mt-nav__bars::after { content: ""; position: absolute; left: 0; }
.mt-mkt .mt-nav__bars::before { top: -6px; }
.mt-mkt .mt-nav__bars::after { top: 6px; }
.mt-mkt .mt-nav.is-open .mt-nav__bars { background: transparent; }
.mt-mkt .mt-nav.is-open .mt-nav__bars::before { transform: translateY(6px) rotate(45deg); }
.mt-mkt .mt-nav.is-open .mt-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mt-mkt .mt-nav__menu { display: flex; align-items: center; gap: 16px; }
.mt-mkt .mt-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
/* Unified teal hover pill (header + footer + mobile). Primary #0ea2bd, label #1a1f24. No underline. */
.mt-mkt .mt-nav__list a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 14px;
  border-radius: var(--mt-radius-pill);
  color: var(--mt-mist); text-decoration: none; font-size: 15px; font-weight: 500;
  background: transparent;
  transition: background var(--mt-dur) var(--mt-ease), color var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-nav__list a:hover,
.mt-mkt .mt-nav__list a:focus-visible,
.mt-mkt .mt-nav__list a[aria-current="page"] {
  background: var(--mt-teal);
  color: var(--mt-ink);
  text-decoration: none;
}
@media (max-width: 1020px) {
  .mt-mkt .mt-nav__toggle { display: inline-flex; }
  .mt-mkt .mt-nav__menu {
    display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch;
    gap: 8px; padding: 8px 0 16px; border-top: 1px solid var(--mt-line-on-dark);
  }
  .mt-mkt .mt-nav.is-open .mt-nav__menu { display: flex; }
  .mt-mkt .mt-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .mt-mkt .mt-nav__list a {
    width: 100%; justify-content: flex-start; padding: 12px 16px; font-size: 17px; min-height: var(--mt-touch);
  }
}

/* ---------- Night hero (shared by subject pages and React pages) ---------- */
.mt-mkt .hero,
.mt-mkt .mt-sky {
  position: relative; overflow: hidden;
  background-color: var(--mt-night);
  color: var(--mt-white);
  background-image:
    radial-gradient(circle at 8% 38%, #fff 0 1.4px, transparent 2px),
    radial-gradient(circle at 16% 72%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 27% 22%, #0ea2bd 0 1px, transparent 1.6px),
    radial-gradient(circle at 71% 30%, #fff 0 1.4px, transparent 2px),
    radial-gradient(circle at 82% 78%, #0ea2bd 0 1px, transparent 1.6px),
    radial-gradient(circle at 91% 42%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 60% 14%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 4% 88%, #fff 0 1px, transparent 1.6px);
}
.mt-mkt .hero::before, .mt-mkt .mt-sky::before {
  content: ""; position: absolute; left: 50%; bottom: -420px;
  width: 1100px; height: 640px; margin-left: -550px; border-radius: 50%;
  border: 1px solid rgba(14, 162, 189, 0.22); pointer-events: none;
}
.mt-mkt .hero::after, .mt-mkt .mt-sky::after {
  content: ""; position: absolute; right: 9%; top: 28px; width: 96px; height: 96px; opacity: 0.9;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path d='M78 18a44 44 0 1 0 24 74A38 38 0 0 1 78 18z' fill='none' stroke='%230ea2bd' stroke-width='1.5'/></svg>") center / contain no-repeat;
}
.mt-mkt .hero > .container, .mt-mkt .mt-sky > .mt-container, .mt-mkt .mt-sky > .container { position: relative; z-index: 1; }
.mt-mkt .hero { padding: 80px 0 56px; }
.mt-mkt .hero h1 {
  font-size: var(--mt-h1); line-height: 1.05; letter-spacing: -0.025em;
  max-width: 920px; margin: 0 auto 20px; color: var(--mt-white);
}
.mt-mkt .hero p { font-size: 19px; color: var(--mt-mist); max-width: 640px; margin-left: auto; margin-right: auto; }
.mt-mkt .hero .breadcrumb a { color: var(--mt-mist) !important; }
.mt-mkt .hero .hero-secondary-link {
  color: var(--mt-white) !important; font-weight: 600; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: inline-flex; align-items: center; min-height: var(--mt-touch);
}
.mt-mkt .hero .hero-secondary-link:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 640px) {
  .mt-mkt .hero::after, .mt-mkt .mt-sky::after { opacity: 0.45; }
  .mt-mkt .hero, .mt-mkt .mt-page-hero { padding: 56px 0 44px; }
}

/* ---------- Legacy content compat (templates/content/*.html keep their markup) ---------- */
.mt-mkt main .section { padding-top: 64px; padding-bottom: 64px; }
.mt-mkt main .hero.section { padding: 72px 0 64px; text-align: center; }
.mt-mkt main .hero.section h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 16px; }
.mt-mkt main .hero.section .mt-eyebrow { display: block; margin-bottom: 14px; }
.mt-mkt main .light-background { background: var(--mt-mist); }
.mt-mkt main .section-title { text-align: center; margin-bottom: 36px !important; }
.mt-mkt main .section-title h2 { font-size: var(--mt-h2); line-height: 1.12; letter-spacing: -0.015em; }
.mt-mkt main .section-title p { color: var(--mt-slate); margin: 12px auto 0; max-width: 620px; font-size: var(--mt-text-lg); }
.mt-mkt main .section h2 { font-size: var(--mt-h2); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 16px; }
.mt-mkt main .section > .container > p, .mt-mkt main .section p { color: var(--mt-slate); }
/* Hero sits on night — beat the section p slate rule so subtitle stays readable */
.mt-mkt main .hero.section > .container > p,
.mt-mkt main .hero.section p,
.mt-mkt main .hero p {
  color: var(--mt-mist);
}
.mt-mkt main .hero .breadcrumb,
.mt-mkt main .hero .breadcrumb-item,
.mt-mkt main .hero .breadcrumb-item.active {
  color: var(--mt-mist);
}
.mt-mkt main .hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(238, 240, 242, 0.55);
}
.mt-mkt main .row { display: flex; flex-wrap: wrap; margin: -12px; }
.mt-mkt main .row > * { padding: 12px; min-width: 0; flex: 0 0 100%; max-width: 100%; }
.mt-mkt main .gy-4 { row-gap: 0; }
.mt-mkt main .card {
  background: var(--mt-white);
  border: 1px solid var(--mt-line) !important;
  border-radius: var(--mt-radius-lg) !important;
  box-shadow: none !important;
  height: 100%;
}
.mt-mkt main .card-body { padding: 28px; }
.mt-mkt main .card h3 { font-size: var(--mt-h3); margin-bottom: 10px; color: var(--mt-ink); }
.mt-mkt main .card p { color: var(--mt-slate); font-size: 15px; margin: 0; }
.mt-mkt main .h5 { font-size: var(--mt-h3); }
.mt-mkt main .breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.mt-mkt main .breadcrumb-item + .breadcrumb-item::before { content: "/"; padding-right: 8px; color: var(--mt-line-strong); }
.mt-mkt main .breadcrumb-item a { text-decoration: none; }
.mt-mkt main .breadcrumb-item a:hover { color: var(--mt-teal-2); text-decoration: none; }
.mt-mkt main .text-center { text-align: center; }
.mt-mkt main .text-muted, .mt-mkt main .text-muted small { color: var(--mt-slate) !important; }
.mt-mkt main .list-unstyled { list-style: none; padding: 0; }
.mt-mkt main .d-flex { display: flex; }
.mt-mkt main .flex-wrap { flex-wrap: wrap; }
.mt-mkt main .gap-3 { gap: 16px; }
.mt-mkt main .justify-content-center { justify-content: center; }
.mt-mkt main .align-items-center { align-items: center; }
.mt-mkt main .mt-2 { margin-top: 8px; } .mt-mkt main .mt-3 { margin-top: 16px; } .mt-mkt main .mt-4 { margin-top: 24px; }
.mt-mkt main .mb-2 { margin-bottom: 8px; } .mt-mkt main .mb-3 { margin-bottom: 16px; } .mt-mkt main .mb-4 { margin-bottom: 24px; }
.mt-mkt main .d-none { display: none; }
.mt-mkt main .mt-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font: italic 500 26px/1 var(--mt-font-accent); color: var(--mt-white);
}
/* Dark teal block used for "How the Reward System Works": switch to night with white text. */
.mt-mkt main section[style*="background:#0ea2bd"] { background: var(--mt-night) !important; color: var(--mt-white); }
.mt-mkt main section[style*="background:#0ea2bd"] h2 { color: var(--mt-white) !important; }
.mt-mkt main section[style*="background:#0ea2bd"] h3 { color: var(--mt-white) !important; }
.mt-mkt main section[style*="background:#0ea2bd"] p { color: var(--mt-mist) !important; }
.mt-mkt main section[style*="text-align:center"] > .container > h2 { margin-bottom: 12px; }
.mt-mkt main section .cta-btn-primary { text-decoration: none; padding: 14px 28px; min-height: 52px; font-size: 17px; display: inline-flex; align-items: center; }
.mt-mkt main .btn-get-started { text-decoration: none; padding: 14px 28px; min-height: 52px; font-size: 17px; display: inline-flex; align-items: center; font-weight: 600; border-radius: 999px; }
.mt-mkt main .cta-btn-primary { font-weight: 600; border-radius: 999px; }
@media (min-width: 768px) {
  .mt-mkt main .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .mt-mkt main .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .mt-mkt main .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .mt-mkt main .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
  .mt-mkt main .d-md-block { display: block; }
}
@media (min-width: 992px) {
  .mt-mkt main .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* ---------- Explore subjects tiles (seo-page template) ---------- */
.mt-mkt .mt-subjects { background: var(--mt-mist); padding: 64px 0; }
.mt-mkt .mt-subjects h2 { font-size: 28px; text-align: center; margin-bottom: 28px; }
.mt-mkt .mt-subjects__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mt-mkt .mt-subjects__tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 84px; padding: 18px 16px; text-decoration: none;
  background: var(--mt-white); color: var(--mt-ink); font-weight: 600; font-size: 15px;
  border-radius: var(--mt-radius-md); border: 1px solid var(--mt-line);
  transition: transform var(--mt-dur) var(--mt-ease), border-color var(--mt-dur);
}
.mt-mkt .mt-subjects__tile:hover { transform: translateY(-2px); border-color: var(--mt-teal); color: var(--mt-ink); }

/* ---------- Footer v2 (night) — horizontal brand + cols + CTA (Image 2 org) ---------- */
.mt-mkt .mt-footer { background: var(--mt-night); color: var(--mt-white); }
.mt-mkt .mt-footer a { color: var(--mt-mist); text-decoration: none; }
.mt-mkt .mt-footer__top { border-bottom: 1px solid var(--mt-line-on-dark); }
.mt-mkt .mt-footer__top-inner {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px 32px;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
}
.mt-mkt .mt-footer__brand {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 6px;
}
.mt-mkt .mt-footer__brand p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mt-mist); white-space: nowrap; }
.mt-mkt .mt-footer__brand .mt-logo { justify-content: flex-start; }
.mt-mkt .mt-footer__brand .mt-logo:hover { color: var(--mt-white); }
.mt-mkt .mt-footer__email { font-size: 14px; }
.mt-mkt .mt-footer__email strong { color: var(--mt-white); font-weight: 600; }
.mt-mkt .mt-footer__email a { color: var(--mt-mist); text-decoration: underline; text-underline-offset: 2px; }
.mt-mkt .mt-footer__email a:hover { color: var(--mt-teal); }
.mt-mkt .mt-footer__nav {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(170px, 1.2fr) minmax(130px, 1fr) minmax(250px, 1.45fr);
  gap: 12px 20px;
  width: 100%;
  align-items: start;
}
.mt-mkt .mt-footer__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-mkt .mt-footer__col h2 {
  font: 600 15px/1.3 var(--mt-font-body); letter-spacing: 0; color: var(--mt-white);
  margin: 0 0 10px; padding-bottom: 6px; width: fit-content;
  border-bottom: 2px solid var(--mt-teal);
}
.mt-mkt .mt-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mt-mkt .mt-footer__col a {
  font-size: 14px; display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  min-height: 0; padding: 2px 6px; margin: 0 0 0 -6px; white-space: nowrap;
  border-radius: 6px; text-decoration: none; color: var(--mt-mist);
  transition: background var(--mt-dur) var(--mt-ease), color var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-footer__col a:hover,
.mt-mkt .mt-footer__col a:focus-visible {
  background: var(--mt-teal);
  color: var(--mt-ink);
  text-decoration: none;
}
.mt-mkt .mt-footer__col a.mt-btn,
.mt-mkt .mt-footer__col--cta .mt-btn {
  align-self: flex-start;
  margin: 8px 0 4px;
  min-height: var(--mt-touch);
  padding: 11px 24px;
  border-radius: var(--mt-radius-pill);
  white-space: nowrap;
}
.mt-mkt .mt-footer__cta-note { margin: 0; font-size: 13px; color: var(--mt-mist); }
.mt-mkt .mt-footer__news-label { margin-top: 16px !important; }
.mt-mkt .mt-footer__news {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  width: 100%; max-width: 220px; margin-top: 6px;
}
.mt-mkt .mt-footer__news input {
  flex: none; width: 100%; min-width: 0; min-height: 40px; height: 40px;
  padding: 0 12px; box-sizing: border-box;
  border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--mt-white); color: var(--mt-ink); font: 400 14px var(--mt-font-body);
}
.mt-mkt .mt-footer__news button {
  flex: 0 0 auto; width: auto; align-self: flex-start;
  min-height: var(--mt-touch); height: auto;
  padding: 11px 24px; border-radius: var(--mt-radius-pill);
  font-size: 15px; white-space: nowrap;
}
.mt-mkt .mt-footer__news-msg { font-size: 13px; min-height: 18px; margin: 0; }
.mt-mkt .mt-footer__bottom > div {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap;
  gap: 16px 20px; font-size: 12px; color: var(--mt-mist);
}
.mt-mkt .mt-footer__copy { flex: 0 0 auto; white-space: nowrap; line-height: 1.45; }
.mt-mkt .mt-footer__seo {
  flex: 1 1 auto; margin: 0; max-width: 36rem;
  font-size: 11px; line-height: 1.45; text-align: center;
  color: rgba(255, 255, 255, 0.45);
}
.mt-mkt .mt-footer__bottom strong { color: var(--mt-white); }
.mt-mkt .mt-footer__made {
  display: flex; align-items: center; gap: 4px; margin: 2px 0 0; white-space: nowrap;
}
.mt-mkt .mt-footer__legal { display: flex; gap: 4px; }
.mt-mkt .mt-footer__legal a {
  min-height: var(--mt-touch); display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: var(--mt-radius-pill); text-decoration: none; color: var(--mt-mist);
  transition: background var(--mt-dur) var(--mt-ease), color var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-footer__legal a:hover,
.mt-mkt .mt-footer__legal a:focus-visible {
  background: var(--mt-teal);
  color: var(--mt-ink);
  text-decoration: none;
}
.mt-mkt .mt-footer__social { display: flex; gap: 8px; align-items: center; }
.mt-mkt .mt-footer__social a {
  width: 36px; height: 36px; border-radius: var(--mt-radius-pill);
  background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center;
  transition: background var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-footer__social a:hover,
.mt-mkt .mt-footer__social a:focus-visible {
  background: var(--mt-teal);
  text-decoration: none;
}
.mt-mkt .mt-footer__social svg { fill: var(--mt-white); }
.mt-mkt .mt-footer__social a:hover svg { fill: var(--mt-ink); }
@media (max-width: 1100px) {
  .mt-mkt .mt-footer__top-inner { grid-template-columns: 1fr; gap: 32px; }
  .mt-mkt .mt-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mt-mkt .mt-footer__nav { grid-template-columns: 1fr; }
  .mt-mkt .mt-footer__top-inner { padding: 40px 20px; }
  .mt-mkt .mt-footer__news { max-width: none; }
  .mt-mkt .mt-footer__brand p { white-space: normal; }
}
@media (max-width: 980px) {
  .mt-mkt .mt-footer__bottom > div { flex-wrap: wrap; justify-content: center; text-align: center; }
  .mt-mkt .mt-footer__seo { max-width: 36rem; }
  .mt-mkt .mt-footer__made { justify-content: center; }
  .mt-mkt .mt-footer__social { width: 100%; justify-content: center; }
}

/* ---------- Mobile sticky CTA ---------- */
.mt-mkt #mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
}
.mt-mkt #mobile-cta a { box-shadow: var(--mt-shadow-lg); }

/* ---------- Cookie banner ---------- */
.mt-mkt #mt-cookie-consent, #mt-cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  background: var(--mt-white); color: var(--mt-ink);
  border-top: 1px solid var(--mt-line); box-shadow: 0 -8px 30px rgba(26, 31, 36, 0.12);
  padding: 16px 24px;
}
.mt-cookie__inner { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mt-cookie__inner p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--mt-slate); }
.mt-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Exit intent (SPA + static; styles live here so React routes do not need home.css) ---------- */
.mt-mkt .mt-exit-overlay, .mt-exit-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(26, 31, 36, 0.55);
}
.mt-mkt .mt-exit, .mt-exit {
  position: relative; max-width: 420px; width: 100%; background: var(--mt-white, #fff);
  border-radius: var(--mt-radius-lg, 24px); padding: 32px;
  box-shadow: var(--mt-shadow-lg, 0 40px 90px rgba(26, 31, 36, 0.45)); margin: auto;
  color: var(--mt-ink, #1a1f24); font-family: var(--mt-font-body, system-ui, sans-serif);
}
.mt-mkt .mt-exit h3, .mt-exit h3 {
  font-family: var(--mt-font-heading, system-ui, sans-serif); font-size: 21px; margin: 0 0 8px;
  color: var(--mt-ink, #1a1f24);
}
.mt-mkt .mt-exit p, .mt-exit p { font-size: 15px; color: var(--mt-slate, #485664); margin: 0 0 16px; }
.mt-mkt .mt-exit form, .mt-exit form { display: flex; flex-direction: column; gap: 12px; }
.mt-mkt .mt-exit__close, .mt-exit__close {
  position: absolute; top: 6px; right: 8px; width: 44px; height: 44px;
  background: none; border: 0; font-size: 26px; color: var(--mt-slate, #485664); cursor: pointer; line-height: 1;
}
.mt-mkt .mt-exit__err, .mt-exit__err {
  text-align: center; font-size: 13px; color: var(--mt-ink, #1a1f24);
  background: var(--mt-mist, #eef0f2); padding: 8px 10px; border-radius: 12px; margin: 0;
}
.mt-mkt .mt-exit__fine, .mt-exit__fine { text-align: center; font-size: 12px !important; margin: 12px 0 0 !important; }
.mt-mkt .mt-exit__thanks, .mt-exit__thanks { text-align: center; padding: 8px 0; }
.mt-mkt .mt-exit .mt-input, .mt-exit .mt-input {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 16px var(--mt-font-body, system-ui, sans-serif); color: var(--mt-ink, #1a1f24);
  background: #fff; border: 1px solid rgba(72, 86, 100, 0.35); border-radius: 12px;
}
.mt-mkt .mt-referral, .mt-referral {
  background: var(--mt-mist, #eef0f2); border: 1px solid var(--mt-line, rgba(72, 86, 100, 0.2));
  border-radius: var(--mt-radius-sm, 12px); padding: 12px; margin-bottom: 16px; text-align: center;
}
.mt-mkt .mt-referral p, .mt-referral p {
  margin: 0; font-size: 14px; font-weight: 600; color: var(--mt-ink, #1a1f24);
}

/* ---------- Forms ---------- */
.mt-mkt .mt-field { display: flex; flex-direction: column; gap: 6px; }
.mt-mkt .mt-label { font-size: 13px; font-weight: 600; color: var(--mt-slate); }
.mt-mkt .mt-input, .mt-mkt .mt-select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 16px var(--mt-font-body); color: var(--mt-ink); background: var(--mt-white);
  border: 1px solid var(--mt-line-strong); border-radius: var(--mt-radius-sm);
}
.mt-mkt .mt-input:focus, .mt-mkt .mt-select:focus { border-color: var(--mt-teal-deep); outline: 3px solid var(--mt-teal-soft); outline-offset: 0; }

/* ---------- Segmented control, chips, switches ---------- */
.mt-mkt .mt-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--mt-mist); border-radius: var(--mt-radius-pill); }
.mt-mkt .mt-seg--white { background: var(--mt-white); }
.mt-mkt .mt-seg button {
  border: 0; cursor: pointer; min-height: 40px; padding: 8px 16px;
  font: 600 14px var(--mt-font-body); color: var(--mt-slate); background: transparent;
  border-radius: var(--mt-radius-pill);
}
.mt-mkt .mt-seg button[aria-selected="true"] { background: var(--mt-white); color: var(--mt-ink); box-shadow: var(--mt-shadow-sm); }
.mt-mkt .mt-seg button[aria-pressed="true"] { background: #0ea2bd; color: #fff; }
.mt-mkt .mt-seg button[aria-pressed="true"]:hover {
  background: #0ea2bd;
  color: #1a1f24;
  filter: brightness(1.07);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-chip {
  cursor: pointer; min-width: 40px; min-height: 40px; padding: 0 14px;
  font: 600 14px var(--mt-font-body); border-radius: var(--mt-radius-pill);
  border: 1px solid var(--mt-line-strong); background: var(--mt-white); color: var(--mt-slate);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.mt-mkt .mt-chip:hover {
  background: #0ea2bd; border-color: #0ea2bd; color: #1a1f24;
  filter: brightness(1.07);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-chip[aria-pressed="true"], .mt-mkt .mt-chip.is-on {
  background: #0ea2bd; border-color: #0ea2bd; color: #fff;
}
.mt-mkt .mt-chip[aria-pressed="true"]:hover, .mt-mkt .mt-chip.is-on:hover {
  background: #0ea2bd; border-color: #0ea2bd; color: #1a1f24;
  filter: brightness(1.07);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-switch {
  flex-shrink: 0; position: relative; width: 52px; height: 30px; padding: 0; border: 0; cursor: pointer;
  border-radius: 99px; background: var(--mt-slate); transition: background var(--mt-dur);
}
.mt-mkt .mt-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px;
  background: var(--mt-white); box-shadow: 0 1px 3px rgba(26, 31, 36, 0.3); transition: left 200ms;
}
.mt-mkt .mt-switch[aria-checked="true"] { background: var(--mt-teal-deep); }
.mt-mkt .mt-switch[aria-checked="true"]::after { left: 25px; }
.mt-mkt .mt-switch-hit { position: relative; display: inline-flex; align-items: center; min-height: var(--mt-touch); }

/* ---------- FAQ accordion (native details) ---------- */
.mt-mkt .mt-faq { display: flex; flex-direction: column; border-top: 1px solid var(--mt-line); }
.mt-mkt .mt-faq details { border-bottom: 1px solid var(--mt-line); padding: 6px 0; }
.mt-mkt .mt-faq summary {
  cursor: pointer; list-style: none; min-height: var(--mt-touch); padding: 14px 40px 14px 0;
  font: 600 19px/1.35 var(--mt-font-heading); position: relative;
}
.mt-mkt .mt-faq summary::-webkit-details-marker { display: none; }
.mt-mkt .mt-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 500 26px/1 var(--mt-font-body); color: var(--mt-teal-deep); transition: transform var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.mt-mkt .mt-faq summary h3 { display: inline; font: inherit; letter-spacing: inherit; margin: 0; }
.mt-mkt .mt-faq details > p, .mt-mkt .mt-faq .mt-faq__a { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--mt-slate); max-width: 760px; }

/* ---------- Pricing cards (landing + /pricing) ---------- */
.mt-mkt .mt-plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.mt-mkt .mt-plan {
  background: var(--mt-white); color: var(--mt-ink);
  border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px;
  transition: background var(--mt-dur), color var(--mt-dur), transform var(--mt-dur), box-shadow var(--mt-dur);
}
.mt-mkt .mt-plan__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.mt-mkt .mt-plan__name { font: 600 18px var(--mt-font-heading); }
.mt-mkt .mt-plan__badge { font-size: 12px; font-weight: 600; background: #0ea2bd; color: #fff; padding: 4px 10px; border-radius: 999px; }
.mt-mkt .mt-plan__badge[hidden] { display: none; }
.mt-mkt .mt-plan__price { font: 600 34px/1.2 var(--mt-font-heading); }
.mt-mkt .mt-plan__price small { font-size: 16px; font-weight: 500; }
.mt-mkt .mt-plan__sub { font-size: 13px; min-height: 18px; color: var(--mt-slate); }
.mt-mkt .mt-plan__note { font-size: 13px; color: var(--mt-slate); margin: 8px 0 0; }
.mt-mkt .mt-plan ul { list-style: none; margin: 10px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.mt-mkt .mt-plan li { display: flex; gap: 8px; }
.mt-mkt .mt-plan li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6f82' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat; }
.mt-mkt .mt-plan li.is-locked { color: var(--mt-slate); }
.mt-mkt .mt-plan li.is-locked::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23485664' stroke-width='2.2' stroke-linecap='round'><line x1='6' y1='12' x2='18' y2='12'/></svg>"); }
.mt-mkt .mt-plan .mt-btn { margin-top: auto; }
.mt-mkt .mt-plan.is-rec { background: var(--mt-night); color: var(--mt-white); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(26, 31, 36, 0.18); }
.mt-mkt .mt-plan.is-rec .mt-plan__sub, .mt-mkt .mt-plan.is-rec .mt-plan__note { color: var(--mt-mist); }
.mt-mkt .mt-plan.is-rec li::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea2bd' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.mt-mkt .mt-plan .mt-btn--outline:hover {
  background: #0ea2bd;
  border-color: #0ea2bd;
  color: #1a1f24;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-plan.is-rec .mt-plan__badge { background: #0ea2bd; color: #fff; }
.mt-mkt .mt-plan.is-rec .mt-btn--outline,
.mt-mkt .mt-plan.is-rec .mt-btn--primary {
  background: #0ea2bd;
  border-color: #0ea2bd;
  color: #fff;
}
.mt-mkt .mt-plan.is-rec .mt-btn--outline:hover,
.mt-mkt .mt-plan.is-rec .mt-btn--primary:hover {
  background: #0ea2bd;
  border-color: #0ea2bd;
  color: #1a1f24;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-plan--featured { box-shadow: 0 0 0 2px var(--mt-teal); }

/* ---------- Night "sky scene" small (404, blog hero, reading header) ---------- */
.mt-mkt .mt-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px;
  background: #0ea2bd; color: #fff; cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms, color 200ms, filter 200ms;
}
.mt-mkt .mt-top.is-on { opacity: 1; pointer-events: auto; }
.mt-mkt .mt-top:hover { color: #1a1f24; filter: brightness(1.07); transform: translateY(-1px); }
.mt-mkt .mt-top svg { display: block; margin: 0 auto; }
.mt-mkt .mt-paths { padding: 8px 0 80px; }
.mt-mkt .mt-paths__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mt-mkt .mt-path {
  display: flex; flex-direction: column; gap: 10px; min-height: 190px;
  background: var(--mt-white); border: 1px solid var(--mt-line); border-radius: 22px;
  padding: 24px; text-decoration: none; color: inherit;
}
.mt-mkt .mt-path:hover { border-color: #0ea2bd; box-shadow: 0 8px 20px rgba(14, 162, 189, 0.28); }
.mt-mkt .mt-path.is-here { border-color: #0ea2bd; background: var(--mt-mist); }
.mt-mkt .mt-path strong { font: 600 20px var(--mt-font-heading); }
.mt-mkt .mt-path span { color: var(--mt-slate); font-size: 15px; line-height: 1.55; }
.mt-mkt .mt-path em { font-style: normal; font-weight: 600; color: var(--mt-teal-deep); margin-top: auto; }
.mt-mkt .mt-page-hero { padding: 72px 0 64px; text-align: center; }
.mt-mkt .mt-page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; color: var(--mt-white); margin-bottom: 16px; }
.mt-mkt .mt-page-hero p { color: var(--mt-mist); font-size: 18px; max-width: 640px; margin: 0 auto 8px; }
.mt-mkt .mt-page-hero .mt-eyebrow { display: block; margin-bottom: 14px; }
.mt-mkt .mt-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

/* ---------- Morning closing ---------- */
.mt-mkt .mt-morning { position: relative; overflow: hidden; background: var(--mt-white); border-top: 1px solid var(--mt-mist); }
.mt-mkt .mt-morning__sun, .mt-mkt .mt-morning__sun2, .mt-mkt .mt-morning__arc {
  position: absolute; left: 50%; border-radius: 50%; pointer-events: none;
}
.mt-mkt .mt-morning__sun { bottom: -260px; width: 520px; height: 520px; margin-left: -260px; background: var(--mt-teal); opacity: 0.16; }
.mt-mkt .mt-morning__sun2 { bottom: -170px; width: 340px; height: 340px; margin-left: -170px; background: var(--mt-teal); opacity: 0.28; }
.mt-mkt .mt-morning__arc { bottom: -520px; width: 1100px; height: 1040px; margin-left: -550px; border: 1px solid rgba(14, 162, 189, 0.25); }
.mt-mkt .mt-morning__inner {
  position: relative; max-width: 880px; margin: 0 auto; padding: 112px 24px 176px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.mt-mkt .mt-morning h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.mt-mkt .mt-morning p { margin: 0; font-size: 18px; color: var(--mt-slate); }
.mt-mkt .mt-morning .mt-small { font-size: 14px; }
@media (max-width: 640px) { .mt-mkt .mt-morning__inner { padding: 80px 24px 140px; } }

/* ---------- Reading pages (privacy, terms) ---------- */
.mt-mkt .mt-prose-card { background: var(--mt-white); }
.mt-mkt .mt-prose-section { margin: 0 0 40px; }
.mt-mkt .mt-prose-section > h2 {
  font-size: 24px; line-height: 1.25; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--mt-line);
}
.mt-mkt .mt-prose-body { font-size: 16px; line-height: 1.75; color: var(--mt-slate); display: flex; flex-direction: column; gap: 12px; }
.mt-mkt .mt-prose-body p { margin: 0; }
.mt-mkt .mt-prose-body ul { margin: 0; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.mt-mkt .mt-prose-body ol { margin: 0; padding-left: 22px; list-style: decimal; display: flex; flex-direction: column; gap: 6px; }
.mt-mkt .mt-prose-body strong { color: var(--mt-ink); }
.mt-mkt .mt-prose-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mt-mkt .mt-prose-body th, .mt-mkt .mt-prose-body td { text-align: left; padding: 10px 12px; border: 1px solid var(--mt-line); vertical-align: top; }
.mt-mkt .mt-prose-body th { background: var(--mt-mist); color: var(--mt-ink); }

/* ---------- Auth pages ---------- */
.mt-mkt.mt-auth {
  min-height: 100vh; min-height: 100dvh;
  background: var(--mt-mist) !important;
  font-family: var(--mt-font-body) !important;
}
.mt-mkt.mt-auth .mt-auth-card {
  background: var(--mt-white); border-radius: var(--mt-radius-xl); box-shadow: var(--mt-shadow-md);
  border: 1px solid var(--mt-line);
}
.mt-mkt.mt-auth h1 { font-family: var(--mt-font-heading) !important; color: var(--mt-ink) !important; letter-spacing: -0.01em; }
.mt-mkt.mt-auth .mt-auth-btn {
  background: #0ea2bd; color: #fff; border-radius: var(--mt-radius-pill);
  font-weight: 600; transition: filter var(--mt-dur), transform var(--mt-dur), box-shadow var(--mt-dur);
}
.mt-mkt.mt-auth .mt-auth-btn:hover:not(:disabled) { color: #1a1f24; filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55); }
.mt-mkt.mt-auth .mt-auth-btn:disabled { background: var(--mt-mist); color: var(--mt-slate); cursor: not-allowed; }
.mt-mkt.mt-auth .mt-auth-tab-on { background: #0ea2bd; color: #fff; }
.mt-mkt.mt-auth .text-primary-600, .mt-mkt.mt-auth a.text-primary-600 { color: var(--mt-teal-deep); }
.mt-mkt.mt-auth input[type="text"], .mt-mkt.mt-auth input[type="email"], .mt-mkt.mt-auth input[type="password"] {
  border-radius: var(--mt-radius-sm); border-color: var(--mt-line-strong);
}
.mt-mkt.mt-auth input:focus { border-color: var(--mt-teal-deep); box-shadow: 0 0 0 3px var(--mt-teal-soft); outline: none; }
.mt-mkt.mt-auth .mt-auth-sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.mt-mkt.mt-auth .mt-auth-card { position: relative; z-index: 1; }

/* ---------- Blog ---------- */
.mt-mkt .mt-blog-search {
  display: flex; max-width: 520px; margin: 28px auto 0; position: relative;
}
.mt-mkt .mt-blog-search input {
  width: 100%; min-height: 52px; padding: 0 20px; border-radius: var(--mt-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08);
  color: var(--mt-white); font: 400 16px var(--mt-font-body);
}
.mt-mkt .mt-blog-search input::placeholder { color: var(--mt-mist); opacity: 0.85; }
.mt-mkt .mt-blog-search input:focus { background: rgba(255, 255, 255, 0.14); border-color: var(--mt-teal); outline: none; }
.mt-mkt .mt-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mt-mkt .mt-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; text-decoration: none; color: var(--mt-ink);
  background: var(--mt-white); border-radius: var(--mt-radius-xl); overflow: hidden;
  border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-md);
}
.mt-mkt .mt-featured:hover { color: var(--mt-ink); border-color: var(--mt-teal); }
.mt-mkt .mt-featured__img { aspect-ratio: 1200 / 630; background: var(--mt-mist); overflow: hidden; }
.mt-mkt .mt-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-mkt .mt-featured__body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mt-mkt .mt-featured__body h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.mt-mkt .mt-featured__body p { color: var(--mt-slate); margin: 0; }
@media (max-width: 860px) { .mt-mkt .mt-featured { grid-template-columns: 1fr; } .mt-mkt .mt-featured__body { padding: 24px; } }
.mt-mkt .mt-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.mt-mkt .mt-card-link:hover { color: inherit; }
.mt-mkt .mt-post-card {
  background: var(--mt-white); border-radius: var(--mt-radius-lg); overflow: hidden; height: 100%;
  border: 1px solid var(--mt-line);
  transition: transform var(--mt-dur) var(--mt-ease), box-shadow var(--mt-dur) var(--mt-ease), border-color var(--mt-dur);
}
.mt-mkt .mt-card-link:hover .mt-post-card, .mt-mkt .mt-card-link:focus-visible .mt-post-card {
  transform: translateY(-3px); box-shadow: var(--mt-shadow-md); border-color: var(--mt-teal);
}
.mt-mkt .mt-post-card__img { aspect-ratio: 1200 / 630; background: var(--mt-mist); overflow: hidden; }
.mt-mkt .mt-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-mkt .mt-post-card__body { padding: 20px 22px 24px; }
.mt-mkt .mt-post-card h3 { font-size: 18px; line-height: 1.35; margin: 10px 0 8px; }
.mt-mkt .mt-post-card p { font-size: 14px; line-height: 1.6; color: var(--mt-slate); margin: 0; }
.mt-mkt .mt-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--mt-slate); }
.mt-mkt .mt-tag {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px;
  background: #0ea2bd; color: #fff; font-size: 12px; font-weight: 600;
}
.mt-mkt .mt-tag--scheduled { background: #0ea2bd; color: #fff; }
.mt-mkt .mt-post-date { margin-top: 12px !important; font-size: 13px !important; }
.mt-mkt .mt-post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1100px) { .mt-mkt .mt-post-layout--toc { grid-template-columns: 240px minmax(0, 760px); justify-content: center; } }
.mt-mkt .mt-toc { font-size: 14px; }
@media (min-width: 1100px) { .mt-mkt .mt-toc { position: sticky; top: 96px; order: -1; } }
.mt-mkt .mt-toc__title { font: 600 12px var(--mt-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mt-slate); margin-bottom: 10px; }
.mt-mkt .mt-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--mt-line); }
.mt-mkt .mt-toc li a { display: block; padding: 6px 0 6px 14px; text-decoration: none; color: var(--mt-slate); line-height: 1.4; }
.mt-mkt .mt-toc li a:hover { color: var(--mt-ink); }
.mt-mkt .mt-toc-mobile { background: var(--mt-mist); border-radius: var(--mt-radius-md); padding: 8px 20px; margin-bottom: 28px; }
.mt-mkt .mt-toc-mobile summary { cursor: pointer; font-weight: 600; min-height: var(--mt-touch); display: flex; align-items: center; }
@media (min-width: 1100px) { .mt-mkt .mt-toc-mobile { display: none; } }
@media (max-width: 1099px) { .mt-mkt .mt-toc { display: none; } }
.mt-mkt .mt-post-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; color: var(--mt-white); letter-spacing: -0.02em; max-width: 880px; margin: 14px auto 0; }
.mt-mkt .mt-post-hero { padding: 56px 0 64px; text-align: center; }
.mt-mkt .mt-post-hero .mt-post-meta { justify-content: center; color: var(--mt-mist); margin-top: 18px; }
.mt-mkt .mt-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 13px; }
.mt-mkt .mt-crumbs li + li::before { content: "/"; padding-right: 8px; color: rgba(255, 255, 255, 0.4); }
.mt-mkt .mt-crumbs a { color: var(--mt-mist); text-decoration: none; }
.mt-mkt .mt-crumbs a:hover { color: var(--mt-teal); text-decoration: none; }
.mt-mkt .mt-crumbs [aria-current] { color: var(--mt-white); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-mkt .mt-cover { margin: -36px auto 0; position: relative; z-index: 2; max-width: 920px; padding: 0 24px; }
.mt-mkt .mt-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--mt-radius-xl); box-shadow: var(--mt-shadow-md); background: var(--mt-mist); }
.mt-mkt .mt-try-box {
  margin: 0 0 28px; padding: 20px 24px; border-radius: var(--mt-radius-lg); background: var(--mt-mist);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px;
}
.mt-mkt .mt-try-box strong { display: block; font: 600 17px var(--mt-font-heading); margin-bottom: 2px; }
.mt-mkt .mt-try-box span { font-size: 14px; color: var(--mt-slate); }
.mt-mkt .mt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--mt-line); }
.mt-mkt .mt-share > span { font-size: 14px; font-weight: 600; color: var(--mt-slate); }
.mt-mkt .mt-share button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mt-line-strong); background: var(--mt-white); color: var(--mt-ink); font: 600 13px var(--mt-font-body); cursor: pointer; }
.mt-mkt .mt-share button:hover {
  background: #0ea2bd; border-color: #0ea2bd; color: #1a1f24;
  filter: brightness(1.07);
  box-shadow: 0 8px 20px rgba(14, 162, 189, 0.55);
}
.mt-mkt .mt-author { margin-top: 32px; padding: 24px; border-radius: var(--mt-radius-lg); background: var(--mt-mist); display: flex; gap: 16px; align-items: center; }
.mt-mkt .mt-author__mark { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: var(--mt-night); color: var(--mt-white); display: inline-flex; align-items: center; justify-content: center; font: 600 20px var(--mt-font-heading); }
.mt-mkt .mt-author p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mt-slate); }
.mt-mkt .mt-author p strong { display: block; color: var(--mt-ink); font: 600 15px var(--mt-font-heading); margin-bottom: 2px; }
.mt-mkt .mt-notice { background: var(--mt-mist); border-left: 4px solid var(--mt-teal); padding: 10px 14px; border-radius: var(--mt-radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 18px; }

/* Article body (blog post HTML comes from src/data/blog and is not edited) */
.mt-mkt .blog-article-content { font-family: var(--mt-font-body); font-size: 17px; line-height: 1.8; color: var(--mt-ink); overflow-wrap: break-word; }
.mt-mkt .blog-article-content h2 { font: 600 clamp(24px, 3vw, 30px)/1.25 var(--mt-font-heading); letter-spacing: -0.015em; margin: 2.2em 0 0.6em; scroll-margin-top: 96px; }
.mt-mkt .blog-article-content h3 { font: 600 20px/1.35 var(--mt-font-heading); margin: 1.8em 0 0.5em; }
.mt-mkt .blog-article-content p { margin: 0 0 1.1em; }
.mt-mkt .blog-article-content a { color: var(--mt-teal-deep); text-decoration: underline; }
.mt-mkt .blog-article-content a:hover { color: var(--mt-ink); }
.mt-mkt .blog-article-content ul, .mt-mkt .blog-article-content ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.mt-mkt .blog-article-content ul { list-style: disc; }
.mt-mkt .blog-article-content ol { list-style: decimal; }
.mt-mkt .blog-article-content li { margin-bottom: 0.45em; }
.mt-mkt .blog-article-content blockquote {
  margin: 1.6em 0; padding: 0.4em 0 0.4em 1.4em; border-left: 3px solid var(--mt-teal);
  font-family: var(--mt-font-accent); font-style: italic; font-weight: 500; font-size: 1.15em; color: var(--mt-slate);
}
.mt-mkt .blog-article-content img { max-width: 100%; height: auto; border-radius: var(--mt-radius-md); margin: 1.2em 0; }
.mt-mkt .blog-article-content table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.mt-mkt .blog-article-content th { background: var(--mt-mist); text-align: left; padding: 10px 14px; border: 1px solid var(--mt-line); }
.mt-mkt .blog-article-content td { padding: 10px 14px; border: 1px solid var(--mt-line); vertical-align: top; }
.mt-mkt .blog-article-content strong { color: var(--mt-ink); }
.mt-mkt .blog-article-content hr { border: 0; border-top: 1px solid var(--mt-line); margin: 2em 0; }

/* ---------- 404 ---------- */
.mt-mkt .mt-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.mt-mkt .mt-404__num { font: italic 500 clamp(80px, 16vw, 140px)/1 var(--mt-font-accent); color: var(--mt-teal); margin-bottom: 8px; }
.mt-mkt .mt-404 h1 { font-size: clamp(30px, 4vw, 44px); color: var(--mt-white); margin-bottom: 12px; }
.mt-mkt .mt-404 p { color: var(--mt-mist); font-size: 18px; margin-bottom: 28px; }

/* ---------- Pricing page extras ---------- */
.mt-mkt .mt-billing { display: flex; justify-content: center; margin: 0 0 32px; }
.mt-mkt .mt-nudge { text-align: center; margin-bottom: 20px; font-size: 14px; color: var(--mt-slate); }
.mt-mkt .mt-nudge strong { color: var(--mt-ink); }
.mt-mkt .mt-pricing-skel { min-height: 360px; background: var(--mt-white); border-radius: 22px; opacity: 0.6; }

/* ---------- Small additions ---------- */
.mt-mkt [id] { scroll-margin-top: 76px; }
.mt-mkt .mt-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.mt-mkt .mt-logo img { width: 34px; height: 34px; border-radius: 9px; display: block; }

.mt-mkt .mt-link, .mt-mkt .mt-prose-body a { color: var(--mt-teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.mt-mkt .mt-link:hover, .mt-mkt .mt-prose-body a:hover { color: var(--mt-ink); }
.mt-mkt .mt-pricing-skel { min-height: 360px; border-radius: var(--mt-radius-lg); background: var(--mt-white); opacity: 0.6; }

/* ---------- Topic panels (SEO subject pages, design C) ---------- */
/* Compact horizontal tiles: small glyph chips, full grid readable at once */
.mt-mkt .mt-topics {
  background: var(--mt-mist);
  padding: 64px 0 56px;
}
.mt-mkt .mt-topics__head {
  text-align: center;
  max-width: var(--mt-container);
  margin: 0 auto 28px;
  padding: 0 24px;
}
.mt-mkt .mt-topics__head .mt-eyebrow { color: var(--mt-teal-deep); }
.mt-mkt .mt-topics__head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: var(--mt-leading-tight);
  letter-spacing: var(--mt-tracking-heading);
  color: var(--mt-ink);
  margin: 8px 0 8px;
}
.mt-mkt .mt-topics__head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--mt-slate);
  font-size: var(--mt-text-md);
  line-height: var(--mt-leading-body);
}
.mt-mkt .mt-topics__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 640px) {
  .mt-mkt .mt-topics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mt-mkt .mt-topics__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.mt-mkt .mt-topic {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--mt-white);
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius-md);
  min-height: 0;
  transition: border-color var(--mt-dur) var(--mt-ease), box-shadow var(--mt-dur) var(--mt-ease), transform var(--mt-dur) var(--mt-ease);
}
.mt-mkt .mt-topic:hover {
  transform: translateY(-2px);
  border-color: var(--mt-teal);
  box-shadow: var(--mt-shadow-sm);
}
.mt-mkt .mt-topic__viz {
  position: relative;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  max-width: 68px;
  max-height: 68px;
  border-radius: 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--mt-shadow-sm);
}
.mt-mkt .mt-topic__viz img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 20px;
}
.mt-mkt .mt-topic__viz svg {
  width: 34px !important;
  height: 34px !important;
  max-width: none;
  max-height: none;
  display: block;
  flex-shrink: 0;
}
.mt-mkt .mt-topic__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.mt-mkt .mt-topic__grade {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mt-teal-deep);
  font: 600 11px/1.3 var(--mt-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mt-mkt .mt-topic h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--mt-ink);
  font-family: var(--mt-font-heading);
  font-weight: 600;
}
.mt-mkt .mt-topic p {
  margin: 2px 0 0;
  color: var(--mt-slate);
  font-size: 13px;
  line-height: 1.45;
}
.mt-mkt .mt-topics-cta {
  text-align: center;
  padding: 56px 24px;
  background: var(--mt-white);
}
.mt-mkt .mt-topics-cta .mt-eyebrow { color: var(--mt-teal-deep); }
.mt-mkt .mt-topics-cta h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--mt-ink);
  margin: 10px auto 12px;
  max-width: 640px;
}
.mt-mkt .mt-topics-cta h2 .mt-accent { color: var(--mt-teal); font-family: var(--mt-font-accent); font-style: italic; font-weight: 500; }
.mt-mkt .mt-topics-cta > p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: var(--mt-slate);
  font-size: var(--mt-text-md);
  line-height: var(--mt-leading-body);
}
.mt-mkt .mt-topics-cta .mt-topics-cta__links {
  margin-top: 16px;
  font-size: 13px;
  color: var(--mt-slate);
}
.mt-mkt .mt-topics-cta .mt-topics-cta__links a {
  color: var(--mt-teal-deep);
  text-decoration: none;
  font-weight: 600;
}
.mt-mkt .mt-topics-cta .mt-topics-cta__links a:hover { color: var(--mt-teal-2); }
