:root {
  --ink: #07111f;
  --ink-soft: #0d1b2d;
  --frost: #f6f8fc;
  --mist: #a9b6c8;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #2f7dff;
  --blue-bright: #56b7ff;
  --orange: #ff8a34;
  --orange-bright: #ffc069;
  --green: #61d7a2;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--frost);
  background: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

nav { display: flex; align-items: center; gap: 28px; }

nav a {
  color: rgba(246, 248, 252, 0.72);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { color: white; }

.nav-download {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  min-height: 850px;
  padding: 154px max(24px, calc((100vw - 1240px) / 2)) 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 125, 255, 0.14), transparent 31%),
    radial-gradient(circle at 92% 68%, rgba(255, 138, 52, 0.08), transparent 22%),
    linear-gradient(145deg, #07111f 0%, #09182a 55%, #07111f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--mist);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero .eyebrow { display: flex; align-items: center; gap: 9px; }

.hero .eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 6.4vw, 94px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(246, 248, 252, 0.7);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, nav a:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 4px; }

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(47, 125, 255, 0.3);
}

.button-primary:hover { box-shadow: 0 18px 42px rgba(47, 125, 255, 0.42); }

.button-secondary {
  color: var(--frost);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.trust-line {
  margin: 18px 0 0;
  color: rgba(246, 248, 252, 0.42);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero-demo { position: relative; min-width: 0; }

.demo-shell {
  position: relative;
  z-index: 2;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.22);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
}

.demo-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  color: rgba(246, 248, 252, 0.62);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i { width: 8px; height: 8px; border-radius: 50%; background: #ff665c; }
.traffic-lights i:nth-child(2) { background: #ffbd45; }
.traffic-lights i:nth-child(3) { background: #36c84b; }

.listening { justify-self: end; display: flex; align-items: center; gap: 6px; color: var(--green); }
.listening i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

video {
  display: block;
  width: 100%;
  aspect-ratio: 488 / 360;
  border-radius: 18px;
  background: #09111a;
  object-fit: cover;
}

.demo-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0 20px;
  color: rgba(246, 248, 252, 0.55);
  font-size: 12px;
}

.demo-caption span { color: var(--orange); font-family: "Space Mono", monospace; }

.demo-orbit {
  position: absolute;
  z-index: 1;
  width: 160px;
  height: 160px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.42;
  filter: drop-shadow(0 0 14px currentColor);
}

.demo-orbit::before, .demo-orbit::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.demo-orbit::after { inset: 43px; background: currentColor; opacity: 0.35; }
.demo-orbit-blue { top: -52px; left: -58px; color: var(--blue-bright); animation: breathe 3.2s ease-in-out infinite; }
.demo-orbit-orange { right: -64px; bottom: -46px; color: var(--orange); animation: breathe 3.2s 1.1s ease-in-out infinite; }

@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.7; } }

.gesture-sequence {
  padding: 120px max(24px, calc((100vw - 1160px) / 2));
  color: var(--ink);
  background: var(--frost);
}

.section-intro { max-width: 610px; margin-bottom: 72px; }
.section-intro .eyebrow, .shortcut-copy .eyebrow, .detail-heading .eyebrow, .download-panel .eyebrow { color: #5e6c7d; }

.section-intro h2, .shortcut-copy h2, .detail-heading h2, .download-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child { color: #627083; font-size: 18px; }

.sequence-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 22px;
}

.sequence-step { position: relative; }
.step-number { color: #8b98a7; font-family: "Space Mono", monospace; font-size: 11px; }
.sequence-step h3 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.sequence-step p { max-width: 280px; color: #657386; font-size: 14px; line-height: 1.65; }
.sequence-arrow { margin-top: 102px; color: #b5bfcb; font-size: 25px; }

.gesture-stage {
  position: relative;
  height: 178px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid #cbd3de;
  border-radius: 22px;
  background:
    linear-gradient(rgba(9, 24, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 24, 42, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #f6f8fb, #e1e6ee);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px white, 0 18px 40px rgba(17, 35, 57, 0.08);
}

.contact {
  position: absolute;
  top: 64px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.contact-anchor { left: 31%; background: var(--blue); box-shadow: 0 0 0 14px rgba(47, 125, 255, 0.12), 0 0 34px rgba(47, 125, 255, 0.34); }
.contact-action { right: 24%; background: var(--orange); box-shadow: 0 0 0 12px rgba(255, 138, 52, 0.12), 0 0 30px rgba(255, 138, 52, 0.28); }
.stage-rest .contact-anchor { left: calc(50% - 24px); }
.stage-click b { position: absolute; right: 10%; bottom: 14px; padding: 6px 9px; border-radius: 8px; color: white; background: var(--ink); font-family: "Space Mono", monospace; font-size: 12px; }

.intent-line {
  position: absolute;
  top: 87px;
  left: calc(31% + 46px);
  right: calc(24% + 46px);
  border-top: 2px dashed rgba(255, 138, 52, 0.7);
}

.pulse { animation: press 1.8s ease-in-out infinite; }
@keyframes press { 45%, 60% { transform: scale(0.78); box-shadow: 0 0 0 22px rgba(255, 138, 52, 0.18); } }

.shortcut-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: center;
  padding: 100px max(24px, calc((100vw - 1160px) / 2));
  background: #dce5f2;
  color: var(--ink);
}

.shortcut-copy h2 { margin: 0; }
.shortcut-map { border-top: 1px solid rgba(7, 17, 31, 0.18); }
.shortcut-map > div { display: flex; align-items: center; gap: 10px; padding: 24px 0; border-bottom: 1px solid rgba(7, 17, 31, 0.18); }
.shortcut-map p { display: flex; flex-direction: column; flex: 1; margin: 0 18px 0 0; }
.shortcut-map b { font-size: 16px; }
.shortcut-map small { margin-top: 3px; color: #627083; }
.direction { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; font-size: 20px; }
.direction-left { background: var(--orange); }
.direction-right { background: var(--blue); }
kbd { min-width: 36px; padding: 8px; border: 1px solid rgba(7, 17, 31, 0.16); border-bottom-width: 3px; border-radius: 8px; background: rgba(255, 255, 255, 0.6); font-family: "Space Mono", monospace; text-align: center; }

.details {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  padding: 130px max(24px, calc((100vw - 1160px) / 2));
  background: #f8f9fc;
  color: var(--ink);
}

.detail-heading { position: sticky; top: 50px; align-self: start; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d7dde6; border-left: 1px solid #d7dde6; }
.detail-grid article { min-height: 260px; padding: 28px; border-right: 1px solid #d7dde6; border-bottom: 1px solid #d7dde6; }
.detail-grid article > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 42px; border-radius: 13px; color: white; background: var(--ink-soft); font-size: 21px; }
.detail-grid article:nth-child(2) > span, .detail-grid article:nth-child(3) > span { background: var(--blue); }
.detail-grid h3 { margin-bottom: 9px; font-size: 17px; letter-spacing: -0.02em; }
.detail-grid p { margin: 0; color: #677588; font-size: 14px; line-height: 1.65; }

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(86, 183, 255, 0.18), transparent 24%),
    radial-gradient(circle at 92% 90%, rgba(255, 138, 52, 0.15), transparent 26%),
    var(--ink-soft);
  box-shadow: var(--shadow);
}

.download-panel > img { width: 142px; height: 142px; border-radius: 30px; }
.download-panel h2 { margin-bottom: 10px; color: white; font-size: clamp(36px, 4vw, 58px); }
.download-panel > div > p:last-child { margin: 0; color: var(--mist); }
.download-panel .eyebrow { margin-bottom: 14px; color: var(--orange-bright); }
.button-light { color: var(--ink); background: white; white-space: nowrap; }

footer {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 44px max(24px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  color: rgba(246, 248, 252, 0.55);
  font-size: 11px;
  line-height: 1.6;
}

footer p { margin: 0; }
footer > a, footer p a { color: white; text-underline-offset: 3px; }
.footer-brand span { display: none; }
.fine-print { color: rgba(246, 248, 252, 0.36); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .hero-copy { max-width: 720px; }
  .hero-demo { width: min(720px, 100%); margin: 20px auto 0; }
  .sequence-track { grid-template-columns: 1fr; gap: 28px; }
  .sequence-arrow { display: none; }
  .sequence-step { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; }
  .gesture-stage { grid-column: 2; width: min(480px, 100%); }
  .sequence-step h3, .sequence-step p { grid-column: 2; }
  .shortcut-band, .details { grid-template-columns: 1fr; gap: 54px; }
  .detail-heading { position: static; }
  .download-panel { grid-template-columns: auto 1fr; }
  .download-panel .button { grid-column: 1 / -1; }
  footer { grid-template-columns: auto 1fr; }
}

@media (max-width: 650px) {
  .site-header { width: calc(100% - 32px); }
  nav a:not(.nav-download) { display: none; }
  .hero { padding-inline: 18px; padding-bottom: 80px; }
  h1 { font-size: clamp(48px, 16vw, 72px); }
  .demo-shell { padding: 6px; border-radius: 20px; transform: none; }
  .demo-bar { min-height: 38px; }
  .demo-bar > span:nth-child(2) { display: none; }
  video { border-radius: 14px; }
  .demo-orbit { width: 100px; height: 100px; }
  .gesture-sequence, .shortcut-band, .details { padding-block: 82px; }
  .shortcut-map > div { flex-wrap: wrap; }
  .shortcut-map p { min-width: calc(100% - 76px); margin-right: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid article { min-height: 220px; }
  .download-panel { grid-template-columns: 1fr; width: calc(100% - 32px); padding: 30px; text-align: center; }
  .download-panel > img { width: 112px; height: 112px; margin: auto; }
  .download-panel .button { grid-column: auto; }
  footer { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
