html { overflow-x: clip; }
:root {
  --mll-navy: #08264B;
  --mll-blue: #063B98;
  --mll-bright: #0B63F6;
  --mll-cyan: #22D9E8;
  --mll-white: #FFFFFF;
  --mll-green: #178A4C;
}

.mll-v2-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .68fr);
  gap: 32px;
  align-items: center;
  min-height: 440px;
  padding: 64px 6vw 40px;
  background:
    linear-gradient(90deg, rgba(8,38,75,0.92) 0%, rgba(6,59,152,0.72) 45%, rgba(8,38,75,0.2) 100%),
    url("/assets/hero-community-v2.png") right center / cover no-repeat;
  color: var(--mll-white);
}
.mll-v2-hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 0.98; font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; margin: 0 0 12px; }
.mll-v2-accent { display:block; color: var(--mll-cyan); }
.mll-v2-lead { max-width: 42ch; margin: 0 0 18px; color: #e7f2ff; font-size: 16px; }
.mll-v2-search { display: grid; grid-template-columns: 1.4fr 0.8fr 0.7fr 0.8fr auto; align-items: center; background: var(--mll-white); border-radius: 18px; padding: 8px; color: var(--mll-navy); }
.mll-v2-search input, .mll-v2-search select { border: 0; border-right: 1px solid #d7e2ef; background: transparent; color: var(--mll-navy); font: inherit; font-size: 14px; padding: 12px 14px; min-width: 0; }
.mll-v2-search button { border: 0; border-radius: 12px; background: var(--mll-bright); color: white; font-weight: 800; padding: 14px 22px; margin-left: 8px; cursor: pointer; }
.mll-v2-popular { margin: 14px 0 0; color: #d5e8ff; font-size: 14px; }
.mll-v2-popular a { color: white; font-weight: 700; text-decoration: none; margin-left: 10px; }
.mll-v2-card { position: relative; align-self: end; background: rgba(8,38,75,0.92); color: white; border: 2px solid var(--mll-cyan); border-radius: 22px; padding: 28px 24px 20px; box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
.mll-v2-badge { position: absolute; top: 16px; right: 16px; background: var(--mll-green); color: white; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; }
.mll-v2-card h2 { font-size: 30px; line-height: 1.1; margin: 8px 0 8px; max-width: 16ch; }
.mll-v2-card p, .mll-v2-card li { color: #e7f2ff; }
.mll-v2-card ul { list-style: none; margin: 12px 0 16px; padding: 0; }
.mll-v2-card li { margin: 8px 0; }
.mll-v2-card li::before { content: "✓ "; color: var(--mll-cyan); font-weight: 800; }
.mll-v2-card a.v2-register { display: block; text-align: center; background: var(--mll-white); color: var(--mll-navy); border-radius: 12px; padding: 12px 16px; font-weight: 800; text-decoration: none; }
.mll-v2-fine { margin: 10px 0 0; font-size: 13px; text-align: center; }
.mll-v2-sign { position: absolute; top: 22px; right: 6vw; margin: 0; font-family: "Segoe Script", "Brush Script MT", Georgia, cursive; font-style: italic; font-size: 28px; color: #9ae7ff; }
.mll-unfinished { display: block; margin: 8px 0; color: #8aa3c2; cursor: not-allowed; }

.mll-v2-footer { background: var(--mll-navy); color: #d7e4f4; padding: 48px 6vw 28px; }
.mll-v2-footer .mll-v2-sign { position: static; font-size: 16px; margin: 8px 0 0; }
.mll-v2-footer a { color: inherit; text-decoration: none; }
.mll-v2-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 24px; }
.mll-v2-footer h3 { color: white; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.mll-v2-footer li { list-style: none; margin: 8px 0; }
.mll-v2-footer ul { margin: 0; padding: 0; }
.mll-v2-footer .mll-v2-footer-cta { display: inline-block; margin-top: 22px; background: var(--mll-cyan); color: var(--mll-navy); border-radius: 999px; padding: 12px 18px; font-weight: 800; }

.v2-enroll .wiz-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; width: min(1180px, 100%); align-items: start; }
.v2-enroll .wiz-preview { order: -1; min-height: 520px; border-radius: 28px; overflow: hidden; background: #08264B center/cover no-repeat url("/assets/hero-community-v2.png"); }
.v2-enroll .wizard { max-width: none; }
.v2-enroll .wizard-top { background: var(--mll-navy); }
.v2-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; margin: 0 0 16px; }
.v2-progress-item { color: #8aa0bd; font-size: 12px; font-weight: 700; }
.v2-progress-item em { font-style: normal; }
.v2-progress-item span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; margin-right: 6px; }
.v2-progress-item.is-on, .v2-progress-item.is-done { color: var(--mll-bright); }
.v2-enroll .btn-wiz-next { background: var(--mll-bright); }

.v2-directory .dir-layout { grid-template-columns: 260px 1fr; }
.v2-directory .dir-sidebar, .v2-directory .filter-strip { border-color: #d7e3f0; }
.v2-directory .v2-card-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.v2-directory .v2-card-actions a { border: 1px solid #d7e3f0; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--mll-blue); text-decoration: none; }
.v2-map-note { font-size: 12px; color: #5d7190; }

.v2-profile .prof-banner { min-height: 280px; background-size: cover; background-position: center; }
.v2-profile .prof-avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 4px solid white; }
.v2-profile .prof-act.primary { background: var(--mll-bright); color: white; border-color: var(--mll-bright); }
.v2-profile .biz-tab.active { color: var(--mll-bright); border-color: var(--mll-cyan); }

.v2-dash .sidebar { background: var(--mll-navy); color: white; }
.v2-dash .sb-name, .v2-dash .sb-section, .v2-dash .sb-link { color: #d7e6f8; }
.v2-dash .sb-link.active { background: var(--mll-bright); color: white; }
.v2-dash .sb-plan { background: rgba(34,217,232,0.16); color: var(--mll-cyan); }
.v2-meter { height: 8px; background: #e6eef8; border-radius: 99px; overflow: hidden; }
.v2-meter span { display: block; height: 100%; background: var(--mll-cyan); }
.v2-empty { border: 1px dashed #c5d4e6; border-radius: 16px; padding: 16px; color: #5d7190; }

@media (max-width: 980px) {
  .mll-v2-hero, .mll-v2-footer-grid, .v2-enroll .wiz-layout { grid-template-columns: 1fr; }
  .mll-v2-search { grid-template-columns: 1fr; }
  .mll-v2-search input, .mll-v2-search select { border-right: 0; border-bottom: 1px solid #d7e2ef; }
  .mll-v2-sign { position: static; margin: 0 0 12px; }
  .mll-v2-hero { background-position: center top; padding: 88px 20px 32px; }
  .v2-enroll .wiz-preview { display: block; min-height: 220px; order: 0; }
  .v2-progress { width: 100%; }
}
@media (max-width: 720px) {
  .v2-directory .dir-layout { grid-template-columns: 1fr; }
  .v2-progress-item { font-size: 11px; }
  .v2-progress-item em { display: block; margin-top: 4px; }
}
