/* license.css — False Universe license page
   Inherits all CSS variables from site.css (--bg, --ink, --ink-soft, etc.)
   Only defines the three semantic colors unique to this page. */

:root {
  --license-green: #4caf82;
  --license-amber: #c8a96e;
  --license-red:   #c0614a;
  --license-width: 680px;
}

/* ── Page layout ── */
.license-page {
  max-width: var(--license-width);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* ── Hero ── */
.license-hero {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-faint) 40%, transparent);
}
.license-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-essay);
  margin-bottom: 1rem;
}
.license-hero h1 {
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.license-intro {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.license-intro strong { color: var(--ink); }

/* ── Section headings ── */
.license-breakdown h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 3rem 0 1.25rem;
}

/* ── License cards ── */
.license-card {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--ink-faint) 30%, transparent);
  background: var(--bg-card);
}

.license-card-icon {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: flex-start;
  padding-top: 0.2rem;
}

.license-card.allowed    .license-card-icon { color: var(--license-green); }
.license-card.condition  .license-card-icon { color: var(--license-amber); }
.license-card.restricted .license-card-icon { color: var(--license-red);   }

.license-card.allowed    { border-left: 3px solid var(--license-green); }
.license-card.condition  { border-left: 3px solid var(--license-amber); }
.license-card.restricted { border-left: 3px solid var(--license-red);   }

.license-card h3 {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.license-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.license-card p:last-child { margin-bottom: 0; }

.license-note {
  font-size: 0.9rem !important;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-radius: 3px;
  border-left: 2px solid var(--license-amber);
  margin-top: 0.75rem !important;
}

/* ── Short summary ── */
.license-plain-summary {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--ink-faint) 30%, transparent);
}
.license-plain-summary h2 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}
.license-list {
  list-style: none;
  padding: 0;
}
.license-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink-faint) 30%, transparent);
  font-size: 0.95rem;
  color: var(--ink);
}
.license-list li:last-child { border-bottom: none; }

/* ── Official section ── */
.license-official {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--ink-faint) 40%, transparent);
}
.license-official p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.license-official strong { color: var(--ink); }
.license-official-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-essay);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-essay);
  padding-bottom: 1px;
  margin-bottom: 1.25rem;
}
.license-official-link:hover { opacity: 0.75; }
.license-official-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .license-page  { padding: 2.5rem 1.25rem 4rem; }
  .license-hero h1 { font-size: 1.6rem; }
  .license-card  { grid-template-columns: 2rem 1fr; gap: 0.75rem; }
}