*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #010617; --surface: #111827; --border: #374151;
  --text: #f9fafb; --text-muted: #9ca3af; --primary: #0139F6;
  --card: #0b1220;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 6, 23, 0.70) 0%, rgba(1, 6, 23, 0.80) 42%, rgba(1, 6, 23, 0.94) 100%),
    url('../assets/jamr-hero-background.jpg') center 18% / cover no-repeat;
  pointer-events: none;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(1, 6, 23, 0.72);
  border-bottom: 1px solid rgba(3, 173, 248, 0.12);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px; display: block; object-fit: cover;
}
.logo-wordmark {
  height: 28px; width: auto; display: block;
}
.nav-links { display: flex; gap: 16px; font-size: 14px; }
.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.content {
  max-width: 720px; margin: 0 auto; padding: 120px 24px 80px;
}
.content-wide {
  max-width: 960px; margin: 0 auto; padding: 120px 24px 80px;
}
h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
h2 { font-size: 22px; font-weight: 600; margin-top: 40px; margin-bottom: 12px; }
h3 { font-size: 17px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.meta {
  font-size: 14px; color: var(--text-muted); margin-bottom: 12px;
}
.meta span { margin-right: 16px; }
.updated { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px; margin: 0 0 40px;
}
.toc h2 { font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.toc ol { padding-left: 20px; margin: 0; }
.toc li { margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }
p, ul, ol { margin-bottom: 16px; color: var(--text-muted); font-size: 15px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }
.highlight {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; margin: 24px 0;
}
.highlight p { margin-bottom: 8px; }
.highlight p:last-child { margin-bottom: 0; }
.placeholder {
  background: rgba(1, 57, 246, 0.08);
  border: 1px dashed rgba(1, 57, 246, 0.45);
  border-radius: 12px; padding: 20px 24px; margin: 24px 0;
  color: var(--text-muted); font-size: 14px;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 32px;
}
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; display: block; color: inherit;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--primary); text-decoration: none; }
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.card p { margin: 0; font-size: 13px; color: var(--text-muted); }
.card .ver { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
table.legal-table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px;
}
table.legal-table th, table.legal-table td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left;
  color: var(--text-muted); vertical-align: top;
}
table.legal-table th { color: var(--text); background: var(--surface); font-weight: 600; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); text-transform: uppercase;
}
.badge.active { border-color: #166534; color: #86efac; }
.badge.optional { border-color: #854d0e; color: #fde68a; }
.badge.feature { border-color: #1e40af; color: #93c5fd; }
.actions { margin: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 500;
}
.btn:hover { border-color: var(--primary); text-decoration: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
footer {
  padding: 40px 24px; border-top: 1px solid var(--border);
  text-align: center; font-size: 13px; color: var(--text-muted);
}
footer a { color: var(--text-muted); margin: 0 10px; }
footer a:hover { color: var(--text); text-decoration: none; }
footer .legal-entity { margin-top: 12px; font-size: 12px; }
table.incorporation-table {
  width: 100%; border-collapse: collapse; margin: 24px 0 8px; font-size: 14px;
}
table.incorporation-table th, table.incorporation-table td {
  border: 1px solid var(--border); padding: 12px 14px; text-align: left;
  color: var(--text-muted); vertical-align: middle;
}
table.incorporation-table th {
  color: var(--text); background: var(--surface); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
table.incorporation-table td strong { color: var(--text); }
table.incorporation-table td.ver-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px; color: var(--text); white-space: nowrap;
}
table.incorporation-table tr:hover td { background: rgba(1, 57, 246, 0.04); }
.incorporation-note {
  font-size: 13px; color: var(--text-muted); margin-top: 8px; margin-bottom: 32px;
}
@media print {
  nav, footer .nav-skip, .actions, body::before { display: none !important; }
  body { background: #fff; color: #111; }
  p, ul, ol, li, .updated, .meta { color: #333; }
  .content, .content-wide { padding-top: 24px; max-width: 100%; }
  a { color: #111; text-decoration: underline; }
  .highlight, .toc, .placeholder { border-color: #ccc; background: #f7f7f7; }
  table.incorporation-table th, table.incorporation-table td { border-color: #ccc; color: #333; }
  table.incorporation-table th { background: #f3f3f3; color: #111; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .nav-links { display: none; }
  table.incorporation-table { font-size: 12px; }
  table.incorporation-table th, table.incorporation-table td { padding: 10px 8px; }
  table.incorporation-table td.ver-cell { white-space: normal; }
}
