@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  /* Cyan sampled from the 3D-Realm logo, its most-used accent. */
  --accent: #0fc9e0;
  --accent-hover: #2bd9ee;
  --accent-ink: #04232b;
  /* Dark ocean blue sampled from the logo's metal; CTAs only. The cyan
     rim below is what makes it read as lit hardware rather than a slab. */
  --action: #123f52;
  --action-hover: #1a5570;
  --action-ink: #ffffff;
  --surface-dark: #11161b; /* Footer and scrolled-header ground */
  --surface-panel: #171f26; /* FAQ panel, one step off the footer */
  --surface-tint: #f5f6f8; /* Light section ground */
  --surface-hero: #f4f7fc; /* Hero ground before media loads */
  --border: #dfe2e7; /* Hairline rules and card edges */
  --text-on-dark: #c3c3c3; /* Secondary text on dark ground */
  --text-subtle: #4c535d; /* Secondary text on light ground */
  --text: #242424;
  --muted: #646b75;
  --content-width: 1440px;
  --font: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 74px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  outline-offset: 4px;
}

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
}

.skip-link:focus {
  top: 12px;
}

.section-container {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.button-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--action);
  color: var(--action-ink);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  min-height: 42px;
  padding: 12px 20px;
  transition: background 0.2s ease;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.button-blue:hover {
  background: var(--action-hover);
}

/* ---- Buttons ---- */

/* Primary hero CTA, shaped like a headset visor. */
.button-goggle {
  --notch-half: 24px;
  --notch-depth: 11px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  /* Wrapped visor corners: wider radius across the top than the bottom. */
  border-radius: 26px 26px 17px 17px / 30px 30px 20px 20px;
  color: var(--action-ink);
  background: linear-gradient(
    174deg,
    #2c7597 0%,
    var(--action) 46%,
    #071f2e 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(15, 201, 224, 0.5),
    inset 0 1px 0 rgba(150, 240, 255, 0.65),
    inset 0 -4px 10px rgba(0, 12, 20, 0.45);
  /* The nose bridge, cut out of the bottom edge. */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    calc(50% + var(--notch-half) * 1.0000) 100%,
    calc(50% + var(--notch-half) * 0.9091) calc(100% - var(--notch-depth) * 0.0203),
    calc(50% + var(--notch-half) * 0.8182) calc(100% - var(--notch-depth) * 0.0794),
    calc(50% + var(--notch-half) * 0.7273) calc(100% - var(--notch-depth) * 0.1726),
    calc(50% + var(--notch-half) * 0.6364) calc(100% - var(--notch-depth) * 0.2923),
    calc(50% + var(--notch-half) * 0.5455) calc(100% - var(--notch-depth) * 0.4288),
    calc(50% + var(--notch-half) * 0.4545) calc(100% - var(--notch-depth) * 0.5712),
    calc(50% + var(--notch-half) * 0.3636) calc(100% - var(--notch-depth) * 0.7077),
    calc(50% + var(--notch-half) * 0.2727) calc(100% - var(--notch-depth) * 0.8274),
    calc(50% + var(--notch-half) * 0.1818) calc(100% - var(--notch-depth) * 0.9206),
    calc(50% + var(--notch-half) * 0.0909) calc(100% - var(--notch-depth) * 0.9797),
    50% calc(100% - var(--notch-depth) * 1.0000),
    calc(50% - var(--notch-half) * 0.0909) calc(100% - var(--notch-depth) * 0.9797),
    calc(50% - var(--notch-half) * 0.1818) calc(100% - var(--notch-depth) * 0.9206),
    calc(50% - var(--notch-half) * 0.2727) calc(100% - var(--notch-depth) * 0.8274),
    calc(50% - var(--notch-half) * 0.3636) calc(100% - var(--notch-depth) * 0.7077),
    calc(50% - var(--notch-half) * 0.4545) calc(100% - var(--notch-depth) * 0.5712),
    calc(50% - var(--notch-half) * 0.5455) calc(100% - var(--notch-depth) * 0.4288),
    calc(50% - var(--notch-half) * 0.6364) calc(100% - var(--notch-depth) * 0.2923),
    calc(50% - var(--notch-half) * 0.7273) calc(100% - var(--notch-depth) * 0.1726),
    calc(50% - var(--notch-half) * 0.8182) calc(100% - var(--notch-depth) * 0.0794),
    calc(50% - var(--notch-half) * 0.9091) calc(100% - var(--notch-depth) * 0.0203),
    calc(50% - var(--notch-half) * 1.0000) 100%,
    0 100%
  );
  /* No outer glow: clip-path is applied after filter and box-shadow, so any
     outer shadow gets cut off square at the bounding box. */
  transition: transform 0.2s ease, background 0.2s ease;
}

/* Gloss across the top of the visor. */
.button-goggle::before {
  content: "";
  position: absolute;
  inset: 3px 9px auto 9px;
  height: 44%;
  border-radius: 28px 28px 50% 50% / 22px 22px 100% 100%;
  background: linear-gradient(
    180deg,
    rgba(160, 238, 255, 0.26),
    rgba(160, 238, 255, 0)
  );
  pointer-events: none;
}

/* Shading where the strap would meet the shell. */
.button-goggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 14, 22, 0.45), transparent 9%),
    linear-gradient(270deg, rgba(0, 14, 22, 0.45), transparent 9%);
  pointer-events: none;
}

/* Header version: same silhouette, scaled for a 74px bar. */
.button-goggle-sm {
  --notch-half: 15px;
  --notch-depth: 7px;
  min-height: 40px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.03em;
  border-radius: 19px 19px 12px 12px / 22px 22px 15px 15px;
}

.button-goggle-sm::before {
  inset: 2px 7px auto 7px;
  height: 46%;
  border-radius: 20px 20px 50% 50% / 16px 16px 100% 100%;
}

.button-goggle span {
  position: relative;
  z-index: 1;
}

.button-goggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(
    174deg,
    #3a90b8 0%,
    var(--action-hover) 46%,
    #0b2d42 100%
  );
}

.button-goggle:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 2px var(--accent),
    inset 0 1px 0 rgba(150, 240, 255, 0.65),
    inset 0 -4px 10px rgba(0, 12, 20, 0.45);
}

@media (max-width: 900px) {
  .section-container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 700px) {
  .button-goggle-sm {
    --notch-half: 12px;
    --notch-depth: 6px;
    min-height: 34px;
    padding: 0 16px;
    font-size: 11px;
  }
  .section-container {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
