:root {
  --starbound-space: #1f0150;
  --starbound-deep-space: #120637;
  --starbound-cream: #f5e6ca;
  --starbound-aqua: #00f5d4;
  --starbound-violet: #9b5de5;
  --starbound-pink: #ff4da6;
  --starbound-amber: #f5c95f;

  /* Compatibility aliases used by the existing Starbound demos. */
  --space: var(--starbound-space);
  --space-2: var(--starbound-deep-space);
  --cream: var(--starbound-cream);
  --aqua: var(--starbound-aqua);
  --violet: var(--starbound-violet);
  --pink: var(--starbound-pink);
  --amber: var(--starbound-amber);
  --starbound-type-body: 1rem;
  --starbound-type-small: .75rem;
  --starbound-type-label: .73rem;
  --starbound-type-section-title: clamp(2.5rem, 5vw, 4.4rem);
}

body,
button,
input,
select {
  font-family: "Inter", sans-serif;
  font-size: var(--starbound-type-body);
}

h1,
h2,
h3,
h4 {
  font-family: "Lexend", sans-serif;
}

.blueprint-heading h2,
.section-heading h2,
.journey-copy h2,
.section-head h2 {
  font-family: "Lexend", sans-serif;
  font-size: var(--starbound-type-section-title);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.journey-support,
.inbox-header > div > p,
.population-heading p,
.section-head + p,
.prospect-cta p {
  font-family: "Inter", sans-serif;
  font-size: var(--starbound-type-body);
  line-height: 1.55;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--starbound-cream);
  font: 700 .8rem "Inter", sans-serif;
  text-transform: lowercase;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand img,
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245, 201, 95, .22));
}

.site-header,
.topbar {
  min-height: 76px;
  background: rgba(31, 1, 80, .96);
  color: var(--starbound-cream);
  border-bottom: 1px solid rgba(245, 230, 202, .35);
}

.topbar {
  grid-template-columns: 1fr auto;
}

.demo-label,
.demo-switch,
.view-title small,
.eyebrow,
.population-meta,
.panel-number,
.pro-kicker,
.validation-topline,
.inbox-detail-top,
.driver-table-head,
.card-label,
.map-head {
  font-family: "Space Mono", monospace;
  font-size: var(--starbound-type-label);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.demo-label span,
.demo-switch,
.privacy-pulse,
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--starbound-aqua);
  box-shadow: 0 0 0 4px rgba(0, 245, 212, .16);
}

.blueprint-brand-surface,
.blueprint-overview,
.data-journey,
.signal-room {
  background-color: rgba(31, 1, 80, .84);
  background-image:
    linear-gradient(rgba(0, 245, 212, .042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, .042) 1px, transparent 1px),
    linear-gradient(rgba(0, 245, 212, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, .018) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 8px 8px, 8px 8px;
  color: var(--starbound-cream);
}

.blueprint-parallax {
  position: fixed;
  z-index: 0;
  inset: -14vh -10vw;
  overflow: hidden;
  pointer-events: none;
  background: var(--starbound-space);
}

.parallax-grid {
  position: absolute;
  inset: -22%;
}

.parallax-grid-fine {
  opacity: .2;
  background-image:
    linear-gradient(rgba(0, 245, 212, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, .18) 1px, transparent 1px);
  background-size: 24px 24px;
}

.parallax-grid-major {
  opacity: .28;
  background-image:
    linear-gradient(rgba(245, 230, 202, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 230, 202, .16) 1px, transparent 1px);
  background-size: 120px 120px;
}

.parallax-mark {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px dashed rgba(245, 230, 202, .17);
  border-radius: 50%;
}

.parallax-mark::before,
.parallax-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(0, 245, 212, .2);
}

.parallax-mark::before {
  width: 130%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-38deg);
}

.parallax-mark::after {
  width: 1px;
  height: 130%;
  transform: translate(-50%, -50%) rotate(22deg);
}

.parallax-mark-a { left: 4vw; top: 26vh; }
.parallax-mark-b { right: 3vw; top: 68vh; width: 320px; height: 320px; }

.topbar,
.privacy-bar,
main,
footer {
  position: relative;
  z-index: 1;
}

.safety-strip,
.privacy-bar {
  min-height: 42px;
  padding: 10px max(20px, 5vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f5e6ca;
  color: #1f0150;
  border-bottom: 1px solid #d5c8ad;
  font: 400 .72rem/1.35 "Inter", sans-serif;
}

.safety-strip strong,
.privacy-bar strong {
  font: 700 .72rem "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.safety-strip span,
.privacy-bar span {
  font: 400 .72rem "Inter", sans-serif;
  line-height: 1.35;
}

.safety-strip a,
.privacy-bar a,
.privacy-bar button {
  color: #6b32b1;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.privacy-bar button {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.safety-strip {
  justify-content: center;
}

.privacy-bar > :not(button) {
  flex: 0 1 auto;
}

.blueprint-overview::after,
.data-journey::after {
  content: none;
}

.demo-switch {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .62rem .95rem;
  border: 1px solid rgba(245, 230, 202, .38);
  border-radius: 999px;
  background: rgba(18, 6, 55, .18);
  color: var(--starbound-cream);
  font: 700 .72rem "Space Mono", monospace;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.demo-switch:hover {
  background: rgba(245, 230, 202, .94);
  border-color: rgba(245, 230, 202, .94);
  color: var(--starbound-space);
  transform: translateY(-1px);
}

.demo-switch:focus-visible {
  outline: 3px solid var(--starbound-aqua);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .demo-switch {
    padding: .55rem .75rem;
    font-size: .64rem;
  }
}

.demo-footer {
  min-height: 104px;
  padding: 28px max(5vw, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #090426;
  color: #bcaed0;
  border-top: 1px solid rgba(0, 245, 212, .35);
  font: 400 .7rem/1.5 "Space Mono", monospace;
  letter-spacing: 0;
}

.demo-footer a {
  color: var(--starbound-violet);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .safety-strip,
  .privacy-bar {
    min-height: 42px;
    padding: 10px 22px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 14px;
  }

  .safety-strip strong,
  .privacy-bar strong {
    flex: 0 0 auto;
  }

  .safety-strip span,
  .privacy-bar span {
    flex: 1 1 100%;
  }

  .privacy-bar button {
    margin-left: 0;
  }

  .demo-footer {
    min-height: 88px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--starbound-amber);
  outline-offset: 3px;
}
