﻿* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

.page-shell,
.home-image-page,
.product-detail-page,
.products-page-premium,
.services-page-premium,
.about-page-premium,
.contact-page,
.legal-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

.section-container,
.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(100% - 32px, 1200px);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  min-width: 0;
}

.logo img,
.site-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 220px;
  object-fit: contain;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(153, 185, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.76);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.mobile-nav {
  display: grid;
  width: min(100% - 32px, 420px);
  gap: 4px;
  margin: 0 auto 14px;
  border: 1px solid rgba(153, 185, 255, 0.16);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.98);
  padding: 12px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a:not(.button) {
  display: block;
  border-radius: 8px;
  padding: 12px 10px;
  color: #e6edf7;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.product-screenshot-button,
.product-preview {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.product-screenshot-button img,
.product-preview img,
.product-detail-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
  }

  .desktop-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}
