:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #15384d; background: #f5f9fb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #0879ab; text-underline-offset: 3px; }
.legal-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid #d6e5eb; background: rgb(255 255 255 / .96); backdrop-filter: blur(12px); }
.legal-brand { display: flex; align-items: center; gap: 10px; color: #0d4664; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.legal-brand span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, #1689b7, #28b5c5); }
.legal-header button { padding: 10px 14px; border: 1px solid #bfd7e1; border-radius: 10px; color: #0d5274; background: white; font-weight: 800; cursor: pointer; }
.legal-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 42px; width: min(1180px, calc(100% - 40px)); margin: 42px auto 90px; }
.legal-summary { position: sticky; top: 104px; align-self: start; padding: 26px; border: 1px solid #cde0e7; border-radius: 20px; background: linear-gradient(160deg, #edf9fb, #fff); box-shadow: 0 18px 50px rgb(19 76 101 / .08); }
.legal-summary > span { color: #0c78a5; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.legal-summary h1 { margin: 10px 0 12px; font-size: 2.3rem; letter-spacing: -.04em; }
.legal-summary p, .legal-summary li { color: #567382; line-height: 1.55; }
.legal-summary ul { display: grid; gap: 9px; padding-left: 20px; }
.legal-version { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #d6e7ec; font-size: .82rem; }
.legal-document { padding: 10px 0; }
.legal-document section { margin-bottom: 15px; padding: 24px 28px; border: 1px solid #d6e5ea; border-radius: 17px; background: white; }
.legal-document h2 { margin: 0 0 12px; color: #123d55; font-size: 1.17rem; }
.legal-document p { margin: 9px 0; color: #54717f; line-height: 1.7; }
.legal-document .legal-important { border-color: #efcf82; background: #fffaf0; }
.legal-document .legal-danger { border-color: #e5b7bc; background: #fff6f7; }
.legal-notice { margin-bottom: 18px; padding: 18px 22px; border: 1px solid #e0b85e; border-radius: 14px; background: #fff4d9; }
.legal-notice p { margin-bottom: 0; color: #71541c; }
.legal-footer { padding: 22px 4px; border-top: 1px solid #d9e7ec; }
.legal-footer p { font-size: .78rem; }
@media (max-width: 860px) {
  .legal-shell { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
  .legal-header { padding-inline: 20px; }
}
@media print {
  @page { margin: 15mm; }
  body { background: white; }
  .legal-header { position: static; padding: 0 0 18px; }
  .legal-header button { display: none; }
  .legal-shell { display: block; width: 100%; margin: 0; }
  .legal-summary { position: static; margin-bottom: 20px; box-shadow: none; break-inside: avoid; }
  .legal-document section { break-inside: avoid; box-shadow: none; }
}
