/* ─────────────────────────────────────────────────────────────────────────
   Marketing — shared layout for /, /features, /about, /contact.
   Pulls design tokens from main.css. Public visitors only — no school pill,
   no auth widgets.
   ───────────────────────────────────────────────────────────────────────── */

/* === Public header === */
.mkt-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
}
.mkt-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--navy-deep);
}
.mkt-brand img { width: 36px; height: 36px; }
.mkt-brand-name {
  font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.mkt-nav {
  display: flex; gap: 6px;
}
.mkt-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.mkt-nav a:hover, .mkt-nav a.active {
  background: var(--hairline-soft);
  color: var(--navy-deep);
}

.mkt-actions { display: flex; align-items: center; gap: 8px; }
.mkt-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  font-family: var(--sans);
}
.mkt-btn-ghost {
  color: var(--navy);
  background: transparent;
  border-color: var(--hairline);
}
.mkt-btn-ghost:hover { border-color: var(--navy); }
.mkt-btn-primary {
  background: var(--navy);
  color: white;
}
.mkt-btn-primary:hover { background: var(--navy-deep); }
.mkt-btn-large { padding: 14px 28px; font-size: 1rem; }

/* Mobile hamburger toggle for marketing nav */
.mkt-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-deep);
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}
/* Sign-in link surfaced inside the mobile hamburger menu only. The
   matching ghost button in .mkt-actions hides on mobile (see below), so
   without this entry returning customers had to scroll to the footer to
   find login. Hidden on desktop where the ghost button covers it. */
.mkt-nav-signin { display: none; }

@media (max-width: 760px) {
  .mkt-header { padding: 14px 18px; flex-wrap: wrap; }
  .mkt-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; padding: 8px 0 0; border-top: 1px solid var(--hairline); margin-top: 12px; }
  .mkt-nav.open { display: flex; }
  .mkt-nav a { padding: 12px 8px; border-radius: 0; }
  .mkt-nav-signin {
    display: block;
    border-top: 1px solid var(--hairline);
    margin-top: 6px;
    padding-top: 14px !important;   /* override .mkt-nav a's padding */
    color: var(--navy);
    font-weight: 600;
  }
  .mkt-actions .mkt-btn-ghost { display: none; }
  .mkt-menu-toggle { display: inline-block; }
}

/* === Theme toggle button (sun/moon, header right) === */
.mkt-theme-toggle {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  transition: border-color 0.12s, color 0.12s;
}
.mkt-theme-toggle:hover {
  border-color: var(--navy);
  color: var(--text);
}
:root[data-theme="dark"] .mkt-theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}
.mkt-theme-toggle .icon-sun  { display: none; }
.mkt-theme-toggle .icon-moon { display: inline; }
:root[data-theme="dark"] .mkt-theme-toggle .icon-sun  { display: inline; }
:root[data-theme="dark"] .mkt-theme-toggle .icon-moon { display: none; }

/* During theme swap, suppress all transitions to avoid color-flash on
   shadow/border properties that have hover transitions. theme-toggle.js
   adds this class for one frame on toggle. */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition: none !important;
}

/* === Dark mode component overrides for .mkt-page-rooted selectors ===
   Token overrides handle most of the work — these patches cover hardcoded
   colors that don't flow from var(--*) tokens. */
:root[data-theme="dark"] .mkt-brand,
:root[data-theme="dark"] .mkt-nav a:hover,
:root[data-theme="dark"] .mkt-nav a.active,
:root[data-theme="dark"] .mkt-h1,
:root[data-theme="dark"] .mkt-h2,
:root[data-theme="dark"] .mkt-h3,
:root[data-theme="dark"] .mkt-welcome-tag,
:root[data-theme="dark"] .mkt-body a,
:root[data-theme="dark"] .mkt-body a:hover,
:root[data-theme="dark"] .mkt-menu-toggle,
:root[data-theme="dark"] .mkt-outcome-num {
  color: rgba(255, 255, 255, 0.92);
}

:root[data-theme="dark"] .mkt-btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}
:root[data-theme="dark"] .mkt-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

/* Warm-white alt section → navy-tinted elevated band on dark */
:root[data-theme="dark"] .mkt-section-alt {
  background: #23263a;
  box-shadow: 0 0 0 100vmax #23263a;
}

/* Sage glow section — dimmer on dark to avoid muddy washout */
:root[data-theme="dark"] .mkt-section-glow {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%,
      rgba(45, 106, 79, 0.30) 0%,
      rgba(45, 106, 79, 0) 70%),
    rgba(45, 106, 79, 0.04);
  box-shadow: 0 0 0 100vmax rgba(45, 106, 79, 0.04);
}

/* Testimonial quote body — was hardcoded var(--navy-deep), invisible on dark */
:root[data-theme="dark"] .mkt-quote-text {
  color: rgba(255, 255, 255, 0.92);
}

/* /features product UI mockups — many use hardcoded var(--navy-deep) on
   what was originally a white surface. In dark mode the surface is dark
   too, so the navy-deep text becomes invisible. Override per selector. */
:root[data-theme="dark"] .mk-strip-title,
:root[data-theme="dark"] .mk-dash-banner strong,
:root[data-theme="dark"] .mk-round-name,
:root[data-theme="dark"] .mk-round-pairs strong,
:root[data-theme="dark"] .mk-kpi-num {
  color: rgba(255, 255, 255, 0.92);
}
/* Status-colored KPI numbers + deltas — brighten so they pop on dark surface */
:root[data-theme="dark"] .mk-kpi.red .mk-kpi-num,
:root[data-theme="dark"] .mk-kpi-delta.delta-down {
  color: #f87171;
}
:root[data-theme="dark"] .mk-kpi-delta.delta-up {
  color: #6ee7b7;
}
:root[data-theme="dark"] .mk-kpi-delta.delta-flat {
  color: rgba(255, 255, 255, 0.5);
}

/* Eyebrow text — sage default reads dim on dark; brighten to lighter sage */
:root[data-theme="dark"] .mkt-eyebrow {
  color: #5dba8e;
}

/* Form inputs — hardcoded white bg → dark elevated surface */
:root[data-theme="dark"] .mkt-input,
:root[data-theme="dark"] .mkt-textarea,
:root[data-theme="dark"] .mkt-select {
  background: #2a2e3d;
  color: rgba(255, 255, 255, 0.92);
}

/* Extend block — warm cream banner → muted sage tint on dark */
:root[data-theme="dark"] .mkt-extend {
  background: rgba(45, 106, 79, 0.12);
}
:root[data-theme="dark"] .mkt-extend p {
  color: rgba(255, 255, 255, 0.85);
}

/* === Dark mode token overrides (scoped to .mkt-page only).
   Authenticated app pages don't carry .mkt-page so their tokens stay
   in light values — they're physically immune to the public-page theme. */
:root[data-theme="dark"] .mkt-page {
  /* Surfaces — navy-tinted dark, harmonizes with brand instead of
     near-black void. Warmer than Linear-style aggressive dark. */
  --bg:            #1a1d2a;
  --surface:       #2a2e3d;

  /* Text */
  --text:          rgba(255, 255, 255, 0.92);
  --text-muted:    #a39e98;
  --text-faint:    #6e7280;

  /* Borders — slightly more visible than ultra-dark counterparts */
  --hairline:      rgba(255, 255, 255, 0.10);
  --hairline-soft: rgba(255, 255, 255, 0.05);

  /* Shadows — less aggressive than the original near-black darkness */
  --shadow-card:
    rgba(0, 0, 0, 0.30) 0px 4px 18px,
    rgba(0, 0, 0, 0.24) 0px 2.025px 7.847px,
    rgba(0, 0, 0, 0.18) 0px 0.8px 2.925px,
    rgba(0, 0, 0, 0.12) 0px 0.175px 1.041px;
  --shadow-hover:
    rgba(0, 0, 0, 0.38) 0px 12px 28px,
    rgba(0, 0, 0, 0.30) 0px 6px 14px,
    rgba(0, 0, 0, 0.22) 0px 3px 7px,
    rgba(0, 0, 0, 0.16) 0px 1px 2px;

  /* Dimmer atmospheric gradient at top — sage tint over dark */
  background:
    linear-gradient(180deg, rgba(45, 106, 79, 0.18) 0%, rgba(45, 106, 79, 0) 100%) no-repeat top / 100% 600px,
    var(--bg);
}

/* === Page shell + sections === */
.mkt-page {
  /* Atmospheric sage-light gradient at the top of every marketing page —
     fades into the regular bg over the first 600px. The sticky header
     (white) sits on top; the gradient is visible behind welcome strip + hero. */
  background:
    linear-gradient(180deg, rgba(212, 235, 224, 0.55) 0%, rgba(212, 235, 224, 0) 100%) no-repeat top / 100% 600px,
    var(--bg);
  color: var(--text);
  min-height: 100vh;

  /* Notion-inspired polish — scoped to public marketing pages.
     Overrides cascade into every .mkt-* selector that consumes these tokens,
     so authenticated pages (no .mkt-page class) are unaffected. */
  --text:          rgba(0, 0, 0, 0.95);
  --text-muted:    #615d59;
  --text-faint:    #a39e98;
  --hairline:      rgba(0, 0, 0, 0.08);
  --hairline-soft: rgba(0, 0, 0, 0.04);
  --shadow-card:
    rgba(15, 30, 48, 0.05) 0px 4px 18px,
    rgba(15, 30, 48, 0.034) 0px 2.025px 7.847px,
    rgba(15, 30, 48, 0.025) 0px 0.8px 2.925px,
    rgba(15, 30, 48, 0.013) 0px 0.175px 1.041px;
  --shadow-hover:
    rgba(15, 30, 48, 0.07) 0px 12px 28px,
    rgba(15, 30, 48, 0.05) 0px 6px 14px,
    rgba(15, 30, 48, 0.035) 0px 3px 7px,
    rgba(15, 30, 48, 0.018) 0px 1px 2px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga", "calt", "kern";
}
.mkt-section {
  padding: 80px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.mkt-section-narrow { max-width: 820px; }
@media (max-width: 760px) {
  .mkt-section { padding: 56px 22px; }
}

/* Scroll-triggered reveal. Progressive enhancement:
   - Default: sections render visible (no JS, no observer, or reduce-motion = no hiding)
   - With js-motion class on body (set by marketing-motion.js): sections start hidden,
     fade + slide in when they enter viewport via .is-visible
   - prefers-reduced-motion: reduce → script bails early, sections stay default-visible */
@media (prefers-reduced-motion: no-preference) {
  body.js-motion .reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  body.js-motion .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Warm-white alternating section. Uses box-shadow + clip-path so the bg
   bleeds full-width past the section's max-width without restructuring. */
.mkt-section-alt {
  background: #f6f5f4;
  box-shadow: 0 0 0 100vmax #f6f5f4;
  clip-path: inset(0 -100vmax);
}

/* Atmospheric "glow" section — soft sage-light radial halo centered at
   the top of the section, fading down. Layers a subtle sage tint over
   the full-bleed area so the surrounding viewport edges keep continuity
   with the centered glow. */
.mkt-section-glow {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%,
      rgba(212, 235, 224, 0.45) 0%,
      rgba(212, 235, 224, 0) 70%),
    rgba(212, 235, 224, 0.06);
  box-shadow: 0 0 0 100vmax rgba(212, 235, 224, 0.06);
  clip-path: inset(0 -100vmax);
}

.mkt-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-bottom: 14px;
}
.mkt-h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  line-height: 1.0;
  color: var(--navy-deep);
  font-weight: 400;
  letter-spacing: -0.025em;
  font-feature-settings: "liga", "calt", "kern", "lnum";
}
.mkt-h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.12;
  color: var(--navy-deep);
  font-weight: 400;
  margin-bottom: 18px;
  font-feature-settings: "liga", "calt", "kern", "lnum";
}
.mkt-h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy-deep);
  font-weight: 400;
  margin-bottom: 10px;
}
.mkt-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 680px;
}
.mkt-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  /* Slightly more space between consecutive paragraphs than the browser
     default. Helps the About page especially, where the bio + "Why"
     sections stack multiple long paragraphs in a row. */
  margin: 0 0 1.5em;
}
/* Phones revert to left-align: justify creates ugly word-rivers when the
   line is too short to flow evenly. */
@media (max-width: 600px) {
  .mkt-body { text-align: left; hyphens: manual; }
}
.mkt-body a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.mkt-body a:hover { color: var(--navy-deep); }

/* === Welcome strip — warm intro before the stat-led hero === */
.mkt-welcome {
  padding: 64px 32px 24px;
  text-align: center;
}
.mkt-welcome-inner {
  max-width: 820px;
  margin: 0 auto;
}
.mkt-welcome-tag {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--sage);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.mkt-welcome-body {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@media (max-width: 760px) {
  .mkt-welcome { padding: 44px 22px 16px; }
  .mkt-welcome-tag { font-size: 1.2rem; }
  .mkt-welcome-body { font-size: 1rem; }
}

/* === Hero === */
.mkt-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px; padding-bottom: 64px;
}
.mkt-hero-actions {
  margin-top: 28px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.mkt-hero-art {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.mkt-hero-art-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(251, 191, 36, 0.18) 0%,
    rgba(234, 88, 12, 0.10) 40%,
    rgba(45, 106, 79, 0.08) 100%);
  border-radius: 24px;
}
.mkt-hero-art img {
  position: relative;
  max-width: 100%;
  max-height: 420px;
  filter: drop-shadow(0 22px 50px rgba(0,0,0,0.20));
}
@media (max-width: 880px) {
  .mkt-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .mkt-hero-art img { max-height: 280px; }
}

/* === Stat callout (the 44% block) === */
.mkt-stat {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.mkt-stat-number {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1;
  color: #fbbf24;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.mkt-stat-label {
  font-size: 1.18rem;
  line-height: 1.4;
  font-weight: 500;
}
.mkt-stat-attr {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.78;
}
@media (max-width: 600px) {
  .mkt-stat { grid-template-columns: 1fr; gap: 16px; padding: 36px 26px; }
}

/* === Outcomes strip — small stat cards in a row. Default is 3-up;
   apply .mkt-outcomes-strip-4 for a 4-up variant. Stacks down on
   narrow viewports. === */
.mkt-outcomes-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.mkt-outcomes-strip-4 { grid-template-columns: repeat(4, 1fr); }
.mkt-outcome {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
}
.mkt-outcome-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.mkt-outcome-label {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-wrap: balance;
}
@media (max-width: 1000px) {
  .mkt-outcomes-strip-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .mkt-outcomes-strip,
  .mkt-outcomes-strip-4 { grid-template-columns: 1fr; }
}

/* === 3-up feature grid === */
.mkt-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) {
  .mkt-grid-3 { grid-template-columns: 1fr; gap: 18px; }
}
.mkt-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--hairline-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mkt-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--hairline);
}
/* Lift transform only for users who haven't requested reduced motion.
   Vestibular-sensitive users still get the shadow + border feedback. */
@media (prefers-reduced-motion: no-preference) {
  .mkt-card:hover { transform: translateY(-2px); }
}
.mkt-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

/* === Testimonial / quote === */
.mkt-quote {
  background: var(--surface);
  border-radius: 18px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mkt-quote:hover {
  box-shadow: var(--shadow-hover);
}
@media (prefers-reduced-motion: no-preference) {
  .mkt-quote:hover { transform: translateY(-2px); }
}
.mkt-quote-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--serif);
  font-size: 3rem;
  overflow: hidden;
  flex-shrink: 0;
}
.mkt-quote-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Shift the visible window upward so Lydia's face lands in the visual
     center of the circle instead of mid-torso. */
  object-position: center 22%;
}
.mkt-quote-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--navy-deep);
  font-weight: 400;
}
.mkt-quote-attr {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.mkt-quote-attr strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
/* Accomplishments list under the testimonial attribution. Matches the
   trophy-bullet style of .about-credentials but lighter weight (no
   background callout) since the testimonial card already carries the
   visual emphasis. */
.mkt-quote-creds {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.mkt-quote-creds li {
  padding: 3px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.mkt-quote-creds li::before {
  content: '🏆 ';
  margin-right: 4px;
}
@media (max-width: 760px) {
  .mkt-quote { grid-template-columns: 1fr; padding: 32px 24px; gap: 22px; }
  .mkt-quote-photo { width: 100px; height: 100px; font-size: 2.2rem; margin: 0 auto; }
  .mkt-quote-text { font-size: 1.1rem; }
}

/* === Inline waitlist / contact form === */
.mkt-form {
  background: var(--surface);
  border-radius: 14px;
  padding: 28px 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}
.mkt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .mkt-form-row { grid-template-columns: 1fr; } }

.mkt-input, .mkt-textarea, .mkt-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  font: 400 0.95rem var(--sans);
  color: var(--text);
  outline: none;
  background: white;
  transition: border-color 0.12s;
}
.mkt-input:focus, .mkt-textarea:focus, .mkt-select:focus { border-color: var(--navy); }
.mkt-textarea { min-height: 90px; resize: vertical; }

.mkt-form-msg, .mkt-form-error {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  display: none;
}
.mkt-form-msg   { background: var(--sage-light); color: var(--sage); }
.mkt-form-error { background: #fed7d7; color: var(--red); }

/* === CTA strip === */
.mkt-cta-strip {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f1e30 100%);
  color: white;
  border-radius: 18px;
  padding: 52px 44px;
  text-align: center;
}
.mkt-cta-strip .mkt-h2 { color: white; }
.mkt-cta-strip .mkt-lead { color: rgba(255, 255, 255, 0.85); margin: 0 auto; }
.mkt-cta-strip .mkt-btn-primary { background: #fbbf24; color: var(--navy-deep); margin-top: 26px; }
.mkt-cta-strip .mkt-btn-primary:hover { background: #f59e0b; }

/* === Side-by-side block (problem / solution) === */
.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .mkt-split { grid-template-columns: 1fr; gap: 32px; } }

/* === Hybrid (different program) block === */
.mkt-extend {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.mkt-extend p { font-size: 1rem; color: #9a3412; line-height: 1.55; margin: 0; }
@media (max-width: 600px) {
  .mkt-extend { grid-template-columns: 1fr; }
}

/* === Footer === */
.mkt-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 32px 80px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.mkt-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.mkt-footer-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.12s;
}
.mkt-footer-brand:hover { opacity: 0.78; }
.mkt-footer-brand img { width: 28px; height: 28px; }
.mkt-footer-brand strong { color: white; font-family: var(--serif); font-weight: 400; font-size: 1rem; }
.mkt-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.mkt-footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.12s; }
.mkt-footer-links a:hover { color: white; text-decoration: underline; }
.mkt-footer-fine { width: 100%; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); margin-top: 6px; }
.mkt-footer-fine a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.12s;
}
.mkt-footer-fine a:hover { color: white; }
