:root {
  --msl-navy-950: #071426;
  --msl-navy-900: #10233f;
  --msl-blue-700: #1458c0;
  --msl-blue-600: #1769e0;
  --msl-blue-100: #dceeff;
  --msl-blue-50: #eff8ff;
  --msl-slate-900: #1f2937;
  --msl-slate-700: #334155;
  --msl-slate-500: #64748b;
  --msl-slate-300: #cbd5e1;
  --msl-slate-200: #e2e8f0;
  --msl-slate-100: #f1f5f9;
  --msl-white: #ffffff;
  --msl-amber-50: #fff8e6;
  --msl-amber-300: #f1d486;
  --msl-green-50: #ecfdf5;
  --msl-green-600: #059669;
  --msl-red-50: #fff1f2;
  --msl-red-600: #e11d48;
  --msl-radius-sm: 8px;
  --msl-radius-md: 14px;
  --msl-radius-lg: 22px;
  --msl-shadow-sm: 0 8px 24px rgba(15, 35, 63, 0.08);
  --msl-shadow-md: 0 18px 48px rgba(15, 35, 63, 0.13);
}

.msl-article,
.msl-page,
.msl-home {
  max-width: 840px;
  margin-inline: auto;
  color: var(--msl-slate-700);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.msl-homepage .entry-header {
  display: none !important;
}

.msl-homepage .entry-content-wrap {
  padding-top: clamp(16px, 2.2vw, 28px);
}

.msl-home {
  width: min(1120px, 100%);
  max-width: 1120px;
  padding-bottom: 56px;
}

.msl-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
  min-height: 470px;
  margin: 0 0 clamp(58px, 7vw, 86px);
  padding: clamp(34px, 5.4vw, 64px);
  overflow: hidden;
  color: var(--msl-white);
  background:
    radial-gradient(circle at 86% 14%, rgba(56, 189, 248, 0.24), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(23, 105, 224, 0.34), transparent 30%),
    linear-gradient(135deg, #061326 0%, #102b50 58%, #164e8e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(7, 20, 38, 0.24);
  isolation: isolate;
}

.msl-home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
}

.msl-home-hero__content {
  position: relative;
  z-index: 2;
}

.msl-home-hero h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  color: inherit;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.msl-home-hero__content > p {
  max-width: 680px;
  margin-bottom: 32px;
  color: #dbeafe;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.85;
}

.msl-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.msl-home-actions .msl-button {
  gap: 10px;
  min-height: 52px;
  padding: 13px 21px;
  background: #38bdf8;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.2);
}

.msl-home-actions .msl-button:hover {
  background: #7dd3fc;
  color: var(--msl-navy-950) !important;
}

.msl-home-actions .msl-button--ghost {
  color: var(--msl-white) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.msl-home-hero__visual {
  position: relative;
  display: grid;
  width: min(280px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  text-align: center;
  background: rgba(5, 19, 39, 0.42);
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(56, 189, 248, 0.12), 0 0 70px rgba(56, 189, 248, 0.08);
  place-content: center;
}

.msl-home-hero__visual strong {
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.msl-home-hero__visual small {
  display: block;
  margin-top: 13px;
  color: #7dd3fc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.msl-orbit {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 50%;
}

.msl-orbit--one {
  inset: 13%;
  transform: rotate(24deg) scaleY(0.5);
}

.msl-orbit--two {
  inset: 5%;
  border-style: dashed;
  opacity: 0.45;
  transform: rotate(-28deg) scaleX(0.52);
}

.msl-meter {
  position: absolute;
  right: 13%;
  bottom: 20%;
  display: flex;
  gap: 4px;
  align-items: end;
  height: 34px;
}

.msl-meter span {
  width: 4px;
  background: #38bdf8;
  border-radius: 4px;
}

.msl-meter span:nth-child(1) { height: 24%; }
.msl-meter span:nth-child(2) { height: 58%; }
.msl-meter span:nth-child(3) { height: 90%; }
.msl-meter span:nth-child(4) { height: 66%; }
.msl-meter span:nth-child(5) { height: 40%; }

.msl-home-section {
  margin: 0 0 clamp(62px, 7vw, 88px);
}

.msl-section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.msl-section-heading--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: end;
  max-width: none;
}

.msl-section-heading h2,
.msl-home-process h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  border: 0;
}

.msl-section-heading h2::before,
.msl-home-process h2::before {
  display: none;
}

.msl-section-heading p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.msl-section-heading__side a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
  color: var(--msl-blue-700) !important;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none !important;
}

.msl-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--msl-blue-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.msl-home-value-grid,
.msl-topic-grid,
.msl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.msl-home-value {
  position: relative;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--msl-slate-200);
  border-radius: 18px;
  box-shadow: var(--msl-shadow-sm);
}

.msl-home-value > span {
  display: block;
  margin-bottom: 36px;
  color: var(--msl-blue-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.msl-home-value h3,
.msl-topic h3,
.msl-post-card h3 {
  margin: 0 0 10px;
  color: var(--msl-navy-900);
}

.msl-home-value p,
.msl-topic p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.75;
}

.msl-topic {
  position: relative;
  display: block;
  min-height: 255px;
  padding: 30px;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--msl-navy-900);
  border-radius: 20px;
  box-shadow: var(--msl-shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

a.msl-topic:hover {
  color: #fff !important;
  box-shadow: var(--msl-shadow-md);
  transform: translateY(-5px);
}

a.msl-topic:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 4px;
}

a.msl-topic::after {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  content: "\2192";
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
  place-items: center;
}

a.msl-topic:hover::after {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.msl-topic--1 { background: linear-gradient(150deg, #10233f, #1458c0); }
.msl-topic--2 { background: linear-gradient(150deg, #13304d, #087ea4); }
.msl-topic--3 { background: linear-gradient(150deg, #1f2746, #5145a6); }

.msl-topic > span {
  display: block;
  margin-bottom: 70px;
  color: #bae6fd;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.msl-home .msl-topic h3 { color: #fff; }
.msl-home .msl-topic p { color: #dbeafe; }

.msl-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--msl-slate-200);
  border-radius: 18px;
  box-shadow: var(--msl-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.msl-post-card:hover {
  box-shadow: var(--msl-shadow-md);
  transform: translateY(-5px);
}

.msl-post-card__link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.msl-post-card__media {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.28), transparent 55%),
    var(--msl-navy-900);
  place-items: center;
}

.msl-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.msl-post-card:hover .msl-post-card__media img {
  transform: scale(1.035);
}

.msl-post-card__media > span {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.msl-post-card__body {
  padding: 22px;
}

.msl-post-card time {
  display: block;
  margin-bottom: 10px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.msl-post-card h3 {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.48;
}

.msl-post-card p {
  display: -webkit-box;
  min-height: 5.25em;
  overflow: hidden;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msl-articles-page .entry-hero-container-inner,
.msl-articles-page .entry-header.post-archive-title {
  min-height: 112px;
}

.msl-articles-page .post-home-title {
  color: var(--msl-navy-900);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.msl-articles-page .loop-entry .entry-title {
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  line-height: 1.48;
}

.msl-articles-page .loop-entry .entry-summary {
  display: -webkit-box;
  overflow: hidden;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msl-articles-page .loop-entry .entry-summary p {
  margin: 0;
}

.msl-post-card__body > strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--msl-blue-700);
  font-size: 0.86rem;
}

.msl-home-process {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  background: var(--msl-blue-50);
  border: 1px solid #bfdbfe;
  border-radius: 22px;
}

.msl-home-process__mark {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--msl-blue-600);
  border-radius: 50%;
  place-items: center;
}

.msl-home-process p {
  max-width: 820px;
  margin: 0;
  color: var(--msl-slate-700);
}

.msl-home-empty {
  padding: 30px;
  text-align: center;
  background: var(--msl-slate-100);
  border-radius: var(--msl-radius-md);
}

.msl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.msl-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.msl-article *,
.msl-page *,
.msl-home * {
  box-sizing: border-box;
}

.msl-article > :first-child,
.msl-page > :first-child,
.msl-home > :first-child {
  margin-top: 0;
}

.msl-article h2,
.msl-page h2,
.msl-home h2 {
  position: relative;
  margin: 2.7em 0 0.9em;
  padding: 0 0 0.5em 0.9em;
  color: var(--msl-navy-900);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.35;
  border-bottom: 1px solid var(--msl-slate-200);
}

.msl-article h2::before,
.msl-page h2::before,
.msl-home h2::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.55em;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--msl-blue-600), #38bdf8);
  border-radius: 999px;
}

.msl-article h3,
.msl-page h3,
.msl-home h3 {
  margin: 2em 0 0.65em;
  color: var(--msl-navy-900);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.msl-article p,
.msl-page p,
.msl-home p {
  margin: 0 0 1.25em;
}

.msl-article a,
.msl-page a,
.msl-home a {
  color: var(--msl-blue-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.msl-article a:hover,
.msl-page a:hover,
.msl-home a:hover {
  color: var(--msl-navy-900);
}

.msl-article a:focus-visible,
.msl-page a:focus-visible,
.msl-home a:focus-visible,
.msl-button:focus-visible,
.msl-back-to-top:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.msl-lead {
  margin-bottom: 1.6em !important;
  color: var(--msl-slate-700);
  font-size: 1.12em;
}

.msl-hero {
  position: relative;
  margin: 0 0 2em;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
  color: var(--msl-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.34), transparent 32%),
    linear-gradient(135deg, var(--msl-navy-950), var(--msl-blue-700));
  border-radius: var(--msl-radius-lg);
  box-shadow: var(--msl-shadow-md);
}

.msl-hero h2,
.msl-hero h3,
.msl-hero p {
  position: relative;
  color: inherit;
}

.msl-hero h2 {
  margin-top: 0;
  padding-left: 0;
  border: 0;
}

.msl-hero h2::before {
  display: none;
}

.msl-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--msl-navy-900);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #bae6fd;
  border-radius: 999px;
}

.msl-answer,
.msl-intro,
.msl-note,
.msl-warning,
.msl-success {
  margin: 1.7em 0;
  padding: clamp(18px, 4vw, 25px);
  border-radius: var(--msl-radius-md);
}

.msl-answer,
.msl-intro {
  background: linear-gradient(135deg, var(--msl-blue-50), #ffffff);
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--msl-blue-600);
  box-shadow: var(--msl-shadow-sm);
}

.msl-note {
  background: var(--msl-amber-50);
  border: 1px solid var(--msl-amber-300);
}

.msl-warning {
  background: var(--msl-red-50);
  border: 1px solid #fecdd3;
  border-left: 5px solid var(--msl-red-600);
}

.msl-success {
  background: var(--msl-green-50);
  border: 1px solid #a7f3d0;
  border-left: 5px solid var(--msl-green-600);
}

.msl-answer > strong:first-child,
.msl-intro > strong:first-child,
.msl-note > strong:first-child,
.msl-warning > strong:first-child,
.msl-success > strong:first-child {
  display: block;
  margin-bottom: 0.35em;
  color: var(--msl-navy-900);
  font-size: 1.08em;
}

.msl-card-grid,
.msl-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.6em 0;
}

.msl-card,
.msl-spec {
  padding: 20px;
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-md);
  box-shadow: var(--msl-shadow-sm);
}

.msl-card > :last-child,
.msl-spec > :last-child {
  margin-bottom: 0;
}

.msl-spec-label {
  display: block;
  margin-bottom: 5px;
  color: var(--msl-slate-500);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msl-spec-value {
  display: block;
  color: var(--msl-navy-900);
  font-size: 1.18em;
  font-weight: 800;
}

.msl-table-wrap {
  margin: 1.6em 0;
  overflow-x: auto;
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-md);
  box-shadow: var(--msl-shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.msl-table-wrap table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.msl-table-wrap th,
.msl-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--msl-slate-200);
}

.msl-table-wrap th {
  color: var(--msl-white);
  font-size: 0.9em;
  background: var(--msl-navy-900);
}

.msl-table-wrap tbody tr:nth-child(even) {
  background: #f8fafc;
}

.msl-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.msl-steps {
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
  counter-reset: msl-step;
}

.msl-steps > li {
  position: relative;
  min-height: 44px;
  margin: 0 0 18px;
  padding: 8px 0 8px 58px;
  counter-increment: msl-step;
}

.msl-steps > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--msl-white);
  font-size: 0.95em;
  font-weight: 800;
  content: counter(msl-step);
  background: linear-gradient(135deg, var(--msl-blue-600), #38bdf8);
  border-radius: 50%;
  place-items: center;
}

.msl-article code,
.msl-page code,
.msl-home code {
  padding: 0.12em 0.38em;
  color: #12345b;
  font-size: 0.92em;
  background: var(--msl-slate-100);
  border: 1px solid var(--msl-slate-200);
  border-radius: 5px;
}

.msl-article pre,
.msl-page pre,
.msl-home pre {
  padding: 18px;
  overflow-x: auto;
  color: #dbeafe;
  background: var(--msl-navy-950);
  border-radius: var(--msl-radius-md);
}

.msl-article pre code,
.msl-page pre code,
.msl-home pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.msl-article details,
.msl-page details {
  margin: 12px 0;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-sm);
}

.msl-article details[open],
.msl-page details[open] {
  background: var(--msl-white);
  border-color: #93c5fd;
  box-shadow: var(--msl-shadow-sm);
}

.msl-article summary,
.msl-page summary {
  color: var(--msl-navy-900);
  font-weight: 800;
  cursor: pointer;
}

.msl-article details p:last-child,
.msl-page details p:last-child {
  margin: 0.8em 0 0;
}

.msl-toc {
  margin: 2em 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--msl-white) !important;
  border: 1px solid var(--msl-slate-200) !important;
  border-radius: var(--msl-radius-md) !important;
  box-shadow: var(--msl-shadow-sm);
}

.msl-toc summary {
  padding: 16px 20px;
  background: var(--msl-slate-100);
}

.msl-toc ol {
  margin: 0;
  padding: 16px 24px 18px 44px;
}

.msl-toc li {
  margin: 0.35em 0;
}

.msl-button,
.msl-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--msl-white) !important;
  font: inherit;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  background: var(--msl-blue-600);
  border: 0;
  border-radius: var(--msl-radius-sm);
}

.msl-button:hover,
.msl-copy-button:hover {
  background: var(--msl-navy-900);
}

.msl-copy-button {
  margin: 8px 0 18px;
  font-size: 0.86em;
}

.msl-related {
  margin-top: 3em;
  padding: 22px;
  background: var(--msl-slate-100);
  border-radius: var(--msl-radius-md);
}

.msl-related strong {
  display: block;
  margin-bottom: 0.5em;
  color: var(--msl-navy-900);
}

.msl-updated {
  margin-top: 3em !important;
  color: var(--msl-slate-500);
  font-size: 0.86em;
}

.msl-reading-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--msl-blue-600), #38bdf8);
  box-shadow: 0 1px 6px rgba(23, 105, 224, 0.35);
}

.admin-bar .msl-reading-progress {
  top: 32px;
}

.msl-back-to-top {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--msl-white);
  font-size: 20px;
  cursor: pointer;
  visibility: hidden;
  background: var(--msl-navy-900);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--msl-shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  place-items: center;
}

.msl-back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form 7 --------------------------------------------------------- */

.msl-contact-page .entry-content {
  color: var(--msl-slate-700);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.9;
}

.msl-contact-page .wpcf7 {
  max-width: 760px;
  margin-top: clamp(28px, 5vw, 46px);
  padding: clamp(22px, 5vw, 42px);
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-lg);
  box-shadow: var(--msl-shadow-sm);
}

.msl-contact-page .wpcf7 form > p {
  margin: 0 0 24px;
}

.msl-contact-page .wpcf7 label {
  display: block;
  color: var(--msl-navy-900);
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1.65;
}

.msl-contact-page .msl-required {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 7px;
  padding: 2px 8px;
  color: #be123c;
  font-size: 0.68em;
  font-weight: 800;
  vertical-align: 0.1em;
  background: var(--msl-red-50);
  border-radius: 999px;
}

.msl-contact-page .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.msl-contact-page .wpcf7 input[type="text"],
.msl-contact-page .wpcf7 input[type="email"],
.msl-contact-page .wpcf7 input[type="url"],
.msl-contact-page .wpcf7 input[type="tel"],
.msl-contact-page .wpcf7 select,
.msl-contact-page .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--msl-slate-900);
  font: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: #f8fafc;
  border: 1px solid var(--msl-slate-300);
  border-radius: var(--msl-radius-sm);
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.msl-contact-page .wpcf7 textarea {
  min-height: 190px;
  resize: vertical;
}

.msl-contact-page .wpcf7 input::placeholder,
.msl-contact-page .wpcf7 textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.msl-contact-page .wpcf7 input[type="text"]:focus,
.msl-contact-page .wpcf7 input[type="email"]:focus,
.msl-contact-page .wpcf7 input[type="url"]:focus,
.msl-contact-page .wpcf7 input[type="tel"]:focus,
.msl-contact-page .wpcf7 select:focus,
.msl-contact-page .wpcf7 textarea:focus {
  outline: 0;
  background: var(--msl-white);
  border-color: var(--msl-blue-600);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.12);
}

.msl-contact-page .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.msl-contact-page .wpcf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 15px 16px;
  font-size: 0.88em;
  font-weight: 600;
  background: var(--msl-blue-50);
  border: 1px solid #bfdbfe;
  border-radius: var(--msl-radius-sm);
  cursor: pointer;
}

.msl-contact-page .wpcf7 input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  accent-color: var(--msl-blue-600);
}

.msl-contact-page .wpcf7 input[type="submit"] {
  min-height: 52px;
  padding: 12px 24px;
  color: var(--msl-white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--msl-blue-600), var(--msl-blue-700));
  border: 0;
  border-radius: var(--msl-radius-sm);
  box-shadow: 0 10px 22px rgba(23, 105, 224, 0.2);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.msl-contact-page .wpcf7 input[type="submit"]:hover {
  box-shadow: 0 13px 28px rgba(23, 105, 224, 0.28);
  transform: translateY(-1px);
}

.msl-contact-page .wpcf7 input[type="submit"]:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.msl-contact-page .wpcf7 .wpcf7-spinner {
  vertical-align: middle;
}

.msl-contact-page .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: var(--msl-red-600);
  font-size: 0.78em;
  font-weight: 700;
}

.msl-contact-page .wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 13px 16px;
  font-size: 0.9em;
  border-width: 1px;
  border-radius: var(--msl-radius-sm);
}

.msl-contact-page .wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background: var(--msl-green-50);
  border-color: #6ee7b7;
}

.msl-contact-page .wpcf7 form.invalid .wpcf7-response-output,
.msl-contact-page .wpcf7 form.unaccepted .wpcf7-response-output,
.msl-contact-page .wpcf7 form.payment-required .wpcf7-response-output {
  color: #9f1239;
  background: var(--msl-red-50);
  border-color: #fda4af;
}

@media (max-width: 782px) {
  .admin-bar .msl-reading-progress {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .msl-card-grid,
  .msl-spec-grid {
    grid-template-columns: 1fr;
  }

  .msl-table-wrap {
    margin-inline: -8px;
  }

  .msl-back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .msl-contact-page .wpcf7 {
    padding: 20px 16px;
    border-radius: var(--msl-radius-md);
  }

  .msl-contact-page .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .msl-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .msl-home-hero__visual {
    width: min(280px, 75vw);
  }

  .msl-home-value-grid,
  .msl-topic-grid,
  .msl-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .msl-home {
    padding-inline: 2px;
  }

  .msl-home-hero {
    gap: 36px;
    min-height: 0;
    padding: 34px 23px;
    border-radius: 22px;
  }

  .msl-home-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .msl-home-hero__visual {
    width: min(240px, 72vw);
  }

  .msl-home-value-grid,
  .msl-topic-grid,
  .msl-post-grid,
  .msl-section-heading--split {
    grid-template-columns: 1fr;
  }

  .msl-topic {
    min-height: 220px;
  }

  .msl-topic > span {
    margin-bottom: 48px;
  }

  .msl-home-process {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msl-back-to-top {
    transition: none;
  }

  .msl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .msl-reading-progress,
  .msl-back-to-top,
  .msl-copy-button {
    display: none !important;
  }
}

/* Home page v2 ----------------------------------------------------------- */
.msl-home-v2 {
  --msl-v2-navy: #0b1f3a;
  --msl-v2-blue: #1769e0;
  --msl-v2-cyan: #38bdf8;
  --msl-v2-ink: #172033;
  --msl-v2-muted: #667085;
  --msl-v2-line: #e5eaf1;
  --msl-v2-soft: #f5f8fc;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  color: var(--msl-v2-ink);
}

.msl-home-v2 * { box-sizing: border-box; }
.msl-home-v2 a { text-decoration: none; }
.msl-v2-hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; overflow: hidden; padding: 58px; color: #fff; background: linear-gradient(135deg, #07172d 0%, #0d315a 62%, #0b5590 100%); border-radius: 30px; }
.msl-v2-hero::after { position: absolute; top: -230px; right: -180px; width: 420px; height: 420px; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.msl-v2-hero-copy { position: relative; z-index: 1; }
.msl-v2-eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 20px; color: #9edcff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.msl-v2-eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--msl-v2-cyan); }
.msl-home-v2 .msl-v2-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(34px, 4vw, 56px); line-height: 1.18; letter-spacing: -.04em; }
.msl-v2-lead { max-width: 560px; margin: 0 0 26px; color: #d8e5f3; font-size: 17px; line-height: 1.85; }
.msl-v2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.msl-v2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; color: var(--msl-v2-navy); font-weight: 800; background: #fff; border-radius: 12px; }
.msl-v2-btn.is-sub { color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.24); }
.msl-v2-feature { position: relative; z-index: 1; overflow: hidden; color: inherit; background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.msl-v2-feature img, .msl-v2-feature .msl-v2-fallback { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.msl-v2-feature-copy { padding: 20px 22px 22px; }
.msl-v2-feature-tag { display: block; margin-bottom: 8px; color: var(--msl-v2-blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.msl-home-v2 .msl-v2-feature h2 { margin: 0; color: var(--msl-v2-ink); font-size: 20px; line-height: 1.5; }
.msl-v2-fallback { display: grid !important; place-items: center; color: #fff; font-weight: 900; text-align: center; background: linear-gradient(135deg, #0b1f3a, #1769e0); }
.msl-v2-search { display: flex; gap: 16px; align-items: center; margin: -1px 28px 0; padding: 18px 22px; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 0 0 18px 18px; box-shadow: 0 12px 30px rgba(16,35,63,.08); }
.msl-v2-search strong { flex: 0 0 auto; color: var(--msl-v2-navy); font-size: 14px; }
.msl-v2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.msl-v2-chip { padding: 8px 13px; color: #3d4b61; font-size: 13px; font-weight: 700; background: var(--msl-v2-soft); border-radius: 999px; }
.msl-v2-section { padding-top: 68px; }
.msl-v2-head { display: flex; gap: 20px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.msl-v2-kicker { margin: 0 0 7px; color: var(--msl-v2-blue); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.msl-home-v2 .msl-v2-head h2 { margin: 0; color: var(--msl-v2-navy); font-size: clamp(26px,3vw,38px); line-height: 1.25; letter-spacing: -.03em; }
.msl-v2-head > a { flex: 0 0 auto; color: var(--msl-v2-blue); font-size: 14px; font-weight: 800; }
.msl-v2-purpose { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.msl-v2-purpose > a { min-height: 170px; padding: 24px; color: var(--msl-v2-ink); background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 18px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.msl-v2-purpose > a:hover { border-color: #a9c9f5; box-shadow: 0 15px 36px rgba(20,63,116,.1); transform: translateY(-3px); }
.msl-v2-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 30px; color: var(--msl-v2-blue); font-size: 19px; font-weight: 900; background: #e9f3ff; border-radius: 12px; }
.msl-home-v2 .msl-v2-purpose h3 { margin: 0 0 6px; color: var(--msl-v2-navy); font-size: 17px; }
.msl-v2-purpose p { margin: 0; color: var(--msl-v2-muted); font-size: 13px; line-height: 1.65; }
.msl-v2-picks { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.msl-v2-card { overflow: hidden; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 20px; box-shadow: 0 8px 24px rgba(20,45,80,.05); }
.msl-v2-card img, .msl-v2-card .msl-v2-fallback { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.msl-v2-card-copy { padding: 19px 20px 22px; }
.msl-v2-meta { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 9px; color: #7c8799; font-size: 12px; }
.msl-v2-meta span:first-child { color: var(--msl-v2-blue); font-weight: 800; }
.msl-home-v2 .msl-v2-card h3 { margin: 0; color: var(--msl-v2-navy); font-size: 18px; line-height: 1.55; }
.msl-v2-latest { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msl-v2-row { display: grid; grid-template-columns: 132px 1fr; gap: 17px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 16px; }
.msl-v2-row img, .msl-v2-row .msl-v2-fallback { width: 132px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.msl-v2-row time { display: block; margin-bottom: 5px; color: #8993a3; font-size: 11px; }
.msl-home-v2 .msl-v2-row h3 { margin: 0; color: var(--msl-v2-navy); font-size: 15px; line-height: 1.5; }
.msl-v2-trust { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: center; margin-top: 70px; padding: 38px 42px; background: var(--msl-v2-soft); border: 1px solid var(--msl-v2-line); border-radius: 22px; }
.msl-home-v2 .msl-v2-trust h2 { margin: 0 0 9px; color: var(--msl-v2-navy); font-size: 25px; }
.msl-v2-trust p { margin: 0; color: var(--msl-v2-muted); line-height: 1.8; }
.msl-v2-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msl-v2-point { padding: 14px; color: #31415a; font-size: 13px; font-weight: 800; text-align: center; background: #fff; border-radius: 12px; }

/* Communications toolkit ------------------------------------------------ */
.msl-tools-page .entry-hero { display: none; }
.msl-tools-page .content-area { margin-top: 0; }
.msl-tools-page .content-bg { background: transparent; box-shadow: none; }
.msl-tools-page .entry-content-wrap { padding: 0; }
.msl-tools { max-width: 1120px; margin: 0 auto; padding: 30px 20px 80px; color: #172033; }
.msl-tools * { box-sizing: border-box; }
.msl-tools-hero { padding: 58px; color: #fff; background: linear-gradient(135deg,#07172d,#0d315a 62%,#1769e0); border-radius: 28px; }
.msl-tools-eyebrow { margin: 0 0 16px; color: #9edcff; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.msl-tools .msl-tools-hero h1 { margin: 0 0 14px; color: #fff; font-size: clamp(28px,3.5vw,42px); line-height: 1.2; letter-spacing: -.03em; }
.msl-tools-hero > p:last-child { max-width: 700px; margin: 0; color: #d8e5f3; font-size: 16px; line-height: 1.8; }
.msl-tool-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 26px 0; }
.msl-tool-tabs button { min-height: 50px; padding: 10px 14px; color: #4a5870; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; background: #f3f6fa; border: 1px solid #e1e7ef; border-radius: 12px; }
.msl-tool-tabs button.is-active { color: #fff; background: #1769e0; border-color: #1769e0; }
.msl-tool-panel { padding: 34px; background: #fff; border: 1px solid #e1e7ef; border-radius: 22px; box-shadow: 0 12px 35px rgba(22,46,82,.07); }
.msl-tool-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.msl-tool-heading > span { display: grid; place-items: center; width: 44px; height: 44px; color: #1769e0; font-weight: 900; background: #e9f3ff; border-radius: 12px; }
.msl-tools .msl-tool-heading h2 { margin: 0 0 5px; color: #0b1f3a; font-size: 27px; }
.msl-tool-heading p { margin: 0; color: #667085; line-height: 1.7; }
.msl-tool-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.msl-tool-form { padding: 24px; background: #f7f9fc; border-radius: 16px; }
.msl-tool-form label { display: block; color: #25344b; font-size: 13px; font-weight: 800; }
.msl-tool-form label em { color: #d12d45; font-size: 11px; font-style: normal; }
.msl-tool-form input, .msl-tool-form select, .msl-tool-form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: #172033; font: inherit; font-size: 15px; background: #fff; border: 1px solid #cfd8e5; border-radius: 10px; box-shadow: none; }
.msl-tool-form input:focus, .msl-tool-form select:focus, .msl-tool-form textarea:focus { outline: 0; border-color: #1769e0; box-shadow: 0 0 0 4px rgba(23,105,224,.1); }
.msl-tool-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 17px; }
.msl-tool-hint { margin: 15px 0 0; color: #6d7889; font-size: 12px; line-height: 1.7; }
.msl-tool-primary { min-height: 48px; margin-top: 20px; padding: 0 20px; color: #fff; font: inherit; font-weight: 800; cursor: pointer; background: #1769e0; border: 0; border-radius: 11px; }
.msl-tool-result { display: flex; flex-direction: column; min-height: 100%; padding: 24px; overflow-wrap: anywhere; background: #0b1f3a; border-radius: 16px; }
.msl-tool-result > span { margin-bottom: 18px; color: #8dd5ff; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.msl-tool-result p { flex: 1; margin: 0; color: #e5edf8; font-size: 14px; line-height: 1.75; }
.msl-tool-result button, .msl-tool-result a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; padding: 0 16px; color: #0b1f3a; font-size: 13px; font-weight: 900; background: #fff; border: 0; border-radius: 10px; cursor: pointer; }
.msl-tool-result button:disabled { opacity: .45; cursor: not-allowed; }
.msl-tool-qr-result { align-items: center; text-align: center; }
.msl-tool-qr-result > span { align-self: flex-start; }
.msl-tool-qr-result img { width: min(100%,280px); height: auto; padding: 12px; background: #fff; border-radius: 12px; }
.msl-tool-qr-placeholder { display: grid; place-items: center; width: 220px; max-width: 100%; aspect-ratio: 1; color: #8090a8; font-size: 42px; font-weight: 900; background: #fff; border-radius: 12px; }
.msl-count-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 16px; }
.msl-count-grid > div { padding: 18px 10px; text-align: center; background: #fff; border: 1px solid #dfe6ef; border-radius: 12px; }
.msl-count-grid strong { display: block; color: #1769e0; font-size: 28px; }
.msl-count-grid span { color: #667085; font-size: 12px; }
.msl-ratio-result { align-items: center; text-align: center; }
.msl-ratio-result > span { align-self: flex-start; }
.msl-ratio-result > strong { margin: auto 0 18px; color: #fff; font-size: 26px; }
.msl-ratio-preview { width: 220px; max-width: 100%; aspect-ratio: 16/9; margin: 0 auto; background: linear-gradient(135deg,#38bdf8,#1769e0); border: 5px solid rgba(255,255,255,.75); border-radius: 10px; }

@media (max-width: 900px) {
  .msl-v2-hero { grid-template-columns: 1fr; padding: 42px; }
  .msl-v2-purpose { grid-template-columns: 1fr 1fr; }
  .msl-v2-picks { grid-template-columns: 1fr 1fr; }
  .msl-v2-card:last-child { display: none; }
  .msl-v2-latest, .msl-tool-layout { grid-template-columns: 1fr; }
  .msl-v2-trust { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .msl-home-v2 { padding: 12px 14px 52px; }
  .msl-v2-hero { padding: 32px 24px; border-radius: 22px; }
  .msl-home-v2 .msl-v2-hero h1 { font-size: 35px; }
  .msl-v2-lead { font-size: 15px; }
  .msl-v2-search { display: block; margin: 0; padding: 16px; }
  .msl-v2-search strong { display: block; margin-bottom: 10px; }
  .msl-v2-section { padding-top: 52px; }
  .msl-v2-head { align-items: flex-start; }
  .msl-v2-purpose { grid-template-columns: 1fr 1fr; gap: 10px; }
  .msl-v2-purpose > a { min-height: 150px; padding: 18px; }
  .msl-v2-icon { margin-bottom: 20px; }
  .msl-v2-picks { grid-template-columns: 1fr; }
  .msl-v2-card:last-child { display: block; }
  .msl-v2-row { grid-template-columns: 105px 1fr; gap: 12px; }
  .msl-v2-row img, .msl-v2-row .msl-v2-fallback { width: 105px; }
  .msl-home-v2 .msl-v2-row h3 { font-size: 14px; }
  .msl-v2-trust { padding: 28px 22px; }
  .msl-v2-points { grid-template-columns: 1fr; }
  .msl-tools { padding: 14px 14px 54px; }
  .msl-tools-hero { padding: 34px 24px; border-radius: 20px; }
  .msl-tools .msl-tools-hero h1 { font-size: 30px; }
  .msl-tool-tabs { grid-template-columns: 1fr 1fr; }
  .msl-tool-panel { padding: 22px 16px; }
  .msl-tool-form { padding: 18px 14px; }
  .msl-tool-form-grid { grid-template-columns: 1fr; }
  .msl-count-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile-first home refresh with a lightweight animated data field. */
.msl-home-v2 { overflow: hidden; padding: 8px 0 52px; }
.msl-v2-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px 22px; border-radius: 0 0 26px 26px; isolation: isolate; }
.msl-v2-hero::before { position: absolute; inset: 0; z-index: -2; content: ""; background: radial-gradient(circle at 78% 22%,rgba(28,146,230,.34),transparent 34%),linear-gradient(145deg,#061426 0%,#0a284a 58%,#0b4f86 100%); }
.msl-v2-hero::after { top: -120px; right: -140px; width: 300px; height: 300px; }
.msl-v2-particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .82; }
.msl-v2-hero-copy { max-width: 620px; }
.msl-v2-eyebrow { margin-bottom: 14px; font-size: 10px; }
.msl-home-v2 .msl-v2-hero h1 { max-width: 520px; margin-bottom: 14px; font-size: clamp(31px,9.2vw,42px); line-height: 1.14; }
.msl-v2-lead { margin-bottom: 20px; font-size: 14px; line-height: 1.75; }
.msl-v2-actions { gap: 9px; }
.msl-v2-btn { min-height: 44px; padding: 0 15px; font-size: 13px; border-radius: 11px; }
.msl-v2-feature { border: 1px solid rgba(255,255,255,.18); border-radius: 15px; box-shadow: 0 18px 42px rgba(0,0,0,.24); animation: msl-feature-float 6s ease-in-out infinite; }
.msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { aspect-ratio: 2/1; }
.msl-v2-feature-copy { padding: 14px 16px 16px; }
.msl-home-v2 .msl-v2-feature h2 { display: -webkit-box; overflow: hidden; font-size: 16px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.msl-v2-search { display: block; margin: 0; padding: 15px 16px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: 0 10px 28px rgba(16,35,63,.06); }
.msl-v2-search strong { display: block; margin-bottom: 9px; font-size: 12px; }
.msl-v2-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.msl-v2-chips::-webkit-scrollbar,.msl-v2-purpose::-webkit-scrollbar,.msl-v2-picks::-webkit-scrollbar { display: none; }
.msl-v2-chip { flex: 0 0 auto; padding: 7px 12px; font-size: 12px; }
.msl-v2-section { padding: 44px 16px 0; }
.msl-v2-head { gap: 12px; margin-bottom: 17px; }
.msl-v2-kicker { margin-bottom: 4px; font-size: 10px; }
.msl-home-v2 .msl-v2-head h2 { font-size: 24px; }
.msl-v2-head > a { font-size: 12px; }
.msl-v2-purpose { display: flex; gap: 11px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 10px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msl-v2-purpose > a { flex: 0 0 min(76vw,280px); min-height: 138px; padding: 18px; border-radius: 16px; scroll-snap-align: start; }
.msl-v2-icon { width: 38px; height: 38px; margin-bottom: 18px; }
.msl-v2-picks { display: flex; gap: 13px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 14px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msl-v2-card,.msl-v2-card:last-child { display: block; flex: 0 0 min(82vw,320px); border-radius: 17px; scroll-snap-align: start; }
.msl-v2-card-copy { padding: 15px 16px 18px; }
.msl-home-v2 .msl-v2-card h3 { font-size: 16px; }
.msl-v2-latest { grid-template-columns: 1fr; gap: 9px; }
.msl-v2-row { grid-template-columns: 92px 1fr; gap: 11px; padding: 9px; border-radius: 13px; }
.msl-v2-row img,.msl-v2-row .msl-v2-fallback { width: 92px; border-radius: 8px; }
.msl-home-v2 .msl-v2-row h3 { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.msl-v2-trust { grid-template-columns: 1fr; gap: 20px; margin: 48px 16px 0; padding: 25px 20px; border-radius: 18px; }
.msl-home-v2 .msl-v2-trust h2 { font-size: 21px; }
.msl-v2-trust p { font-size: 14px; }
.msl-v2-points { grid-template-columns: 1fr 1fr; gap: 8px; }
.msl-v2-point { padding: 11px 7px; font-size: 11px; }
.msl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1); }
.msl-reveal.is-visible { opacity: 1; transform: none; }
@keyframes msl-feature-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (min-width:700px) {
  .msl-home-v2 { padding: 18px 22px 72px; }
  .msl-v2-hero { padding: 46px; border-radius: 28px; }
  .msl-v2-search { margin: -1px 24px 0; padding: 17px 21px; border: 1px solid var(--msl-v2-line); border-radius: 0 0 18px 18px; }
  .msl-v2-section { padding: 62px 0 0; }
  .msl-v2-purpose { display: grid; grid-template-columns: 1fr 1fr; margin-right: 0; padding-right: 0; overflow: visible; }
  .msl-v2-purpose > a { min-height: 155px; }
  .msl-v2-picks { display: grid; grid-template-columns: 1fr 1fr; margin-right: 0; padding-right: 0; overflow: visible; }
  .msl-v2-card { min-width: 0; }
  .msl-v2-latest { grid-template-columns: 1fr 1fr; }
  .msl-v2-trust { margin: 66px 0 0; padding: 34px; }
}
@media (min-width:980px) {
  .msl-home-v2 { padding-right: 0; padding-left: 0; }
  .msl-v2-hero { grid-template-columns: 1.05fr .95fr; gap: 42px; padding: 58px; }
  .msl-v2-purpose { grid-template-columns: repeat(4,1fr); }
  .msl-v2-picks { grid-template-columns: repeat(3,1fr); }
  .msl-v2-trust { grid-template-columns: 1.25fr .75fr; }
}
@media (prefers-reduced-motion:reduce) {
  .msl-v2-feature { animation: none; }
  .msl-reveal { opacity: 1; transform: none; transition: none; }
  .msl-v2-particles { display: none; }
}

/* 1.9.2: preserve the 1200x630 editorial thumbnail ratio everywhere. */
body.blog .loop-entry .post-thumbnail,
body.archive .loop-entry .post-thumbnail,
body.search .loop-entry .post-thumbnail {
  height: auto !important;
  padding-bottom: 52.5% !important;
  overflow: hidden;
  background: #071426;
}

body.blog .loop-entry .post-thumbnail-inner,
body.archive .loop-entry .post-thumbnail-inner,
body.search .loop-entry .post-thumbnail-inner {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

body.blog .loop-entry .post-thumbnail img,
body.archive .loop-entry .post-thumbnail img,
body.search .loop-entry .post-thumbnail img,
.msl-v2-card img,
.msl-v2-row img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 40 / 21 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #071426;
}

.msl-v2-card img,
.msl-v2-card .msl-v2-fallback,
.msl-v2-row img,
.msl-v2-row .msl-v2-fallback {
  aspect-ratio: 40 / 21 !important;
}

/* 1.7: full-bleed hero with a dedicated motion stage. */
.msl-home-v2 { overflow: visible; }
.msl-v2-hero { display: block; width: 100vw; width: 100dvw; margin-left: calc(50% - 50vw); margin-left: calc(50% - 50dvw); padding: 34px 18px 28px; overflow: hidden; border-radius: 0; }
.msl-v2-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 28px; width: min(100%,1180px); margin: 0 auto; }
.msl-v2-visual { display: grid; gap: 14px; min-width: 0; }
.msl-v2-particle-stage { position: relative; height: 190px; overflow: hidden; background: linear-gradient(145deg,rgba(4,17,34,.68),rgba(13,70,113,.45)); border: 1px solid rgba(147,214,255,.22); border-radius: 20px; box-shadow: inset 0 0 50px rgba(18,123,194,.08),0 18px 50px rgba(0,0,0,.18); }
.msl-v2-particle-stage::after { position: absolute; inset: 0; z-index: 0; content: ""; background: linear-gradient(90deg,rgba(5,18,36,.22),transparent 35%); pointer-events: none; }
.msl-v2-particle-stage > span { position: absolute; right: 14px; bottom: 11px; z-index: 2; color: rgba(194,229,255,.65); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.msl-v2-particle-stage .msl-v2-particles { z-index: 1; opacity: 1; }
.msl-v2-feature { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 108px; animation: none; }
.msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { width: 108px; height: 108px; min-height: 108px; aspect-ratio: auto; object-fit: cover; }
.msl-v2-feature-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 13px 14px; }
.msl-v2-feature-tag { margin-bottom: 5px; font-size: 9px; }
.msl-home-v2 .msl-v2-feature h2 { font-size: 14px; }

@media (min-width:760px) {
  .msl-v2-hero { padding: 56px 30px; }
  .msl-v2-hero-inner { grid-template-columns: minmax(0,1fr) minmax(360px,.82fr); gap: 54px; align-items: center; }
  .msl-v2-particle-stage { height: 245px; }
  .msl-v2-feature { grid-template-columns: 150px minmax(0,1fr); min-height: 122px; }
  .msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { width: 150px; height: 122px; min-height: 122px; }
  .msl-home-v2 .msl-v2-feature h2 { font-size: 15px; }
}

@media (min-width:1100px) {
  .msl-v2-hero { padding-top: 68px; padding-bottom: 68px; }
  .msl-home-v2 .msl-v2-hero h1 { font-size: 54px; }
  .msl-v2-lead { font-size: 16px; }
}

/* 1.8: remove theme spacing above the homepage and keep the particle words legible. */
.msl-homepage .content-area { margin-top: 0 !important; }
.msl-homepage .entry-content-wrap { padding-top: 0 !important; }
.msl-homepage .msl-home-v2 { padding-top: 0 !important; }
.msl-v2-particle-stage > span { transition: opacity .25s ease; }

/* 1.8.1: luminous particle stage. */
.msl-v2-particle-stage { background: radial-gradient(circle at 50% 48%,rgba(8,91,145,.3),transparent 52%),linear-gradient(145deg,#031020,#082e4b); box-shadow: inset 0 0 64px rgba(14,165,233,.12),0 18px 50px rgba(0,0,0,.2); }
.msl-v2-particle-stage > span { color: rgba(186,230,253,.88); text-shadow: 0 0 10px rgba(56,189,248,.55); }

/* 1.9: immersive full-bleed particle hero. */
.msl-v2-hero { position: relative; display: grid; place-items: center; min-height: clamp(560px,78vh,760px); padding: 72px 18px; isolation: isolate; background: linear-gradient(145deg,#020a15 0%,#061a31 48%,#07365c 100%); }
.msl-v2-hero::before { z-index: 1; background: radial-gradient(circle at 50% 50%,rgba(2,10,21,.12) 0%,rgba(2,10,21,.38) 55%,rgba(2,10,21,.78) 100%); }
.msl-v2-hero::after { inset: auto 0 0; z-index: 1; width: auto; height: 42%; border: 0; border-radius: 0; background: linear-gradient(180deg,transparent,#020a15); pointer-events: none; }
.msl-v2-hero-inner { z-index: 2; display: block; width: min(100%,1180px); }
.msl-v2-hero-copy { max-width: 780px; margin: 0; text-align: left; }
.msl-home-v2 .msl-v2-hero h1 { max-width: 780px; margin-right: 0; margin-left: 0; font-size: clamp(42px,4.7vw,60px); text-wrap: balance; }
.msl-v2-lead { max-width: 610px; margin-right: 0; margin-left: 0; font-size: clamp(15px,1.6vw,18px); text-wrap: balance; }
.msl-v2-actions { justify-content: flex-start; }
.msl-v2-particle-stage { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.msl-v2-particle-stage::after { background: radial-gradient(circle at 50% 50%,transparent 0%,rgba(1,8,17,.18) 75%,rgba(1,8,17,.55) 100%); }
.msl-v2-particle-stage .msl-v2-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.msl-v2-particle-stage > span { right: 22px; bottom: 18px; opacity: .72; }

@media (max-width:699px) {
  .msl-v2-hero { min-height: 620px; padding: 82px 18px 72px; }
  .msl-v2-hero-inner { align-self: end; }
  .msl-v2-hero-copy { max-width: 540px; }
  .msl-home-v2 .msl-v2-hero h1 { max-width: 540px; font-size: clamp(38px,11.5vw,50px); }
  .msl-v2-particle-stage > span { right: 14px; bottom: 12px; }
}

/* 1.10: centered desktop content and a lightweight fluctlight-style sphere. */
.msl-v2-particle-stage {
  background:
    radial-gradient(circle at 72% 50%,rgba(35,181,255,.13) 0%,rgba(13,91,151,.06) 22%,transparent 43%),
    transparent;
}

@media (min-width:700px) {
  .msl-v2-hero-inner {
    width: 100%;
    max-width: 1440px;
    padding-right: clamp(48px,8vw,120px);
    padding-left: clamp(48px,8vw,120px);
    box-sizing: border-box;
  }
  .msl-v2-hero-copy { max-width: 660px; }
  .msl-home-v2 .msl-v2-hero h1 { max-width: 660px; }
  .msl-v2-particle-stage > span { right: clamp(30px,5vw,80px); }
}

@media (max-width:699px) {
  .msl-v2-particle-stage {
    background:
      radial-gradient(circle at 50% 28%,rgba(35,181,255,.14) 0%,rgba(13,91,151,.06) 24%,transparent 45%),
      transparent;
  }
}

/* Unified URL and QR workflow */
.msl-url-flow{display:grid;gap:18px;max-width:none}.msl-flow-step{padding:20px;border:1px solid #dbe7f3;border-radius:16px;background:#fff}.msl-flow-step-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.msl-flow-step-title>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#1769e0;color:#fff;font-weight:800}.msl-flow-step-title h3{margin:0;color:#10233f;font-size:1.08rem}.msl-flow-step-title p{margin:4px 0 0;color:#64748b;font-size:.92rem}.msl-switch-row{display:flex!important;align-items:center;gap:10px;padding:13px 15px;border-radius:12px;background:#f1f7ff;font-weight:700}.msl-switch-row input{width:20px;height:20px;margin:0}.msl-utm-fields{margin-top:16px}.msl-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.msl-choice-grid label{display:flex!important;align-items:center;gap:12px;padding:15px;border:1px solid #d7e2ee;border-radius:13px;cursor:pointer}.msl-choice-grid label:has(input:checked){border-color:#1769e0;background:#eef6ff;box-shadow:0 0 0 2px rgba(23,105,224,.1)}.msl-choice-grid input{width:19px;height:19px;margin:0}.msl-choice-grid span{display:grid;gap:2px}.msl-choice-grid small{color:#64748b}.msl-flow-submit{width:100%;min-height:54px;font-size:1rem}.msl-unified-result{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);gap:18px;margin-top:22px;padding:22px;border-radius:18px;background:#07182f;color:#fff}.msl-unified-result-main>span,.msl-unified-result-qr>span{display:block;margin-bottom:10px;color:#78d9ff;font-size:.78rem;font-weight:800;letter-spacing:.12em}.msl-unified-result-main p{overflow-wrap:anywhere;margin:0 0 16px;font-weight:700}.msl-unified-result button,.msl-unified-result a{display:inline-flex;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:#fff;color:#10233f;text-decoration:none;font-weight:700}.msl-unified-result-qr img{display:block;width:min(100%,220px);height:auto;margin:0 0 12px;border-radius:10px;background:#fff}.msl-flow-message{min-height:24px;margin-top:12px;color:#334155;font-weight:700}
@media(max-width:700px){.msl-flow-step{padding:16px}.msl-choice-grid,.msl-unified-result{grid-template-columns:1fr}.msl-unified-result{padding:18px}.msl-flow-step-title p{font-size:.86rem}}

/* Member access */
.msl-member-gate{max-width:980px;margin:24px auto 0;padding:24px;border:1px solid #dbe7f3;border-radius:20px;background:#fff}.msl-member-intro{text-align:center;margin-bottom:22px}.msl-member-intro>span{color:#1769e0;font-size:.76rem;font-weight:800;letter-spacing:.14em}.msl-member-intro h2{margin:8px 0;color:#10233f}.msl-member-intro p{margin:0;color:#64748b}.msl-member-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.msl-member-grid section,.msl-member-status{padding:20px;border:1px solid #e0e8f1;border-radius:15px;background:#f8fbff}.msl-member-grid h3,.msl-member-status h3{margin-top:0;color:#10233f}.msl-member-grid form{display:grid;gap:12px}.msl-member-grid label{display:grid;gap:6px;font-weight:700;color:#334155}.msl-member-grid input[type=email],.msl-member-grid input[type=password],.msl-member-grid input[type=text]{width:100%;padding:12px;border:1px solid #cbd7e5;border-radius:9px}.msl-member-button,.msl-member-grid input[type=submit]{display:inline-flex;justify-content:center;padding:12px 16px;border:0;border-radius:10px;background:#1769e0;color:#fff!important;text-decoration:none;font-weight:800;cursor:pointer}.msl-member-terms{display:flex!important;grid-template-columns:20px 1fr;align-items:flex-start}.msl-member-terms input{margin-top:4px}.msl-member-hp{position:absolute!important;left:-9999px!important}.msl-member-notice{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#e8f8ef;color:#087f5b;font-weight:700}.msl-member-notice.is-error{background:#fff0f0;color:#b42318}@media(max-width:700px){.msl-member-gate{padding:18px}.msl-member-grid{grid-template-columns:1fr}}


/* Compact JP / EN switch outside navigation */
.msl-header-lang-switch{display:inline-flex;align-items:center;flex:0 0 auto;margin-left:18px;padding:3px;background:#f1f5f9;border:1px solid #dbe4ef;border-radius:999px;box-shadow:0 4px 14px rgba(15,35,64,.08);font-family:inherit;line-height:1}
.msl-header-lang-switch a{display:flex;align-items:center;justify-content:center;min-width:34px;height:29px;padding:0 8px;border-radius:999px;color:#64748b!important;font-size:11px;font-weight:800;letter-spacing:.06em;text-decoration:none!important;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.msl-header-lang-switch a:hover{color:#1769e0!important}
.msl-header-lang-switch a.is-active{background:#1769e0;color:#fff!important;box-shadow:0 3px 10px rgba(23,105,224,.3);pointer-events:none}
#mobile-header .msl-header-lang-switch{margin:0 9px 0 0;padding:2px}
#mobile-header .msl-header-lang-switch a{min-width:30px;height:27px;padding:0 6px;font-size:10px}
@media(max-width:767px){.site-branding.mobile-site-branding .custom-logo{max-width:min(190px,52vw)}}
:root {
  --msl-navy-950: #071426;
  --msl-navy-900: #10233f;
  --msl-blue-700: #1458c0;
  --msl-blue-600: #1769e0;
  --msl-blue-100: #dceeff;
  --msl-blue-50: #eff8ff;
  --msl-slate-900: #1f2937;
  --msl-slate-700: #334155;
  --msl-slate-500: #64748b;
  --msl-slate-300: #cbd5e1;
  --msl-slate-200: #e2e8f0;
  --msl-slate-100: #f1f5f9;
  --msl-white: #ffffff;
  --msl-amber-50: #fff8e6;
  --msl-amber-300: #f1d486;
  --msl-green-50: #ecfdf5;
  --msl-green-600: #059669;
  --msl-red-50: #fff1f2;
  --msl-red-600: #e11d48;
  --msl-radius-sm: 8px;
  --msl-radius-md: 14px;
  --msl-radius-lg: 22px;
  --msl-shadow-sm: 0 8px 24px rgba(15, 35, 63, 0.08);
  --msl-shadow-md: 0 18px 48px rgba(15, 35, 63, 0.13);
}

.msl-article,
.msl-page,
.msl-home {
  max-width: 840px;
  margin-inline: auto;
  color: var(--msl-slate-700);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.msl-homepage .entry-header {
  display: none !important;
}

.msl-homepage .entry-content-wrap {
  padding-top: clamp(16px, 2.2vw, 28px);
}

.msl-home {
  width: min(1120px, 100%);
  max-width: 1120px;
  padding-bottom: 56px;
}

.msl-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
  min-height: 470px;
  margin: 0 0 clamp(58px, 7vw, 86px);
  padding: clamp(34px, 5.4vw, 64px);
  overflow: hidden;
  color: var(--msl-white);
  background:
    radial-gradient(circle at 86% 14%, rgba(56, 189, 248, 0.24), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(23, 105, 224, 0.34), transparent 30%),
    linear-gradient(135deg, #061326 0%, #102b50 58%, #164e8e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(7, 20, 38, 0.24);
  isolation: isolate;
}

.msl-home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
}

.msl-home-hero__content {
  position: relative;
  z-index: 2;
}

.msl-home-hero h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  color: inherit;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

.msl-home-hero__content > p {
  max-width: 680px;
  margin-bottom: 32px;
  color: #dbeafe;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.85;
}

.msl-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.msl-home-actions .msl-button {
  gap: 10px;
  min-height: 52px;
  padding: 13px 21px;
  background: #38bdf8;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.2);
}

.msl-home-actions .msl-button:hover {
  background: #7dd3fc;
  color: var(--msl-navy-950) !important;
}

.msl-home-actions .msl-button--ghost {
  color: var(--msl-white) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.msl-home-hero__visual {
  position: relative;
  display: grid;
  width: min(280px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  text-align: center;
  background: rgba(5, 19, 39, 0.42);
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(56, 189, 248, 0.12), 0 0 70px rgba(56, 189, 248, 0.08);
  place-content: center;
}

.msl-home-hero__visual strong {
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.msl-home-hero__visual small {
  display: block;
  margin-top: 13px;
  color: #7dd3fc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.msl-orbit {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 50%;
}

.msl-orbit--one {
  inset: 13%;
  transform: rotate(24deg) scaleY(0.5);
}

.msl-orbit--two {
  inset: 5%;
  border-style: dashed;
  opacity: 0.45;
  transform: rotate(-28deg) scaleX(0.52);
}

.msl-meter {
  position: absolute;
  right: 13%;
  bottom: 20%;
  display: flex;
  gap: 4px;
  align-items: end;
  height: 34px;
}

.msl-meter span {
  width: 4px;
  background: #38bdf8;
  border-radius: 4px;
}

.msl-meter span:nth-child(1) { height: 24%; }
.msl-meter span:nth-child(2) { height: 58%; }
.msl-meter span:nth-child(3) { height: 90%; }
.msl-meter span:nth-child(4) { height: 66%; }
.msl-meter span:nth-child(5) { height: 40%; }

.msl-home-section {
  margin: 0 0 clamp(62px, 7vw, 88px);
}

.msl-section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.msl-section-heading--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: end;
  max-width: none;
}

.msl-section-heading h2,
.msl-home-process h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  border: 0;
}

.msl-section-heading h2::before,
.msl-home-process h2::before {
  display: none;
}

.msl-section-heading p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.msl-section-heading__side a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
  color: var(--msl-blue-700) !important;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none !important;
}

.msl-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--msl-blue-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.msl-home-value-grid,
.msl-topic-grid,
.msl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.msl-home-value {
  position: relative;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--msl-slate-200);
  border-radius: 18px;
  box-shadow: var(--msl-shadow-sm);
}

.msl-home-value > span {
  display: block;
  margin-bottom: 36px;
  color: var(--msl-blue-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.msl-home-value h3,
.msl-topic h3,
.msl-post-card h3 {
  margin: 0 0 10px;
  color: var(--msl-navy-900);
}

.msl-home-value p,
.msl-topic p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.75;
}

.msl-topic {
  position: relative;
  display: block;
  min-height: 255px;
  padding: 30px;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--msl-navy-900);
  border-radius: 20px;
  box-shadow: var(--msl-shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

a.msl-topic:hover {
  color: #fff !important;
  box-shadow: var(--msl-shadow-md);
  transform: translateY(-5px);
}

a.msl-topic:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 4px;
}

a.msl-topic::after {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  content: "\2192";
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background-color 180ms ease, transform 180ms ease;
  place-items: center;
}

a.msl-topic:hover::after {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.msl-topic--1 { background: linear-gradient(150deg, #10233f, #1458c0); }
.msl-topic--2 { background: linear-gradient(150deg, #13304d, #087ea4); }
.msl-topic--3 { background: linear-gradient(150deg, #1f2746, #5145a6); }

.msl-topic > span {
  display: block;
  margin-bottom: 70px;
  color: #bae6fd;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.msl-home .msl-topic h3 { color: #fff; }
.msl-home .msl-topic p { color: #dbeafe; }

.msl-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--msl-slate-200);
  border-radius: 18px;
  box-shadow: var(--msl-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.msl-post-card:hover {
  box-shadow: var(--msl-shadow-md);
  transform: translateY(-5px);
}

.msl-post-card__link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.msl-post-card__media {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.28), transparent 55%),
    var(--msl-navy-900);
  place-items: center;
}

.msl-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.msl-post-card:hover .msl-post-card__media img {
  transform: scale(1.035);
}

.msl-post-card__media > span {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.msl-post-card__body {
  padding: 22px;
}

.msl-post-card time {
  display: block;
  margin-bottom: 10px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.msl-post-card h3 {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.48;
}

.msl-post-card p {
  display: -webkit-box;
  min-height: 5.25em;
  overflow: hidden;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msl-articles-page .entry-hero-container-inner,
.msl-articles-page .entry-header.post-archive-title {
  min-height: 112px;
}

.msl-articles-page .post-home-title {
  color: var(--msl-navy-900);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.msl-articles-page .loop-entry .entry-title {
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  line-height: 1.48;
}

.msl-articles-page .loop-entry .entry-summary {
  display: -webkit-box;
  overflow: hidden;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.msl-articles-page .loop-entry .entry-summary p {
  margin: 0;
}

.msl-post-card__body > strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--msl-blue-700);
  font-size: 0.86rem;
}

.msl-home-process {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  background: var(--msl-blue-50);
  border: 1px solid #bfdbfe;
  border-radius: 22px;
}

.msl-home-process__mark {
  display: grid;
  width: 62px;
  height: 62px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--msl-blue-600);
  border-radius: 50%;
  place-items: center;
}

.msl-home-process p {
  max-width: 820px;
  margin: 0;
  color: var(--msl-slate-700);
}

.msl-home-empty {
  padding: 30px;
  text-align: center;
  background: var(--msl-slate-100);
  border-radius: var(--msl-radius-md);
}

.msl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.msl-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.msl-article *,
.msl-page *,
.msl-home * {
  box-sizing: border-box;
}

.msl-article > :first-child,
.msl-page > :first-child,
.msl-home > :first-child {
  margin-top: 0;
}

.msl-article h2,
.msl-page h2,
.msl-home h2 {
  position: relative;
  margin: 2.7em 0 0.9em;
  padding: 0 0 0.5em 0.9em;
  color: var(--msl-navy-900);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.35;
  border-bottom: 1px solid var(--msl-slate-200);
}

.msl-article h2::before,
.msl-page h2::before,
.msl-home h2::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.55em;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--msl-blue-600), #38bdf8);
  border-radius: 999px;
}

.msl-article h3,
.msl-page h3,
.msl-home h3 {
  margin: 2em 0 0.65em;
  color: var(--msl-navy-900);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.msl-article p,
.msl-page p,
.msl-home p {
  margin: 0 0 1.25em;
}

.msl-article a,
.msl-page a,
.msl-home a {
  color: var(--msl-blue-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.msl-article a:hover,
.msl-page a:hover,
.msl-home a:hover {
  color: var(--msl-navy-900);
}

.msl-article a:focus-visible,
.msl-page a:focus-visible,
.msl-home a:focus-visible,
.msl-button:focus-visible,
.msl-back-to-top:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.msl-lead {
  margin-bottom: 1.6em !important;
  color: var(--msl-slate-700);
  font-size: 1.12em;
}

.msl-hero {
  position: relative;
  margin: 0 0 2em;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
  color: var(--msl-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.34), transparent 32%),
    linear-gradient(135deg, var(--msl-navy-950), var(--msl-blue-700));
  border-radius: var(--msl-radius-lg);
  box-shadow: var(--msl-shadow-md);
}

.msl-hero h2,
.msl-hero h3,
.msl-hero p {
  position: relative;
  color: inherit;
}

.msl-hero h2 {
  margin-top: 0;
  padding-left: 0;
  border: 0;
}

.msl-hero h2::before {
  display: none;
}

.msl-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--msl-navy-900);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #bae6fd;
  border-radius: 999px;
}

.msl-answer,
.msl-intro,
.msl-note,
.msl-warning,
.msl-success {
  margin: 1.7em 0;
  padding: clamp(18px, 4vw, 25px);
  border-radius: var(--msl-radius-md);
}

.msl-answer,
.msl-intro {
  background: linear-gradient(135deg, var(--msl-blue-50), #ffffff);
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--msl-blue-600);
  box-shadow: var(--msl-shadow-sm);
}

.msl-note {
  background: var(--msl-amber-50);
  border: 1px solid var(--msl-amber-300);
}

.msl-warning {
  background: var(--msl-red-50);
  border: 1px solid #fecdd3;
  border-left: 5px solid var(--msl-red-600);
}

.msl-success {
  background: var(--msl-green-50);
  border: 1px solid #a7f3d0;
  border-left: 5px solid var(--msl-green-600);
}

.msl-answer > strong:first-child,
.msl-intro > strong:first-child,
.msl-note > strong:first-child,
.msl-warning > strong:first-child,
.msl-success > strong:first-child {
  display: block;
  margin-bottom: 0.35em;
  color: var(--msl-navy-900);
  font-size: 1.08em;
}

.msl-card-grid,
.msl-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.6em 0;
}

.msl-card,
.msl-spec {
  padding: 20px;
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-md);
  box-shadow: var(--msl-shadow-sm);
}

.msl-card > :last-child,
.msl-spec > :last-child {
  margin-bottom: 0;
}

.msl-spec-label {
  display: block;
  margin-bottom: 5px;
  color: var(--msl-slate-500);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msl-spec-value {
  display: block;
  color: var(--msl-navy-900);
  font-size: 1.18em;
  font-weight: 800;
}

.msl-table-wrap {
  margin: 1.6em 0;
  overflow-x: auto;
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-md);
  box-shadow: var(--msl-shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.msl-table-wrap table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.msl-table-wrap th,
.msl-table-wrap td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--msl-slate-200);
}

.msl-table-wrap th {
  color: var(--msl-white);
  font-size: 0.9em;
  background: var(--msl-navy-900);
}

.msl-table-wrap tbody tr:nth-child(even) {
  background: #f8fafc;
}

.msl-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.msl-steps {
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
  counter-reset: msl-step;
}

.msl-steps > li {
  position: relative;
  min-height: 44px;
  margin: 0 0 18px;
  padding: 8px 0 8px 58px;
  counter-increment: msl-step;
}

.msl-steps > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--msl-white);
  font-size: 0.95em;
  font-weight: 800;
  content: counter(msl-step);
  background: linear-gradient(135deg, var(--msl-blue-600), #38bdf8);
  border-radius: 50%;
  place-items: center;
}

.msl-article code,
.msl-page code,
.msl-home code {
  padding: 0.12em 0.38em;
  color: #12345b;
  font-size: 0.92em;
  background: var(--msl-slate-100);
  border: 1px solid var(--msl-slate-200);
  border-radius: 5px;
}

.msl-article pre,
.msl-page pre,
.msl-home pre {
  padding: 18px;
  overflow-x: auto;
  color: #dbeafe;
  background: var(--msl-navy-950);
  border-radius: var(--msl-radius-md);
}

.msl-article pre code,
.msl-page pre code,
.msl-home pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.msl-article details,
.msl-page details {
  margin: 12px 0;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-sm);
}

.msl-article details[open],
.msl-page details[open] {
  background: var(--msl-white);
  border-color: #93c5fd;
  box-shadow: var(--msl-shadow-sm);
}

.msl-article summary,
.msl-page summary {
  color: var(--msl-navy-900);
  font-weight: 800;
  cursor: pointer;
}

.msl-article details p:last-child,
.msl-page details p:last-child {
  margin: 0.8em 0 0;
}

.msl-toc {
  margin: 2em 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--msl-white) !important;
  border: 1px solid var(--msl-slate-200) !important;
  border-radius: var(--msl-radius-md) !important;
  box-shadow: var(--msl-shadow-sm);
}

.msl-toc summary {
  padding: 16px 20px;
  background: var(--msl-slate-100);
}

.msl-toc ol {
  margin: 0;
  padding: 16px 24px 18px 44px;
}

.msl-toc li {
  margin: 0.35em 0;
}

.msl-button,
.msl-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--msl-white) !important;
  font: inherit;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  background: var(--msl-blue-600);
  border: 0;
  border-radius: var(--msl-radius-sm);
}

.msl-button:hover,
.msl-copy-button:hover {
  background: var(--msl-navy-900);
}

.msl-copy-button {
  margin: 8px 0 18px;
  font-size: 0.86em;
}

.msl-related {
  margin-top: 3em;
  padding: 22px;
  background: var(--msl-slate-100);
  border-radius: var(--msl-radius-md);
}

.msl-related strong {
  display: block;
  margin-bottom: 0.5em;
  color: var(--msl-navy-900);
}

.msl-updated {
  margin-top: 3em !important;
  color: var(--msl-slate-500);
  font-size: 0.86em;
}

.msl-reading-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--msl-blue-600), #38bdf8);
  box-shadow: 0 1px 6px rgba(23, 105, 224, 0.35);
}

.admin-bar .msl-reading-progress {
  top: 32px;
}

.msl-back-to-top {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--msl-white);
  font-size: 20px;
  cursor: pointer;
  visibility: hidden;
  background: var(--msl-navy-900);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--msl-shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  place-items: center;
}

.msl-back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form 7 --------------------------------------------------------- */

.msl-contact-page .entry-content {
  color: var(--msl-slate-700);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.9;
}

.msl-contact-page .wpcf7 {
  max-width: 760px;
  margin-top: clamp(28px, 5vw, 46px);
  padding: clamp(22px, 5vw, 42px);
  background: var(--msl-white);
  border: 1px solid var(--msl-slate-200);
  border-radius: var(--msl-radius-lg);
  box-shadow: var(--msl-shadow-sm);
}

.msl-contact-page .wpcf7 form > p {
  margin: 0 0 24px;
}

.msl-contact-page .wpcf7 label {
  display: block;
  color: var(--msl-navy-900);
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1.65;
}

.msl-contact-page .msl-required {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 7px;
  padding: 2px 8px;
  color: #be123c;
  font-size: 0.68em;
  font-weight: 800;
  vertical-align: 0.1em;
  background: var(--msl-red-50);
  border-radius: 999px;
}

.msl-contact-page .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.msl-contact-page .wpcf7 input[type="text"],
.msl-contact-page .wpcf7 input[type="email"],
.msl-contact-page .wpcf7 input[type="url"],
.msl-contact-page .wpcf7 input[type="tel"],
.msl-contact-page .wpcf7 select,
.msl-contact-page .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--msl-slate-900);
  font: inherit;
  font-weight: 400;
  line-height: 1.55;
  background: #f8fafc;
  border: 1px solid var(--msl-slate-300);
  border-radius: var(--msl-radius-sm);
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.msl-contact-page .wpcf7 textarea {
  min-height: 190px;
  resize: vertical;
}

.msl-contact-page .wpcf7 input::placeholder,
.msl-contact-page .wpcf7 textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.msl-contact-page .wpcf7 input[type="text"]:focus,
.msl-contact-page .wpcf7 input[type="email"]:focus,
.msl-contact-page .wpcf7 input[type="url"]:focus,
.msl-contact-page .wpcf7 input[type="tel"]:focus,
.msl-contact-page .wpcf7 select:focus,
.msl-contact-page .wpcf7 textarea:focus {
  outline: 0;
  background: var(--msl-white);
  border-color: var(--msl-blue-600);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.12);
}

.msl-contact-page .wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.msl-contact-page .wpcf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 15px 16px;
  font-size: 0.88em;
  font-weight: 600;
  background: var(--msl-blue-50);
  border: 1px solid #bfdbfe;
  border-radius: var(--msl-radius-sm);
  cursor: pointer;
}

.msl-contact-page .wpcf7 input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  accent-color: var(--msl-blue-600);
}

.msl-contact-page .wpcf7 input[type="submit"] {
  min-height: 52px;
  padding: 12px 24px;
  color: var(--msl-white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--msl-blue-600), var(--msl-blue-700));
  border: 0;
  border-radius: var(--msl-radius-sm);
  box-shadow: 0 10px 22px rgba(23, 105, 224, 0.2);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.msl-contact-page .wpcf7 input[type="submit"]:hover {
  box-shadow: 0 13px 28px rgba(23, 105, 224, 0.28);
  transform: translateY(-1px);
}

.msl-contact-page .wpcf7 input[type="submit"]:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.msl-contact-page .wpcf7 .wpcf7-spinner {
  vertical-align: middle;
}

.msl-contact-page .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: var(--msl-red-600);
  font-size: 0.78em;
  font-weight: 700;
}

.msl-contact-page .wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 13px 16px;
  font-size: 0.9em;
  border-width: 1px;
  border-radius: var(--msl-radius-sm);
}

.msl-contact-page .wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background: var(--msl-green-50);
  border-color: #6ee7b7;
}

.msl-contact-page .wpcf7 form.invalid .wpcf7-response-output,
.msl-contact-page .wpcf7 form.unaccepted .wpcf7-response-output,
.msl-contact-page .wpcf7 form.payment-required .wpcf7-response-output {
  color: #9f1239;
  background: var(--msl-red-50);
  border-color: #fda4af;
}

@media (max-width: 782px) {
  .admin-bar .msl-reading-progress {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .msl-card-grid,
  .msl-spec-grid {
    grid-template-columns: 1fr;
  }

  .msl-table-wrap {
    margin-inline: -8px;
  }

  .msl-back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .msl-contact-page .wpcf7 {
    padding: 20px 16px;
    border-radius: var(--msl-radius-md);
  }

  .msl-contact-page .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .msl-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .msl-home-hero__visual {
    width: min(280px, 75vw);
  }

  .msl-home-value-grid,
  .msl-topic-grid,
  .msl-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .msl-home {
    padding-inline: 2px;
  }

  .msl-home-hero {
    gap: 36px;
    min-height: 0;
    padding: 34px 23px;
    border-radius: 22px;
  }

  .msl-home-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .msl-home-hero__visual {
    width: min(240px, 72vw);
  }

  .msl-home-value-grid,
  .msl-topic-grid,
  .msl-post-grid,
  .msl-section-heading--split {
    grid-template-columns: 1fr;
  }

  .msl-topic {
    min-height: 220px;
  }

  .msl-topic > span {
    margin-bottom: 48px;
  }

  .msl-home-process {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msl-back-to-top {
    transition: none;
  }

  .msl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .msl-reading-progress,
  .msl-back-to-top,
  .msl-copy-button {
    display: none !important;
  }
}

/* Home page v2 ----------------------------------------------------------- */
.msl-home-v2 {
  --msl-v2-navy: #0b1f3a;
  --msl-v2-blue: #1769e0;
  --msl-v2-cyan: #38bdf8;
  --msl-v2-ink: #172033;
  --msl-v2-muted: #667085;
  --msl-v2-line: #e5eaf1;
  --msl-v2-soft: #f5f8fc;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  color: var(--msl-v2-ink);
}

.msl-home-v2 * { box-sizing: border-box; }
.msl-home-v2 a { text-decoration: none; }
.msl-v2-hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; overflow: hidden; padding: 58px; color: #fff; background: linear-gradient(135deg, #07172d 0%, #0d315a 62%, #0b5590 100%); border-radius: 30px; }
.msl-v2-hero::after { position: absolute; top: -230px; right: -180px; width: 420px; height: 420px; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.msl-v2-hero-copy { position: relative; z-index: 1; }
.msl-v2-eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 20px; color: #9edcff; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.msl-v2-eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--msl-v2-cyan); }
.msl-home-v2 .msl-v2-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(34px, 4vw, 56px); line-height: 1.18; letter-spacing: -.04em; }
.msl-v2-lead { max-width: 560px; margin: 0 0 26px; color: #d8e5f3; font-size: 17px; line-height: 1.85; }
.msl-v2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.msl-v2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; color: var(--msl-v2-navy); font-weight: 800; background: #fff; border-radius: 12px; }
.msl-v2-btn.is-sub { color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.24); }
.msl-v2-feature { position: relative; z-index: 1; overflow: hidden; color: inherit; background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.msl-v2-feature img, .msl-v2-feature .msl-v2-fallback { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.msl-v2-feature-copy { padding: 20px 22px 22px; }
.msl-v2-feature-tag { display: block; margin-bottom: 8px; color: var(--msl-v2-blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.msl-home-v2 .msl-v2-feature h2 { margin: 0; color: var(--msl-v2-ink); font-size: 20px; line-height: 1.5; }
.msl-v2-fallback { display: grid !important; place-items: center; color: #fff; font-weight: 900; text-align: center; background: linear-gradient(135deg, #0b1f3a, #1769e0); }
.msl-v2-search { display: flex; gap: 16px; align-items: center; margin: -1px 28px 0; padding: 18px 22px; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 0 0 18px 18px; box-shadow: 0 12px 30px rgba(16,35,63,.08); }
.msl-v2-search strong { flex: 0 0 auto; color: var(--msl-v2-navy); font-size: 14px; }
.msl-v2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.msl-v2-chip { padding: 8px 13px; color: #3d4b61; font-size: 13px; font-weight: 700; background: var(--msl-v2-soft); border-radius: 999px; }
.msl-v2-section { padding-top: 68px; }
.msl-v2-head { display: flex; gap: 20px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.msl-v2-kicker { margin: 0 0 7px; color: var(--msl-v2-blue); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.msl-home-v2 .msl-v2-head h2 { margin: 0; color: var(--msl-v2-navy); font-size: clamp(26px,3vw,38px); line-height: 1.25; letter-spacing: -.03em; }
.msl-v2-head > a { flex: 0 0 auto; color: var(--msl-v2-blue); font-size: 14px; font-weight: 800; }
.msl-v2-purpose { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.msl-v2-purpose > a { min-height: 170px; padding: 24px; color: var(--msl-v2-ink); background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 18px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.msl-v2-purpose > a:hover { border-color: #a9c9f5; box-shadow: 0 15px 36px rgba(20,63,116,.1); transform: translateY(-3px); }
.msl-v2-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 30px; color: var(--msl-v2-blue); font-size: 19px; font-weight: 900; background: #e9f3ff; border-radius: 12px; }
.msl-home-v2 .msl-v2-purpose h3 { margin: 0 0 6px; color: var(--msl-v2-navy); font-size: 17px; }
.msl-v2-purpose p { margin: 0; color: var(--msl-v2-muted); font-size: 13px; line-height: 1.65; }
.msl-v2-picks { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.msl-v2-card { overflow: hidden; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 20px; box-shadow: 0 8px 24px rgba(20,45,80,.05); }
.msl-v2-card img, .msl-v2-card .msl-v2-fallback { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.msl-v2-card-copy { padding: 19px 20px 22px; }
.msl-v2-meta { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 9px; color: #7c8799; font-size: 12px; }
.msl-v2-meta span:first-child { color: var(--msl-v2-blue); font-weight: 800; }
.msl-home-v2 .msl-v2-card h3 { margin: 0; color: var(--msl-v2-navy); font-size: 18px; line-height: 1.55; }
.msl-v2-latest { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msl-v2-row { display: grid; grid-template-columns: 132px 1fr; gap: 17px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--msl-v2-line); border-radius: 16px; }
.msl-v2-row img, .msl-v2-row .msl-v2-fallback { width: 132px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.msl-v2-row time { display: block; margin-bottom: 5px; color: #8993a3; font-size: 11px; }
.msl-home-v2 .msl-v2-row h3 { margin: 0; color: var(--msl-v2-navy); font-size: 15px; line-height: 1.5; }
.msl-v2-trust { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: center; margin-top: 70px; padding: 38px 42px; background: var(--msl-v2-soft); border: 1px solid var(--msl-v2-line); border-radius: 22px; }
.msl-home-v2 .msl-v2-trust h2 { margin: 0 0 9px; color: var(--msl-v2-navy); font-size: 25px; }
.msl-v2-trust p { margin: 0; color: var(--msl-v2-muted); line-height: 1.8; }
.msl-v2-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msl-v2-point { padding: 14px; color: #31415a; font-size: 13px; font-weight: 800; text-align: center; background: #fff; border-radius: 12px; }

/* Communications toolkit ------------------------------------------------ */
.msl-tools-page .entry-hero { display: none; }
.msl-tools-page .content-area { margin-top: 0; }
.msl-tools-page .content-bg { background: transparent; box-shadow: none; }
.msl-tools-page .entry-content-wrap { padding: 0; }
.msl-tools { max-width: 1120px; margin: 0 auto; padding: 30px 20px 80px; color: #172033; }
.msl-tools * { box-sizing: border-box; }
.msl-tools-hero { padding: 58px; color: #fff; background: linear-gradient(135deg,#07172d,#0d315a 62%,#1769e0); border-radius: 28px; }
.msl-tools-eyebrow { margin: 0 0 16px; color: #9edcff; font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.msl-tools .msl-tools-hero h1 { margin: 0 0 14px; color: #fff; font-size: clamp(28px,3.5vw,42px); line-height: 1.2; letter-spacing: -.03em; }
.msl-tools-hero > p:last-child { max-width: 700px; margin: 0; color: #d8e5f3; font-size: 16px; line-height: 1.8; }
.msl-tool-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 26px 0; }
.msl-tool-tabs button { min-height: 50px; padding: 10px 14px; color: #4a5870; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; background: #f3f6fa; border: 1px solid #e1e7ef; border-radius: 12px; }
.msl-tool-tabs button.is-active { color: #fff; background: #1769e0; border-color: #1769e0; }
.msl-tool-panel { padding: 34px; background: #fff; border: 1px solid #e1e7ef; border-radius: 22px; box-shadow: 0 12px 35px rgba(22,46,82,.07); }
.msl-tool-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.msl-tool-heading > span { display: grid; place-items: center; width: 44px; height: 44px; color: #1769e0; font-weight: 900; background: #e9f3ff; border-radius: 12px; }
.msl-tools .msl-tool-heading h2 { margin: 0 0 5px; color: #0b1f3a; font-size: 27px; }
.msl-tool-heading p { margin: 0; color: #667085; line-height: 1.7; }
.msl-tool-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.msl-tool-form { padding: 24px; background: #f7f9fc; border-radius: 16px; }
.msl-tool-form label { display: block; color: #25344b; font-size: 13px; font-weight: 800; }
.msl-tool-form label em { color: #d12d45; font-size: 11px; font-style: normal; }
.msl-tool-form input, .msl-tool-form select, .msl-tool-form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: #172033; font: inherit; font-size: 15px; background: #fff; border: 1px solid #cfd8e5; border-radius: 10px; box-shadow: none; }
.msl-tool-form input:focus, .msl-tool-form select:focus, .msl-tool-form textarea:focus { outline: 0; border-color: #1769e0; box-shadow: 0 0 0 4px rgba(23,105,224,.1); }
.msl-tool-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 17px; }
.msl-tool-hint { margin: 15px 0 0; color: #6d7889; font-size: 12px; line-height: 1.7; }
.msl-tool-primary { min-height: 48px; margin-top: 20px; padding: 0 20px; color: #fff; font: inherit; font-weight: 800; cursor: pointer; background: #1769e0; border: 0; border-radius: 11px; }
.msl-tool-result { display: flex; flex-direction: column; min-height: 100%; padding: 24px; overflow-wrap: anywhere; background: #0b1f3a; border-radius: 16px; }
.msl-tool-result > span { margin-bottom: 18px; color: #8dd5ff; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.msl-tool-result p { flex: 1; margin: 0; color: #e5edf8; font-size: 14px; line-height: 1.75; }
.msl-tool-result button, .msl-tool-result a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; padding: 0 16px; color: #0b1f3a; font-size: 13px; font-weight: 900; background: #fff; border: 0; border-radius: 10px; cursor: pointer; }
.msl-tool-result button:disabled { opacity: .45; cursor: not-allowed; }
.msl-tool-qr-result { align-items: center; text-align: center; }
.msl-tool-qr-result > span { align-self: flex-start; }
.msl-tool-qr-result img { width: min(100%,280px); height: auto; padding: 12px; background: #fff; border-radius: 12px; }
.msl-tool-qr-placeholder { display: grid; place-items: center; width: 220px; max-width: 100%; aspect-ratio: 1; color: #8090a8; font-size: 42px; font-weight: 900; background: #fff; border-radius: 12px; }
.msl-count-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 16px; }
.msl-count-grid > div { padding: 18px 10px; text-align: center; background: #fff; border: 1px solid #dfe6ef; border-radius: 12px; }
.msl-count-grid strong { display: block; color: #1769e0; font-size: 28px; }
.msl-count-grid span { color: #667085; font-size: 12px; }
.msl-ratio-result { align-items: center; text-align: center; }
.msl-ratio-result > span { align-self: flex-start; }
.msl-ratio-result > strong { margin: auto 0 18px; color: #fff; font-size: 26px; }
.msl-ratio-preview { width: 220px; max-width: 100%; aspect-ratio: 16/9; margin: 0 auto; background: linear-gradient(135deg,#38bdf8,#1769e0); border: 5px solid rgba(255,255,255,.75); border-radius: 10px; }

@media (max-width: 900px) {
  .msl-v2-hero { grid-template-columns: 1fr; padding: 42px; }
  .msl-v2-purpose { grid-template-columns: 1fr 1fr; }
  .msl-v2-picks { grid-template-columns: 1fr 1fr; }
  .msl-v2-card:last-child { display: none; }
  .msl-v2-latest, .msl-tool-layout { grid-template-columns: 1fr; }
  .msl-v2-trust { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .msl-home-v2 { padding: 12px 14px 52px; }
  .msl-v2-hero { padding: 32px 24px; border-radius: 22px; }
  .msl-home-v2 .msl-v2-hero h1 { font-size: 35px; }
  .msl-v2-lead { font-size: 15px; }
  .msl-v2-search { display: block; margin: 0; padding: 16px; }
  .msl-v2-search strong { display: block; margin-bottom: 10px; }
  .msl-v2-section { padding-top: 52px; }
  .msl-v2-head { align-items: flex-start; }
  .msl-v2-purpose { grid-template-columns: 1fr 1fr; gap: 10px; }
  .msl-v2-purpose > a { min-height: 150px; padding: 18px; }
  .msl-v2-icon { margin-bottom: 20px; }
  .msl-v2-picks { grid-template-columns: 1fr; }
  .msl-v2-card:last-child { display: block; }
  .msl-v2-row { grid-template-columns: 105px 1fr; gap: 12px; }
  .msl-v2-row img, .msl-v2-row .msl-v2-fallback { width: 105px; }
  .msl-home-v2 .msl-v2-row h3 { font-size: 14px; }
  .msl-v2-trust { padding: 28px 22px; }
  .msl-v2-points { grid-template-columns: 1fr; }
  .msl-tools { padding: 14px 14px 54px; }
  .msl-tools-hero { padding: 34px 24px; border-radius: 20px; }
  .msl-tools .msl-tools-hero h1 { font-size: 30px; }
  .msl-tool-tabs { grid-template-columns: 1fr 1fr; }
  .msl-tool-panel { padding: 22px 16px; }
  .msl-tool-form { padding: 18px 14px; }
  .msl-tool-form-grid { grid-template-columns: 1fr; }
  .msl-count-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile-first home refresh with a lightweight animated data field. */
.msl-home-v2 { overflow: hidden; padding: 8px 0 52px; }
.msl-v2-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px 22px; border-radius: 0 0 26px 26px; isolation: isolate; }
.msl-v2-hero::before { position: absolute; inset: 0; z-index: -2; content: ""; background: radial-gradient(circle at 78% 22%,rgba(28,146,230,.34),transparent 34%),linear-gradient(145deg,#061426 0%,#0a284a 58%,#0b4f86 100%); }
.msl-v2-hero::after { top: -120px; right: -140px; width: 300px; height: 300px; }
.msl-v2-particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .82; }
.msl-v2-hero-copy { max-width: 620px; }
.msl-v2-eyebrow { margin-bottom: 14px; font-size: 10px; }
.msl-home-v2 .msl-v2-hero h1 { max-width: 520px; margin-bottom: 14px; font-size: clamp(31px,9.2vw,42px); line-height: 1.14; }
.msl-v2-lead { margin-bottom: 20px; font-size: 14px; line-height: 1.75; }
.msl-v2-actions { gap: 9px; }
.msl-v2-btn { min-height: 44px; padding: 0 15px; font-size: 13px; border-radius: 11px; }
.msl-v2-feature { border: 1px solid rgba(255,255,255,.18); border-radius: 15px; box-shadow: 0 18px 42px rgba(0,0,0,.24); animation: msl-feature-float 6s ease-in-out infinite; }
.msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { aspect-ratio: 2/1; }
.msl-v2-feature-copy { padding: 14px 16px 16px; }
.msl-home-v2 .msl-v2-feature h2 { display: -webkit-box; overflow: hidden; font-size: 16px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.msl-v2-search { display: block; margin: 0; padding: 15px 16px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: 0 10px 28px rgba(16,35,63,.06); }
.msl-v2-search strong { display: block; margin-bottom: 9px; font-size: 12px; }
.msl-v2-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.msl-v2-chips::-webkit-scrollbar,.msl-v2-purpose::-webkit-scrollbar,.msl-v2-picks::-webkit-scrollbar { display: none; }
.msl-v2-chip { flex: 0 0 auto; padding: 7px 12px; font-size: 12px; }
.msl-v2-section { padding: 44px 16px 0; }
.msl-v2-head { gap: 12px; margin-bottom: 17px; }
.msl-v2-kicker { margin-bottom: 4px; font-size: 10px; }
.msl-home-v2 .msl-v2-head h2 { font-size: 24px; }
.msl-v2-head > a { font-size: 12px; }
.msl-v2-purpose { display: flex; gap: 11px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 10px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msl-v2-purpose > a { flex: 0 0 min(76vw,280px); min-height: 138px; padding: 18px; border-radius: 16px; scroll-snap-align: start; }
.msl-v2-icon { width: 38px; height: 38px; margin-bottom: 18px; }
.msl-v2-picks { display: flex; gap: 13px; overflow-x: auto; margin-right: -16px; padding: 2px 16px 14px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msl-v2-card,.msl-v2-card:last-child { display: block; flex: 0 0 min(82vw,320px); border-radius: 17px; scroll-snap-align: start; }
.msl-v2-card-copy { padding: 15px 16px 18px; }
.msl-home-v2 .msl-v2-card h3 { font-size: 16px; }
.msl-v2-latest { grid-template-columns: 1fr; gap: 9px; }
.msl-v2-row { grid-template-columns: 92px 1fr; gap: 11px; padding: 9px; border-radius: 13px; }
.msl-v2-row img,.msl-v2-row .msl-v2-fallback { width: 92px; border-radius: 8px; }
.msl-home-v2 .msl-v2-row h3 { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.msl-v2-trust { grid-template-columns: 1fr; gap: 20px; margin: 48px 16px 0; padding: 25px 20px; border-radius: 18px; }
.msl-home-v2 .msl-v2-trust h2 { font-size: 21px; }
.msl-v2-trust p { font-size: 14px; }
.msl-v2-points { grid-template-columns: 1fr 1fr; gap: 8px; }
.msl-v2-point { padding: 11px 7px; font-size: 11px; }
.msl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1); }
.msl-reveal.is-visible { opacity: 1; transform: none; }
@keyframes msl-feature-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (min-width:700px) {
  .msl-home-v2 { padding: 18px 22px 72px; }
  .msl-v2-hero { padding: 46px; border-radius: 28px; }
  .msl-v2-search { margin: -1px 24px 0; padding: 17px 21px; border: 1px solid var(--msl-v2-line); border-radius: 0 0 18px 18px; }
  .msl-v2-section { padding: 62px 0 0; }
  .msl-v2-purpose { display: grid; grid-template-columns: 1fr 1fr; margin-right: 0; padding-right: 0; overflow: visible; }
  .msl-v2-purpose > a { min-height: 155px; }
  .msl-v2-picks { display: grid; grid-template-columns: 1fr 1fr; margin-right: 0; padding-right: 0; overflow: visible; }
  .msl-v2-card { min-width: 0; }
  .msl-v2-latest { grid-template-columns: 1fr 1fr; }
  .msl-v2-trust { margin: 66px 0 0; padding: 34px; }
}
@media (min-width:980px) {
  .msl-home-v2 { padding-right: 0; padding-left: 0; }
  .msl-v2-hero { grid-template-columns: 1.05fr .95fr; gap: 42px; padding: 58px; }
  .msl-v2-purpose { grid-template-columns: repeat(4,1fr); }
  .msl-v2-picks { grid-template-columns: repeat(3,1fr); }
  .msl-v2-trust { grid-template-columns: 1.25fr .75fr; }
}
@media (prefers-reduced-motion:reduce) {
  .msl-v2-feature { animation: none; }
  .msl-reveal { opacity: 1; transform: none; transition: none; }
  .msl-v2-particles { display: none; }
}

/* 1.9.2: preserve the 1200x630 editorial thumbnail ratio everywhere. */
body.blog .loop-entry .post-thumbnail,
body.archive .loop-entry .post-thumbnail,
body.search .loop-entry .post-thumbnail {
  height: auto !important;
  padding-bottom: 52.5% !important;
  overflow: hidden;
  background: #071426;
}

body.blog .loop-entry .post-thumbnail-inner,
body.archive .loop-entry .post-thumbnail-inner,
body.search .loop-entry .post-thumbnail-inner {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

body.blog .loop-entry .post-thumbnail img,
body.archive .loop-entry .post-thumbnail img,
body.search .loop-entry .post-thumbnail img,
.msl-v2-card img,
.msl-v2-row img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 40 / 21 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #071426;
}

.msl-v2-card img,
.msl-v2-card .msl-v2-fallback,
.msl-v2-row img,
.msl-v2-row .msl-v2-fallback {
  aspect-ratio: 40 / 21 !important;
}

/* 1.7: full-bleed hero with a dedicated motion stage. */
.msl-home-v2 { overflow: visible; }
.msl-v2-hero { display: block; width: 100vw; width: 100dvw; margin-left: calc(50% - 50vw); margin-left: calc(50% - 50dvw); padding: 34px 18px 28px; overflow: hidden; border-radius: 0; }
.msl-v2-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 28px; width: min(100%,1180px); margin: 0 auto; }
.msl-v2-visual { display: grid; gap: 14px; min-width: 0; }
.msl-v2-particle-stage { position: relative; height: 190px; overflow: hidden; background: linear-gradient(145deg,rgba(4,17,34,.68),rgba(13,70,113,.45)); border: 1px solid rgba(147,214,255,.22); border-radius: 20px; box-shadow: inset 0 0 50px rgba(18,123,194,.08),0 18px 50px rgba(0,0,0,.18); }
.msl-v2-particle-stage::after { position: absolute; inset: 0; z-index: 0; content: ""; background: linear-gradient(90deg,rgba(5,18,36,.22),transparent 35%); pointer-events: none; }
.msl-v2-particle-stage > span { position: absolute; right: 14px; bottom: 11px; z-index: 2; color: rgba(194,229,255,.65); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.msl-v2-particle-stage .msl-v2-particles { z-index: 1; opacity: 1; }
.msl-v2-feature { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 108px; animation: none; }
.msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { width: 108px; height: 108px; min-height: 108px; aspect-ratio: auto; object-fit: cover; }
.msl-v2-feature-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 13px 14px; }
.msl-v2-feature-tag { margin-bottom: 5px; font-size: 9px; }
.msl-home-v2 .msl-v2-feature h2 { font-size: 14px; }

@media (min-width:760px) {
  .msl-v2-hero { padding: 56px 30px; }
  .msl-v2-hero-inner { grid-template-columns: minmax(0,1fr) minmax(360px,.82fr); gap: 54px; align-items: center; }
  .msl-v2-particle-stage { height: 245px; }
  .msl-v2-feature { grid-template-columns: 150px minmax(0,1fr); min-height: 122px; }
  .msl-v2-feature img,.msl-v2-feature .msl-v2-fallback { width: 150px; height: 122px; min-height: 122px; }
  .msl-home-v2 .msl-v2-feature h2 { font-size: 15px; }
}

@media (min-width:1100px) {
  .msl-v2-hero { padding-top: 68px; padding-bottom: 68px; }
  .msl-home-v2 .msl-v2-hero h1 { font-size: 54px; }
  .msl-v2-lead { font-size: 16px; }
}

/* 1.8: remove theme spacing above the homepage and keep the particle words legible. */
.msl-homepage .content-area { margin-top: 0 !important; }
.msl-homepage .entry-content-wrap { padding-top: 0 !important; }
.msl-homepage .msl-home-v2 { padding-top: 0 !important; }
.msl-v2-particle-stage > span { transition: opacity .25s ease; }

/* 1.8.1: luminous particle stage. */
.msl-v2-particle-stage { background: radial-gradient(circle at 50% 48%,rgba(8,91,145,.3),transparent 52%),linear-gradient(145deg,#031020,#082e4b); box-shadow: inset 0 0 64px rgba(14,165,233,.12),0 18px 50px rgba(0,0,0,.2); }
.msl-v2-particle-stage > span { color: rgba(186,230,253,.88); text-shadow: 0 0 10px rgba(56,189,248,.55); }

/* 1.9: immersive full-bleed particle hero. */
.msl-v2-hero { position: relative; display: grid; place-items: center; min-height: clamp(560px,78vh,760px); padding: 72px 18px; isolation: isolate; background: linear-gradient(145deg,#020a15 0%,#061a31 48%,#07365c 100%); }
.msl-v2-hero::before { z-index: 1; background: radial-gradient(circle at 50% 50%,rgba(2,10,21,.12) 0%,rgba(2,10,21,.38) 55%,rgba(2,10,21,.78) 100%); }
.msl-v2-hero::after { inset: auto 0 0; z-index: 1; width: auto; height: 42%; border: 0; border-radius: 0; background: linear-gradient(180deg,transparent,#020a15); pointer-events: none; }
.msl-v2-hero-inner { z-index: 2; display: block; width: min(100%,1180px); }
.msl-v2-hero-copy { max-width: 780px; margin: 0; text-align: left; }
.msl-home-v2 .msl-v2-hero h1 { max-width: 780px; margin-right: 0; margin-left: 0; font-size: clamp(42px,4.7vw,60px); text-wrap: balance; }
.msl-v2-lead { max-width: 610px; margin-right: 0; margin-left: 0; font-size: clamp(15px,1.6vw,18px); text-wrap: balance; }
.msl-v2-actions { justify-content: flex-start; }
.msl-v2-particle-stage { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.msl-v2-particle-stage::after { background: radial-gradient(circle at 50% 50%,transparent 0%,rgba(1,8,17,.18) 75%,rgba(1,8,17,.55) 100%); }
.msl-v2-particle-stage .msl-v2-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.msl-v2-particle-stage > span { right: 22px; bottom: 18px; opacity: .72; }

@media (max-width:699px) {
  .msl-v2-hero { min-height: 620px; padding: 82px 18px 72px; }
  .msl-v2-hero-inner { align-self: end; }
  .msl-v2-hero-copy { max-width: 540px; }
  .msl-home-v2 .msl-v2-hero h1 { max-width: 540px; font-size: clamp(38px,11.5vw,50px); }
  .msl-v2-particle-stage > span { right: 14px; bottom: 12px; }
}

/* 1.10: centered desktop content and a lightweight fluctlight-style sphere. */
.msl-v2-particle-stage {
  background:
    radial-gradient(circle at 72% 50%,rgba(35,181,255,.13) 0%,rgba(13,91,151,.06) 22%,transparent 43%),
    transparent;
}

@media (min-width:700px) {
  .msl-v2-hero-inner {
    width: 100%;
    max-width: 1440px;
    padding-right: clamp(48px,8vw,120px);
    padding-left: clamp(48px,8vw,120px);
    box-sizing: border-box;
  }
  .msl-v2-hero-copy { max-width: 660px; }
  .msl-home-v2 .msl-v2-hero h1 { max-width: 660px; }
  .msl-v2-particle-stage > span { right: clamp(30px,5vw,80px); }
}

@media (max-width:699px) {
  .msl-v2-particle-stage {
    background:
      radial-gradient(circle at 50% 28%,rgba(35,181,255,.14) 0%,rgba(13,91,151,.06) 24%,transparent 45%),
      transparent;
  }
}

/* Unified URL and QR workflow */
.msl-url-flow{display:grid;gap:18px;max-width:none}.msl-flow-step{padding:20px;border:1px solid #dbe7f3;border-radius:16px;background:#fff}.msl-flow-step-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.msl-flow-step-title>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#1769e0;color:#fff;font-weight:800}.msl-flow-step-title h3{margin:0;color:#10233f;font-size:1.08rem}.msl-flow-step-title p{margin:4px 0 0;color:#64748b;font-size:.92rem}.msl-switch-row{display:flex!important;align-items:center;gap:10px;padding:13px 15px;border-radius:12px;background:#f1f7ff;font-weight:700}.msl-switch-row input{width:20px;height:20px;margin:0}.msl-utm-fields{margin-top:16px}.msl-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.msl-choice-grid label{display:flex!important;align-items:center;gap:12px;padding:15px;border:1px solid #d7e2ee;border-radius:13px;cursor:pointer}.msl-choice-grid label:has(input:checked){border-color:#1769e0;background:#eef6ff;box-shadow:0 0 0 2px rgba(23,105,224,.1)}.msl-choice-grid input{width:19px;height:19px;margin:0}.msl-choice-grid span{display:grid;gap:2px}.msl-choice-grid small{color:#64748b}.msl-flow-submit{width:100%;min-height:54px;font-size:1rem}.msl-unified-result{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);gap:18px;margin-top:22px;padding:22px;border-radius:18px;background:#07182f;color:#fff}.msl-unified-result-main>span,.msl-unified-result-qr>span{display:block;margin-bottom:10px;color:#78d9ff;font-size:.78rem;font-weight:800;letter-spacing:.12em}.msl-unified-result-main p{overflow-wrap:anywhere;margin:0 0 16px;font-weight:700}.msl-unified-result button,.msl-unified-result a{display:inline-flex;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:#fff;color:#10233f;text-decoration:none;font-weight:700}.msl-unified-result-qr img{display:block;width:min(100%,220px);height:auto;margin:0 0 12px;border-radius:10px;background:#fff}.msl-flow-message{min-height:24px;margin-top:12px;color:#334155;font-weight:700}
@media(max-width:700px){.msl-flow-step{padding:16px}.msl-choice-grid,.msl-unified-result{grid-template-columns:1fr}.msl-unified-result{padding:18px}.msl-flow-step-title p{font-size:.86rem}}

/* Member access */
.msl-member-gate{max-width:980px;margin:24px auto 0;padding:24px;border:1px solid #dbe7f3;border-radius:20px;background:#fff}.msl-member-intro{text-align:center;margin-bottom:22px}.msl-member-intro>span{color:#1769e0;font-size:.76rem;font-weight:800;letter-spacing:.14em}.msl-member-intro h2{margin:8px 0;color:#10233f}.msl-member-intro p{margin:0;color:#64748b}.msl-member-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.msl-member-grid section,.msl-member-status{padding:20px;border:1px solid #e0e8f1;border-radius:15px;background:#f8fbff}.msl-member-grid h3,.msl-member-status h3{margin-top:0;color:#10233f}.msl-member-grid form{display:grid;gap:12px}.msl-member-grid label{display:grid;gap:6px;font-weight:700;color:#334155}.msl-member-grid input[type=email],.msl-member-grid input[type=password],.msl-member-grid input[type=text]{width:100%;padding:12px;border:1px solid #cbd7e5;border-radius:9px}.msl-member-button,.msl-member-grid input[type=submit]{display:inline-flex;justify-content:center;padding:12px 16px;border:0;border-radius:10px;background:#1769e0;color:#fff!important;text-decoration:none;font-weight:800;cursor:pointer}.msl-member-terms{display:flex!important;grid-template-columns:20px 1fr;align-items:flex-start}.msl-member-terms input{margin-top:4px}.msl-member-hp{position:absolute!important;left:-9999px!important}.msl-member-notice{margin:0 0 16px;padding:12px 14px;border-radius:10px;background:#e8f8ef;color:#087f5b;font-weight:700}.msl-member-notice.is-error{background:#fff0f0;color:#b42318}@media(max-width:700px){.msl-member-gate{padding:18px}.msl-member-grid{grid-template-columns:1fr}}
