body { color: #1d1d1f; font-size: 17px; line-height: 1.75; }
.legal-width { width: calc(100% - 96px); max-width: 1120px; margin-inline: auto; }
.legal-header { height: 68px; border-bottom: 1px solid #e8e8ed; background: #fffffff2; backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; }
.legal-header > div { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.legal-header .brand { font-size: 19px; }
.legal-header > div > a:last-child { font-size: 14px; color: #626269; }
.legal-header a:hover { color: #3057e1; }
.legal-breadcrumb { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #6e6e73; padding-top: 30px; }
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-title { padding: 65px 0 54px; border-bottom: 1px solid #e4e4e8; }
.legal-eyebrow { font-size: 13px; color: #626269; font-weight: 500; letter-spacing: .07em; }
.legal-title h1 { max-width: 1050px; font-size: clamp(36px, 4.1vw, 54px); line-height: 1.16; font-weight: 600; letter-spacing: -.035em; margin: 18px 0 22px; }
.legal-title > p { font-size: 16px; color: #6e6e73; margin-bottom: 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 52px 0 96px; }
.legal-sidebar { align-self: start; position: sticky; top: 100px; }
.legal-sidebar h2 { font: 500 14px/1.5 var(--font); margin: 0 0 20px; letter-spacing: 0; }
.legal-sidebar ol { margin: 0; padding: 0; list-style: none; }
.legal-sidebar li { margin-bottom: 14px; }
.legal-sidebar a { font-size: 14px; line-height: 1.6; color: #626269; display: inline-block; }
.legal-sidebar a:hover { color: #3057e1; text-decoration: underline; text-underline-offset: 3px; }
.legal-sidebar .license-download { color: #3057e1; border-top: 1px solid #e4e4e8; margin-top: 14px; padding-top: 22px; }
.license-body { min-width: 0; }
.license-body p { font-size: 17px; line-height: 1.8; letter-spacing: 0; margin: 0 0 22px; }
.license-body a { color: #3057e1; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.license-preamble { padding-bottom: 12px; }
.license-preamble p:first-child { font-size: 16px; color: #626269; }
.license-body section { padding-top: 26px; scroll-margin-top: 84px; }
.license-body h2 { font: 600 25px/1.4 var(--heading); letter-spacing: -.025em; margin: 0 0 22px; }
.license-body .license-condition { padding-left: 28px; text-indent: -28px; margin-bottom: 14px; }
@media (max-width: 1000px) { .legal-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 760px) {
  .legal-width { width: calc(100% - 40px); }
  .legal-header { height: 62px; }
  .legal-header .brand { font-size: 16px; gap: 7px; }
  .legal-header img { width: 28px; height: 28px; }
  .legal-header > div { gap: 12px; }
  .legal-header > div > a:last-child { max-width: 96px; text-align: right; font-size: 13px; line-height: 1.5; }
  .legal-breadcrumb { padding-top: 24px; font-size: 13px; gap: 10px; }
  .legal-title { padding: 40px 0 34px; }
  .legal-title h1 { font-size: 34px; line-height: 1.18; }
  .legal-title h1 br { display: none; }
  .legal-layout { display: block; padding: 30px 0 56px; }
  .legal-sidebar { position: static; margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid #e4e4e8; }
  .legal-sidebar ol { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .legal-sidebar li { margin: 0; }
  .legal-sidebar .license-download { border: 0; padding: 0; margin-top: 24px; }
  .license-body h2 { font-size: 23px; }
  .license-body p { font-size: 16px; line-height: 1.8; }
  .license-body section { padding-top: 22px; }
}
@media (max-width: 380px) { .legal-title h1 { font-size: 30px; } .legal-sidebar ol { grid-template-columns: 1fr; gap: 12px; } }
@media print {
  .legal-header, .legal-breadcrumb, .legal-sidebar, .site-footer, .skip-link { display: none; }
  .legal-width { width: 100%; }
  .legal-title { padding: 0 0 24px; }
  .legal-title h1 { font-size: 28px; }
  .legal-layout { display: block; padding-top: 24px; }
  .license-body h2 { break-after: avoid; }
  .license-body p { font-size: 11pt; }
  .license-body a { color: inherit; text-decoration: none; }
}
