@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #667eea;
  --text-color: #253041;
  --text-light: #5f6b7a;
  --bg-color: #f5f7fb;
  --card-bg: #ffffff;
  --border-color: #e5e9f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-primary);
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg-color) 260px);
  color: var(--text-color);
  line-height: 1.65;
}
a { color: var(--secondary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
.artifact-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 32px 0 56px;
}
.artifact-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(15,23,42,0.06);
}
.artifact-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(102,126,234,0.12);
  color: #4b5fd7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.artifact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.artifact-hero {
  padding: 34px 38px 28px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 46%, #1a3a5c 100%);
  color: #ffffff;
}
.artifact-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.18;
}
.artifact-purpose {
  max-width: 850px;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.02rem;
}
.artifact-content {
  padding: 34px 38px 42px;
}
.artifact-content h2 {
  margin: 34px 0 14px;
  padding-top: 4px;
  color: var(--primary-color);
  font-size: 1.35rem;
  line-height: 1.3;
}
.artifact-content h2:first-child { margin-top: 0; }
.artifact-content p { margin: 0 0 14px; color: var(--text-light); }
.artifact-content ul,
.artifact-content ol { margin: 0 0 18px 1.25rem; padding: 0; color: var(--text-light); }
.artifact-content li { margin-bottom: 8px; }
.artifact-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef2ff;
  color: #3846a8;
  font-size: 0.92em;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
}
table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}
th, td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}
th {
  background: #f8fafc;
  color: var(--primary-color);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
tr:last-child td { border-bottom: none; }
th:first-child,
td:first-child {
  white-space: nowrap;
}
.checklist {
  list-style: none;
  margin-left: 0 !important;
}
.checklist li {
  position: relative;
  padding-left: 30px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border: 2px solid #94a3b8;
  border-radius: 5px;
  background: #fff;
}
.artifact-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  color: var(--text-light);
  font-size: 0.92rem;
}
@media (max-width: 640px) {
  .artifact-shell { width: min(100% - 24px, 1040px); padding-top: 18px; }
  .artifact-topbar { align-items: flex-start; flex-direction: column; }
  .artifact-hero, .artifact-content { padding: 24px 20px; }
  .artifact-hero h1 { font-size: 1.75rem; }
  table { min-width: 620px; }
}

/* Shared dark motion-stage background with floating geometric shapes */
:root {
  --anime-bg-1: #0c0c0d;
  --anime-bg-2: #171717;
  --anime-fg-1: #f6f4f2;
  --anime-fg-2: #d5d3d1;
  --anime-line: rgba(246,244,242,.12);
  --anime-sky: #33b3f1;
  --anime-turquoise: #00ffaa;
  --anime-purple: #c06ddf;
  --anime-yellow: #ffcc33;
  --anime-red: #ff4b4b;
  --anime-ease-out: cubic-bezier(.16, 1, .3, 1);
}
html { background: var(--anime-bg-1); }
body {
  position: relative;
  overflow-x: hidden;
  color: var(--anime-fg-1);
  background:
    radial-gradient(900px 600px at 4% 2%, rgba(51,179,241,.11), transparent 60%),
    radial-gradient(720px 560px at 96% 10%, rgba(192,109,223,.08), transparent 60%),
    var(--anime-bg-1);
}
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    linear-gradient(rgba(246,244,242,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,244,242,.025) 1px, transparent 1px),
    radial-gradient(ellipse 900px 700px at 0% 0%, rgba(51,179,241,.14) 0%, transparent 55%),
    radial-gradient(ellipse 760px 680px at 100% 8%, rgba(124,133,255,.11) 0%, transparent 55%),
    radial-gradient(ellipse 700px 600px at 80% 82%, rgba(0,255,170,.07) 0%, transparent 55%);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  opacity: .95;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D'1440'%20height%3D'1800'%20viewBox%3D'0%200%201440%201800'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%3Cg%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%0A%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.30)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.10)'%20stroke%3D'rgba(56,189,248,.28)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.30)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.08)'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.18)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.18)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%0A%20%20%20%20%3Cg%20transform%3D'translate(0%20900)%20scale(-1%201)%20translate(-1440%200)'%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.075)'%20stroke%3D'rgba(56,189,248,.22)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.065)'%20stroke%3D'rgba(102,126,234,.20)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.15)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.20)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.16)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E");
  background-repeat: repeat-y;
  background-size: min(1440px, 118vw) auto;
  background-position: top center;
  opacity: .46;
  animation: animeShapeDrift 24s var(--anime-ease-out) infinite alternate;
}
@keyframes animeShapeDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -24px, 0); }
}
.artifact-shell { position: relative; z-index: 1; }
.artifact-topbar { color: var(--anime-fg-2); }
.back-link {
  color: var(--anime-fg-1);
  background: rgba(246,244,242,.055);
  border-color: var(--anime-line);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.back-link:hover {
  color: #111;
  background: var(--anime-turquoise);
  border-color: var(--anime-turquoise);
  text-decoration: none;
}
.artifact-badge {
  color: var(--anime-sky);
  background: rgba(51,179,241,.12);
  border: 1px solid rgba(51,179,241,.24);
}
.artifact-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)), var(--anime-bg-2);
  border-color: var(--anime-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 24px 68px rgba(0,0,0,.34);
}
.artifact-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(51,179,241,.20), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(192,109,223,.16), transparent 36%),
    linear-gradient(135deg, rgba(12,12,13,.98), rgba(23,23,23,.96));
  border-bottom: 1px solid var(--anime-line);
}
.artifact-content { color: var(--anime-fg-2); }
.artifact-content h2 { color: var(--anime-fg-1); }
.artifact-content p,
.artifact-content ul,
.artifact-content ol,
.artifact-footer { color: var(--anime-fg-2); }
.artifact-content code {
  background: rgba(51,179,241,.12);
  color: var(--anime-sky);
}
.table-wrap { border-color: var(--anime-line); }
table { background: rgba(12,12,13,.72); color: var(--anime-fg-2); }
th, td { border-bottom-color: var(--anime-line); }
th { background: rgba(246,244,242,.055); color: var(--anime-fg-1); }
.checklist li::before { background: rgba(246,244,242,.055); border-color: var(--anime-sky); }
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}


.artifact-shell { position: relative; isolation: isolate; }
.artifact-topbar, .artifact-card, .artifact-footer { position: relative; z-index: 1; }
