/* Terms page: five numbered cards in two columns (matches the supplied design). Scoped to .tm-page. */
.tm-head { text-align: center; }
.tm-wrap { width: min(1320px, 93vw); }
.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "c1 c2" "c1 c3" "c4 c5";
  gap: clamp(14px, 1.8vw, 24px) clamp(16px, 2.2vw, 30px);
  align-items: stretch;
}
.tm-c1 { grid-area: c1; } .tm-c2 { grid-area: c2; } .tm-c3 { grid-area: c3; } .tm-c4 { grid-area: c4; } .tm-c5 { grid-area: c5; }

.tm-card {
  padding: clamp(18px, 2.2vw, 30px) clamp(20px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
  border-radius: clamp(22px, 2.4vw, 34px);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 14px 38px rgba(123, 47, 166, .10);
}
.tm-card h2 { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); margin: 0 0 clamp(12px, 1.4vw, 18px); padding: 0 0 clamp(12px, 1.3vw, 16px); font: 800 clamp(20px, 2vw, 29px)/1.3 var(--mk-font, var(--font-head)); letter-spacing: .05em; color: #6a2294; border-bottom: 1px solid #eadff4; }
.tm-card h2 b { flex: none; display: grid; place-items: center; width: clamp(40px, 4vw, 58px); aspect-ratio: 1; border-radius: 50%; font-size: clamp(20px, 2vw, 30px); font-weight: 600; color: #fff; background: radial-gradient(circle at 35% 30%, #c98bef, #8a35b6 70%); box-shadow: 0 0 0 clamp(4px, .5vw, 7px) rgba(190, 140, 235, .22), 0 8px 18px rgba(123, 47, 166, .28); }
.tm-ico { flex: none; width: clamp(34px, 3.8vw, 54px); height: clamp(34px, 3.8vw, 54px); color: #8a35b6; display: grid; place-items: center; }
.tm-ico svg { width: 100%; height: 100%; stroke-width: 1.6; }
.tm-t { min-width: 0; }

.tm-body { font: 500 clamp(14px, 1.2vw, 17.5px)/1.95 var(--mk-font, var(--font)); color: #3a2a4d; }
.tm-body p { margin: 0; }
.tm-list { list-style: none; margin: 0; padding: 0; }
.tm-list li { position: relative; margin: 0 0 .5em; padding-left: 1.7em; }
.tm-list li:last-child { margin-bottom: 0; }
.tm-list li::before { content: ""; position: absolute; left: .3em; top: .78em; width: .52em; height: .52em; border-radius: 50%; background: #c58be6; }

@media (max-width: 860px) {
  .tm-grid { grid-template-columns: 1fr; grid-template-areas: "c1" "c2" "c3" "c4" "c5"; }
}

/* compact proportions (the design fits one 1536x1024 screen) */
.tm-page .mk-head.tm-head { padding-top: clamp(14px, 2vw, 34px); padding-bottom: 0; margin-bottom: clamp(10px, 1.4vw, 22px); }
.tm-head h1 { font-size: clamp(30px, 3.7vw, 54px); margin-bottom: clamp(4px, .6vw, 10px); }
.tm-head .mk-rule { margin-top: 0; margin-bottom: 0; }
.tm-card { padding: clamp(16px, 1.7vw, 24px) clamp(18px, 2.2vw, 32px) clamp(16px, 1.8vw, 24px); }
.tm-card h2 { font-size: clamp(18px, 1.75vw, 26px); margin-bottom: clamp(8px, 1vw, 14px); padding-bottom: clamp(8px, 1vw, 12px); }
.tm-card h2 b { width: clamp(36px, 3.5vw, 52px); font-size: clamp(18px, 1.8vw, 27px); }
.tm-ico { width: clamp(30px, 3.3vw, 48px); height: clamp(30px, 3.3vw, 48px); }
.tm-body { font-size: clamp(13px, 1.02vw, 15.5px); line-height: 1.85; }
.tm-list li { margin-bottom: .45em; }
.tm-grid { gap: clamp(12px, 1.4vw, 20px) clamp(14px, 1.9vw, 28px); }
