/* Documents extend the approved Glass surfaces and existing 21st/Magic UI frames. */
.license-card { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: center; margin: 0 0 56px; padding: 40px; border: 1px solid #fff; border-radius: 30px; background: #ffffffb8; box-shadow: inset 0 1px 0 #fff, 0 14px 42px #1d1d1f06; color: var(--ink); }
.license-label { display: inline-block; margin: 0 0 15px; color: var(--red); font-size: 13px; line-height: 1.5; font-weight: 650; text-decoration: none; }
.license-card h2 { margin: 0; max-width: 560px; font: 650 clamp(26px, 3vw, 38px)/1.15 var(--font); letter-spacing: -.045em; }
.license-entity { margin: 16px 0 25px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.license-facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; margin: 0; }
.license-facts .license-address { grid-column: 1 / -1; }
.license-facts dt, .license-summary dt { margin-bottom: 5px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.license-facts dd { margin: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.license-scope { margin: 19px 0 24px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.license-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.license-actions .button { min-height: 50px; padding-inline: 22px; font-size: 14px; gap: 16px; }
.license-download { color: var(--red); font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.license-extract-note { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.license-extract-note a { color: inherit; text-underline-offset: 3px; }
.license-paper-link { display: block; color: var(--ink); text-decoration: none; min-width: 0; }
.license-paper { display: block; padding: 9px; border: 1px solid #d9d9df; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px #1d1d1f0d, 0 1px 3px #1d1d1f08; transition: transform .2s, box-shadow .2s; }
.license-paper img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 5px; }
.license-paper-link:hover .license-paper { transform: translateY(-3px); box-shadow: 0 14px 28px #1d1d1f14; }
.license-paper-caption { display: grid; gap: 4px; margin-top: 14px; font-size: 13px; line-height: 1.5; font-weight: 600; }
.license-paper-caption > span { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 400; }
.hero-license-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; max-width: 100%; color: var(--red); font-size: 13px; line-height: 1.5; text-underline-offset: 4px; }
.hero-license-link .icon { width: 14px; height: 14px; }
.license-reader { padding-top: 32px; }
.license-reader .breadcrumbs { margin-bottom: 38px; }
.license-reader-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.license-reader-head h1 { max-width: 780px; margin: 0; font: 650 clamp(32px, 4.7vw, 58px)/1.08 var(--font); letter-spacing: -.055em; }
.license-reader-intro { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.license-reader-head > .button { flex-shrink: 0; }
.license-reader-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.license-summary { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft); }
.license-summary h2 { margin: 0 0 24px; font-size: 19px; line-height: 1.3; letter-spacing: -.03em; }
.license-summary dl { display: grid; gap: 19px; margin: 0 0 24px; }
.license-summary dd { margin: 0; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.license-summary > a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.license-summary > p { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.license-page-note { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.license-pages figure { margin: 0 0 30px; }
.license-pages figure > a { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 32px #1d1d1f07; }
.license-pages img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 6px; }
.license-pages figcaption { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .license-card { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; padding: 30px; }
  .license-reader-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  .license-reader-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .license-card { display: flex; flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 28px; border-radius: 24px; margin-bottom: 36px; }
  .license-card h2 { font-size: 29px; }
  .license-entity { margin-block: 13px 22px; }
  .license-facts { grid-template-columns: 1fr; gap: 16px; }
  .license-facts dd { font-size: 14px; }
  .license-actions { gap: 20px; }
  .license-actions .button { width: 100%; justify-content: space-between; }
  .license-paper-link { width: min(100%, 230px); align-self: center; }
  .license-reader .breadcrumbs { margin-bottom: 28px; }
  .license-reader-head { margin-bottom: 30px; }
  .license-reader-head h1 { font-size: 35px; }
  .license-reader-head > .button { width: 100%; }
  .license-reader-grid { grid-template-columns: 1fr; gap: 28px; }
  .license-summary { padding: 22px; }
  .license-pages figure > a { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .license-paper { transition: none; } .license-paper-link:hover .license-paper { transform: none; } }
