﻿/*
 * MotorReclaim Journey — Design System
 * ====================================
 * All rules scoped under .mrj (the wrapper output by the shortcode/templates).
 * Themes: .mrj.light  /  .mrj.dark
 *
 * Sources of truth:
 *   - landing-premium-v6.html  → light colours + desktop layouts + icon set
 *   - mobile-full.html         → dark token set + mobile layouts
 *   - wizard-steps.html        → wizard component styles
 *   - loading-states.html      → loading / checking states
 *   - end-states.html          → end-state outcomes
 *
 * Convention: all theme-sensitive colours use var(--token). No hardcoded
 * hex values inside component rules (only in gradient/shadow composites where
 * a partial alpha on the same hue is needed and is noted explicitly).
 *
 * Icon usage: <use href="#mrj-<name>"/> — see templates/icons.php
 */

/* ==========================================================================
   0. FONT IMPORTS
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS — LIGHT THEME
   ========================================================================== */

.mrj.light {
  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface2:  #f2f2f7;
  --text:      #282828;
  --soft:      #4a4a6a;
  --muted:     #6a6a80;
  --border:    #e3e3ec;
  --border2:   #d8d8e4;
  --purple:    #38386e;
  --purple2:   #4d4d8f;
  --lime:      #febe1b;
  --ink:       #38386e;
  --green:     #1c9c63;
  /* Semantic aliases */
  --ink-faint: rgba(56,56,110,.08);
  --ink-low:   rgba(56,56,110,.22);
  --ink-mid:   rgba(56,56,110,.28);
  --plum:      #38386e;
}

/* ==========================================================================
   2. DESIGN TOKENS — DARK THEME
   ========================================================================== */

/* ==========================================================================
   3. GLOBAL RESET + BASE
   ========================================================================== */

.mrj {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  /* Full-bleed: no card frame — page IS the journey */
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.mrj * {
  box-sizing: border-box;
}

.mrj ::selection {
  background: var(--lime);
  color: var(--ink);
}

/* Display font helper */
.mrj .disp {
  font-family: 'Lato', 'Poppins', sans-serif;
}

/* ==========================================================================
   4. GRAIN OVERLAY + GRADIENT MESH
   ========================================================================== */

.mrj .grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

/* ==========================================================================
   5. STAGGERED LOAD ANIMATION
   ========================================================================== */

@keyframes fu {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.mrj .fu {
  animation: fu .7s cubic-bezier(.2,.7,.2,1) both;
}

/* ==========================================================================
   6. SHARED ICON + STAR ROW HELPERS
   ========================================================================== */

.mrj .i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

.mrj .srow {
  display: inline-flex;
  gap: 2px;
  color: var(--green);
  vertical-align: middle;
  line-height: 0;
}

.mrj .srow svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* Highlight / placeholder chip */
.mrj .ph {
  background: rgba(214,255,140,.55);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 700;
}

.mrj.dark .ph {
  background: rgba(214,255,140,.22);
  color: var(--lime);
}

/* ==========================================================================
   7. NAVIGATION BAR
   ========================================================================== */

.mrj .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  position: relative;
  z-index: 10;
}

.mrj .nav img.logo {
  height: 30px;
  width: auto;
  display: block;
}

.mrj.dark .nav img.logo {
  filter: brightness(0) invert(1);
}

.mrj .navr {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.mrj .navr .rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Theme toggle pill */
/* Sliding light/dark switch. Knob position is driven by the theme class,
   so it animates smoothly whenever the theme changes. */
.mrj .tog {
  position: relative;
  width: 54px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  vertical-align: middle;
  display: inline-block;
}
.mrj .tog-ico {
  position: absolute;
  top: 0;
  height: 26px;
  width: 26px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  transition: color .3s ease, opacity .3s ease;
}
.mrj .tog-sun  { left: 2px; }
.mrj .tog-moon { right: 2px; }
.mrj .tog-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  z-index: 1;
  transition: transform .34s cubic-bezier(.34, 1.35, .5, 1), background-color .3s ease;
}
/* Light: knob left (under the sun); Dark: knob right (under the moon) */
.mrj.light .tog-knob { transform: translateX(0);    background: var(--ink); }
.mrj.dark  .tog-knob { transform: translateX(26px); background: var(--lime); }
.mrj.light .tog-sun  { color: var(--lime); }              /* on the ink knob */
.mrj.light .tog-moon { color: var(--muted); opacity: .6; }
.mrj.dark  .tog-sun  { color: var(--muted); opacity: .6; }
.mrj.dark  .tog-moon { color: var(--ink); }               /* on the lime knob */

/* ── CTA banner (image + heading + pill) ── */
.mrj .cta-banner {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  min-height: 380px;
  position: relative;
}
.mrj .cta-banner-text {
  padding: 40px 28px 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mrj .cta-banner-text h2 {
  font-weight: 600;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 28px;
}
.mrj .cta-pill {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 16px 36px;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.mrj .cta-pill:hover { transform: translateY(-2px); filter: brightness(1.07); }

/* Hero CTA — the obvious button under the hero copy */
.mrj .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  box-shadow: 0 16px 38px rgba(118, 97, 187, .35);
}
.mrj .hero-cta .i { width: 15px; height: 15px; }

/* Substantiation small print under the hero CTA (headline-figure source + pre-fee basis) */
.mrj .hero-substn {
  max-width: 560px;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.mrj .hero-substn a { color: var(--purple); font-weight: 700; }
.mrj .cta-banner-img { position: relative; align-self: stretch; }
.mrj .cta-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%; /* keep the driver's face/phone in frame when cropped */
  display: block;
}
/* Blend the image's left edge into the card colour (reliable overlay fade). */
.mrj .cta-banner-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--surface) 0%, rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .mrj .cta-banner { grid-template-columns: 1fr; border-radius: 22px; min-height: 0; }
  .mrj .cta-banner-img { order: -1; padding: 18px 18px 0; }
  .mrj .cta-banner-img img { height: 240px; border-radius: 18px; }
  .mrj .cta-banner-img::after { display: none; } /* no fade on the stacked mobile image */
  .mrj .cta-banner-text { padding: 24px 22px 32px; }
  .mrj .cta-banner-text h2 { font-size: 28px; margin-bottom: 22px; }
}

/* Light-mode Continue button: purple for contrast (lime is too pale on the
   parchment background). Dark mode keeps the lime, which pops on dark. */
.mrj.light .cont { background: var(--purple); color: #fff; }

/* Hero "per agreement" sub-label under the big £ figure. */
.mrj .bignum-sub {
  font-weight: 700;
  font-size: 17px;
  color: var(--purple);
  margin: 2px 0 0;
  letter-spacing: .01em;
}

/* ── SRA clickable badge (full colour in light, reverse-mono in dark) ── */
.mrj .mrj-sra { display: flex; justify-content: center; padding: 30px 18px 8px; }
.mrj .sra-inner { width: 275px; max-width: 100%; }
.mrj.light .sra-dark { display: none; }
.mrj.dark .sra-light { display: none; }

/* ── "Supported by the team behind [Gladstone Brookes]" — small hero mark ── */
.mrj .stars.supported { flex-wrap: wrap; gap: 11px; }
.mrj .stars.supported .sb-txt { color: var(--muted); font-weight: 600; }
.mrj .stars.supported .sb-logo {
  display: inline-flex;
  align-items: center;
  /* Dark chip so the light-grey wordmark stays legible in both themes. */
  background: #241d3a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 5px 9px;
}
.mrj .stars.supported .sb-logo img { display: block; height: 34px; width: auto; }

/* ── FAQ accordion ── */
.mrj .mrj-faq { max-width: 720px; margin: 0 auto; }
.mrj .faq-item { border-bottom: 1px solid var(--border); }
.mrj .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  padding: 18px 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.mrj .faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.mrj .faq-item.open .faq-q::after { transform: rotate(-135deg); }
.mrj .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.mrj .faq-item.open .faq-a { grid-template-rows: 1fr; }
.mrj .faq-a-inner { overflow: hidden; }
.mrj .faq-a-inner p {
  margin: 0 0 18px;
  padding-right: 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--soft);
}

/* Global colour cross-fade during a theme switch (added/removed by theme.js).
   Excludes the knob so its slide transition is preserved. */
.mrj.mrj-theming,
.mrj.mrj-theming *:not(.tog-knob) {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease !important;
}

/* ==========================================================================
   8. HERO — DESKTOP (2-column grid)
   ========================================================================== */

.mrj .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 30px;
  padding: 26px 30px 52px;
  align-items: center;
  overflow: hidden;
}

/* Gradient-mesh glows */
.mrj .hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(154,133,227,.5), rgba(37,23,69,0) 70%);
  z-index: 0;
}

.mrj .hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,255,140,.45), rgba(244,236,221,0) 70%);
  z-index: 0;
}

.mrj .hcol {
  position: relative;
  z-index: 2;
}

.mrj .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.mrj .eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--purple);
}

.mrj h1 {
  font-weight: 600;
  font-size: 43px;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}

.mrj h1 em {
  font-style: normal;
  color: var(--purple);
}

.mrj .bignum {
  font-weight: 600;
  font-size: 96px;
  line-height: .86;
  letter-spacing: -.03em;
  color: var(--text);
  display: block;
  margin: 8px 0 2px;
}

.mrj .bignum sup {
  font-size: 30px;
  vertical-align: super;
  color: var(--purple);
  font-weight: 500;
}

.mrj .lead {
  font-size: 15px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 430px;
  margin: 14px 0 18px;
}

.mrj .stars {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.mrj .stars .pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 11px;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
}

/* Mobile hero (single column) */
.mrj .hero-mobile {
  padding: 8px 18px 22px;
}

.mrj .hero-mobile .eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 10px;
}

.mrj .hero-mobile h1 {
  font-size: 32px;
}

.mrj .hero-mobile .bignum {
  font-size: 64px;
  line-height: .85;
  margin: 6px 0 2px;
}

.mrj .hero-mobile .bignum sup {
  font-size: 22px;
}

.mrj .hero-mobile .lead {
  font-size: 12.5px;
  margin: 10px 0 12px;
}

.mrj .hstars {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   9. QUESTION CARD (landing hero widget)
   ========================================================================== */

.mrj .qwrap {
  position: relative;
  z-index: 2;
}

.mrj .qcard {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 26px 60px var(--ink-low);
  border: 1px solid var(--border);
}

/* Mobile qcard */
.mrj .qcard-mobile {
  margin: 0 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(20,16,31,.16);
}

/* Progress bar */
.mrj .prog {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mrj .prog .track,
.mrj .track {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--surface2);
  overflow: hidden;
}

.mrj .prog .track i,
.mrj .track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  border-radius: 99px;
}

.mrj .prog span {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .04em;
}

.mrj .qcard h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 16px;
}

.mrj .qopts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Question options */
.mrj .qopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
  background: var(--bg);
  color: var(--text);
}

.mrj .qopt .a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  color: #fff;
}

.mrj .qopt.sel {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px var(--ink-low);
}

.mrj.dark .qopt.sel {
  background: #000;
}

.mrj .qopt.sel .a {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.mrj .qopt:hover:not(.sel) {
  border-color: var(--purple);
  transform: translateY(-1px);
}

.mrj .qnote {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 14px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.mrj .qnote .i {
  width: 14px;
  height: 14px;
  color: var(--purple);
  margin-top: 1px;
}

/* ==========================================================================
   10. TRUST STRIP
   ========================================================================== */

.mrj .strip {
  background: var(--ink);
  color: #cfc6e6;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  padding: 14px 30px;
  font-size: 11.5px;
  font-weight: 600;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}

.mrj.dark .strip {
  background: #0c0914;
}

.mrj .strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mrj .strip .i {
  color: var(--lime);
  width: 14px;
  height: 14px;
}

.mrj .strip b {
  color: var(--lime);
}

/* Mobile strip */
.mrj .strip-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  padding: 13px 16px;
  font-size: 10px;
  margin-top: 18px;
}

/* ==========================================================================
   11. SECTION WRAPPERS + HEADING SYSTEM
   ========================================================================== */

.mrj .sec {
  padding: 46px 34px;
  position: relative;
}

.mrj .secd {
  background: var(--surface2);
}

.mrj.dark .secd {
  background: #1a1430;
}

/* Mobile section */
.mrj .sec-mobile {
  padding: 24px 18px;
}

/* Section heading block */
.mrj .khead {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 30px;
}

.mrj .kk {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
}

.mrj .khead .kk {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
}

/* Mobile kk */
.mrj .kk-mobile {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: center;
}

.mrj .khead h2 {
  font-weight: 600;
  font-size: 33px;
  letter-spacing: -.02em;
  margin: 8px 0 0;
  line-height: 1.04;
}

.mrj .sec h2 {
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.02em;
  margin: 6px 0 16px;
  line-height: 1.05;
  text-align: center;
}

/* ==========================================================================
   12. STATS SECTION
   ========================================================================== */

.mrj .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mrj .stat {
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  color: #fff;
  /* NOTE: uses a dark overlay gradient + photo — intentionally dark bg, not token */
  background-image: linear-gradient(150deg, rgba(37,23,69,.93), rgba(27,19,48,.78)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=900&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.mrj .stat .n {
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.03em;
}

.mrj .stat .n em {
  color: var(--lime);
  font-style: normal;
}

.mrj .stat p {
  font-size: 12.5px;
  color: #d6cdf0;
  margin: 10px 0 0;
  line-height: 1.45;
}

/* Mobile stat */
.mrj .stat-mobile {
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  margin-bottom: 12px;
  background-image: linear-gradient(150deg, rgba(37,23,69,.93), rgba(20,16,31,.82)),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=800&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.mrj .stat-mobile:last-child {
  margin-bottom: 0;
}

.mrj .stat-mobile .n {
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.03em;
}

.mrj .stat-mobile .n em {
  color: var(--lime);
  font-style: normal;
}

.mrj .stat-mobile p {
  font-size: 11px;
  color: #d6cdf0;
  margin: 8px 0 0;
  line-height: 1.4;
}

/* ==========================================================================
   13. COULD YOU BE OWED — 2-COLUMN SECTION
   ========================================================================== */

.mrj .owed {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.mrj .owed-l h2 {
  font-weight: 600;
  font-size: 42px;
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  text-transform: uppercase;
  text-align: left;
}

.mrj .owed-l p {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.55;
  margin: 0 0 12px;
  max-width: 330px;
}

.mrj .owed-r {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mobile owed */
.mrj .owed-mobile h2 {
  text-transform: uppercase;
  text-align: left;
  font-size: 26px;
  margin-bottom: 10px;
}

.mrj .owed-mobile .op {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.5;
  margin: 0 0 12px;
}

/* Owed cards */
.mrj .ocard {
  display: flex;
  gap: 15px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  align-items: flex-start;
  transition: .2s;
}

.mrj .ocard:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--ink-low);
}

/* Mobile ocard */
.mrj .ocard-mobile {
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 10px;
  gap: 12px;
}

.mrj .checkbox {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px var(--ink-faint);
}

.mrj .checkbox .i {
  width: 22px;
  height: 22px;
}

/* Mobile checkbox */
.mrj .checkbox-mobile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.mrj .checkbox-mobile .i {
  width: 18px;
  height: 18px;
}

.mrj .ocard h4 {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 5px;
  line-height: 1.15;
}

.mrj .ocard p {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.5;
  margin: 0;
}

/* Mobile ocard text */
.mrj .ocard-mobile h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.mrj .ocard-mobile p {
  font-size: 11px;
  line-height: 1.45;
}

/* ==========================================================================
   14. BY THE NUMBERS (NUMS GRID)
   ========================================================================== */

.mrj .nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.mrj .num-c {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
}

.mrj .num-c .big {
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -.03em;
  color: var(--purple);
  line-height: 1;
}

.mrj .num-c .lbl {
  font-size: 11.5px;
  color: var(--soft);
  margin-top: 8px;
  font-weight: 600;
}

/* Mobile nums */
.mrj .nums-mobile {
  gap: 8px;
}

.mrj .nums-mobile .num-c {
  border-radius: 12px;
  padding: 16px 6px;
}

.mrj .nums-mobile .num-c .big {
  font-size: 24px;
}

.mrj .nums-mobile .num-c .lbl {
  font-size: 9px;
  margin-top: 6px;
  line-height: 1.25;
}

/* ==========================================================================
   15. ELIGIBILITY CARDS (GRID3)
   ========================================================================== */

.mrj .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mrj .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: .2s;
}

.mrj .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px var(--ink-low);
}

.mrj .card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.mrj .card .ic .i {
  width: 23px;
  height: 23px;
}

.mrj .card h4 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 700;
}

.mrj .card p {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.5;
  margin: 0;
}

/* Mobile eligibility cards (ecard) */
.mrj .ecard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.mrj .ecard .eic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: 0 0 auto;
}

.mrj .ecard .eic .i {
  width: 20px;
  height: 20px;
}

.mrj .ecard h4 {
  font-size: 14px;
  margin: 0 0 3px;
  font-weight: 700;
}

.mrj .ecard p {
  font-size: 11px;
  color: var(--soft);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   16. HOW IT WORKS — STEPS
   ========================================================================== */

.mrj .step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.mrj .step:last-child {
  border-bottom: 0;
}

.mrj .step .num {
  font-weight: 600;
  font-size: 42px;
  color: var(--purple);
  line-height: .8;
  width: 54px;
  flex: 0 0 auto;
}

.mrj .step h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.mrj .step p {
  margin: 0;
  font-size: 13px;
  color: var(--soft);
  line-height: 1.5;
}

/* Mobile steps */
.mrj .step-mobile {
  gap: 13px;
  padding: 13px 0;
}

.mrj .step-mobile .num {
  font-size: 32px;
  width: 40px;
}

.mrj .step-mobile h4 {
  font-size: 15px;
  margin: 0 0 3px;
}

.mrj .step-mobile p {
  font-size: 11.5px;
  line-height: 1.45;
}

/* ==========================================================================
   17. REVIEWS SECTION
   ========================================================================== */

.mrj .revhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 4px;
}

.mrj .revhead .score {
  font-weight: 600;
  font-size: 20px;
}

.mrj .revsub {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 22px;
}

.mrj .revs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mrj .rev {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px;
}

.mrj .rev .rs {
  margin-bottom: 8px;
}

.mrj .rev q {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.mrj .rev .who2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mrj .rev .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.mrj .rev .who2 b {
  font-size: 12px;
  display: block;
}

.mrj .rev .who2 span {
  font-size: 10px;
  color: var(--muted);
}

/* Mobile reviews */
.mrj .rev-mobile {
  border-radius: 13px;
  padding: 15px;
  margin-bottom: 10px;
}

.mrj .rev-mobile q {
  font-size: 12px;
  margin: 8px 0 12px;
}

.mrj .rev-mobile .av {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.mrj .rev-mobile .who2 b {
  font-size: 11px;
}

.mrj .rev-mobile .who2 span {
  font-size: 9px;
}

/* ==========================================================================
   18. ABOUT YOUR CHOICES
   ========================================================================== */

.mrj .choices {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

/* Substantiation reference marks (¹²³) — resolve to the hero note + footer */
.mrj .smark {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  vertical-align: super;
  margin-left: 3px;
  line-height: 0;
}
.mrj .bignum .smark { font-size: 22px; }
.mrj .stats .smark, .mrj .nums .smark { font-size: 13px; }

/* Transparency + FCA updates side-by-side */
.mrj .twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 860px) {
  .mrj .twocol { grid-template-columns: 1fr; }
}

/* FCA updates panel (matches .choices card) */
.mrj .fca-updates p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--soft);
  margin: 0 0 13px;
}
.mrj .fca-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}
.mrj .fca-link:hover { text-decoration: underline; }
.mrj .fca-link .i { width: 13px; height: 13px; }

.mrj .choices-mobile {
  border-radius: 14px;
  padding: 16px;
}

.mrj .crow {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--soft);
  line-height: 1.5;
  padding: 11px 0;
  border-top: 1px dashed var(--border);
  align-items: flex-start;
}

.mrj .crow:first-of-type,
.mrj .crow:first-child {
  border-top: 0;
}

.mrj .crow .i {
  width: 17px;
  height: 17px;
  color: var(--purple);
  margin-top: 1px;
}

.mrj .crow b {
  color: var(--text);
}

/* Mobile crow */
.mrj .crow-mobile {
  gap: 10px;
  font-size: 11px;
  padding: 9px 0;
}

.mrj .crow-mobile .i {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   19. CTA SECTION
   ========================================================================== */

.mrj .cta {
  margin: 0 34px 34px;
  /* NOTE: purple gradient — intentional design, references token indirectly */
  background: linear-gradient(135deg, var(--purple), var(--plum));
  border-radius: 22px;
  padding: 42px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mrj.dark .cta {
  background: linear-gradient(135deg, #4b3a86, var(--plum));
}

.mrj .cta h2 {
  font-weight: 600;
  font-size: 35px;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  color: #fff;
  text-align: center;
}

.mrj .cta p {
  font-size: 13px;
  opacity: .85;
  margin: 0 0 22px;
}

.mrj .cta .blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,255,140,.28), transparent 70%);
  right: -80px;
  top: -90px;
}

/* Mobile CTA */
.mrj .cta-mobile {
  margin: 18px 16px;
  border-radius: 18px;
  padding: 26px 18px;
}

.mrj .cta-mobile h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

.mrj .cta-mobile p {
  font-size: 11px;
  margin: 0 0 16px;
}

/* Shared CTA button */
.mrj .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(214,255,140,.3);
  transition: .2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.mrj .btn .i {
  width: 20px;
  height: 20px;
}

.mrj .btn:hover {
  transform: translateY(-2px);
}

.mrj .btn.lime {
  background: var(--lime);
  color: var(--ink);
}

.mrj .btn.dark {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

/* Mobile button */
.mrj .btn-mobile {
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 12px;
  gap: 8px;
}

.mrj .btn-mobile .i {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   20. FOOTER
   ========================================================================== */

.mrj .foot {
  background: var(--ink);
  color: var(--muted);
  font-size: 10px;
  padding: 22px 34px;
  line-height: 1.6;
  text-align: center;
}

.mrj.dark .foot {
  background: #0c0914;
}

.mrj .foot a {
  color: #b9addb;
}

/* Mobile footer */
.mrj .foot-mobile {
  font-size: 9px;
  padding: 16px;
}

/* ==========================================================================
   21. WIZARD — PROGRESS BAR (wbar)
   ========================================================================== */

.mrj .wbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 4px;
}

/* The progress track inside wbar is wider (7px) than landing track (6px) */
.mrj .wbar .track {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: var(--surface2);
  overflow: hidden;
}

.mrj .wbar .track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
}

.mrj .wbar .ct {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  flex: 0 0 auto;
}

/* Back button */
.mrj .bk {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .15s ease;
}

.mrj .bk:hover { background: rgba(0,0,0,.06); }
.mrj.dark .bk:hover { background: rgba(255,255,255,.08); }

.mrj .bk svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   22. WIZARD — BODY (wbody)
   ========================================================================== */

.mrj .wbody {
  padding: 16px;
  flex: 1;
}

.mrj .wbody h2 {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 6px 0 6px;
}

.mrj .wbody .hint {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.45;
  margin: 0 0 16px;
}

/* ==========================================================================
   23. WIZARD — OPTIONS (opt / radio)
   ========================================================================== */

.mrj .opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  background: var(--surface);
  cursor: pointer;
  transition: .18s;
}

.mrj .opt .a {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  color: #fff;
}

.mrj .opt.sel {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mrj .opt.sel .a {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

/* Radio-style options */
.mrj .radio {
  display: flex;
  gap: 11px;
  padding: 14px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text);
  align-items: flex-start;
  cursor: pointer;
  transition: .18s;
}

.mrj .radio .rc {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex: 0 0 auto;
  margin-top: 1px;
}

.mrj .radio.sel {
  border-color: var(--purple);
  background: var(--surface);
}

.mrj .radio.sel .rc {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: inset 0 0 0 3px var(--surface);
}

/* ==========================================================================
   24. WIZARD — FORM FIELDS
   ========================================================================== */

label.mrj-fl,
.mrj label.fl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin: 0 0 5px;
}

.mrj .fld {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mrj .fld svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.mrj .fld .pl {
  color: var(--muted);
}

/* Normalise the native <select> so the Title field is the same height as the
   text inputs (native selects have a taller intrinsic box). */
.mrj .fld select {
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.3;
  padding: 1px 0;
  cursor: pointer;
}

/* Custom dropdown chevron (replaces the removed native arrow). */
.mrj .fld-select {
  position: relative;
  padding-right: 38px;
}
.mrj .fld-select::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-65%) rotate(45deg);
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  pointer-events: none;
}

.mrj .row2 {
  display: flex;
  gap: 9px;
}

.mrj .row2 .fld {
  flex: 1;
}

.mrj .dob {
  display: flex;
  gap: 9px;
}

.mrj .dob .fld {
  flex: 1;
  justify-content: center;
  font-weight: 600;
}

/* ==========================================================================
   25. WIZARD — ADDRESS LOOKUP
   ========================================================================== */

.mrj .findbtn {
  background: var(--ink);
  color: #fff;
  border-radius: 11px;
  padding: 13px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.mrj .findbtn svg {
  width: 15px;
  height: 15px;
}

.mrj .adropt {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 6px;
}

.mrj .adropt div {
  padding: 10px 13px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.mrj .adropt div:last-child {
  border-bottom: 0;
}

.mrj .adropt div.on {
  background: var(--surface2);
  font-weight: 600;
}

.mrj .addr-pick {
  background: rgba(214,255,140,.2);
  border: 1.5px solid var(--lime);
  border-radius: 11px;
  padding: 12px 13px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}

.mrj .addchip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 13px;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.mrj .addmore {
  border: 1.5px dashed var(--purple);
  color: var(--purple);
  border-radius: 11px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.mrj .addmore svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   26. WIZARD — CONSENT + SIGNATURE PAD
   ========================================================================== */

.mrj .consent {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--soft);
  margin-bottom: 12px;
}

.mrj .consent b {
  color: var(--text);
}

.mrj .consent ol {
  margin: 7px 0 0;
  padding-left: 16px;
}

.mrj .consent li {
  margin-bottom: 5px;
}

/* Consent items as required tick-boxes (numbered 1,2,3) */
.mrj .consent-checks {
  margin: 9px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mrj .consent-checks li { margin-bottom: 0; }
.mrj .consent-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  cursor: pointer;
}
.mrj .consent-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--purple);
  cursor: pointer;
}

/* Agreement line directly above the Submit button */
.mrj .submit-consent {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 11px;
  text-align: center;
}

/* "What's still needed" highlight when the user tries to submit too early */
.mrj .sigpad.mrj-missing {
  border-color: #e5484d;
  background: rgba(229, 72, 77, .06);
}
.mrj .consent-check.mrj-missing {
  box-shadow: 0 0 0 2px #e5484d;
  background: rgba(229, 72, 77, .07);
  border-radius: 8px;
  padding: 6px;
  margin: -6px;
}
.mrj .consent-check.mrj-missing input[type="checkbox"] {
  accent-color: #e5484d;
}

.mrj .sigpad {
  height: 120px;
  border: 2px dashed var(--purple2);
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.mrj .sigpad .scribble {
  font-family: 'Lato';
  font-size: 30px;
  color: var(--purple);
  transform: rotate(-6deg);
  opacity: .85;
}

.mrj .sigpad .sigph {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}

.mrj .clearlnk {
  text-align: right;
  font-size: 11px;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
  cursor: pointer;
}

/* ==========================================================================
   27. WIZARD — REVIEW ROWS
   ========================================================================== */

.mrj .rev-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.mrj .rev-row:last-child {
  border-bottom: 0;
}

.mrj .rev-row .k {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .04em;
}

.mrj .rev-row .v {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  margin-top: 2px;
}

.mrj .rev-row .ed {
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}

.mrj .rev-row .ed svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   28. WIZARD — FOOTER + CONTINUE BUTTON
   ========================================================================== */

.mrj .wfoot {
  padding: 18px 0 8px;
  border-top: none;
  background: transparent;
}

.mrj .cont {
  background: var(--lime);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  width: 100%;
}

.mrj .cont svg {
  width: 18px;
  height: 18px;
}

.mrj .cont.dark {
  background: var(--ink);
  color: #fff;
}

.mrj .foot-note {
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mrj .foot-note svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   29. LOADING STATES — SPINNER + CLOCK + DOTS
   ========================================================================== */

.mrj .center {
  text-align: center;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mrj .center h2 {
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 8px;
  line-height: 1.12;
  text-align: center;
}

.mrj .center p {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.55;
  margin: 0 0 10px;
}

.mrj .elapsed {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mrj .spinner {
  width: 54px;
  height: 54px;
  border: 5px solid var(--surface2);
  border-top-color: var(--purple);
  border-radius: 50%;
  margin: 6px auto 14px;
  animation: spin 1s linear infinite;
}

.mrj .clock {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(118,97,187,.15);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.mrj .clock svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.25); }
}

.mrj .dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.mrj .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  opacity: .3;
  animation: pulse 1.2s infinite;
}

.mrj .dots i:nth-child(2) { animation-delay: .2s; }
.mrj .dots i:nth-child(3) { animation-delay: .4s; }

.mrj .stillnote {
  font-size: 10.5px;
  color: var(--green);
  font-weight: 700;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.mrj .stillnote svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   30. END STATES — OUTCOME SCREENS
   ========================================================================== */

.mrj .bigic {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 6px auto 14px;
}

.mrj .bigic svg {
  width: 30px;
  height: 30px;
}

/* NOTE: warning uses amber palette — not part of brand tokens, intentional per mock */
.mrj .bigic.warn {
  background: #fff3d6;
  color: #b07d12;
}

.mrj .bigic.ok {
  background: var(--lime);
  color: var(--ink);
}

.mrj .bigic.load,
.mrj .bigic.search {
  background: rgba(118,97,187,.15);
  color: var(--purple);
}

/* NOTE: error uses red palette — not part of brand tokens, intentional per mock */
.mrj .bigic.err {
  background: #fdeaea;
  color: #c0392b;
}

.mrj .foundbox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.mrj .foundbox .fc {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex: 0 0 auto;
}

.mrj .foundbox .fc svg {
  width: 18px;
  height: 18px;
}

.mrj .foundbox b {
  font-size: 13px;
}

.mrj .foundbox span {
  font-size: 10.5px;
  color: var(--muted);
}

.mrj .infobox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-size: 11.5px;
  color: var(--soft);
  line-height: 1.55;
  text-align: left;
  margin: 6px 0 0;
  width: 100%;
  display: flex;
  gap: 10px;
}

.mrj .infobox svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 1px;
}

.mrj .signoff {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-top: 14px;
}

/* ==========================================================================
   31. SOFT STOP STATE
   ========================================================================== */

.mrj .soft-stop {
  text-align: center;
  padding: 8px 4px;
}

.mrj .soft-stop .bigic.warn {
  margin-bottom: 14px;
}

/* ==========================================================================
   32. LOADING SPLASH (>60s reassurance)
   ========================================================================== */

.mrj .splash-body {
  flex: 1;
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mrj .splash-body h2 {
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 10px;
  line-height: 1.14;
}

.mrj .splash-body p {
  font-size: 12.5px;
  color: var(--soft);
  line-height: 1.55;
  margin: 0 0 10px;
}

/* ==========================================================================
   33. UTILITY — TIMELINE + LABEL
   ========================================================================== */

.mrj .tl {
  max-width: 760px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 12px;
  color: var(--soft);
  flex-wrap: wrap;
}

.mrj .tl b {
  background: var(--ink);
  color: #fff;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 11px;
}

.mrj .tl .ar {
  color: var(--purple);
  font-weight: 800;
}

/* ==========================================================================
   34. FULL-BLEED CONTENT CENTERING
   Bands span full viewport width; inner content is capped at 1160px.
   We override the horizontal padding of each band after all component
   rules so specificity is equal and cascade wins.
   ========================================================================== */

.mrj .nav {
  padding-left: max(30px, calc((100% - 1160px) / 2 + 30px));
  padding-right: max(30px, calc((100% - 1160px) / 2 + 30px));
}

.mrj .hero {
  padding-left: max(30px, calc((100% - 1160px) / 2 + 30px));
  padding-right: max(30px, calc((100% - 1160px) / 2 + 30px));
}

.mrj .strip {
  padding-left: max(30px, calc((100% - 1160px) / 2 + 30px));
  padding-right: max(30px, calc((100% - 1160px) / 2 + 30px));
}

.mrj .sec {
  padding-left: max(34px, calc((100% - 1160px) / 2 + 34px));
  padding-right: max(34px, calc((100% - 1160px) / 2 + 34px));
}

.mrj .foot {
  padding-left: max(34px, calc((100% - 1160px) / 2 + 34px));
  padding-right: max(34px, calc((100% - 1160px) / 2 + 34px));
}

/* CTA block: was margin:0 34px 34px (inset card look).
   Now sits as a full-width band with its own internal centering. */
.mrj .cta {
  margin: 0 0 0;
  border-radius: 0;
  padding-left: max(42px, calc((100% - 1160px) / 2 + 42px));
  padding-right: max(42px, calc((100% - 1160px) / 2 + 42px));
}

/* ==========================================================================
   35. RESPONSIVE — MOBILE (≤760px)
   Matches approved mobile-full.html layout: single column, stacked hero,
   reduced type, single-column grids, touch-friendly spacing.
   ========================================================================== */

@media (max-width: 760px) {

  /* Undo wide-screen centering offsets — simple padding on mobile */
  .mrj .nav  { padding: 14px 16px; }
  .mrj .hero { padding: 8px 18px 22px; }
  .mrj .strip { padding: 13px 16px; }
  .mrj .sec  { padding: 24px 18px; }
  .mrj .foot { padding: 16px; }
  .mrj .cta  { margin: 18px 16px; border-radius: 18px; padding: 26px 18px; }

  /* Prevent any element from forcing horizontal scroll on 360px viewports */
  .mrj * { max-width: 100%; }

  /* --- NAV --- */
  .mrj .nav img.logo { height: 24px; }
  .mrj .navr { font-size: 11px; gap: 10px; }
  .mrj .navr .rate { display: none; } /* hide rating text on small screens */

  /* --- HERO: stack to single column --- */
  .mrj .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mrj h1 {
    font-size: 32px;
  }

  .mrj .bignum {
    font-size: 64px;
    line-height: .85;
    margin: 6px 0 2px;
  }

  .mrj .bignum sup {
    font-size: 22px;
  }

  .mrj .lead {
    font-size: 12.5px;
    margin: 10px 0 12px;
  }

  .mrj .eyebrow {
    font-size: 10px;
    letter-spacing: .14em;
    margin-bottom: 10px;
  }

  /* --- QUESTION CARD in hero --- */
  .mrj .qwrap { margin: 0; }
  .mrj .qcard {
    margin: 0;
    border-radius: 18px;
    padding: 18px;
  }
  .mrj .qcard h3 { font-size: 18px; line-height: 1.15; margin-bottom: 13px; }
  .mrj .qopt { padding: 13px 14px; font-size: 14px; margin-bottom: 8px; border-radius: 12px; }
  .mrj .qnote { font-size: 9.5px; margin-top: 12px; gap: 6px; }

  /* --- TRUST STRIP --- */
  .mrj .strip {
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
    font-size: 10px;
    margin-top: 18px;
  }

  /* --- SECTION HEADINGS --- */
  .mrj .khead h2 { font-size: 23px; }
  .mrj .sec h2   { font-size: 23px; }
  .mrj .kk, .mrj .khead .kk { font-size: 9.5px; letter-spacing: .14em; }

  /* --- STATS: 2-col → 1-col, smaller number --- */
  .mrj .stats { grid-template-columns: 1fr; }
  .mrj .stat  { border-radius: 16px; padding: 20px; margin-bottom: 12px; }
  .mrj .stat:last-child { margin-bottom: 0; }
  .mrj .stat .n { font-size: 36px; }
  .mrj .stat p  { font-size: 11px; margin-top: 8px; }

  /* --- OWED: 2-col → 1-col --- */
  .mrj .owed { grid-template-columns: 1fr; gap: 0; }
  .mrj .owed-l h2 { font-size: 26px; margin-bottom: 10px; text-align: left; }
  .mrj .owed-l p  { font-size: 12px; max-width: none; }
  .mrj .ocard { border-radius: 14px; padding: 15px; gap: 12px; margin-bottom: 10px; }
  .mrj .checkbox { width: 32px; height: 32px; border-radius: 9px; }
  .mrj .checkbox .i { width: 18px; height: 18px; }
  .mrj .ocard h4 { font-size: 14px; margin-bottom: 4px; }
  .mrj .ocard p  { font-size: 11px; }

  /* --- NUMS: stay 3-up but compact --- */
  .mrj .nums { gap: 8px; }
  .mrj .num-c { border-radius: 12px; padding: 16px 6px; }
  .mrj .num-c .big { font-size: 24px; }
  .mrj .num-c .lbl { font-size: 9px; margin-top: 6px; line-height: 1.25; }

  /* --- GRID3 (eligibility): 3-col → 1-col, use ecard style --- */
  .mrj .grid3 { grid-template-columns: 1fr; gap: 10px; }
  .mrj .card  { padding: 15px; display: flex; gap: 12px; align-items: flex-start; border-radius: 13px; }
  .mrj .card .ic { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; margin-bottom: 0; }
  .mrj .card .ic .i { width: 20px; height: 20px; }
  .mrj .card h4 { font-size: 14px; margin-bottom: 3px; }
  .mrj .card p  { font-size: 11px; }

  /* --- STEPS: smaller nums --- */
  .mrj .step { gap: 13px; padding: 13px 0; }
  .mrj .step .num { font-size: 32px; width: 40px; }
  .mrj .step h4 { font-size: 15px; margin-bottom: 3px; }
  .mrj .step p  { font-size: 11.5px; }

  /* --- REVIEWS: 3-col → 1-col --- */
  .mrj .revs { grid-template-columns: 1fr; gap: 10px; }
  .mrj .rev  { border-radius: 13px; padding: 15px; }
  .mrj .rev q { font-size: 12px; margin: 8px 0 12px; }
  .mrj .rev .av { width: 28px; height: 28px; font-size: 11px; }
  .mrj .rev .who2 b { font-size: 11px; }
  .mrj .rev .who2 span { font-size: 9px; }
  .mrj .revhead .score { font-size: 18px; }
  .mrj .revsub { font-size: 10px; margin-bottom: 16px; }

  /* --- CHOICES --- */
  .mrj .choices { border-radius: 14px; padding: 16px; }
  .mrj .crow { gap: 10px; font-size: 11px; padding: 9px 0; }
  .mrj .crow .i { width: 15px; height: 15px; }

  /* --- CTA --- */
  .mrj .cta h2 { font-size: 22px; margin-bottom: 6px; }
  .mrj .cta p  { font-size: 11px; margin-bottom: 16px; }
  .mrj .btn    { font-size: 14px; padding: 13px 24px; border-radius: 12px; gap: 8px; }
  .mrj .btn .i { width: 17px; height: 17px; }

  /* --- FOOTER --- */
  .mrj .foot { font-size: 9px; }

  /* --- WIZARD --- */
  .mrj .wbody { padding: 14px; }
  .mrj .wfoot { padding: 12px 14px 16px; }
  .mrj .wbody h2 { font-size: 20px; }
  .mrj .qcard-mobile,
  .mrj .sigpad,
  .mrj .fld,
  .mrj .opt { width: 100%; }
  .mrj .opt { font-size: 14px; padding: 13px 14px; }
  .mrj .row2 { flex-direction: column; gap: 0; }
}

/* ==========================================================================
   36. RESPONSIVE — SMALL MOBILE (≤480px)
   Extra compression for very narrow phones (360-480px).
   ========================================================================== */

@media (max-width: 480px) {

  .mrj h1 { font-size: 28px; }
  .mrj .bignum { font-size: 56px; }
  .mrj .bignum sup { font-size: 20px; }

  .mrj .khead h2,
  .mrj .sec h2 { font-size: 21px; }

  .mrj .stat .n { font-size: 32px; }

  .mrj .owed-l h2 { font-size: 22px; }

  .mrj .cta h2 { font-size: 20px; }

  /* Ensure the hero qcard doesn't spill sideways */
  .mrj .qcard { margin: 0; }

  /* Nums: if 3-up is too tight at 360px, fall to 1-col */
  .mrj .nums { grid-template-columns: 1fr; }
  .mrj .num-c { padding: 14px 12px; }
  .mrj .num-c .big { font-size: 28px; }
  .mrj .num-c .lbl { font-size: 10px; }
}

/* ==========================================================================
   37. WIZARD TAKEOVER
   When the journey launches, the wizard replaces the landing as a focused,
   full-viewport view (rather than appearing appended below it). nav.js adds
   .mrj-wizard-active to the .mrj root.
   ========================================================================== */

/* Hide every landing band; keep the wizard and the (zero-size) icon sprite. */
.mrj.mrj-wizard-active > *:not(.mrj-wizard):not(svg) { display: none !important; }

.mrj.mrj-wizard-active { min-height: 100vh; }

/* Centre the active step as a single focused column. */
.mrj.mrj-wizard-active .mrj-wizard {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 64px;
}
.mrj.mrj-wizard-active .mrj-wizard [data-step] {
  width: 100%;
  max-width: 560px;
}

/* Logo header — only shown once the wizard takes over. */
.mrj-wizard-head { display: none; }
.mrj.mrj-wizard-active .mrj-wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 560px;
  margin-bottom: 22px;
}
.mrj-wizard-head img.logo {
  height: 30px;
  width: auto;
  display: block;
}
.mrj.dark .mrj-wizard-head img.logo {
  filter: brightness(0) invert(1);
}

@media (max-width: 760px) {
  .mrj.mrj-wizard-active .mrj-wizard { padding: 18px 14px 48px; }
  .mrj.mrj-wizard-active .mrj-wizard-head { margin-bottom: 16px; }
  .mrj-wizard-head img.logo { height: 26px; }
}


/* ── Fork divergence: embed mode (step-1 card hosted inside the Flatsome page) ── */
.mrj-embed { background: transparent; }
.mrj-embed .qwrap { margin: 0 auto; max-width: 520px; }

/* ── Compliance banner (page top via wp_body_open + top of wizard takeover) ── */
.mrj-compliance-banner{
  background:#38386e;
  color:#ffffff;
  font-family:'Poppins',sans-serif;
  font-size:13px;
  line-height:1.45;
  text-align:center;
  padding:9px 18px;
  border-bottom:2px solid #febe1b;
  margin:0;
}
.mrj-compliance-banner p{ margin:0 auto; max-width:1000px; }
@media (max-width:600px){ .mrj-compliance-banner{ font-size:11.5px; padding:8px 12px; } }
