:root {
  --bg: #090014;
  --panel: #160726;
  --ink: #f8f4ff;
  --muted: #d3c4f6;
  --line: rgba(168, 85, 247, 0.28);
  --accent: #a855f7;
  --accent-soft: rgba(168, 85, 247, 0.18);
  --accent-gold: #7c3aed;
  --accent-blue: #38bdf8;
  --accent-plum: #e879f9;
  --shadow: 0 24px 60px rgba(4, 1, 14, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 121, 249, 0.34), transparent 20%),
    radial-gradient(circle at 85% 14%, rgba(56, 189, 248, 0.3), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(168, 85, 247, 0.24), transparent 30%),
    linear-gradient(180deg, #080010 0%, #140326 40%, #081229 100%);
}

.site-shell {
  min-height: 100vh;
}

.site-header,
.site-footer,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 0 12px;
}

.brand-block {
  display: grid;
  gap: 4px;
}

.site-kicker,
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
}

.site-title {
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.24);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 7, 38, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #a855f7, #38bdf8);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.28);
}

.page-shell {
  padding: 18px 0 48px;
}

section {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  background: rgba(17, 6, 31, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding-top: 42px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at right top, rgba(232, 121, 249, 0.24), transparent 28%),
    radial-gradient(circle at left center, rgba(56, 189, 248, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(29, 8, 53, 0.98), rgba(12, 20, 60, 0.96));
  border-color: rgba(168, 85, 247, 0.34);
  box-shadow:
    0 24px 60px rgba(4, 1, 14, 0.55),
    0 0 36px rgba(168, 85, 247, 0.12);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 12px;
  font-size: clamp(2.8rem, 8vw, 5.3rem);
  line-height: 0.94;
  max-width: 9ch;
  text-shadow: 0 0 20px rgba(232, 121, 249, 0.18);
}

.hero-subtitle,
.hero-copy,
.section-copy,
.search-note,
.placeholder,
.result-summary,
.result-meta,
.timeline-meta,
.empty-copy,
.feature-copy,
.site-footer p,
.welcome-text,
.entry-link-preview {
  color: var(--muted);
}

.hero-subtitle {
  margin: 16px 0 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.hero-copy {
  margin: 14px 0 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-welcome {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.welcome-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: linear-gradient(180deg, rgba(35, 13, 57, 0.96), rgba(14, 29, 67, 0.92));
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.08);
}

.welcome-label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #67e8f9;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-copy,
.timeline-card p,
.foundation-column p,
.result-panel p,
.feature-card p {
  line-height: 1.55;
}

.search-panel,
.result-panel,
.foundation-column,
.timeline-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(24, 9, 42, 0.84);
  padding: 18px;
}

.mission {
  background: linear-gradient(180deg, rgba(40, 12, 69, 0.94), rgba(25, 22, 68, 0.9));
  border-color: rgba(232, 121, 249, 0.24);
}

.search-year {
  background: linear-gradient(180deg, rgba(9, 34, 77, 0.94), rgba(18, 16, 58, 0.9));
  border-color: rgba(56, 189, 248, 0.24);
}

.foundation {
  background: linear-gradient(180deg, rgba(49, 13, 76, 0.94), rgba(31, 11, 58, 0.9));
  border-color: rgba(168, 85, 247, 0.26);
}

.timeline-preview {
  background: linear-gradient(180deg, rgba(24, 13, 73, 0.94), rgba(11, 31, 74, 0.9));
  border-color: rgba(96, 165, 250, 0.24);
}

.feature-section {
  background: linear-gradient(180deg, rgba(32, 12, 57, 0.94), rgba(18, 13, 45, 0.9));
}

.verification-note {
  background: linear-gradient(180deg, rgba(12, 16, 44, 0.94), rgba(18, 20, 36, 0.9));
  border-color: rgba(148, 163, 184, 0.18);
}

.search-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: rgba(8, 8, 24, 0.7);
  color: var(--ink);
  font-size: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(56, 189, 248, 0.04);
}

.search-row button {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #a855f7, #38bdf8);
  color: white;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.22);
}

.search-note,
.result-panel,
.result-block {
  margin-top: 16px;
}

.result-title {
  font-size: 1.5rem;
}

.link-list,
.timeline-grid,
.foundation-grid,
.related-links,
.feature-grid {
  display: grid;
  gap: 12px;
}

.foundation-grid,
.timeline-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-list a,
.related-links a,
.feature-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: linear-gradient(180deg, rgba(38, 14, 63, 0.98), rgba(13, 24, 62, 0.94));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.entry-link {
  display: grid;
  gap: 10px;
  align-content: start;
}

.entry-link-title {
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.entry-link .status {
  margin-top: 2px;
  margin-bottom: 2px;
}



.feature-link {
  margin-top: 14px;
  text-align: left;
}

.site-nav a:hover,
.link-list a:hover,
.related-links a:hover,
.search-row button:hover,
.feature-link:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.12);
}

.status {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-soft);
  color: #e8d9ff;
}

.status-verified {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.status-review {
  background: rgba(232, 121, 249, 0.2);
  color: #f5b4fc;
}

.status-linked {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.timeline-card h3,
.foundation-column h3,
.feature-card h3 {
  font-size: 1.3rem;
}

.site-footer {
  padding: 0 0 36px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-welcome,
  .foundation-grid,
  .timeline-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .search-row {
    flex-direction: column;
  }
}

.result-panel {
  background: linear-gradient(180deg, rgba(31, 10, 56, 0.92), rgba(10, 23, 52, 0.9));
  border-color: rgba(56, 189, 248, 0.22);
}

.result-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
}

.result-title {
  margin-bottom: 10px;
}

.related-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-links .entry-link {
  min-height: 100%;
}

@media (max-width: 860px) {
  .related-links {
    grid-template-columns: 1fr;
  }
}

.feature-tag {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
}
