.mt-terms-page { --mt-terms-edge: max(var(--mt-gutter), calc((100% - 1312px) / 2)); color: var(--mt-text); background: var(--mt-bg); }
.mt-terms-page * { box-sizing: border-box; }
.mt-terms-page :is(h1, h2, h3, p) { margin: 0; }
.mt-terms-page a { color: inherit; text-decoration: none; }
.mt-terms-page a:hover { text-decoration: underline; }
.mt-terms-page svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mt-terms-intro { display: flex; flex-direction: column; gap: 18px; padding: 56px var(--mt-terms-edge) 48px; }
.mt-terms-intro nav { display: flex; flex-wrap: wrap; gap: 16px; color: var(--mt-muted); font-size: 13px; line-height: 1.55; }
.mt-terms-eyebrow { color: var(--mt-link); font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 1.55; letter-spacing: 1.3px; }
.mt-terms-intro h1 { font-family: var(--wp--preset--font-family--display); font-size: 80px; font-weight: 400; line-height: 1.05; letter-spacing: 0; }
.mt-terms-introduction { color: var(--mt-muted); font-size: 18px; line-height: 1.55; }
.mt-terms-meta { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 12px; color: var(--mt-text-subtle); font-family: var(--wp--preset--font-family--mono); font-size: 11px; line-height: 14px; }
.mt-terms-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 48px; align-items: start; padding: 0 var(--mt-terms-edge) 64px; }
.mt-terms-sidebar { position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; padding-top: 24px; }
.mt-terms-sidebar nav { display: flex; flex-direction: column; gap: 8px; }
.mt-terms-nav-label { color: var(--mt-text-subtle); font-family: var(--wp--preset--font-family--mono); font-size: 11px; line-height: 1.55; letter-spacing: 1px; }
.mt-terms-sidebar nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: var(--mt-radius-xs); color: var(--mt-muted); font-size: 14px; line-height: 1.55; }
.mt-terms-sidebar nav a[aria-current] { color: var(--mt-accent-ink); background: var(--mt-accent); }
.mt-terms-sidebar nav a span { display: none; }
.mt-terms-sidebar nav a[aria-current] span { display: flex; }
.mt-terms-sidebar nav svg { width: 16px; height: 16px; }
.mt-terms-assistance { display: flex; flex-direction: column; gap: 12px; padding: 28px 16px; border-top: 1px solid var(--mt-border); margin-top: 8px; }
.mt-terms-assistance h2 { font-family: var(--wp--preset--font-family--ui); font-size: 16px; font-weight: 400; line-height: 1.55; }
.mt-terms-assistance p { color: var(--mt-muted); font-size: 13px; line-height: 1.55; }
.mt-terms-assistance a { color: var(--mt-link); font-size: 14px; line-height: 1.55; }
.mt-terms-mobile { display: none; }
.mt-terms-paper { display: flex; flex-direction: column; gap: 24px; padding: 48px; border-radius: var(--mt-radius-sm); color: var(--mt-paper-ink); background: var(--mt-paper); }
.mt-terms-paper article { display: flex; flex-direction: column; gap: 16px; }
.mt-terms-paper article[data-terms-panel="desktop"] { gap: 24px; }
.mt-terms-paper article[hidden] { display: none; }
.mt-terms-identifier { color: var(--mt-paper-muted); font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 1.55; letter-spacing: 1px; }
.mt-terms-paper h2 { scroll-margin-top: 32px; font-family: var(--wp--preset--font-family--display); font-size: 30px; font-weight: 400; line-height: 1.2; }
.mt-terms-paper [data-terms-panel="desktop"] h2 { font-size: 52px; line-height: 1.1; }
.mt-terms-lead { color: var(--mt-paper-muted); font-size: 16px; line-height: 1.6; }
.mt-terms-paper [data-terms-panel="desktop"] .mt-terms-lead { color: var(--mt-paper-ink); font-size: 18px; line-height: 1.55; }
.mt-terms-scope { display: flex; align-items: center; gap: 16px; font-size: 14px; line-height: 1.6; }
.mt-terms-paper [data-terms-panel="desktop"] .mt-terms-scope { padding: 20px; background: #e4e7db; line-height: 1.55; }
.mt-terms-scope svg { flex-shrink: 0; }
.mt-terms-clause h3 { font-family: var(--wp--preset--font-family--ui); font-size: 17px; font-weight: 400; line-height: 1.6; }
.mt-terms-clause p { margin-top: 16px; color: var(--mt-paper-muted); font-size: 16px; line-height: 1.6; }
.mt-terms-clause ul { margin: 16px 0 0; padding-left: 1em; color: var(--mt-paper-muted); font-size: 16px; line-height: 1.6; }
.mt-terms-paper [data-terms-panel="desktop"] .mt-terms-clause { padding-top: 24px; border-top: 1px solid var(--mt-paper-border); }
.mt-terms-paper [data-terms-panel="desktop"] :is(h3, summary) { font-family: var(--wp--preset--font-family--display); font-size: 23px; font-weight: 400; line-height: 1.25; }
.mt-terms-paper [data-terms-panel="desktop"] .mt-terms-clause p { margin-top: 12px; font-size: 15px; line-height: 1.55; }
.mt-terms-clause summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.mt-terms-clause summary::-webkit-details-marker { display: none; }
.mt-terms-clause summary::after { content: "+"; }
.mt-terms-clause[open] summary::after { content: "−"; }
.mt-terms-notice { padding: 20px; border: 1px solid var(--mt-paper-border); }
.mt-terms-notice h3 { font-family: var(--wp--preset--font-family--ui); font-size: 14px; font-weight: 600; line-height: 1.55; }
.mt-terms-notice p { margin-top: 8px; color: var(--mt-paper-muted); font-size: 13px; line-height: 1.55; }
.mt-terms-bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; line-height: 1.55; }
.mt-terms-custom { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 40px var(--mt-terms-edge); border-block: 1px solid var(--mt-border); }
.mt-terms-custom > div { flex: 1; min-width: 0; }
.mt-terms-custom h2 { font-family: var(--wp--preset--font-family--display); font-size: 36px; font-weight: 400; line-height: 1; }
.mt-terms-custom p { margin-top: 8px; color: var(--mt-muted); font-size: 15px; line-height: 19px; }
.mt-terms-custom a { flex-shrink: 0; height: 50px; padding-inline: 24px; color: var(--mt-accent-ink); font-weight: 500; transform: none; }
.mt-terms-page :is(a, summary, select, h2):focus-visible { outline: 2px solid var(--mt-control-focus); outline-offset: 4px; }
@media (max-width: 1100px) {
  .mt-terms-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  .mt-terms-paper { padding: 32px; }
  .mt-terms-intro h1 { font-size: 64px; }
}
@media (max-width: 760px) {
  .mt-terms-intro { padding-top: 40px; padding-bottom: 32px; }
  .mt-terms-intro h1 { font-size: 48px; }
  .mt-terms-introduction { font-size: 16px; }
  .mt-terms-meta { gap: 16px; }
  .mt-terms-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
  .mt-terms-sidebar { display: none; }
  .mt-terms-mobile { display: flex; flex-direction: column; gap: 12px; }
  .mt-terms-mobile label { color: var(--mt-text-subtle); font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: 1px; }
  .mt-terms-mobile select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--mt-border); border-radius: var(--mt-radius-xs); color: var(--mt-text); background: var(--mt-surface); font: inherit; font-size: 14px; }
  .mt-terms-paper { padding: 24px; }
  .mt-terms-paper [data-terms-panel="desktop"] h2 { font-size: 40px; }
  .mt-terms-bottom, .mt-terms-custom { flex-direction: column; align-items: flex-start; }
  .mt-terms-custom h2 { font-size: 32px; }
}
