/* neura-site-styles:{"backgroundColor":"#f8f7f4","textColor":"#111827","fontFamily":"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif","baseFontSize":"18px","headingFontFamily":"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif","headingColor":"#111827","linkColor":"#4338ca","containerMaxWidth":"1200px","customCss":""} */

:root {
  --vs-page-bg: #f8f7f4;
  --vs-page-gradient: radial-gradient(140% 140% at 10% 10%, #fdfaf5 0%, #f4f6f9 45%, #f5f7fb 100%);
  --vs-surface: #ffffff;
  --vs-panel: rgba(255, 255, 255, 0.92);
  --vs-border: rgba(15, 23, 42, 0.08);
  --vs-border-strong: rgba(15, 23, 42, 0.16);
  --vs-text: #111827;
  --vs-text-muted: #6b7280;
  --vs-text-soft: #9ca3af;
  --vs-highlight: #4338ca;
  --vs-highlight-soft: rgba(67, 56, 202, 0.08);
  --vs-accent: #1f2937;
  --vs-chip-bg: #eef0ff;
  --vs-chip-text: #2e32a3;
  --vs-badge-bg: rgba(67, 56, 202, 0.12);
  --vs-badge-border: rgba(67, 56, 202, 0.32);
  --vs-shadow-soft: 0 32px 80px -35px rgba(15, 23, 42, 0.28);
  --vs-shadow-lift: 0 18px 40px rgba(15, 23, 42, 0.16);
  --vs-radius: 18px;
  --vs-radius-lg: 26px;
  --vs-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--vs-font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--vs-text);
  background: var(--vs-page-gradient), var(--vs-page-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vs-highlight);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

main {
  display: block;
}

/* Header */
.vs-header {
  position: relative;
  padding: 32px clamp(24px, 4vw, 72px) 0;
  z-index: 10;
}

.vs-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vs-panel);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-lg);
  padding: 20px clamp(20px, 3vw, 36px);
  box-shadow: var(--vs-shadow-lift);
  backdrop-filter: blur(12px);
}

.vs-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-accent);
  font-size: 16px;
}

.vs-logo__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f5f5ff;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(67, 56, 202, 0.16);
}

.vs-logo__word {
  display: inline-flex;
  align-items: center;
}

.vs-header__toggle {
  display: none;
}

.vs-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.vs-nav__link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vs-text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.vs-nav__link:hover {
  color: var(--vs-accent);
  opacity: 1;
}

.vs-header__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #1f1f3d 0%, #111827 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 24px 45px -20px rgba(17, 24, 39, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 32px 60px -24px rgba(17, 24, 39, 0.45);
}

.vs-btn--ghost {
  background: transparent;
  color: var(--vs-highlight);
  border: 1px solid rgba(67, 56, 202, 0.3);
  box-shadow: none;
}

.vs-btn--ghost:hover {
  background: rgba(67, 56, 202, 0.08);
  transform: translateY(-1px);
}

/* Sections */
.section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 96px);
}

.section--compact {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 120px);
}

.section--hero {
  padding-top: clamp(120px, 16vw, 200px);
  padding-bottom: clamp(90px, 14vw, 160px);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-orb {
  position: absolute;
  inset: -20% -32% auto auto;
  width: clamp(420px, 50vw, 620px);
  height: clamp(420px, 50vw, 620px);
  background: radial-gradient(circle at 30% 30%, rgba(134, 182, 255, 0.32), rgba(255, 255, 255, 0));
  filter: blur(0px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.tagline {
  font-size: clamp(20px, 3vw, 24px);
  color: var(--vs-text-muted);
  max-width: 720px;
  margin: 18px 0 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vs-highlight);
  background: var(--vs-badge-bg);
  border: 1px solid var(--vs-badge-border);
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--vs-chip-bg);
  color: var(--vs-chip-text);
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(46, 50, 163, 0.18);
}

.surface {
  background: var(--vs-surface);
  border-radius: var(--vs-radius-lg);
  border: 1px solid var(--vs-border);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--vs-shadow-soft);
}

.stat {
  display: grid;
  gap: 6px;
}

.stat__value {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--vs-accent);
}

.stat__label {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vs-text-soft);
}

.grid-2 {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--vs-surface);
  border-radius: var(--vs-radius);
  border: 1px solid var(--vs-border);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--vs-shadow-soft);
  display: grid;
  gap: 14px;
}

.card h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--vs-accent);
}

.card p {
  margin: 0;
  color: var(--vs-text-muted);
}

.list {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--vs-text-muted);
  font-size: 16px;
}

.list li {
  line-height: 1.5;
}

blockquote.surface {
  text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 241, 255, 0.92));
}

blockquote p {
  color: var(--vs-accent);
}

blockquote footer {
  color: var(--vs-text-muted);
}

/* Hero layout */
.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hero-copy {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-meta {
  display: grid;
  gap: 16px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
}

/* Builder preview */
.builder-preview {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 255, 1));
  border-radius: 28px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  box-shadow: 0 42px 70px -32px rgba(67, 56, 202, 0.32);
  overflow: hidden;
  display: grid;
}

.builder-preview__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(67, 56, 202, 0.12);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--vs-text-muted);
}

.builder-preview__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.builder-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vs-text-soft);
}

.builder-preview__dot.is-red {
  background: #f87171;
}

.builder-preview__dot.is-amber {
  background: #fbbf24;
}

.builder-preview__dot.is-green {
  background: #4ade80;
}

.builder-preview__crumb {
  font-weight: 600;
  color: var(--vs-accent);
}

.builder-preview__status {
  font-size: 12px;
  color: var(--vs-text-soft);
}

.builder-preview__body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 280px;
  background: rgba(245, 247, 255, 0.6);
}

.builder-preview__sidebar {
  background: rgba(239, 242, 255, 0.9);
  border-right: 1px solid rgba(67, 56, 202, 0.12);
  padding: 20px 18px;
  display: grid;
  gap: 20px;
}

.builder-preview__sidebar h4 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-accent);
}

.builder-preview__menu {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.builder-preview__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.14);
  color: var(--vs-accent);
  font-weight: 600;
}

.builder-preview__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vs-text-soft);
}

.builder-preview__canvas {
  padding: 26px 30px;
  display: grid;
  gap: 18px;
}

.builder-preview__section {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px -35px rgba(17, 24, 39, 0.22);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.builder-preview__module {
  border-radius: 18px;
  border: 1px dashed rgba(67, 56, 202, 0.28);
  padding: 18px;
  background: rgba(248, 249, 255, 0.8);
  display: grid;
  gap: 10px;
}

.builder-preview__module--hero {
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.16), rgba(209, 213, 255, 0.3));
  border: none;
  color: var(--vs-accent);
}

.builder-preview__module h5 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.builder-preview__module p {
  margin: 0;
  font-size: 14px;
  color: var(--vs-text-muted);
}

.builder-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.18);
  color: var(--vs-highlight);
  font-size: 13px;
  font-weight: 600;
}

/* Code block */
.code-block {
  margin: 0;
  padding: 26px 30px;
  border-radius: var(--vs-radius);
  background: #111827;
  color: #f9fafb;
  font-family: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', monospace;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 28px 60px -30px rgba(17, 24, 39, 0.4);
  overflow-x: auto;
}

.token-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

/* Footer */
.vs-footer {
  margin-top: clamp(60px, 10vw, 140px);
  padding: clamp(70px, 10vw, 130px) clamp(24px, 6vw, 96px) clamp(40px, 8vw, 80px);
  background: var(--vs-surface);
  border-top: 1px solid var(--vs-border);
}

.vs-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: start;
}

.vs-logo--footer {
  gap: 12px;
}

.vs-footer__lead {
  margin: 18px 0 12px;
  color: var(--vs-text-muted);
}

.vs-footer__meta {
  color: var(--vs-text-soft);
  font-size: 14px;
}

.vs-footer__title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--vs-accent);
  margin-bottom: 14px;
}

.vs-footer__link {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--vs-text-muted);
  font-size: 15px;
}

.vs-footer__link:hover {
  color: var(--vs-highlight);
}

.vs-footer__copy {
  margin: 0 0 14px;
  color: var(--vs-text-muted);
  font-size: 15px;
}

.vs-footer__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vs-footer__form input {
  flex: 1 1 220px;
  border-radius: 999px;
  border: 1px solid var(--vs-border);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 15px;
  background: #f9fafb;
}

.vs-footer__form input:focus {
  outline: none;
  border-color: rgba(67, 56, 202, 0.4);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.16);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .vs-header__bar {
    flex-wrap: wrap;
    gap: 20px;
  }
  .vs-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .vs-header__cta {
    order: 2;
  }
  .builder-preview__body {
    grid-template-columns: 1fr;
  }
  .builder-preview__sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(67, 56, 202, 0.12);
  }
  .vs-footer__form {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .vs-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .vs-header__cta {
    width: 100%;
    justify-content: stretch;
  }
  .vs-btn,
  .vs-btn--ghost {
    flex: 1 1 auto;
    justify-content: center;
  }
  .hero-stats {
    gap: 12px;
  }
  .hero-grid {
    gap: 36px;
  }
}

/* Lineage layout */
.lineage-timeline {
  margin: 40px auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(53, 41, 28, 0.15);
  border-radius: 20px;
  box-shadow: 0 25px 60px -35px rgba(59, 32, 3, 0.35);
}

.lineage-timeline__label {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a6e4a;
  margin-bottom: 12px;
}

.lineage-timeline__scroller {
  overflow-x: auto;
  padding-bottom: 8px;
}

.lineage-timeline__scroller::-webkit-scrollbar {
  height: 6px;
}

.lineage-timeline__scroller::-webkit-scrollbar-thumb {
  background: rgba(138, 110, 74, 0.4);
  border-radius: 999px;
}

.lineage-timeline__scroller ol {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
}

.lineage-timeline__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(53, 41, 28, 0.12);
  text-decoration: none;
  background: #fdf9f3;
  color: #1d1408;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lineage-timeline__link:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 41, 28, 0.4);
}

.lineage-timeline__link.is-current {
  background: #2f1f13;
  color: #f8ede1;
  border-color: #2f1f13;
}

.lineage-timeline__year {
  font-size: 18px;
  font-weight: 600;
}

.lineage-timeline__name {
  font-size: 16px;
}

.lineage-timeline__location {
  font-size: 13px;
  color: rgba(30, 17, 6, 0.7);
}

.lineage-timeline__link.is-current .lineage-timeline__location {
  color: rgba(255, 255, 255, 0.8);
}

.lineage-hero {
  margin: 32px auto 48px;
  padding: 32px clamp(20px, 6vw, 72px);
  border-radius: 28px;
  background: linear-gradient(135deg, #f5ecdf 0%, #f1f6f0 60%);
  border: 1px solid rgba(53, 41, 28, 0.15);
  box-shadow: 0 30px 80px -45px rgba(35, 22, 10, 0.5);
}

.lineage-hero--home {
  text-align: center;
}

.lineage-hero__epoch {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: rgba(30, 17, 6, 0.7);
  margin-bottom: 12px;
}

.lineage-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  color: #2b1b11;
  margin-bottom: 10px;
}

.lineage-hero__title {
  font-size: 20px;
  color: #5f4637;
  margin-bottom: 16px;
}

.lineage-hero__summary {
  font-size: 18px;
  max-width: 780px;
  margin: 0 auto;
  color: #3a2d24;
}

.home-hero__cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.lineage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid #2f1f13;
  color: #2f1f13;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.lineage-btn:hover {
  background: #2f1f13;
  color: #fefbf7;
}

.lineage-btn--secondary {
  border-color: rgba(47, 31, 19, 0.4);
  color: rgba(47, 31, 19, 0.75);
}

.lineage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.lineage-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(53, 41, 28, 0.12);
  background: #fffefb;
  box-shadow: 0 20px 30px -25px rgba(30, 17, 6, 0.35);
}

.lineage-card h2 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #412c1d;
}

.lineage-card ul {
  padding-left: 18px;
  color: #372417;
}

.family-notes {
  margin: 32px 0;
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(66, 41, 15, 0.4);
}

.family-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.family-notes li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(66, 41, 15, 0.12);
}

.family-notes li:first-child {
  border-top: none;
}

.family-notes__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: #8a5b34;
}

.lineage-narrative {
  margin: 48px 0 32px;
}

.lineage-narrative__section + .lineage-narrative__section {
  margin-top: 24px;
}

.lineage-narrative h2,
.lineage-sources h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #2f1f13;
}

.lineage-sources ul {
  padding-left: 18px;
  color: #3d281a;
}

.lineage-next {
  margin: 32px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lineage-next__link {
  align-self: flex-start;
  text-decoration: none;
  font-weight: 600;
  color: #2f1f13;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 48px 0;
}

.home-panels article {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(53, 41, 28, 0.12);
  background: linear-gradient(135deg, #fffdf7, #f8f3ec);
}

.home-featured {
  margin: 48px 0;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(53, 41, 28, 0.12);
  background: #191005;
  color: #fbeeda;
}

.home-featured header {
  max-width: 640px;
  margin-bottom: 24px;
}

.home-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.home-featured__grid article {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-featured__era {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.home-featured a {
  color: #fbeeda;
  text-decoration: underline;
}

.home-method {
  margin: 48px 0 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.home-method ul {
  padding-left: 20px;
}

@media (max-width: 720px) {
  .family-notes li {
    grid-template-columns: 1fr;
  }
  .lineage-hero {
    padding: 24px;
  }
}
