/* Mjengo School — homepage design (loads after styles.css, scoped to body.mj-home) */

.mj-home {
  --primary: #241f1a;
  --primary-strong: #171310;
  --text: #241f1a;
  --muted: #5f666d;
  --line: #dfe3e6;
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --ink: #241f1a;
  background: #f7f8fa;
}

.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-proof {
  position: relative;
  margin: 0;
  align-self: stretch;
}

.mj-hero-slides {
  position: relative;
  aspect-ratio: 7 / 4;
  overflow: hidden;
  border-radius: 28px;
  background: #e8e1d5;
  box-shadow: 0 30px 70px rgba(23, 19, 16, 0.28);
}

.mj-hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.mj-hero-slide.is-active {
  display: block;
  pointer-events: auto;
  animation: mj-slide-reveal 0.32s ease both;
}

@keyframes mj-slide-reveal {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.mj-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.mj-hero-slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(17, 15, 13, 0.4));
}

.mj-slide-controls {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(17, 15, 13, 0.68);
  backdrop-filter: blur(8px);
}

.mj-slide-controls button {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
}

.mj-slide-controls button:hover,
.mj-slide-controls button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.mj-slide-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 1px;
}

.mj-slide-dots button {
  min-width: 7px;
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
}

.mj-slide-dots button.is-active {
  width: 18px;
  background: #fbbf24;
}

.mj-slide-toggle {
  width: 24px;
  min-width: 24px !important;
}

.mj-hero-proof img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(23, 19, 16, 0.28);
}

.mj-hero-proof figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(17, 15, 13, 0.72);
  backdrop-filter: blur(6px);
  color: #ffffff;
}

.mj-hero-proof figcaption span {
  display: block;
  margin-bottom: 6px;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mj-hero-proof figcaption strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.mj-hero-proof figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.mj-hero-proof figcaption a:hover {
  text-decoration: underline;
}

.mj-hero-slide.has-generated-art figcaption {
  right: auto;
  bottom: 14px;
  left: 14px;
  max-width: min(330px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 14px;
}

.mj-hero-slide.has-generated-art figcaption span {
  margin-bottom: 4px;
  font-size: 0.64rem;
}

.mj-hero-slide.has-generated-art figcaption strong {
  margin-bottom: 7px;
  font-size: 0.87rem;
}

.mj-hero-slide.has-generated-art figcaption a {
  font-size: 0.8rem;
}

.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-hero-paths {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mj-hero-paths a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(232, 225, 213, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(36, 31, 26, 0.05);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.mj-hero-paths a:hover,
.mj-hero-paths a:focus-visible {
  transform: translateY(-2px);
  border-color: #d9bd97;
  box-shadow: 0 16px 34px rgba(36, 31, 26, 0.1);
  outline: none;
}

.mj-hero-paths span {
  grid-column: 1;
  color: var(--amber-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mj-hero-paths strong {
  grid-column: 1;
  color: var(--primary-strong);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
}

.mj-hero-paths em {
  grid-row: 1 / 3;
  grid-column: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(36, 31, 26, 0.06);
  color: var(--primary-strong);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.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);
}

.mj-creator-proof {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 500px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #a9ded1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-strong);
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(0, 123, 120, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mj-creator-proof:hover,
.mj-creator-proof:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(0, 123, 120, 0.16);
}

.mj-creator-proof img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #ffe36b;
}

.mj-creator-proof strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.25;
}

.mj-creator-proof small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* ---------- Quick start ---------- */

.mj-quick-start {
  max-width: 1120px;
  margin: 42px auto 0;
  padding: 28px;
  border: 1px solid rgba(232, 225, 213, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(36, 31, 26, 0.07);
}

.mj-quick-start-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 28px;
  margin-bottom: 20px;
}

.mj-quick-start-head .mj-panel-tag {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: var(--amber-deep);
}

.mj-quick-start-head h2 {
  margin: 0;
  color: var(--primary-strong);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.mj-quick-start-head > p:last-child {
  margin: 0 0 3px;
  color: var(--muted);
}

.mj-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mj-quick-grid a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fdfaf5;
  color: var(--primary-strong);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.mj-quick-grid a:hover {
  transform: translateY(-2px);
  border-color: #d9bd97;
  box-shadow: 0 12px 24px rgba(36, 31, 26, 0.08);
}

.mj-quick-grid a > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.13);
  color: var(--amber-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.mj-quick-grid strong {
  align-self: end;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
}

.mj-quick-grid small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mj-quick-grid em {
  grid-column: 2;
  justify-self: start;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-deep);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.mj-quick-grid .mj-quick-all {
  border-color: transparent;
  background: var(--primary-strong);
  color: #ffffff;
}

.mj-quick-grid .mj-quick-all small {
  color: rgba(255, 255, 255, 0.68);
}

.mj-quick-grid .mj-quick-all em {
  background: rgba(255, 255, 255, 0.14);
  color: #fbbf24;
}

/* ---------- 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-photo {
  flex: 0 0 220px;
  margin: 0;
  align-self: stretch;
  display: flex;
}

.mj-featured-photo img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(23, 19, 16, 0.28);
}

.mj-featured-suite-copy {
  flex: 1;
}

.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;
}

/* ---------- Calculator category filter chips ---------- */

.mj-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 8px;
}

.mj-chip {
  font-family: inherit;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.mj-chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.mj-chip em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--muted);
}

.mj-chip:hover {
  border-color: #d3b48c;
}

.mj-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 22, 36, 0.18);
}

.mj-chip.is-active em {
  color: rgba(255, 255, 255, 0.72);
}

.mj-chip-structure i {
  background: #f59e0b;
}
.mj-chip-finish i {
  background: #0f766e;
}
.mj-chip-fence i {
  background: #8a5a2b;
}

/* ---------- Calculator category bands ---------- */

.mj-cat-band {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  scroll-margin-top: 90px;
}

.mj-band-structure {
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.06), rgba(245, 158, 11, 0.015) 120px, transparent 240px),
    #ffffff;
  border-color: rgba(245, 158, 11, 0.28);
}

.mj-band-invest {
  background:
    linear-gradient(180deg, rgba(21, 95, 82, 0.08), rgba(21, 95, 82, 0.018) 120px, transparent 240px),
    #ffffff;
  border-color: rgba(21, 95, 82, 0.28);
}

.mj-band-finish {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(15, 118, 110, 0.015) 120px, transparent 240px),
    #ffffff;
  border-color: rgba(15, 118, 110, 0.24);
}

.mj-band-fence {
  background:
    linear-gradient(180deg, rgba(138, 90, 43, 0.06), rgba(138, 90, 43, 0.015) 120px, transparent 240px),
    #ffffff;
  border-color: rgba(138, 90, 43, 0.26);
}

.mj-band-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mj-band-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: none;
  background: #ffffff;
  border: 1px solid var(--line);
}

.mj-band-icon svg {
  width: 24px;
  height: 24px;
}

.mj-band-structure .mj-band-icon {
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.4);
}
.mj-band-invest .mj-band-icon {
  color: #155f52;
  border-color: rgba(21, 95, 82, 0.38);
}
.mj-band-finish .mj-band-icon {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.35);
}
.mj-band-fence .mj-band-icon {
  color: #8a5a2b;
  border-color: rgba(138, 90, 43, 0.4);
}

.mj-band-head h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.18rem;
  color: var(--primary-strong);
}

.mj-band-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mj-band-count {
  margin-left: auto;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mj-cat-band .mj-tool-card {
  background: #ffffff;
}

/* When a filter chip is active, non-matching bands collapse away. */
.mj-cat-band.is-hidden {
  display: none;
}

/* Category-tinted icon tiles: the family is recognisable before reading. */
.mj-card-icon svg {
  width: 23px;
  height: 23px;
}

.mj-card-icon.mj-icon-structure {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.mj-card-icon.mj-icon-invest {
  background: rgba(21, 95, 82, 0.12);
  color: #155f52;
}

.mj-card-icon.mj-icon-finish {
  background: rgba(15, 118, 110, 0.11);
  color: #0f766e;
}

.mj-card-icon.mj-icon-fence {
  background: rgba(138, 90, 43, 0.13);
  color: #8a5a2b;
}

.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: 240px minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  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-brief-photo {
  box-shadow: none;
}

.mj-brief-photo img {
  box-shadow: 0 12px 26px rgba(36, 31, 26, 0.14);
}

.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: 190px minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  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-photo {
  margin: 0;
  align-self: stretch;
  display: flex;
}

.mj-consult-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(23, 19, 16, 0.35);
}

.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;
  }

}

.mj-card-visual {
  position: relative;
  margin: -22px -22px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px 22px 14px 14px;
  background: #e8e1d5;
}

.mj-card-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(20, 45, 75, 0.1));
  pointer-events: none;
}

.mj-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mj-tool-card:hover .mj-card-visual img {
  transform: scale(1.025);
}

/* Bright, tactile accents keep the working tools easy to scan. */
.mj-home { background: #ffffff; --primary-strong: #163c38; --text: #203c38; --line: #d7e8e4; }
.mj-nav { border-color: #b9ded6; box-shadow: 0 5px 0 #e1f3ec; }
.mj-nav .brand-mark, .mj-nav .nav-cta { background: #007b78; }
.mj-nav .nav-cta:hover { background: #005e5b; }
.mj-headline-highlight {
  background: #ffe36b;
  color: #163c38;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 4px;
}
.mj-hero-copy .eyebrow { color: #007b78; }
.mj-hero-slides { background: #e1f3ec; box-shadow: 8px 8px 0 #a9ded1; }
.mj-home .button { transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.mj-home .button:hover { transform: translateY(-3px); box-shadow: 0 5px 0 rgba(0, 85, 79, 0.18); }
.mj-home .button:active { transform: translateY(0); box-shadow: none; }
.mj-section-heading .eyebrow { color: #007b78; }
.mj-section-heading h2 { text-decoration: underline; text-decoration-color: #ffe36b; text-decoration-thickness: 6px; text-underline-offset: 7px; }
.mj-service-advice { background: #d8f4e9; border-color: #71c8b1; }
.mj-service-pass { background: #fff0a0; border-color: #d5b844; }
.mj-service-brief { background: #e2efff; border-color: #84b4e0; }
.mj-service-offer .mj-panel-tag { padding: 5px 0; border-bottom: 2px solid currentColor; }
.mj-service-offer:hover { transform: translateY(-5px); box-shadow: 0 7px 0 #d7e8e4; }
.mj-service-pass .button { background: #163c38; color: #fff; }
.mj-service-brief .button { background: #245d94; color: #fff; }
.mj-chip { border-color: #9bcfc3; background: #e8f7f2; color: #164c43; }
.mj-chip-finish { background: #fff0b3; border-color: #d9c568; color: #55440d; }
.mj-chip-fence { background: #e3efff; border-color: #a1c3e8; color: #244e7b; }
.mj-chip-invest { background: #ffe6ec; border-color: #e7adbd; color: #7b2943; }
.mj-chip.is-active { background: #007b78; color: #fff; border-color: #007b78; box-shadow: 0 3px 0 #b3dfd4; }
.mj-tool-card { border-color: #c6dfd8; transition: transform 180ms ease, box-shadow 180ms ease; }
.mj-tool-card:hover { transform: translateY(-4px); box-shadow: 0 6px 0 #d8eee7; }
.mj-step-number { background: #d8f4e9; color: #006c60; }
.mj-step-card:nth-child(2) .mj-step-number { background: #ffe36b; color: #55440d; }
.mj-step-card:nth-child(3) .mj-step-number { background: #e2efff; color: #245d94; }
.mj-value-card-pass { background: #e8f7f2; }
.mj-final-cta { background: #fff0a0; border-color: #e4ca65; }
@media (prefers-reduced-motion: no-preference) {
  .mj-hero-copy { animation: mj-welcome 500ms ease-out both; }
  @keyframes mj-welcome { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  .mj-hero-slide,
  .mj-card-visual img {
    transition: none;
  }
}

@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-consult-photo img {
    max-height: 300px;
    object-position: 50% 22%;
  }

  .mj-featured-photo {
    flex-basis: auto;
    width: 100%;
  }

  .mj-featured-photo img {
    max-height: 220px;
  }

  .mj-support-grid,
  .mj-blog-grid {
    grid-template-columns: 1fr;
  }

  .mj-home .video-list {
    grid-template-columns: 1fr;
  }

  .mj-quick-start-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mj-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mj-shell {
    width: min(100%, calc(100% - 20px));
  }

  .mj-hero {
    margin-top: 34px;
    gap: 26px;
  }

  .mj-hero-slides {
    aspect-ratio: 16 / 10;
  }

  .mj-hero-proof figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }

  .mj-slide-controls {
    top: 10px;
    right: 10px;
  }

  .mj-slide-arrow {
    display: none !important;
  }

  .mj-hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  .mj-hero-paths a {
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 0;
  }

  .mj-hero-paths em {
    grid-row: auto;
    grid-column: 1;
    justify-self: start;
    margin-top: 6px;
    white-space: normal;
  }

  .mj-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mj-quick-start {
    margin-top: 28px;
    padding: 20px;
    border-radius: 22px;
  }

  .mj-quick-grid {
    grid-template-columns: 1fr;
  }

  .mj-steps,
  .mj-card-grid {
    grid-template-columns: 1fr;
  }

  .mj-cat-band {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .mj-band-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .mj-band-count {
    display: none;
  }

  .mj-section {
    padding-top: 48px;
  }

  .mj-featured-suite,
  .mj-consult-band,
  .mj-featured-brief {
    padding: 26px 22px;
  }

  .mj-footer {
    padding: 24px 22px;
  }
}

/* ============================================================
   Homepage redesign — conversion-first hero, proof bar,
   video cards, and closing CTA (2026 refresh)
   ============================================================ */

/* Lead with the tools: pull calculators above the process story */
.mj-home #calculators { order: -1; }
.mj-home #services { order: -2; }
.mj-services { padding-top: 48px; }
.mj-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.mj-service-offer { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; border: 1px solid #cbdcd9; border-radius: 8px; transition: transform 180ms ease, box-shadow 180ms ease; }
.mj-service-advice { background: #e5f5f2; border-top: 4px solid #007b78; }
.mj-service-pass { background: #fff3b8; border-top: 4px solid #e2a300; }
.mj-service-brief { background: #e9f3ff; border-top: 4px solid #3575ac; }
.mj-service-offer:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(24, 51, 47, 0.08); }
.mj-service-offer .mj-panel-tag { margin: 0; color: #365b57; }
.mj-service-offer h3 { margin: 0; font-size: 24px; line-height: 1.3; }
.mj-service-offer > p:not(.mj-panel-tag):not(.mj-service-price) { margin: 0; color: #42524f; line-height: 1.65; }
.mj-service-price { display: grid; gap: 4px; margin: auto 0 0; padding-top: 12px; }
.mj-service-price strong { font-size: 22px; }
.mj-service-price span { font-size: 14px; color: #42524f; }
.mj-service-offer .button { min-height: 48px; max-width: 100%; white-space: normal; text-align: center; }
.mj-home .mj-hero-actions .primary, .mj-home .mj-service-advice .primary { background: #007b78; color: #fff; }
.mj-home .mj-hero-actions .primary:hover, .mj-home .mj-service-advice .primary:hover { background: #005e5b; }
.mj-home .mj-consult-band { background: #173a35; }
.mj-price-list li span { min-width: 0; }
.mj-price-list li small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: #d3e5df; }
.mj-session-prep { grid-column: 1 / -1; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.mj-session-prep img { grid-row: 1 / span 3; width: 120px; height: 92px; border-radius: 8px; object-fit: cover; box-shadow: 6px 6px 0 #ffe36b; }
.mj-session-prep strong { font-size: 20px; line-height: 1.4; }
.mj-session-prep p { max-width: 76ch; color: var(--muted); line-height: 1.65; margin: 6px 0 10px; }
@media (max-width: 640px) { .mj-service-offer { padding: 22px; } .mj-service-offer h3 { font-size: 22px; } .mj-services .mj-split-heading { gap: 8px; } .mj-session-prep { grid-template-columns: 1fr; } .mj-session-prep img { grid-row: auto; width: 100%; height: auto; max-height: 180px; } .mj-creator-proof { grid-template-columns: 50px minmax(0, 1fr); border-radius: 18px; } .mj-creator-proof img { width: 50px; height: 50px; } }

/* Hero figure: Miano's portrait with floating proof + price chips,
   replacing the old abstract sample-output panel */
.mj-hero-figure {
  position: relative;
  align-self: stretch;
}
.mj-hero-figure > img {
  width: 100%;
  display: block;
  border-radius: 26px;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 30px 70px rgba(23, 19, 16, 0.28);
}
.mj-hero-chip {
  position: absolute;
  left: -14px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 250px;
  padding: 12px 15px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(36, 31, 26, 0.16);
  text-decoration: none;
  color: var(--primary-strong);
}
.mj-hero-chip-yt {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ff0033;
  color: #ffffff;
  display: grid;
  place-items: center;
}
.mj-hero-chip strong { display: block; font-size: 14px; }
.mj-hero-chip small { color: var(--muted); font-size: 12px; }
.mj-hero-pricetag {
  position: absolute;
  right: -10px;
  top: 22px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--primary-strong);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(23, 19, 16, 0.3);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mj-hero-pricetag:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(23, 19, 16, 0.36);
}
.mj-hero-pricetag strong { display: block; color: #fbbf24; font-size: 16px; }
.mj-hero-pricetag span {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Proof bar — real, outward credibility (4 up) */
.mj-proofbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mj-proofbar strong { font-size: 1.7rem; }

/* Video grid — real YouTube thumbnails */
.mj-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mj-video-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mj-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(36, 31, 26, 0.12);
}
.mj-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; }
.mj-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mj-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(23, 19, 16, 0.5));
}
.mj-video-views {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(23, 19, 16, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.mj-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #171310;
  display: grid;
  place-items: center;
  padding-left: 3px;
}
.mj-video-meta { display: block; padding: 14px 16px; }
.mj-video-meta strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--primary-strong);
}
.mj-video-meta small { color: var(--muted); font-size: 12px; }
.mj-video-more { margin-top: 24px; text-align: center; }

/* Closing CTA */
.mj-final-cta {
  padding: 54px 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.16), transparent 55%),
    #ffffff;
}
.mj-final-cta .eyebrow { color: var(--amber-deep); }
.mj-final-cta h2 {
  margin: 4px 0 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--primary-strong);
}
.mj-final-cta p { max-width: 52ch; margin: 0 auto 22px; color: var(--muted); }
.mj-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 820px) {
  .mj-hero-figure { width: 100%; max-width: 460px; margin: 0 auto; }
  /* Keep the floating chips inside the frame so they never cause sideways scroll */
  .mj-hero-chip { left: 10px; bottom: 14px; }
  .mj-hero-pricetag { right: 10px; top: 14px; }
  .mj-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mj-proofbar { grid-template-columns: 1fr 1fr; }
}

/* Library discovery and responsive homepage polish. */
.mj-home [hidden] { display: none !important; }
.mj-slide-controls button { min-width: 36px; height: 36px; }
.mj-slide-dots button { min-width: 28px; width: 28px; height: 36px; background: transparent; position: relative; }
.mj-slide-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #afb2b5; }
.mj-slide-dots button.is-active { width: 28px; background: transparent; }
.mj-slide-dots button.is-active::after { background: #fbbf24; }
.mj-slide-toggle { min-width: 36px !important; width: 36px; }
.mj-home { scroll-padding-top: 24px; }
.mj-home :is(a, button, input):focus-visible {
  outline: 3px solid #007b78;
  outline-offset: 4px;
}
.mj-home :is(h1, h2, h3) { letter-spacing: 0; }
.mj-home #calculators { padding-top: 48px; }
.mj-cat-band { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 24px 0; margin-top: 28px; }
.mj-card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.mj-card-grid:has(> .mj-tool-card:only-child) .mj-tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  column-gap: 24px;
}
.mj-card-grid:has(> .mj-tool-card:only-child) .mj-card-visual {
  grid-column: 1;
  grid-row: 1 / 5;
  margin: -22px 0 -22px -22px;
  aspect-ratio: auto;
  min-height: 240px;
  border-radius: 8px 0 0 8px;
}
.mj-card-grid:has(> .mj-tool-card:only-child) :is(.mj-card-top, h3, p, .mj-card-link) { grid-column: 2; }
.mj-tool-card { box-shadow: none; overflow: hidden; }
.mj-investment-suite-link { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #c6dfd8; border-radius: 12px; background: #f4f8ec; color: #183b32; font-size: 14px; }
.mj-investment-suite-link a { display: inline-block; margin-left: 6px; color: #103e35; font-weight: 800; }
.mj-final-cta { border-radius: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.mj-featured-brief, .mj-consult-band, .mj-footer { border-radius: 8px; }
@media (max-width: 640px) {
  .mj-card-grid { grid-template-columns: 1fr; }
  .mj-card-grid:has(> .mj-tool-card:only-child) .mj-tool-card { display: flex; }
  .mj-card-grid:has(> .mj-tool-card:only-child) .mj-card-visual { margin: -22px -22px 18px; aspect-ratio: 16 / 9; min-height: 0; border-radius: 8px 8px 0 0; }
}
.mj-hero { margin-top: 44px; gap: 36px; }
.mj-hero-copy { grid-column: 2; grid-row: 1; }
.mj-hero-proof { grid-column: 1; grid-row: 1; }
.mj-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fff;
  color: #171310;
  transform: translateY(-160%);
}
.mj-skip-link:focus { transform: translateY(0); }
@media (max-width: 1080px) {
  .mj-hero-copy, .mj-hero-proof { grid-column: 1; grid-row: auto; }
}
.mj-hero-copy h1 { font-size: 44px; line-height: 1.12; }
.mj-hero-paths a { border-radius: 8px; box-shadow: none; }
.mj-quick-start-wide { border-radius: 0; box-shadow: none; background: #fff; }
.mj-quick-grid a { border-radius: 8px; }
.mj-cat-band { border-radius: 0; }
.mj-tool-card { border-radius: 8px; }
.mj-library-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  margin: 24px 0 18px;
}
.mj-library-search label { grid-column: 1 / -1; font-weight: 700; font-size: 14px; }
.mj-library-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #c9cfd5;
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff;
  color: #242a30;
  font: inherit;
}
.mj-library-search p { align-self: center; margin: 0; color: var(--muted); font-size: 14px; }
.mj-library-search .mj-free-filter { display: flex; grid-column: 1; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 600; }
.mj-library-search .mj-free-filter input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: #007b78; flex: none; }
.mj-filter-reset { justify-self: end; align-self: center; min-height: 44px; padding: 8px 0; background: transparent; border: 0; color: #006b68; font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.mj-filter-reset:disabled { color: var(--muted); opacity: 0.65; text-decoration: none; cursor: default; }
.mj-library-search p { max-width: 34ch; }
@media (max-width: 640px) { .mj-filter-reset { justify-self: start; } }
.mj-cat-chips { flex-wrap: wrap; }
.mj-search-empty { padding: 32px 0; border-top: 1px solid var(--line); }
.mj-search-empty h3 { margin: 0 0 8px; }
.mj-search-empty p { margin: 0 0 18px; color: var(--muted); }
.mj-feedback { border-top: 1px solid var(--line); padding-bottom: 32px; }
.mj-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin-top: 32px; }
.mj-value-card:only-child { flex-direction: row; align-items: center; justify-content: space-between; }
.mj-value-card:only-child .mj-value-action { margin-top: 0; border-top: 0; padding-top: 0; min-width: 280px; }
.mj-value-card { display: flex; flex-direction: column; gap: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.mj-value-card h3 { margin: 8px 0 12px; font-size: 22px; line-height: 1.3; }
.mj-value-card p:not(.mj-panel-tag):not(.mj-pass-price) { margin: 0; color: var(--muted); line-height: 1.6; }
.mj-value-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.mj-pass-price { display: grid; gap: 4px; margin: 0; }
.mj-pass-price strong { font-size: 28px; line-height: 1.2; color: var(--primary-strong); }
.mj-pass-price span { font-size: 14px; color: var(--muted); }
.mj-value-card-pass { border-top: 3px solid #007b78; }
@media (max-width: 820px) {
  .mj-value-grid { grid-template-columns: 1fr; }
  .mj-value-card:only-child { flex-direction: column; align-items: stretch; }
  .mj-value-card:only-child .mj-value-action { min-width: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}
@media (max-width: 640px) { .mj-value-card { padding: 20px; } }
.mj-faq details { border-bottom: 1px solid var(--line); padding: 0 0 16px; }
.mj-faq details + details { margin-top: 8px; }
.mj-faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; line-height: 1.5; }
.mj-faq summary:focus-visible { outline: 3px solid #007b78; outline-offset: 4px; }
.mj-faq details p { max-width: 78ch; margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.mj-feedback h2 { font-size: 28px; line-height: 1.25; margin: 8px 0 12px; }
.mj-feedback p:not(.eyebrow) { max-width: 65ch; color: var(--muted); line-height: 1.6; }
@media (max-width: 820px) {
  .mj-hero { gap: 24px; margin-top: 28px; }
  .mj-hero-copy h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .mj-hero-copy h1 { font-size: 32px; }
  .mj-hero-actions { display: grid; grid-template-columns: 1fr; }
  .mj-hero-actions .button { width: 100%; text-align: center; justify-content: center; }
  .mj-quick-start { padding: 20px 14px; }
  .mj-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mj-quick-grid a { padding: 14px 10px; grid-template-columns: 1fr; }
  .mj-quick-grid a > span { grid-row: auto; margin-bottom: 8px; }
  .mj-quick-grid :is(strong, small, em) { grid-column: 1; }
  .mj-quick-grid strong { align-self: start; overflow-wrap: anywhere; }
  .mj-quick-grid small { white-space: normal; overflow: visible; }
  .mj-library-search { grid-template-columns: minmax(0, 1fr); }
  .mj-library-search p { min-height: 20px; }
}
.mj-sample-estimate { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  #calculators .mj-split-heading { gap: 8px; margin-bottom: 18px; }
  #calculators .mj-section-heading h2 { margin-bottom: 0; }
  #calculators .mj-section-lead { margin-top: 0; }
  .mj-library-search { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .mj-library-search > input, .mj-library-search > p { grid-column: 1 / -1; }
  .mj-library-search .mj-free-filter { grid-column: 1; }
  .mj-library-search .mj-filter-reset { grid-column: 2; grid-row: 4; justify-self: end; }
  .mj-cat-chips { gap: 8px; margin-top: 16px; }
  .mj-chip { font-size: 13px; padding: 8px 10px; }
}
.mj-sample-estimate summary { padding: 18px 0; cursor: pointer; font-weight: 700; }
.mj-sample-estimate summary:focus-visible { outline: 3px solid #007b78; outline-offset: 4px; }
.mj-sample-body { padding: 0 0 24px; }
.mj-sample-body h3 { margin: 8px 0 20px; font-size: 20px; line-height: 1.4; }
.mj-sample-body > p:not(.mj-panel-tag) { max-width: 75ch; line-height: 1.6; color: var(--muted); }
.mj-sample-quantities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.mj-sample-quantities div { padding: 16px 0; border-top: 2px solid #007b78; }
.mj-sample-quantities dt { color: var(--muted); font-size: 14px; }
.mj-sample-quantities dd { margin: 8px 0 0; font-size: 28px; font-weight: 800; }
.mj-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mj-step-card { border: 0; border-top: 3px solid #71c8b1; border-radius: 0; padding: 24px 0; box-shadow: none; background: transparent; }
.mj-step-card:nth-child(2) { border-color: #e4c33a; }
.mj-step-card:nth-child(3) { border-color: #84b4e0; }
.mj-step-number { width: 48px; min-width: 48px; height: 48px; border-radius: 50%; font-size: 18px; }
.mj-home .mj-featured-brief { background: #e2efff; border: 0; border-radius: 0; box-shadow: none; }
.mj-featured-brief-meta { background: transparent; border: 0; border-radius: 0; padding: 0; }
.mj-featured-brief .mj-panel-tag { color: #245d94; }
.mj-featured-brief .mj-check-list li::before { background: #c9e0fa; color: #245d94; border-radius: 50%; }
.mj-coming-soon { background: transparent; border: 0; border-bottom: 1px solid #c6dfd8; border-radius: 0; padding: 18px 0; }
.mj-coming-soon a { white-space: normal; color: #006b68; }
.mj-home .mj-consult-band { background: #d8f4e9; border-radius: 0; box-shadow: none; }
.mj-consult-copy h2 { color: #163c38; }
.mj-consult-copy p, .mj-price-list li span { color: #42524f; }
.mj-price-list li small { color: #42524f; }
.mj-price-list li { border-color: #a9d3c6; }
.mj-price-list li strong { color: #163c38; }
.mj-consult-band .mj-panel-tag { color: #006b68; }
.mj-consult-band .mj-ghost-button { color: #163c38; border-color: #83b7a8; }
.mj-consult-band .mj-ghost-button:hover { background: #bce7d8; }
.mj-faq details { border-color: #c6dfd8; }
.mj-faq summary { padding: 18px 12px; color: #163c38; }
.mj-faq summary:hover { background: #e8f7f2; }
.mj-faq details[open] { background: #e8f7f2; }
.mj-faq details[open] > :not(summary) { margin-left: 12px; margin-right: 12px; }
.mj-video-card { border-radius: 8px; border-color: #a1c3e8; }
.mj-video-meta { background: #e2efff; }
.mj-video-card:nth-child(2) .mj-video-meta { background: #fff0b3; }
.mj-video-card:nth-child(3) .mj-video-meta { background: #ffe6ec; }
.mj-video-play { background: #ffe36b; color: #163c38; }
.mj-video-card:hover { box-shadow: 0 6px 0 #d8eee7; }
.mj-value-card-pass { background: #e8f7f2; }
.mj-final-cta { background: #fff0a0; border-color: #e4ca65; }
.mj-footer { background: #e8f7f2; border: 0; border-top: 3px solid #71c8b1; border-radius: 0; }
@media (max-width: 640px) { .mj-steps { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 640px) {
  .mj-sample-quantities { grid-template-columns: 1fr; gap: 0; }
  .mj-sample-quantities div { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .mj-sample-quantities dd { margin: 0; font-size: 24px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .mj-home { scroll-behavior: auto; }
  .mj-home *, .mj-home *::before, .mj-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
