@media (min-width: 769px) {
  .legal-professionals-page #wrap { min-width: 0; }
  .legal-professionals-page #container { width: 100%; max-width: none; padding: 0; }
}
.legal-professionals-page .mt-legal { margin-bottom: 0; }
.legal-professionals-page .mt-legal a:not([class*="btn"]) { color: inherit; }
.mt-legal .btn--primary,
.mt-legal .btn--primary:link,
.mt-legal .btn--primary:visited {
  background: var(--mt-navy-800, #1e2d6e);
  border: 1px solid var(--mt-navy-800, #1e2d6e);
  color: #fff;
}
.mt-legal .btn--primary:hover {
  background: #2d3f94;
  border-color: #2d3f94;
  color: #fff;
  text-decoration: none;
}
.mt-legal .shot-link { display: block; cursor: zoom-in; text-decoration: none; }
.mt-legal .shot-link:hover .shot { opacity: 0.92; }
.mt-legal .shot {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: opacity 0.15s ease;
}
.mt-legal .shot--hero { aspect-ratio: 16 / 9; }
.mt-legal .shot--book { min-height: 320px; aspect-ratio: auto; object-fit: contain; background: var(--canvas); }
.mt-legal .shot--spread { min-height: 300px; aspect-ratio: 4 / 3; }
.mt-legal .tutor__photo { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.mt-legal .tutor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
#sample { scroll-margin-top: 24px; }


  .mt-legal *, .mt-legal *::before, .mt-legal *::after { box-sizing: border-box; }

  .mt-legal {
    /* ---- core tokens (exact values from design-guidelines.md) ---- */
    --ink: #172033;
    --muted: #657084;
    --line: #DFE5EE;
    --paper: #FFFFFF;
    --canvas: #F4F6FA;
    --navy-950: #031B68;
    --navy-800: #1E2D6E;
    --navy-700: #263A8A;
    --purple-700: #6C4DA4;
    --purple-100: #F1EDFB;
    --teal-600: #158A9A;
    --gold-500: #C99A2E;
    --radius-sm: 6px;
    --radius-md: 8px;
    --shadow-soft: 0 14px 40px rgba(20, 32, 62, 0.12);
    --shadow-tight: 0 8px 24px rgba(20, 32, 62, 0.10);
    --wrap: 1040px;

    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;
    color-scheme: light;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-wrap: anywhere;
    line-break: strict;
  }

  .mt-legal img { max-width: 100%; height: auto; display: block; }
  .mt-legal a { color: var(--navy-800); }

  .mt-legal .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

  /* ---------- header ---------- */
  .mt-legal .mt-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .mt-legal .mt-bar__brand { display: flex; align-items: baseline; gap: 10px; }
  .mt-legal .mt-bar__brand b {
    font-weight: 800; font-size: 19px; color: var(--navy-950); white-space: nowrap;
  }
  .mt-legal .mt-bar__brand span { font-size: 12px; font-weight: 500; color: var(--muted); }
  .mt-legal .mt-bar__nav { display: flex; gap: 22px; }
  .mt-legal .mt-bar__nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
  .mt-legal .mt-bar__nav a:hover { color: var(--navy-800); }
  .mt-legal .mt-bar__actions { display: flex; align-items: center; gap: 14px; }
  .mt-legal .mt-bar__login { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }

  /* ---------- buttons ---------- */
  .mt-legal .btn {
    display: inline-block; border-radius: var(--radius-md); font-weight: 700;
    text-decoration: none; text-align: center; cursor: pointer; line-height: 1.4; white-space: nowrap;
  }
  .mt-legal .btn--primary {
    background: var(--navy-800); color: #fff; padding: 14px 30px; font-size: 16px;
    box-shadow: var(--shadow-tight);
  }
  .mt-legal .btn--primary:hover { background: var(--navy-950); }
  .mt-legal .btn--sm { padding: 9px 18px; font-size: 14px; }
  .mt-legal .btn--secondary {
    background: transparent; color: var(--navy-800); padding: 13px 28px; font-size: 16px;
    border: 1.5px solid var(--line);
  }
  .mt-legal .btn--secondary:hover { border-color: var(--navy-800); }

  /* secondary text link */
  .mt-legal .textlink {
    display: inline-flex; align-items: center; gap: 4px; color: var(--muted);
    font-size: 13px; font-weight: 600; text-decoration: none;
  }
  .mt-legal .textlink:hover { color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; }

  /* ---------- hero ---------- */
  .mt-legal .hero { padding: 56px 0 8px; }
  .mt-legal .eyebrow {
    display: inline-flex; align-items: center; gap: 9px; color: var(--purple-700);
    font-size: 12.5px; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px;
  }
  .mt-legal .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple-700); }
  .mt-legal .hero h1 {
    font-size: 46px; line-height: 1.22; font-weight: 700; color: var(--navy-950);
    margin: 0; max-width: 18ch;
  }
  .mt-legal .hero__sub { font-size: 17px; line-height: 1.85; color: var(--muted); margin: 20px 0 0; max-width: 60ch; }
  .mt-legal .hero__sub b { color: var(--ink); font-weight: 700; }
  .mt-legal .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
  .mt-legal .hero__meta { font-size: 13px; color: var(--muted); margin-top: 20px; }
  .mt-legal .hero__media { margin-top: 30px; }
  .mt-legal .ph--hero { aspect-ratio: 16 / 9; min-height: 0; width: 100%; }

  .mt-legal .benefits {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
  }
  .mt-legal .benefit { display: flex; gap: 10px; align-items: flex-start; }
  .mt-legal .benefit .mk {
    flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--purple-100);
    color: var(--navy-800); display: grid; place-content: center; font-size: 13px; font-weight: 800; margin-top: 2px;
  }
  .mt-legal .benefit b { display: block; font-size: 15px; color: var(--ink); font-weight: 700; }
  .mt-legal .benefit span { font-size: 13.5px; color: var(--muted); }

  /* ---------- generic section ---------- */
  .mt-legal .sec { padding: 48px 0; }
  .mt-legal .sec__eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-700); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
  .mt-legal .sec__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--purple-700); }
  .mt-legal .sec h2 { font-size: 30px; line-height: 1.3; font-weight: 700; color: var(--navy-950); margin: 0; }
  .mt-legal .sec__lead { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 14px 0 0; max-width: 62ch; }

  /* ---------- soft-purple support panel ---------- */
  .mt-legal .panel {
    background: var(--purple-100); border-radius: var(--radius-md); padding: 26px 28px; margin-top: 8px;
  }
  .mt-legal .panel h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy-950); }
  .mt-legal .panel p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--ink); }
  .mt-legal .panel b { color: var(--navy-800); }

  /* ---------- audience list ---------- */
  .mt-legal .who { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; max-width: 64ch; }
  .mt-legal .who li {
    position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); line-height: 1.7;
  }
  .mt-legal .who li::before {
    content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px;
    border-radius: 999px; background: var(--teal-600);
  }
  .mt-legal .who__note { font-size: 14px; color: var(--muted); margin-top: 14px; }

  /* ---------- grids + cards ---------- */
  .mt-legal .grid { display: grid; gap: 16px; margin-top: 24px; }
  .mt-legal .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .mt-legal .grid--3 { grid-template-columns: repeat(3, 1fr); }

  /* shared card utility (mirrors design system .mt-card) */
  .mt-legal .mt-card {
    display: block; overflow: hidden; border: 1px solid rgba(3, 27, 104, 0.12);
    border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-tight);
    color: inherit; text-decoration: none;
    transition: box-shadow .16s ease, border-color .16s ease;
  }
  .mt-legal .mt-card:hover { border-color: rgba(3, 27, 104, 0.22); box-shadow: 0 12px 28px rgba(20, 32, 62, 0.14); }
  /* layout-only extension */
  .mt-legal .mt-card { padding: 20px; }
  .mt-legal .mt-card .label { color: var(--purple-700); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
  .mt-legal .mt-card h4 { margin: 8px 0 6px; font-size: 19px; font-weight: 800; color: var(--navy-950); line-height: 1.35; }
  .mt-legal .mt-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }

  /* theme card */
  .mt-legal .theme .en { font-size: 16px; font-weight: 800; color: var(--navy-800); line-height: 1.4; }
  .mt-legal .theme .ja { font-size: 14px; color: var(--muted); margin-top: 6px; }

  .mt-legal .flow-note {
    margin-top: 18px; font-size: 14px; color: var(--navy-950); font-weight: 600;
    background: var(--purple-100); border-radius: var(--radius-md); padding: 14px 16px;
  }

  /* ---------- tags ---------- */
  .mt-legal .tag {
    display: inline-flex; align-items: center; padding: 4px 9px; border: 0; border-radius: 999px;
    background: var(--purple-100); color: var(--navy-800); font-size: 11px; font-weight: 700;
    line-height: 1.25; white-space: nowrap;
  }
  .mt-legal .tag--specialty { background: #E8F5F7; color: var(--teal-600); }
  .mt-legal .tag--gold { background: #FBF3DF; color: var(--gold-500); }

  /* ---------- value (proof) ---------- */
  .mt-legal .value p { font-size: 17px; line-height: 1.9; color: var(--ink); margin: 16px 0 0; max-width: 60ch; }
  .mt-legal .value .hl { color: var(--navy-800); font-weight: 800; }

  /* ---------- material ---------- */
  .mt-legal .material { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; margin-top: 24px; }
  .mt-legal .material figcaption { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
  .mt-legal .material figcaption strong { color: var(--ink); }
  .mt-legal .material .tags { display: flex; gap: 8px; margin-bottom: 12px; }

  /* ---------- instructors ---------- */
  .mt-legal .grid--2 { grid-template-columns: 1fr 1fr; }
  .mt-legal .tutor__head { display: flex; gap: 15px; align-items: center; margin-bottom: 12px; }
  .mt-legal .tutor__name { font-size: 18px; font-weight: 800; color: var(--navy-950); }
  .mt-legal .tutor__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
  .mt-legal .tutor__b { font-size: 14px; color: var(--muted); line-height: 1.75; }

  /* ---------- spreads ---------- */
  .mt-legal .spreads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }

  /* ---------- placeholder ---------- */
  .mt-legal .ph {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center; color: var(--muted); font-size: 13px; font-weight: 600;
    border: 1.5px dashed var(--line); border-radius: var(--radius-md); padding: 18px; min-height: 150px;
    background: var(--canvas);
  }
  .mt-legal .ph small { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; font-size: 11.5px; }
  .mt-legal .ph__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); }
  .mt-legal .ph--book { min-height: 320px; }
  .mt-legal .ph--spread { min-height: 300px; }
  .mt-legal .ph--photo { width: 84px; height: 84px; min-height: 0; border-radius: 50%; flex: none; padding: 8px; }

  /* ---------- free trial CTA ---------- */
  .mt-legal .free-trial-cta {
    background: var(--purple-100); border-radius: var(--radius-md);
    text-align: center; padding: 56px 24px; margin: 56px 0;
  }
  .mt-legal .free-trial-cta h2 { font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--navy-950); margin: 0; }
  .mt-legal .free-trial-cta > p { font-size: 16px; color: var(--purple-700); font-weight: 700; margin: 12px 0 0; }
  .mt-legal .free-trial-cta ul {
    list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-wrap: wrap;
    gap: 10px 22px; justify-content: center;
  }
  .mt-legal .free-trial-cta li { font-size: 14.5px; color: var(--ink); font-weight: 600; }
  .mt-legal .free-trial-cta li::before { content: "✓"; color: var(--teal-600); font-weight: 800; margin-right: 6px; }

  /* ---------- footer ---------- */
  .mt-legal .mt-foot { background: var(--canvas); border-top: 1px solid var(--line); padding: 44px 0 28px; }
  .mt-legal .mt-foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .mt-legal .mt-foot__brand b {
    font-weight: 800; font-size: 19px; color: var(--navy-950);
  }
  .mt-legal .mt-foot__brand p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
  .mt-legal .mt-foot h5 { font-size: 13px; font-weight: 800; color: var(--navy-950); margin: 0 0 12px; }
  .mt-legal .mt-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .mt-legal .mt-foot a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
  .mt-legal .mt-foot a:hover { color: var(--navy-800); }
  .mt-legal .mt-foot__copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

  /* ---------- a11y / motion ---------- */
  .mt-legal a:focus-visible, .mt-legal .btn:focus-visible {
    outline: 3px solid var(--gold-500); outline-offset: 2px;
  }
  @media (prefers-reduced-motion: reduce) { .mt-legal .mt-card { transition: none; } }

  /* ---------- responsive ---------- */
  @media (max-width: 900px) {
    .mt-legal .mt-bar__nav { display: none; }
    .mt-legal .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .mt-legal .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .mt-legal .material { grid-template-columns: 1fr; }
    .mt-legal .mt-foot__cols { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .mt-legal .mt-bar { padding: 12px 16px; gap: 10px; }
    .mt-legal .mt-bar__brand span { display: none; }
    .mt-legal .hero { padding: 40px 0 4px; }
    .mt-legal .hero h1 { font-size: 33px; }
    .mt-legal .sec h2, .mt-legal .free-trial-cta h2 { font-size: 25px; }
    .mt-legal .benefits { grid-template-columns: 1fr; gap: 16px; }
    .mt-legal .grid--4, .mt-legal .grid--3, .mt-legal .grid--2 { grid-template-columns: 1fr; }
    .mt-legal .spreads { grid-template-columns: 1fr; }
    .mt-legal .mt-foot__cols { grid-template-columns: 1fr; gap: 22px; }
    .mt-legal .hero__actions .btn { width: 100%; }
  }
