@font-face {
  font-family: "Commissioner";
  src: url("fonts/commissioner.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@property --cube-phase {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

:root {
  --black: #030504;
  --ink: #f4f7f5;
  --muted: #949b97;
  --line: rgba(255, 255, 255, 0.14);
  --green: #45ff68;
  --blue: #0046ff;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--black);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1.5rem var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 4, 0.86);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark,
.header-link {
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  width: 2.65rem;
  flex: 0 0 2.65rem;
  align-items: center;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.header-link {
  justify-self: end;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
}

.status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 1rem var(--green);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(22, 255, 68, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
  content: "";
}

.hero-brand {
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(68vw, 56rem);
  transform: translate(-50%, -50%);
}

.hero-brand img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0.45rem rgba(91, 255, 119, 0.85))
    drop-shadow(0 0 2.7rem rgba(38, 255, 72, 0.5));
}

.hero-copy {
  position: absolute;
  right: var(--pad);
  bottom: clamp(0.8rem, 2vh, 1.5rem);
  left: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  margin-bottom: 0;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5.2vw, 6.4rem);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 span,
h2 span {
  color: var(--muted);
}

.hero-bottom {
  max-width: 31rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bottom p {
  margin-bottom: 1.5rem;
  color: #c3c9c5;
  font-size: clamp(0.86rem, 1.05vw, 1.05rem);
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.2rem 0.3rem 0.2rem 1.4rem;
  border-radius: 0.2rem;
  outline-offset: 0.3rem;
  background: var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button span {
  display: grid;
  width: 3rem;
  align-self: stretch;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
}

.button:hover {
  background: #1f5cff;
  transform: translateY(-2px);
}

.button:focus-visible,
.site-header a:focus-visible,
.scroll-cue:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--green);
}

.scroll-cue {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--muted);
}

.section {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 9vw, 11rem);
  padding: clamp(6rem, 12vw, 11rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.section-index {
  position: absolute;
  top: 2rem;
  right: var(--pad);
  color: #525854;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 200;
  letter-spacing: -0.08em;
  line-height: 1;
}

.section-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.section-media {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  width: 100%;
  max-width: 32rem;
  margin: clamp(2rem, 5vw, 5rem) 0 0;
}

.section-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

h2 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.86;
  text-transform: uppercase;
}

.section-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 48rem;
  padding-top: 5rem;
  color: #a8afab;
}

.section-copy p {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

.section-copy .lead {
  margin-bottom: 3rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 380;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.pull-quote {
  margin-top: 4rem;
  padding: 1.6rem 0 0 1.7rem;
  border-top: 1px solid var(--green);
  border-left: 1px solid var(--green);
  color: var(--ink);
}

.pull-quote strong {
  color: var(--green);
  font-weight: 500;
}

.one-button {
  background:
    radial-gradient(circle at 75% 64%, rgba(52, 255, 89, 0.08), transparent 22%),
    var(--black);
}

.cube-demo {
  --cube-phase: 62deg;
  --cube-size: clamp(4.8rem, 9vw, 7rem);
  --cube-half: clamp(2.4rem, 4.5vw, 3.5rem);
  --jump-height: clamp(6.5rem, 14vw, 10rem);
  position: relative;
  width: min(38rem, 100%);
  margin: 5rem auto 0;
  overflow: hidden;
  border-top: 1px solid rgba(69, 255, 104, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 69%, rgba(69, 255, 104, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 42%);
  perspective: 900px;
  isolation: isolate;
}

.cube-demo::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.09) 4px
  );
  mix-blend-mode: screen;
  content: "";
}

.cube-demo-readout {
  position: absolute;
  z-index: 6;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  color: rgba(209, 255, 216, 0.55);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cube-stage {
  position: relative;
  height: clamp(22rem, 48vw, 29rem);
  transform: rotateX(-2deg) rotateY(4deg);
  transform-style: preserve-3d;
}

.cube-horizon {
  position: absolute;
  right: 7%;
  bottom: 4rem;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 255, 104, 0.46), transparent);
  box-shadow: 0 0 1.2rem rgba(69, 255, 104, 0.24);
}

.cube-impact {
  position: absolute;
  bottom: 3.9rem;
  left: 50%;
  width: clamp(5rem, 13vw, 9rem);
  height: 2px;
  transform: translateX(-50%);
  background: var(--green);
  box-shadow: 0 0 1rem rgba(69, 255, 104, 0.72);
  opacity: 0.24;
}

.cube-shadow {
  position: absolute;
  bottom: 3.1rem;
  left: 50%;
  width: clamp(6rem, 14vw, 9.5rem);
  height: clamp(1rem, 2.3vw, 1.6rem);
  transform: translateX(-50%) scale(0.72);
  border-radius: 50%;
  background: rgba(41, 255, 78, 0.32);
  filter: blur(0.8rem);
  opacity: 0.25;
}

.cube-bouncer {
  position: absolute;
  bottom: 4rem;
  left: calc(50% - var(--cube-half));
  width: var(--cube-size);
  height: var(--cube-size);
  transform: translateY(-5rem);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
}

.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateX(32deg) rotateY(42deg);
  transform-style: preserve-3d;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(132, 255, 151, 0.5);
  background:
    linear-gradient(135deg, rgba(84, 255, 110, 0.26), rgba(3, 13, 6, 0.88) 64%),
    #071009;
  box-shadow:
    inset 0 0 1.6rem rgba(69, 255, 104, 0.12),
    0 0 0.8rem rgba(69, 255, 104, 0.08);
  backface-visibility: hidden;
}

.cube-face::before {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(190, 255, 200, 0.16);
  content: "";
}

.cube-face::after {
  color: rgba(227, 255, 231, 0.72);
  content: attr(data-mark);
  font-size: clamp(0.8rem, 1.7vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-shadow: 0 0 0.8rem rgba(69, 255, 104, 0.8);
}

.cube-face-front { transform: translateZ(var(--cube-half)); }
.cube-face-back { transform: rotateY(180deg) translateZ(var(--cube-half)); }
.cube-face-right { transform: rotateY(90deg) translateZ(var(--cube-half)); }
.cube-face-left { transform: rotateY(-90deg) translateZ(var(--cube-half)); }
.cube-face-top { transform: rotateX(90deg) translateZ(var(--cube-half)); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(var(--cube-half)); }

.cube-demo-hero {
  --cube-size: clamp(2.7rem, 5vw, 3.5rem);
  --cube-half: clamp(1.35rem, 2.5vw, 1.75rem);
  --jump-height: clamp(2.8rem, 5vw, 4rem);
  position: absolute;
  z-index: 3;
  top: 48%;
  left: 50%;
  width: clamp(9rem, 18vw, 12rem);
  margin: 0;
  transform: translateX(-50%);
  border: 0;
  background: none;
  perspective: 650px;
}

.cube-demo-hero::before,
.cube-demo-hero .cube-demo-readout {
  display: none;
}

.cube-demo-hero .cube-stage {
  height: clamp(9.5rem, 18vw, 12rem);
  transform: rotateX(-2deg) rotateY(4deg) scale(0.92);
}

.cube-demo-hero .cube-horizon {
  right: 4%;
  bottom: 1.75rem;
  left: 4%;
}

.cube-demo-hero .cube-impact {
  bottom: 1.7rem;
  width: clamp(3.5rem, 8vw, 5.5rem);
}

.cube-demo-hero .cube-shadow {
  bottom: 1.25rem;
  width: clamp(3.8rem, 8vw, 5.6rem);
  height: 0.7rem;
}

.cube-demo-hero .cube-bouncer {
  bottom: 1.75rem;
}

.cube-demo-hero .cube-face::after {
  font-size: clamp(0.48rem, 1vw, 0.68rem);
}

@supports (transform: translateY(calc(sin(45deg) * 1px))) {
  .cube-demo {
    --cube-phase: 0deg;
    --cube-wave: sin(var(--cube-phase));
    --cube-lift: max(var(--cube-wave), calc(-1 * var(--cube-wave)));
    --cube-impact: calc(1 - var(--cube-lift));
    animation: cube-phase 3.2s linear infinite;
  }

  .cube-bouncer {
    transform:
      translateY(calc(-1 * var(--jump-height) * var(--cube-lift)))
      scaleX(calc(1 + 0.12 * var(--cube-impact)))
      scaleY(calc(1 - 0.14 * var(--cube-impact)))
      scaleZ(calc(1 + 0.12 * var(--cube-impact)));
  }

  .cube {
    transform:
      rotateX(calc(var(--cube-phase) * 2))
      rotateY(var(--cube-phase))
      rotateZ(calc(sin(var(--cube-phase)) * 4deg));
  }

  .cube-shadow {
    transform: translateX(-50%) scale(calc(1 - 0.38 * var(--cube-lift)));
    filter: blur(calc(0.42rem + 0.72rem * var(--cube-lift)));
    opacity: calc(0.48 - 0.34 * var(--cube-lift));
  }

  .cube-impact {
    transform: translateX(-50%) scaleX(calc(0.55 + 0.45 * var(--cube-impact)));
    opacity: calc(0.08 + 0.54 * var(--cube-impact));
  }
}

.security {
  background: #f0f2ef;
  color: #080a09;
}

.security .section-index {
  color: #626262;
}

.security .eyebrow {
  color: #104d1a;
}

.security .section-copy {
  color: #5f6661;
}

.security .section-copy .lead {
  color: #080a09;
}

.security h2 {
  max-width: 11ch;
}

.security h2 span {
  color: #8a908b;
}

.button-large {
  width: min(28rem, 100%);
  min-height: 4.3rem;
  margin-top: 2.5rem;
}

.access-note {
  margin-top: 1rem;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(14rem, 1.4fr) auto;
  align-items: start;
  gap: 2rem;
  padding: 4rem var(--pad);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer img {
  display: block;
  width: min(13rem, 40vw);
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-legal {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.footer-top {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .section {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .section-heading,
  .section-media,
  .section-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .section-media {
    max-width: none;
    margin-top: 0;
  }

  .section-copy {
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-top {
    justify-self: start;
  }
}

@keyframes cube-phase {
  to { --cube-phase: 360deg; }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .status {
    display: none;
  }

  .hero-brand {
    top: 31%;
    width: 80vw;
  }

  .cube-demo-hero {
    top: 38%;
  }

  .hero-copy {
    gap: 0.65rem;
    text-align: center;
  }

  .hero-bottom {
    max-width: 34rem;
  }

  .hero-bottom p {
    max-width: 30rem;
    margin-bottom: 1rem;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-copy {
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-brand p {
    display: none;
  }

  .footer-legal {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 1rem;
  }

  .footer-top {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 49rem;
  }

  .hero-brand {
    top: 27%;
    width: 82vw;
  }

  .cube-demo-hero {
    top: 34%;
  }

  .hero-copy {
    bottom: 0.75rem;
  }

  .hero-copy > .eyebrow {
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 6rem;
  }

  .section-index {
    top: 1.5rem;
  }

  h2 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .section-copy .lead {
    margin-bottom: 2rem;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cube-demo {
    --cube-phase: 62deg;
    animation: none !important;
  }
}
