:root {
  --bg: #f5f5f2;
  --ink: #121417;
  --muted: #60666f;
  --line: #dadbd5;
  --panel: #ffffff;
  --accent: #d8ff3e;
  --accent-ink: #151900;
  --deep: #17212c;
  --blue: #2d6cdf;
  --green: #277a58;
  --rust: #b64f2a;
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(18, 20, 23, 0.14);
  background: rgba(245, 245, 242, 0.94);
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
}

.brand-text {
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.primary-link {
  background: var(--ink);
  color: #ffffff;
  padding: 0 18px;
}

.secondary-link {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 0 16px;
}

.secondary-link.compact {
  min-height: 36px;
  padding: 0 14px;
}

.hero {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  min-height: 520px;
  background:
    radial-gradient(circle at 28% 28%, rgba(216, 255, 62, 0.52), transparent 24%),
    radial-gradient(circle at 76% 34%, rgba(45, 108, 223, 0.34), transparent 28%),
    linear-gradient(135deg, #293440 0%, #101318 54%, #3b4238 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.info-band p,
.offer-band p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.product-section {
  padding: 76px 32px 88px;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 28px;
}

.product-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 20, 23, 0.35);
  box-shadow: 0 16px 36px rgba(18, 20, 23, 0.08);
}

.product-image {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    var(--tile-bg, linear-gradient(135deg, #2c3540, #111418));
  position: relative;
}

.product-image::after {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  content: "";
  opacity: 0.72;
}

.product-image::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.product-one {
  --tile-bg: linear-gradient(135deg, #1f5c4a, #17212c);
}

.product-two {
  --tile-bg: linear-gradient(135deg, #2d6cdf, #17212c);
}

.product-three {
  --tile-bg: linear-gradient(135deg, #b64f2a, #17212c);
}

.product-four {
  --tile-bg: linear-gradient(135deg, #d8ff3e, #17212c);
}

.product-body {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.product-kicker,
.product-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-title {
  font-size: 21px;
  font-weight: 900;
}

.info-band,
.offer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: 42px;
  border-top: 1px solid var(--line);
  padding: 72px 32px;
}

.info-band > *,
.offer-band > * {
  max-width: 620px;
}

.offer-band {
  align-items: center;
  background: var(--deep);
  color: #ffffff;
}

.offer-band p,
.offer-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.embed-page {
  height: 100vh;
  overflow: hidden;
  background: #050608;
}

.embed-shell {
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
}

.scroll3d-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    gap: 14px;
    padding: 0 18px;
  }

  .embed-header {
    position: relative;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 44vh;
  }

  .hero-copy {
    padding: 42px 22px 54px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 72px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-band,
  .offer-band {
    grid-template-columns: 1fr;
    padding: 54px 22px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 56px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .brand-text {
    font-size: 14px;
  }

  .product-section {
    padding: 52px 18px 64px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .embed-page .brand-text {
    display: none;
  }

  .embed-page .nav-cta {
    min-width: 96px;
  }
}
