:root {
  --bg: #05070a;
  --text: #fff;
  --muted: rgba(255,255,255,.74);
  --dim: rgba(255,255,255,.48);
  --line: rgba(255,255,255,.16);
  --panel: #f3f3ef;
  --panelText: #050505;
  --deep: #07070b;
  --accent: #aaa;
  --accent2: #10759f;
  --max: 1680px;

  --display: "Mona Sans", "Source Sans 3", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #05070a;
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
}

body.site-loading {
  opacity: 0;
  visibility: hidden;
}

body.site-ready {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 420ms ease,
    visibility 0s linear 0s;
}

html:not(.js) body.site-loading {
  opacity: 1;
  visibility: visible;
}

body.menu-locked {
  overflow-x: hidden;
  overflow-y: hidden;
  touch-action: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-family: "Mona Sans", var(--display);
  font-weight: 500;
}

p {
    font-weight:300;
}

p.logo {
    font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #000;
}

.header-inner {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

img.logo {
  max-width: 120px;
}

img.logo-down {
  max-width: 100%;
  padding-right: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-family: "Mona Sans", var(--display);
  font-weight: 300;
  font-stretch: 125%;
  font-size: .92rem;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #fff;
}

.icon-link {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .92;
}

/* Hero */
.hero {
  position: relative;
  min-height: 73vh;
  padding: 21vh 0 3vh;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .72fr;
  gap: 70px;
  align-items: center;
}

.hero-title {
  margin: 0;
  max-width: 1080px;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: clamp(2.5rem, 4.4vw, 6.7rem);
  line-height: .91;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title .indent {
  display: block;
  padding-left: 34%;
}

.hero-title .mark {
  color: var(--accent);
  letter-spacing: -.16em;
  display: inline-block;
  transform: translateY(-.02em) scaleX(1.05);
  margin: 0 .08em 0 .04em;
}

.hero-side {
  align-self: center;
  padding-top: 28px;
}

.accent-line {
  width: 48px;
  height: 6px;
  background: var(--accent);
  margin-bottom: 28px;
}

.hero-side h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  letter-spacing: -.014em;
  line-height: 1.02;
}

.hero-side p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 1.28rem;
  line-height: 1.45;
  max-width: 520px;
  font-weight: 300;
}

.hero-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 1rem;
}

.hero-link span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
  transform: rotate(270deg);
}

.quick-mark {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  color: #fff;
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.06em;
}

/* Cards */
.cards-section {
  padding: 42px 0 96px;
  position: relative;
  z-index: 4;
}

.cards-grid {
  width: min(var(--max), calc(100% - 144px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
}

.insight-card {
  min-height: 390px;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--panel);
  color: var(--panelText);
  position: relative;
  overflow: hidden;
}

.insight-card.dark {
  background:
    radial-gradient(circle at 74% 82%, rgb(39 190 252 / 48%), transparent 26%),
    linear-gradient(135deg, #10101a 0%, #050506 62%);
  color: #fff;
}

.insight-card.deep {
  background:
    radial-gradient(circle at 82% 86%, rgb(2 159 225 / 57%), transparent 30%),
    radial-gradient(circle at 58% 68%, rgba(255,255,255,.12), transparent 20%),
    #050509;
  color: #fff;
}

.card-type {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .03em;
}

.card-title {
  margin: 32px 0 auto;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: clamp(1.35rem, 1.55vw, 2rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  max-width: 92%;
}

.card-footer {
  margin-top: 70px;
  color: inherit;
  opacity: .84;
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 800;
  font-stretch: 125%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-arrow {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 600;
  transform: rotate(270deg);
}

/* Light sections */
.light-section {
  background: #fff;
  color: #05070a;
  border-top: 0;
}

.light-section .section-kicker {
  color: var(--accent);
}

.light-section .split-title,
.light-section h2,
.light-section h3 {
  color: #05070a;
}

.light-section .split-copy {
  color: rgba(5, 7, 10, .74);
}

.light-section .capability {
  background: rgba(255,255,255,.16);
  color: #05070a;
}

.light-section .capability p {
  color: rgba(5, 7, 10, .68);
}

.light-section .hero-link {
  color: #05070a;
}

/* Split sections */
.split-section {
  padding: 100px 0;
}

.split-inner {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 80px;
  align-items: start;
}

.section-kicker {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  margin-bottom: 18px;
}

.split-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: clamp(2.2rem, 4.6vw, 6rem);
  line-height: .92;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.split-copy {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.35rem;
  line-height: 1.52;
  max-width: 810px;
  font-weight: 400;
}

.capability-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability {
  background: #1010159c;
  padding: 24px;
  min-height: 160px;
}

.capability h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 1.25rem;
  letter-spacing: -.04em;
}

.capability p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.45;
  font-size: 1.02rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 calc(42px + env(safe-area-inset-bottom));
  background: #000;
}

.footer-inner {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255,255,255,.64);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-links a:hover {
  color: #fff;
}

/* Header responsive controls */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 80;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transform-origin: center;
  transition:
    transform 220ms ease,
    opacity 160ms ease,
    top 220ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* Animations */
@keyframes aerSmokeDrift {
  0% {
    transform: translate3d(-18px, 6px, 0) scale(1) rotate(-1deg);
    filter: blur(22px);
  }

  45% {
    transform: translate3d(16px, -10px, 0) scale(1.045) rotate(.7deg);
    filter: blur(26px);
  }

  100% {
    transform: translate3d(34px, 10px, 0) scale(1.08) rotate(1.4deg);
    filter: blur(30px);
  }
}

@keyframes aerSmokePulse {
  0%, 100% {
    opacity: .58;
  }

  42% {
    opacity: .82;
  }

  68% {
    opacity: .66;
  }
}

@keyframes aerDotField {
  0% {
    background-position: 0 0, 7px 11px;
  }

  100% {
    background-position: 120px 70px, -83px 101px;
  }
}

@keyframes aerDotFloat {
  0% {
    transform: rotate(-5deg) translate3d(-12px, 4px, 0) scale(1);
  }

  100% {
    transform: rotate(-4deg) translate3d(18px, -12px, 0) scale(1.025);
  }
}

@keyframes aerDotBreath {
  0%, 100% {
    opacity: .22;
    filter: drop-shadow(0 0 5px rgba(0,180,255,.12));
  }

  48% {
    opacity: .42;
    filter: drop-shadow(0 0 12px rgba(0,180,255,.26));
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-title .indent {
    padding-left: 16%;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(var(--max), calc(100% - 64px));
    gap: 24px;
  }

  .split-inner {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .site-header {
    background: #000;
  }

  .header-inner,
  .hero-inner,
  .quick-mark,
  .split-inner,
  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .header-inner {
    min-height: 57px;
    position: relative;
    z-index: 81;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 420px);
    
    min-height: 100%;
    z-index: 70;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    padding:
      104px
      28px
      calc(34px + env(safe-area-inset-bottom));

    background: #000;
    border-left: 1px solid rgba(255,255,255,.14);

    transform: translateX(105%);
    transition: transform 280ms ease;
  }

  .site-header[data-menu-open="true"] .mobile-panel {
    transform: translateX(0);
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav a {
    width: 100%;
    padding: 20px 0;
    font-size: 22px;
    line-height: .95;
    font-weight: 300;
    font-stretch: 125%;
    letter-spacing: .5px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active,
  .nav a:hover {
    color: var(--accent);
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 28px;
  }

  .header-actions .icon-link:not(:last-child) {
    display: none;
  }

  .icon-link {
    font-size: .95rem;
    opacity: .72;
  }

  

  .site-header[data-menu-open="true"]::after {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 170px 0 58px;
  }

  .hero-title {
    font-size: clamp(2.36rem, 5vw, 6.2rem);
  }

  .hero-title .indent {
    padding-left: 0;
  }

  .hero-side p {
    font-size: 1.1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    width: min(var(--max), calc(100% - 28px));
  }

  .insight-card {
    min-height: 300px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final iOS safe-area authority */
@supports (padding: env(safe-area-inset-bottom)) {
  html,
  body {
    background: #000;
  }

  body {
    min-height: 100lvh;
  }

  body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: env(safe-area-inset-bottom);
    background: #000;
    z-index: 2147483647;
    pointer-events: none;
  }

  .site-footer {
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
  }

  @media (max-width: 760px) {
    .mobile-panel {
      
      min-height: 100%;
      padding-bottom: calc(34px + env(safe-area-inset-bottom));
    }
  }
 @media (max-width: 760px) {
  .hero,
  .knox-product-hero {
    min-height: 100svh;
    padding-bottom: calc(72px + env(safe-area-inset-bottom) + var(--browser-bottom-inset, 0px));
  }

  .site-footer {
    padding-bottom: calc(42px + env(safe-area-inset-bottom) + var(--browser-bottom-inset, 0px));
  }

  .mobile-panel {
   
    min-height: 100%;
    padding-bottom: calc(34px + env(safe-area-inset-bottom) + var(--browser-bottom-inset, 0px));
  }
}