:root {
  --bg: #020304;
  --bg-soft: #06070a;
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f2f4;
  --muted: rgba(242, 242, 244, 0.68);
  --accent: #f8f8f8;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 58% 22%, rgba(36, 46, 63, 0.12), transparent 24%),
    linear-gradient(180deg, #020304 0%, #010203 52%, #030406 100%);
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 14px 0;
  background: #010203;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
}

.brand-name,
.eyebrow {
  letter-spacing: 0.24em;
  font-size: 0.845rem;
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow {
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a:hover,
.secondary-link:hover {
  color: var(--text);
}

main {
  width: 100%;
}

.section-divider {
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - 32px), var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  align-items: center;
  gap: 10px;
  min-height: calc(100svh - 62px);
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 410px;
  margin: 0;
  text-align: left;
}

.hero h1 {
  margin: 14px 0 0;
  font-family: "Manrope", sans-serif;
  font-weight: 250;
  line-height: 1;
  letter-spacing: 0.075em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(0.72rem, 1.8vw, 1.7rem);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1vw, 15px);
}

.hero-brand-mark {
  width: clamp(15px, 1.2vw, 20px);
  height: clamp(15px, 1.2vw, 20px);
  flex: 0 0 auto;
  border: 1.2px solid rgba(255, 255, 255, 0.88);
  transform: rotate(45deg);
  margin-top: 0.02em;
}

.hero-brand-text {
  display: inline-block;
}

.eyebrow {
  margin: 12px 0 0;
}

.hero-text {
  max-width: 42rem;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(0.8575rem, 0.94vw, 0.9375rem);
  letter-spacing: 0.03em;
  line-height: 1.52;
  margin-left: 0;
  margin-right: 0;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-weight: 650;
}

.primary-cta:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.hero-visual {
  position: relative;
  height: min(92vh, 940px);
  min-height: 640px;
  margin-top: 0;
  overflow: visible;
  pointer-events: none;
}

.hero-globe {
  position: absolute;
  right: -4%;
  bottom: -10%;
  width: min(74vw, 920px);
  max-width: 920px;
  height: auto;
  opacity: 0.82;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding-top: 44px;
    gap: 0;
  }

  .hero-copy {
    margin: 108px auto 0;
    max-width: 34rem;
    text-align: center;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(0.98rem, 3vw, 1.9rem);
  }

  .hero-text {
    max-width: 30rem;
    font-size: 0.98rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    height: min(56vh, 680px);
    min-height: 460px;
    margin-top: 20px;
    overflow: hidden;
  }

  .hero-globe {
    left: 50%;
    right: auto;
    top: 0;
    bottom: auto;
    width: min(96vw, 820px);
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section-divider::after {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    padding: 18px 0;
    background: #010203;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 18px;
    gap: 0;
  }

  .hero-copy {
    margin: 34px auto 0;
    max-width: 21.5rem;
    text-align: center;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(0.7925rem, 4.2vw, 1.2325rem);
    line-height: 0.98;
  }

  .eyebrow {
    font-size: 0.6575rem;
  }

  .hero-brand-lockup {
    gap: 10px;
    justify-content: center;
  }

  .hero-brand-mark {
    width: 14px;
    height: 14px;
  }

  .hero-text {
    max-width: 23rem;
    margin-top: 12px;
    font-size: 0.8175rem;
    line-height: 1.46;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 100%;
    height: min(50vh, 500px);
    min-height: 370px;
    margin-top: 10px;
    overflow: hidden;
  }

  .hero-globe {
    top: 0;
    bottom: auto;
    width: min(106vw, 520px);
    opacity: 0.72;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

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

  .primary-cta {
    transition: none !important;
  }
}
