:root {
  --bg: #050509;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --text: #fafafa;
  --muted: #a1a1aa;
  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.16);
  --cyan: #67e8f9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 15% 18%, rgba(139, 92, 246, 0.2), transparent 26%),
    radial-gradient(circle at 85% 44%, rgba(103, 232, 249, 0.1), transparent 24%),
    linear-gradient(120deg, #020204, #080713 48%, #020204);
  background-size: 150px 150px, 150px 150px, auto, auto, auto;
  color: var(--text);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.bg-particle {
  position: fixed;
  z-index: -1;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.22);
  filter: blur(28px);
  opacity: 0.8;
  animation: floatParticle 9s ease-in-out infinite;
}

.bg-particle.one {
  left: 5%;
  top: 20%;
}

.bg-particle.two {
  right: 9%;
  top: 38%;
  width: 210px;
  height: 210px;
  background: rgba(103, 232, 249, 0.1);
  animation-duration: 11s;
}

.bg-particle.three {
  left: 36%;
  bottom: 8%;
  width: 120px;
  height: 120px;
  animation-duration: 13s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 74px;
}

.brand,
.nav-actions,
.btn,
.panel,
.resource-card,
.procedure-card,
.activity-card,
.schema-card,
.pending-card,
.kicker {
  border-radius: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--purple);
  font-size: 30px;
  line-height: 1;
}

.nav-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn:hover,
.btn.primary {
  border-color: rgba(139, 92, 246, 0.7);
  background: var(--purple);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.58fr);
  gap: 28px;
  align-items: stretch;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.1);
  padding: 8px 12px;
  color: #ddd6fe;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 980px;
  margin-top: 28px;
  font-size: 72px;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 span,
.accent {
  color: var(--purple);
}

.lead {
  max-width: 820px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
}

.panel,
.resource-card,
.procedure-card,
.activity-card,
.schema-card,
.pending-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-strong), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

.panel::before,
.resource-card::before,
.procedure-card::before,
.activity-card::before,
.schema-card::before,
.pending-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.85), rgba(103, 232, 249, 0.55), transparent);
}

.hero-panel {
  padding: 28px;
}

.hero-panel p {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  color: var(--muted);
}

.meta-row strong {
  color: white;
  text-align: right;
}

.section {
  margin-top: 86px;
}

.presentation-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  padding: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

.presentation-panel h2 {
  margin-top: 14px;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
}

.presentation-copy {
  display: grid;
  gap: 18px;
}

.presentation-copy p {
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.85;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: 42px;
  text-transform: uppercase;
}

.section-head span {
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.viewer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.viewer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}

.viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.viewer-head small {
  display: block;
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.viewer-head h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
}

.viewer-card iframe {
  width: 100%;
  height: min(72vh, 760px);
  min-height: 520px;
  border: 0;
  background: #050509;
}

.resource-card,
.procedure-card,
.activity-card,
.pending-card {
  min-height: 190px;
  padding: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.resource-card:hover,
.procedure-card:hover,
.activity-card:hover,
.schema-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.03));
}

.resource-card small,
.procedure-card small,
.activity-card small,
.schema-card small,
.pending-card small {
  display: block;
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.resource-card h3,
.procedure-card h3,
.activity-card h3,
.pending-card h3 {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}

.resource-card p,
.procedure-card p,
.pending-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.resource-card strong {
  display: inline-flex;
  margin-top: 22px;
  color: white;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
}

.single-section {
  max-width: 920px;
}

.procedure-grid,
.activity-grid,
.pending-grid {
  display: grid;
  gap: 14px;
}

.activity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 136px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tags span {
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 4px;
  background: rgba(103, 232, 249, 0.08);
  padding: 7px 9px;
  color: #cffafe;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.schema-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.schema-card {
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.schema-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #07070b;
  padding: 16px;
}

.schema-card div {
  padding: 18px;
}

.schema-card strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.pending-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pending-card {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@media (max-width: 1100px) {
  .hero,
  .split-section,
  .presentation-panel {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .schema-grid,
  .viewer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 1460px);
    padding-top: 20px;
  }

  .nav,
  .section-head,
  .activity-card {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .presentation-panel {
    padding: 22px;
  }

  .presentation-panel h2 {
    font-size: 30px;
  }

  .resource-grid,
  .schema-grid,
  .viewer-grid,
  .pending-grid {
    grid-template-columns: 1fr;
  }

  .viewer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .viewer-card iframe {
    height: 68vh;
    min-height: 460px;
  }

  .hero-panel {
    padding: 22px;
  }

  .tags {
    justify-content: flex-start;
  }
}
