/* Mjengo School — homepage design (loads after styles.css, scoped to body.mj-home) */

.mj-home {
  --primary: #241f1a;
  --primary-strong: #171310;
  --text: #241f1a;
  --muted: #7a7168;
  --line: #e8e1d5;
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --ink: #241f1a;
  background:
    radial-gradient(1000px 520px at 88% -100px, rgba(245, 158, 11, 0.12), transparent 62%),
    radial-gradient(800px 500px at -5% 30%, rgba(180, 83, 9, 0.05), transparent 60%),
    #fdf8f0;
}

.mj-shell {
  width: min(1200px, calc(100% - 32px));
  padding-top: 22px;
  padding-bottom: 60px;
}

/* ---------- Nav ---------- */

.mj-nav {
  border-color: rgba(232, 225, 213, 0.95);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 38px rgba(36, 31, 26, 0.07);
}

.mj-nav .brand-mark {
  background: var(--ink);
}

.mj-nav .brand-text strong {
  color: var(--primary-strong);
}

.mj-nav .nav-links a {
  color: #64748b;
}

.mj-nav .nav-links a:hover {
  color: var(--primary-strong);
}

.mj-nav .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff !important;
  font-weight: 700;
}

.mj-nav .nav-cta:hover {
  background: var(--primary-strong);
  color: #ffffff !important;
}

/* ---------- Hero ---------- */

.mj-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 60px;
  max-width: 1120px;
  margin: 76px auto 0;
  padding: 0 8px;
}

.mj-hero-copy {
  max-width: none;
  margin: 0;
  text-align: left;
}

.mj-hero-copy .eyebrow {
  color: var(--amber-deep);
}

.mj-hero-copy h1 {
  max-width: 16ch;
  margin-top: 14px;
  color: var(--primary-strong);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.005em;
  font-weight: 600;
}

.mj-hero-copy .hero-text {
  max-width: 46ch;
  margin-inline: 0;
  font-size: 1.07rem;
}

.mj-hero-actions {
  justify-content: flex-start;
}

.mj-hero-actions .primary {
  background: var(--ink);
  padding: 14px 26px;
}

.mj-hero-actions .primary:hover {
  background: var(--primary-strong);
}

.mj-hero-actions .secondary,
.mj-hero-actions .install-app-trigger-hero {
  border-color: #dbe2ea;
  background: #ffffff;
  color: var(--primary-strong);
}

.mj-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.mj-trust-row li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.mj-trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: var(--amber);
}

/* ---------- Hero sample-output panel ---------- */

.mj-hero-panel {
  padding: 26px 26px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 42%),
    linear-gradient(180deg, #362b1f 0%, #241f1a 100%);
  color: #e8e1d5;
  box-shadow: 0 30px 70px rgba(23, 19, 16, 0.28);
}

.mj-panel-tag {
  margin: 0 0 16px;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mj-panel-rows {
  display: grid;
  gap: 0;
}

.mj-panel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(232, 225, 213, 0.12);
}

.mj-panel-row span {
  color: rgba(232, 225, 213, 0.72);
  font-size: 0.9rem;
}

.mj-panel-row strong {
  color: #fdf8f0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.mj-panel-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 4px;
}

.mj-panel-total span {
  color: rgba(232, 225, 213, 0.72);
  font-size: 0.9rem;
}

.mj-panel-total strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  color: #fbbf24;
}

.mj-panel-note {
  margin: 12px 0 0;
  color: rgba(232, 225, 213, 0.55);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------- Stats ---------- */

.mj-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 44px auto 0;
  padding: 0 8px;
}

.mj-stats article {
  padding: 22px 24px;
  border: 1px solid rgba(232, 225, 213, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(36, 31, 26, 0.04);
}

.mj-stats strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  color: var(--primary-strong);
}

.mj-stats span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Sections ---------- */

.mj-main {
  display: grid;
  gap: 8px;
}

.mj-section {
  padding-top: 64px;
  padding-bottom: 24px;
}

.mj-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.mj-section-heading .eyebrow {
  color: var(--amber-deep);
}

.mj-section-heading h2 {
  margin-top: 12px;
  color: var(--primary-strong);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.mj-section-lead {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.mj-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 32px;
  max-width: none;
}

.mj-split-heading .mj-section-lead {
  margin-bottom: 6px;
}

/* ---------- Smart path steps ---------- */

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

.mj-step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(36, 31, 26, 0.05);
}

.mj-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-deep);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

.mj-step-card h3 {
  margin: 18px 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  color: var(--primary-strong);
}

.mj-step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- Featured suite band ---------- */

.mj-featured-suite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
  padding: 30px 34px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 40%),
    linear-gradient(180deg, #362b1f 0%, #241f1a 100%);
  box-shadow: 0 24px 55px rgba(23, 19, 16, 0.22);
  cursor: pointer;
}

.mj-featured-suite-copy h3 {
  margin: 12px 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  color: #fdf8f0;
  letter-spacing: -0.02em;
}

.mj-featured-suite-copy p {
  margin: 0;
  max-width: 60ch;
  color: rgba(232, 225, 213, 0.75);
  line-height: 1.7;
}

/* ---------- Cards ---------- */

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

.mj-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mj-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mj-tool-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(36, 31, 26, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.mj-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 20px 42px rgba(36, 31, 26, 0.1);
}

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

.mj-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f1f5f9;
  color: var(--primary-strong);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.mj-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mj-badge-free {
  background: rgba(16, 122, 87, 0.1);
  color: #0f766e;
}

.mj-badge-premium {
  background: rgba(245, 158, 11, 0.13);
  color: var(--amber-deep);
}

.mj-badge-neutral {
  background: #f1f5f9;
  color: #475569;
}

.mj-tool-card h3 {
  margin: 16px 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--primary-strong);
}

.mj-tool-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.mj-card-link {
  margin-top: auto;
  color: var(--amber-deep);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.mj-card-link:hover {
  text-decoration: underline;
}

/* ---------- Buttons ---------- */

.mj-amber-button {
  border: none;
  background: var(--amber);
  color: #1a1206;
  font-weight: 800;
  padding: 14px 24px;
  white-space: nowrap;
}

.mj-amber-button:hover {
  background: #fbbf24;
  color: #1a1206;
}

.mj-ghost-button {
  border: 1px solid rgba(248, 250, 252, 0.28);
  background: transparent;
  color: #fdf8f0;
}

.mj-ghost-button:hover {
  border-color: rgba(248, 250, 252, 0.55);
  background: rgba(248, 250, 252, 0.08);
}

/* ---------- Featured brief ---------- */

.mj-featured-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 32px;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(36, 31, 26, 0.07);
  cursor: pointer;
}

.mj-featured-brief-copy h3 {
  margin: 12px 0 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
}

.mj-featured-brief .mj-panel-tag {
  color: var(--amber-deep);
}

.mj-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mj-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.mj-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.mj-featured-brief-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: #fdf8f0;
  border: 1px solid var(--line);
}

.mj-price {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mj-price strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  color: var(--primary-strong);
}

.mj-price span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.mj-coming-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
  padding: 18px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.8);
}

.mj-coming-soon p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.mj-coming-soon strong {
  color: var(--primary-strong);
}

.mj-coming-soon a {
  color: var(--amber-deep);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mj-coming-soon a:hover {
  text-decoration: underline;
}

/* ---------- Consultation band ---------- */

.mj-consult-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  padding: 40px 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 45%),
    linear-gradient(180deg, #362b1f 0%, #241f1a 100%);
  box-shadow: 0 28px 60px rgba(23, 19, 16, 0.24);
}

.mj-consult-copy h2 {
  margin: 12px 0 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  color: #fdf8f0;
  letter-spacing: -0.02em;
}

.mj-consult-copy p {
  margin: 0;
  max-width: 52ch;
  color: rgba(232, 225, 213, 0.75);
  line-height: 1.75;
}

.mj-consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.mj-price-list {
  display: grid;
  gap: 0;
  align-content: center;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.mj-price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(232, 225, 213, 0.12);
}

.mj-price-list li:last-child {
  border-bottom: none;
}

.mj-price-list span {
  color: rgba(232, 225, 213, 0.72);
  font-size: 0.95rem;
}

.mj-price-list strong {
  color: #fbbf24;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  white-space: nowrap;
}

/* ---------- Videos ---------- */

.mj-home .video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mj-home .video-list > a:only-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Footer ---------- */

.mj-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 56px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.mj-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mj-footer p strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--primary-strong);
}

.mj-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mj-footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.mj-footer-links a:hover {
  color: var(--primary-strong);
}

.mj-footer-note {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .mj-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mj-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mj-hero-panel {
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .mj-split-heading,
  .mj-featured-brief,
  .mj-consult-band {
    grid-template-columns: 1fr;
  }

  .mj-featured-suite {
    flex-direction: column;
    align-items: flex-start;
  }

  .mj-support-grid,
  .mj-blog-grid {
    grid-template-columns: 1fr;
  }

  .mj-home .video-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mj-shell {
    width: min(100%, calc(100% - 20px));
  }

  .mj-hero {
    margin-top: 34px;
  }

  .mj-hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  .mj-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mj-steps,
  .mj-card-grid {
    grid-template-columns: 1fr;
  }

  .mj-section {
    padding-top: 48px;
  }

  .mj-featured-suite,
  .mj-consult-band,
  .mj-featured-brief {
    padding: 26px 22px;
  }

  .mj-footer {
    padding: 24px 22px;
  }
}
