:root {
  --theme-region: #0d2644;
  --theme-region-rgb: 13, 38, 68;
  --theme-base: #2f7bad;
  --theme-base-rgb: 47, 123, 173;
  --theme-primary: #cc4d11;
  --theme-primary-rgb: 204, 77, 17;
  --theme-region-light: #cfeaff;
  --theme-region-light-rgb: 207, 234, 255;
  --theme-base-light: #7cbee0;
  --theme-base-light-rgb: 124, 190, 224;
  --theme-region-dark: var(--theme-region);
  --theme-region-dark-rgb: var(--theme-region-rgb);
  --theme-base-dark: var(--theme-base);
  --theme-base-dark-rgb: var(--theme-base-rgb);
  --bg-periwinkle: var(--theme-region);
  --bg-periwinkle-soft: #123457;
  --bg-deep: #081b31;
  --bg-bloom-light: rgba(var(--theme-base-rgb), 0.18);
  --bg-bloom-mid: rgba(var(--theme-base-rgb), 0.16);
  --bg-shadow-violet: rgba(4, 14, 26, 0.45);
  --bg-corner-cool: rgba(var(--theme-base-rgb), 0.1);
  --text-on-hero: #ffffff;
  --text-on-hero-muted: rgba(255, 255, 255, 0.88);
  --text-primary: #edf7ff;
  --text-secondary: rgba(237, 247, 255, 0.76);
  --surface: rgba(13, 38, 68, 0.78);
  --surface-strong: rgba(18, 51, 83, 0.92);
  --font-display: "Montserrat", system-ui, -apple-system, sans-serif;
  --hero-lime: #f28a4b;
  --hero-teal: var(--theme-base-light);
  --hero-frame: rgba(255, 255, 255, 0.88);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-hero);
  position: relative;
  background-color: var(--bg-periwinkle);
  background-image:
    linear-gradient(
      180deg,
      rgba(var(--theme-base-rgb), 0.08) 0%,
      transparent 24%,
      transparent 62%,
      rgba(4, 14, 26, 0.32) 100%
    ),
    radial-gradient(ellipse 95% 55% at 50% -12%, var(--bg-bloom-light) 0%, transparent 58%),
    radial-gradient(ellipse 70% 46% at 100% 8%, rgba(var(--theme-base-rgb), 0.13) 0%, transparent 54%),
    radial-gradient(ellipse 75% 55% at -5% 92%, var(--bg-corner-cool) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 88%, var(--bg-shadow-violet) 0%, transparent 50%),
    radial-gradient(circle at 72% 42%, var(--bg-bloom-mid) 0%, transparent 45%),
    radial-gradient(circle at 18% 38%, rgba(var(--theme-base-light-rgb), 0.06) 0%, transparent 38%),
    radial-gradient(circle at 48% 100%, rgba(8, 27, 49, 0.62) 0%, transparent 52%),
    linear-gradient(
      165deg,
      #0d2644 0%,
      #102d4d 38%,
      #0d2644 68%,
      #081b31 100%
    );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 85% 75% at 50% 48%,
    transparent 45%,
    rgba(var(--theme-region-dark-rgb), 0.17) 100%
  );
}

body > * {
  position: relative;
  z-index: 1;
}

.site-top {
  max-width: 72rem;
  margin: 0 auto;
}

.site-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.35rem 0 1.5rem;
  background: transparent;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-on-hero);
}

.site-nav__logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.site-nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav__wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-hero-muted);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 999px;
  background: var(--theme-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav__link:hover {
  color: var(--text-on-hero);
  background-color: rgba(var(--theme-region-dark-rgb), 0.14);
  border-radius: 12px;
}

.site-nav__link--current {
  color: var(--text-on-hero);
}

.site-nav__link--current::after {
  transform: scaleX(1);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--text-on-hero);
  outline-offset: 3px;
  border-radius: 2px;
}


.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav__signup {
  display: inline-block;
  padding: 0.68rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #e56b2a 0%, var(--theme-primary) 100%);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(var(--theme-primary-rgb), 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.site-nav__search-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-on-hero);
  opacity: 0.9;
  pointer-events: none;
}

.site-footer {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  padding: 1rem 0.25rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.subpage-separator {
  display: grid;
  grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
  align-items: center;
  gap: 1rem;
  max-width: 72rem;
  margin: clamp(0.45rem, 2vw, 0.85rem) auto clamp(1.1rem, 3vw, 1.65rem);
  color: rgba(237, 247, 255, 0.64);
}

.subpage-separator__line {
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.subpage-separator__label {
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 27, 49, 0.34);
  color: rgba(237, 247, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(2, 10, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.support-hero__media,
.demo-request__media,
.install-step__media,
.practice-section__media,
.team-card__image {
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(var(--theme-base-light-rgb), 0.16) !important;
  border-radius: 0.9rem !important;
  background:
    linear-gradient(145deg, rgba(var(--theme-base-rgb), 0.26), rgba(13, 38, 68, 0.48)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 4px 14px rgba(70, 60, 90, 0.06) !important;
}

.support-hero__media,
.demo-request__media,
.install-step__media,
.practice-section__media,
.team-card__image {
  aspect-ratio: 16 / 10 !important;
}

.support-hero__image,
.demo-request__image,
.install-step__image,
.practice-section__image,
.team-card__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  background: rgba(var(--theme-base-rgb), 0.18) !important;
}

.team-card__image {
  height: auto !important;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.55rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
}

.site-footer__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__text {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 52rem) {
  .site-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-nav__search {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }

  .site-nav__actions {
    width: 100%;
    max-width: 20rem;
    flex-direction: column;
  }

  .site-nav__signup {
    width: 100%;
    text-align: center;
  }

  .site-nav__search-input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll;
  }
}
