:root {
  --midnight-blue: #0f1729;
  --midnight-blue-light: #1a2332;
  --midnight-blue-lighter: #2a3649;
  --accent-blue: #4d7cff;
  --accent-blue-light: #6b94ff;
  --text-gray: #cbd5e1;
  --font-sans:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  background-color: var(--midnight-blue);
  color: var(--text-gray);
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.5rem;
  }
}

/* Custom Component Styles */

/* Spline Container */
.spline-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.spline-inner {
  width: 40%;
  max-width: 350px;
  min-width: 180px;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(16%);
}

.spline-inner,
.spline-inner > div,
.spline-inner > div > div {
  width: 100% !important;
  height: 100% !important;
}

/* Allow the canvas to scale without stretching */
.spline-inner canvas,
.spline-inner iframe,
.spline-inner svg {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .spline-inner {
    width: 50%;
    max-width: 720px;
    min-height: 320px;
  }
}
@media (max-width: 640px) {
  .spline-inner {
    width: 75%;
    min-width: 180px;
    min-height: 180px;
    aspect-ratio: 4/3;
  }
}

/* Logo */
.site-logo {
  width: auto;
  height: auto;
  max-width: none;
  display: inline-block;
  vertical-align: middle;
}

.site-logo--small {
  width: 36px;
  height: 36px;
}
