:root {
  --bg: #080713;
  --panel: rgba(20, 18, 40, 0.82);
  --text: #f7f2ff;
  --muted: #b9aee0;
  --line: rgba(190, 130, 255, 0.28);
  --accent: #b46cff;
  --accent2: #38d8ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 108, 255, 0.28), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(56, 216, 255, 0.16), transparent 28rem),
    var(--bg);
}

.archive-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(42, 32, 78, 0.92), rgba(7, 8, 20, 0.92));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1, h2 {
  margin: 0 0 18px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.lede {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
}

.warning {
  border-left: 3px solid var(--accent2);
  padding-left: 16px;
  color: #e4dcff;
}

.panel {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.artifact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: #e8ddff;
  font-weight: 650;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(56,216,255,0.16);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  color: #0b0715;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  cursor: pointer;
}

.status {
  color: var(--accent2);
  min-height: 1.4em;
}

ul {
  line-height: 1.8;
  color: var(--muted);
}

.sigil {
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .archive-shell {
    width: calc(100% - 24px);
    padding: 32px 12px 40px;
  }
  .hero, .panel {
    padding: 22px;
  }
  .artifact-form {
    gap: 16px;
  }
  button {
    width: 100%;
  }
}
