:root {
  --bg: #170f22;
  --bg-2: #1f1530;
  --surface: #251a3a;
  --line: #3a2b56;
  --violet: #8b6cf2;
  --violet-bright: #a78bfa;
  --lilac: #c9b8f5;
  --ink: #ece6fb;
  --ink-dim: #a99bc9;
  --rose: #e6a9e8;
  --arrow-bg: rgba(23, 15, 34, .65);
  --dot-bg: rgba(236, 230, 251, .35);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

:root[data-theme="light"] {
  --bg: #faf8ff;
  --bg-2: #f1ecfb;
  --surface: #ffffff;
  --line: #e1d7f7;
  --violet: #8b6cf2;
  --violet-bright: #7c4dff;
  --lilac: #6d4fc4;
  --ink: #221735;
  --ink-dim: #6b5c85;
  --rose: #c85fc8;
  --nav-bg: rgba(255, 255, 255, .75);
  --overlay-bg: rgba(23, 15, 34, .5);
  --arrow-bg: rgba(255, 255, 255, .75);
  --dot-bg: rgba(34, 23, 53, .3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  transition: background .35s ease;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

h1,
h2,
h3,
.brand {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}


a {
  color: inherit;
}



::selection {
  background: var(--violet);
  color: #100a19;
}

/* Global Section Spacing & Headers */
section {
  padding: 80px 6vw;
  max-width: 1080px;
  margin: 0 auto;
}

@media(min-width: 760px) {
  section {
    padding: 100px 6vw;
  }
}

@media(max-width: 420px) {
  section {
    padding: 56px 5vw;
  }
}

.section-head {
  margin-bottom: 48px;
}

.section-head .kicker {
  color: var(--violet-bright);
  font-size: .85rem;
  margin: 0 0 8px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  font-weight: 600;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media(prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* FOOTER */
footer {
  position: relative;
  text-align: center;
  padding: 48px 6vw 40px;
  color: var(--ink-dim);
  font-size: .85rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col p {
  margin: 0;
  font-size: .85rem;
}

.footer-links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-self: center;
}

.footer-links a,
.footer-copy {
  color: var(--ink-dim);
}

.footer-links a {
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--violet-bright);
}

.footer-social {
  flex-direction: row;
  align-items: center;
  align-self: center;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.footer-social a:hover {
  border-color: var(--violet-bright);
  color: var(--violet-bright);
  transform: translateY(-3px);
}

@media(max-width: 640px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}