:root {
  --license-primary: #2563eb;
  --license-primary-dark: #1d4ed8;
  --license-primary-soft: #eff6ff;
  --license-accent: #059669;
  --license-accent-soft: #ecfdf5;
  --license-warning: #f59e0b;
  --license-warning-soft: #fffbeb;
  --license-danger: #dc2626;
  --license-danger-soft: #fef2f2;
  --license-bg: #f8fafc;
  --license-surface: #ffffff;
  --license-text: #0f172a;
  --license-muted: #64748b;
  --license-border: #e2e8f0;
  --license-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --license-radius: 18px;
  --license-radius-sm: 12px;
  --license-container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.license-body {
  margin: 0;
  color: var(--license-text);
  background: var(--license-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.license-container {
  width: min(100% - 32px, var(--license-container));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .license-container {
    width: min(100% - 24px, var(--license-container));
  }
}
