:root {
  --bg: #070a1c;
  --bg-soft: #11152b;
  --panel: #0d1124;
  --panel-alt: #141932;
  --line: rgba(163, 177, 255, 0.15);
  --text: #d9def5;
  --muted: #8188ac;
  --accent: #1EB6E8;
  --accent-soft: rgba(79, 127, 255, 0.18);
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(79, 127, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #050816 0%, #0a0e21 48%, #070a1c 100%);
  color: var(--text);
  font-family: Bahnschrift, "Aptos", "Trebuchet MS", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  padding: 24px 28px;
}

.menu-button,
.close-panel {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
}

.menu-button span {
  display: block;
  width: 35px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(360px, 84vw);
  height: 100vh;
  padding: 32px;
  background: rgba(7, 10, 28, 0.96);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 220ms ease;
  backdrop-filter: blur(18px);
}

.side-panel.open {
  transform: translateX(0);
}

.close-panel {
  font-size: 40px;
  line-height: 1;
  margin-left: auto;
  display: block;
}

.panel-nav {
  display: grid;
  gap: 18px;
  margin-top: 56px;
}

.panel-nav a {
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 138px 40px 72px;
}

.hero-inner,
.command-strip-inner,
.cards-section,
.section-block,
.tag-row {
  width: min(calc(100% - 80px), var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
}

.brand {
  margin: 0;
  font-family: "Segoe UI Light", Bahnschrift, sans-serif;
  font-size: clamp(3.8rem, 10vw, 7.2rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.brand-muted {
  color: rgba(255, 255, 255, 0.78);
}

.brand-accent {
  background: linear-gradient(0deg, #1EB6E8 10%, #9335DB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 32px 0 0;
  max-width: 920px;
  color: rgba(217, 222, 245, 0.42);
  font-family: "Segoe UI Light", Bahnschrift, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2.05rem);
  line-height: 1.22;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(15, 19, 38, 0.55);
  font-size: 0.88rem;
}

.command-strip {
  background: linear-gradient(90deg, rgba(21, 25, 49, 0.92), rgba(34, 39, 69, 0.82), rgba(21, 25, 49, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.command-strip-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 40px;
}

.command-strip code {
  color: rgba(255, 255, 255, 0.62);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  max-width: 980px;
  text-align: justify;
  text-justify: inter-word;
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 50px 0 34px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 4px 0 20px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(111, 136, 255, 0.1);
  background: rgba(18, 23, 48, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  font-size: 0.88rem;
  line-height: 1;
}

.tag-row span em {
  color: rgba(196, 202, 232, 0.72);
  font-style: normal;
}

.tag-row span strong {
  font-weight: 400;
  color: #1EB6E8;
}

.info-card,
.panel,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 18, 40, 0.96), rgba(17, 21, 43, 0.82));
}

.info-card {
  min-height: 320px;
  padding: 40px 44px;
}

.info-card h2,
.panel h2,
.section-heading h2 {
  margin: 0 0 26px;
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.info-card p,
.timeline-content p,
.panel p {
  margin: 0 0 22px;
  color: rgba(217, 222, 245, 0.48);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section-block {
  padding: 34px 0 16px;
}

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

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}

.timeline-period {
  background: linear-gradient(0deg, #9335DB  10%, #1EB6E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 500;
}

.timeline-content h3 span {
  color: var(--muted);
  font-weight: 400;
}

.chip-groups {
  display: grid;
  gap: 18px;
}

.chip-group {
  padding: 24px 28px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 19, 38, 0.7);
}

.chip-group h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 500;
}

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

.chips span {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(79, 127, 255, 0.18);
  background: var(--accent-soft);
  color: rgba(203, 216, 255, 0.88);
  font-size: 0.88rem;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}

.panel {
  padding: 30px 32px;
}

@media (max-width: 1080px) {
  .cards-section,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 18px 18px 0;
  }

  .hero {
    padding: 112px 18px 48px;
  }

  .hero-inner,
  .command-strip-inner,
  .cards-section,
  .section-block,
  .tag-row {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .info-card,
  .panel,
  .timeline-item,
  .chip-group {
    padding-left: 22px;
    padding-right: 22px;
  }

  .menu-button span {
    width: 38px;
    height: 4px;
  }
}
