:root {
  color-scheme: dark;
  --bg: #090807;
  --bg-soft: #12100e;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f0e8;
  --muted: #b5aaa0;
  --dim: #746c64;
  --accent: #c6503f;
  --accent-soft: rgba(198, 80, 63, 0.16);
  --metal: #d4c7b8;
  --radius-lg: 30px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: "Aptos", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.74), #090807 48rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 88px),
    var(--bg);
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: transform 420ms var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(9, 8, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand,
.nav-links,
.nav-cta {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.brand-copy,
.nav-links a,
.nav-cta {
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy {
  color: var(--muted);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  color: var(--dim);
}

.nav-links a {
  transition: color 420ms var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  transition: transform 420ms var(--ease), background 420ms var(--ease);
}

.nav-cta span,
.button span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  transition: transform 420ms var(--ease), background 420ms var(--ease);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:hover span,
.button:hover span {
  transform: translateX(2px) translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100dvh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 620px;
}

.section-kicker {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  max-width: 8ch;
  font-size: clamp(4.1rem, 7.8vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 860;
}

.hero-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2.2rem 0 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 50px;
  padding: 0.56rem 0.62rem 0.56rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 420ms var(--ease), border-color 420ms var(--ease), background 420ms var(--ease);
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-primary span {
  background: rgba(9, 8, 7, 0.08);
}

.button-secondary {
  padding-right: 1.25rem;
  border: 1px solid var(--line-soft);
  color: var(--muted);
}

.button-secondary:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.32rem 0 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  margin: 0;
  padding: 0.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 34px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-media img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
  animation: image-settle 1200ms var(--ease) both, image-breathe 9200ms var(--ease) 1300ms infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0.5rem;
  pointer-events: none;
  border-radius: calc(var(--radius-lg) - 8px);
  background: linear-gradient(90deg, rgba(9, 8, 7, 0.42), transparent 38%, rgba(9, 8, 7, 0.08));
}

.hero-media figcaption {
  position: absolute;
  left: 1.4rem;
  bottom: 1.35rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(9, 8, 7, 0.72);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 80, 63, 0.45);
  animation: pulse-dot 1800ms var(--ease) infinite;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.workflow h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6.3vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 850;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.95rem, 1.6vw, 1.25rem);
  align-items: stretch;
}

.intro-card {
  min-height: 342px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.45rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(198, 80, 63, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.intro-card:nth-child(2) {
  margin-top: 0;
}

.intro-card:nth-child(3) {
  margin-top: 0;
}

.card-number {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(198, 80, 63, 0.32);
  border-radius: 999px;
  background: rgba(198, 80, 63, 0.09);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin-bottom: clamp(3.1rem, 4.3vw, 4.4rem);
}

.intro-card h3 {
  margin: 0;
  min-height: 5.9rem;
  max-width: 10.5ch;
  display: flex;
  align-items: flex-start;
  font-size: clamp(1.95rem, 2.65vw, 2.95rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.intro-card p,
.workflow-copy p,
.timeline p,
.tech-list p,
.closing p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-card p {
  margin-bottom: 0;
  max-width: 34ch;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 7rem;
}

.workflow-copy p {
  max-width: 560px;
  font-size: 1.04rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 1.3rem 1.35rem 1.3rem 4.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.timeline li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.25rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--metal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.timeline span,
.tech-list h3 {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 790;
  letter-spacing: -0.02em;
}

.timeline p,
.tech-list p {
  margin-bottom: 0;
}

.tech-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.tech-visual {
  position: relative;
  min-height: 430px;
  border-radius: calc(var(--radius-lg) - 10px);
  background:
    linear-gradient(145deg, rgba(246, 240, 232, 0.08), transparent 48%),
    linear-gradient(180deg, #171412, #0d0c0b);
  overflow: hidden;
}

.tech-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  transform: perspective(500px) rotateX(66deg);
}

.device {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035)),
    #151311;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 28px 70px rgba(0, 0, 0, 0.44);
}

.device-vr {
  left: 18%;
  top: 33%;
  width: 58%;
  height: 28%;
  border-radius: 48px;
  animation: float-vr 5200ms var(--ease) infinite alternate;
}

.device-vr span {
  position: absolute;
  top: 38%;
  width: 20%;
  height: 30%;
  border-radius: 999px;
  background: rgba(198, 80, 63, 0.18);
  border: 1px solid rgba(198, 80, 63, 0.28);
}

.device-vr span:first-child {
  left: 22%;
}

.device-vr span:last-child {
  right: 22%;
}

.device-phone {
  right: 13%;
  bottom: 12%;
  width: 20%;
  height: 38%;
  border-radius: 26px;
  transform: rotate(8deg);
}

.device-phone span {
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(198, 80, 63, 0.28), transparent),
    rgba(255, 255, 255, 0.035);
}

.scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 80, 63, 0.9), transparent);
  animation: scan 4600ms var(--ease) infinite;
}

.tech-list {
  display: grid;
  gap: 1.35rem;
}

.tech-list article {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
}

.tech-list article:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.closing {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.closing-inner {
  max-width: 950px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(198, 80, 63, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.closing p {
  max-width: 680px;
  margin: 1.4rem 0 2rem;
  font-size: 1.05rem;
}

.page-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-footer a {
  text-decoration: none;
  transition: color 420ms var(--ease);
}

.page-footer a:hover {
  color: var(--text);
}

.reveal {
  animation: reveal-up 900ms var(--ease) both;
}

.hero-media.reveal {
  animation-delay: 120ms;
}

.intro-card:nth-child(2).reveal,
.timeline li:nth-child(2).reveal {
  animation-delay: 100ms;
}

.intro-card:nth-child(3).reveal,
.timeline li:nth-child(3).reveal {
  animation-delay: 180ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes image-settle {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

@keyframes image-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.025);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 80, 63, 0.42);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(198, 80, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 80, 63, 0);
  }
}

@keyframes float-vr {
  from {
    transform: translateY(0) rotate(-2deg);
  }
  to {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes scan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  18%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(185px);
  }
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .workflow,
  .tech-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  h1 {
    max-width: 9ch;
  }

  .workflow-copy {
    position: static;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .intro-card:nth-child(2),
  .intro-card:nth-child(3) {
    min-height: auto;
    margin-top: 0;
  }

  .card-number {
    margin-bottom: 2.2rem;
  }

  .intro-card h3 {
    margin-top: 0;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding-left: 0.55rem;
  }

  .brand-copy {
    display: none;
  }

  .nav-cta {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .hero,
  .section,
  .page-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions {
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(3.15rem, 15.4vw, 4.2rem);
    max-width: 8.5ch;
  }

  .hero-facts {
    display: none;
  }

  .hero-media {
    padding: 0.35rem;
    border-radius: 22px;
  }

  .hero-media img,
  .hero-media::after {
    border-radius: 17px;
  }

  .hero-media figcaption {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .section-heading h2,
  .workflow h2,
  .closing h2 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .timeline li {
    padding-left: 1.2rem;
    padding-top: 4.1rem;
  }

  .tech-visual {
    min-height: 320px;
  }

  .device-vr {
    left: 10%;
    width: 68%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
