.license-intro { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: 3rem; }
.license-intro h1 { max-width: 11ch; margin-bottom: 1.2rem; font-size: clamp(3.6rem, 7.5vw, 6.7rem); }
.license-intro h1 em { color: #65b5ff; font-style: normal; }
.license-lead { max-width: 680px; color: #c1cdd6; font-size: 1.05rem; line-height: 1.85; }
.license-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2rem; border: 1px solid rgba(112,160,194,.2); background: rgba(112,160,194,.2); }
.license-meta > div { display: grid; gap: .45rem; min-height: 94px; align-content: center; padding: 1rem 1.2rem; background: #101720; }
.license-meta span, .license-toc-label { color: #8da7b9; font-family: var(--font-code); font-size: .62rem; letter-spacing: .08em; }
.license-meta strong { color: #edf4f8; font-size: .88rem; }
.license-draft-note { display: grid; grid-template-columns: 32px 1fr; gap: .9rem; align-items: start; max-width: 900px; margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1px solid rgba(98,221,255,.25); background: rgba(10,52,79,.22); }
.draft-indicator { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(98,221,255,.45); border-radius: 50%; color: #87e5ff; font-family: var(--font-code); font-size: .8rem; }
.license-draft-note p { margin: 0; color: #b7c8d4; font-size: .82rem; line-height: 1.7; }
.license-draft-note strong { color: #e7f6ff; }
.license-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: space-between; gap: clamp(2rem, 6vw, 5rem); padding-top: 2.5rem; padding-bottom: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.license-toc { position: sticky; top: 1.5rem; display: flex; height: fit-content; flex-direction: column; gap: .25rem; padding: 1rem 0; }
.license-toc-label { margin-bottom: .7rem; }
.license-toc a { padding: .5rem .65rem; border-left: 1px solid rgba(141,167,185,.24); color: #acbbc7; font-size: .78rem; text-decoration: none; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.license-toc a:hover { border-left-color: var(--cyan); color: #eff8ff; background: rgba(15,86,139,.15); }
.license-terms { color: #c2cdd5; }
.license-terms section { padding: 1rem 0 2.4rem; border-bottom: 1px solid rgba(167,193,212,.18); scroll-margin-top: 1.5rem; }
.license-terms section + section { padding-top: 2.4rem; }
.license-terms .eyebrow { margin-bottom: .7rem; font-size: .67rem; }
.license-terms h2 { margin: 0 0 .85rem; color: #f0f5f8; font-size: clamp(1.45rem, 2.7vw, 2rem); letter-spacing: -.045em; }
.license-terms p, .license-terms li { font-size: .9rem; line-height: 1.85; }
.license-terms p { margin-bottom: .8rem; }
.license-terms ul { display: grid; gap: .45rem; padding-left: 1.2rem; }
.license-terms li::marker { color: #65baff; }
.publisher-details { display: grid; gap: .25rem; margin: 1rem 0 1.2rem; padding: 1rem 1.2rem; border-left: 2px solid #1687ff; background: rgba(20,34,48,.75); font-size: .84rem; font-style: normal; }
.publisher-details strong { color: #f2f7fa; }
.publisher-details span { color: #bdc9d2; }
.legal-references a { color: #82caff; text-underline-offset: 3px; }
.legal-references a:hover { color: #b9edff; }
.license-accept { display: grid; grid-template-columns: 1fr minmax(280px, .85fr); align-items: center; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; border: 1px solid rgba(86,177,245,.32); border-radius: 12px; background: linear-gradient(125deg,#0d2841,#0b1c2b 62%,#101a28); }
.accept-copy h2 { margin: 0 0 .75rem; color: #f0f6fa; font-size: clamp(1.7rem,3vw,2.4rem); letter-spacing: -.05em; }
.accept-copy > p:not(.eyebrow) { max-width: 52ch; margin: 0; color: #bdcbd5; font-size: .86rem; line-height: 1.8; }
.accept-form { display: grid; gap: 1rem; }
.accept-check { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; color: #e6eff5; font-size: .86rem; line-height: 1.65; cursor: pointer; }
.accept-check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: #1687ff; }
.accept-form button { width: fit-content; border: 0; font: inherit; cursor: pointer; }
.accept-form button:disabled { cursor: not-allowed; opacity: .46; transform: none; box-shadow: none; }
.accept-status { min-height: 1.4em; margin: -.5rem 0 0; color: #a7bac8; font-size: .75rem; }
.live-footer { grid-template-columns: 1fr 1.4fr auto auto; }

@media (max-width: 900px) {
  .license-layout { grid-template-columns: 175px minmax(0,1fr); gap: 2rem; }
  .license-toc a { font-size: .73rem; }
  .license-accept { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 650px) {
  .license-intro { padding-top: 3.5rem; }
  .license-intro h1 { font-size: clamp(3.3rem, 14vw, 5rem); }
  .license-lead { font-size: .96rem; }
  .license-meta { grid-template-columns: 1fr; }
  .license-meta > div { min-height: 72px; }
  .license-layout { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .license-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; padding: 0 0 1rem; }
  .license-toc-label { grid-column: 1 / -1; }
  .license-toc a { font-size: .72rem; }
  .license-terms section { padding-bottom: 1.8rem; }
  .license-terms section + section { padding-top: 1.8rem; }
  .license-terms p, .license-terms li { font-size: .88rem; }
  .license-accept { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.4rem; }
  .accept-form button { width: 100%; }
}
