:root {
  color-scheme: dark;
  --page-bg: #050713;
  --panel: rgba(10, 14, 32, 0.72);
  --line: rgba(129, 214, 255, 0.2);
  --text: #f4f7fb;
  --muted: #aeb9d4;
  --cyan: #3ce7ff;
  --violet: #a86cff;
  --amber: #ffbc66;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(60, 231, 255, 0.06), transparent 28%),
    linear-gradient(225deg, rgba(255, 188, 102, 0.08), transparent 26%),
    var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 7, 19, 0.2), rgba(5, 7, 19, 0.92));
}

.glass-nav {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 24, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.section-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 17, 42, 0.84), rgba(6, 9, 24, 0.78));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.feature-card {
  border: 1px solid rgba(129, 214, 255, 0.16);
  background: linear-gradient(180deg, rgba(16, 22, 54, 0.82), rgba(8, 12, 31, 0.82));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 231, 255, 0.42);
  background: linear-gradient(180deg, rgba(20, 28, 64, 0.9), rgba(9, 13, 34, 0.9));
}

.text-gradient {
  background: linear-gradient(90deg, #f9fbff, #74e8ff 40%, #c99cff 72%, #ffd08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 19, 0.94), rgba(5, 7, 19, 0.66) 44%, rgba(5, 7, 19, 0.16)),
    linear-gradient(180deg, rgba(5, 7, 19, 0.32), rgba(5, 7, 19, 0.92));
}

.media-frame {
  overflow: hidden;
  border: 1px solid rgba(129, 214, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 70px rgba(0, 0, 0, 0.38);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-tile {
  border-left: 1px solid rgba(129, 214, 255, 0.2);
  background: linear-gradient(90deg, rgba(60, 231, 255, 0.08), transparent);
}

.soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 214, 255, 0.28), rgba(168, 108, 255, 0.28), transparent);
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #2fd9ff, #8c61ff 54%, #ffb35a);
  color: #050713;
  box-shadow: 0 18px 48px rgba(60, 231, 255, 0.18);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(129, 214, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.placeholder-shot {
  min-height: 220px;
  border: 1px dashed rgba(129, 214, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(60, 231, 255, 0.06), transparent 42%),
    linear-gradient(225deg, rgba(168, 108, 255, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.025);
}

.placeholder-shot::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page {
  background: #070a18;
}

.legal-card {
  border: 1px solid rgba(129, 214, 255, 0.16);
  background: rgba(10, 14, 32, 0.82);
}

.break-all {
  word-break: break-all;
}

@media (max-width: 767px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 7, 19, 0.7), rgba(5, 7, 19, 0.94)),
      linear-gradient(90deg, rgba(5, 7, 19, 0.82), rgba(5, 7, 19, 0.34));
  }

  .mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 180ms ease;
  }

  .mobile-menu.is-open {
    max-height: 360px;
  }
}
