/* PW-05: scoped to the existing DE/EN license-management pair. */
.rights-page { --rights-muted: #425d6c; --rights-line: #b1c6d2; color: var(--deep-blue); }
.rights-page [id] { scroll-margin-top: 24px; }
.rights-page h1, .rights-page h2, .rights-page h3 { font-family: 'Montserrat', sans-serif; overflow-wrap: anywhere; hyphens: auto; }
.rights-page h2 { margin: 0 0 24px; font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.rights-page h3 { margin: 0 0 12px; font-size: 1.1875rem; font-weight: 600; line-height: 1.45; }
.rights-page p { max-width: 72ch; margin: 0 0 16px; line-height: 1.75; }
.rights-page a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.rights-page .rights-kicker { margin: 0 0 16px; color: var(--rights-muted); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rights-hero { padding: 72px 0 64px; background: var(--ice-blue); }
.rights-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.rights-hero h1 { margin: 0 0 24px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.rights-page .rights-lead { font-size: 1.125rem; margin: 0; }
.rights-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 32px; }
.rights-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 28px; background: var(--action-orange); color: var(--deep-blue); font-weight: 700; line-height: 1.5; text-decoration: none; }
.rights-primary:hover { background: #FF7A2F; }
.rights-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: inherit; font-weight: 600; line-height: 1.5; text-underline-offset: 4px; }
.rights-link:hover { text-decoration-thickness: 2px; }
.rights-nav h2 { font-size: 1.375rem; font-weight: 600; }
.rights-nav a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; border-bottom: 1px solid var(--rights-line); color: inherit; text-decoration: none; font-weight: 600; line-height: 1.5; }
.rights-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rights-example-note { padding-top: 32px; }
.rights-example-note p { max-width: 880px; color: var(--rights-muted); font-size: .875rem; }
.rights-chapter { padding: 72px 0; }
.rights-chapter-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: 'heading heading' 'figure narrative' 'stages stages'; gap: 32px 48px; align-items: start; }
.rights-chapter-grid > * { min-width: 0; }
.rights-chapter-heading { grid-area: heading; max-width: 900px; }
.rights-chapter-heading h2 { margin-bottom: 0; text-wrap: balance; }
.rights-narrative { grid-area: narrative; font-size: 1rem; }
.rights-narrative .rights-link { margin-bottom: 4px; }
.rights-example { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rights-line); }
.rights-example .rights-example-label { margin: 0 0 8px; font-size: .8125rem; color: var(--rights-muted); }
.rights-example h3 { font-size: 1rem; }
.rights-example p:last-child { margin-bottom: 0; }
.rights-figure { grid-area: figure; width: 100%; max-width: 960px; margin: 0 auto; }
.rights-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.rights-figure figcaption { margin-top: 12px; color: var(--rights-muted); font-size: .8125rem; line-height: 1.6; }
/* Alternate the same two-column composition while preserving section colors. */
.rights-chapter--use .rights-chapter-grid, .rights-chapter--withdrawal .rights-chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: 'heading heading' 'narrative figure' 'stages stages'; }
/* Expiry is a timed process, distinct from the manual withdrawal below. */
.rights-chapter--expiry { --rights-muted: #c9dce6; --rights-line: #657e8e; background: var(--deep-blue); color: var(--white); }
.rights-stages { grid-area: stages; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 8px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rights-line); list-style: none; }
.rights-stages li { min-width: 0; }
.rights-stages p { margin-bottom: 0; }
.rights-chapter--withdrawal { background: var(--ice-blue); }
.rights-boundary { padding: 48px 0; border-bottom: 1px solid var(--rights-line); }
.rights-boundary h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.rights-boundary p { margin-bottom: 0; }
.rights-details { padding: 64px 0; }
.rights-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin: 40px 0; padding: 0; list-style: none; }
.rights-features li { min-width: 0; padding-top: 20px; border-top: 1px solid var(--rights-line); }
.rights-features p { margin-bottom: 0; }
.rights-terms { padding-top: 24px; border-top: 1px solid var(--rights-line); }
.rights-next { padding: 64px 0; background: var(--deep-blue); color: var(--white); }
@media (max-width: 1024px) {
  .rights-hero-grid, .rights-chapter-grid { gap: 32px; }
  .rights-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .rights-hero, .rights-chapter, .rights-details, .rights-next { padding: 48px 0; }
  .rights-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rights-chapter .rights-chapter-grid { display: flex; flex-direction: column; gap: 24px; }
  .rights-chapter-grid > * { width: 100%; }
  .rights-stages { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .rights-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .rights-features { grid-template-columns: minmax(0, 1fr); }
}
