:root {
  color-scheme: dark;
  --canvas: #080b0f;
  --surface: #10151b;
  --surface-raised: #151c24;
  --ink: #f5f7f8;
  --muted: #aeb7c1;
  --dim: #8995a1;
  --line: #2a333d;
  --line-strong: #3b4651;
  --gold: #f3b83f;
  --gold-ink: #171105;
  --aqua: #68ded0;
  --focus: #8cecdf;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1240px;
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --shadow-product: 0 24px 70px rgb(0 0 0 / 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.site-landing {
  position: relative;
  isolation: isolate;
  background: #05080c;
}

#main-content,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  contain: strict;
  background:
    radial-gradient(circle at 18% 8%, rgb(35 103 104 / 0.20), transparent 38%),
    radial-gradient(circle at 88% 24%, rgb(126 81 28 / 0.14), transparent 34%),
    linear-gradient(145deg, #070b10 0%, #05080c 48%, #080c11 100%);
}

.site-atmosphere > span {
  position: absolute;
  display: block;
}

.site-atmosphere__aurora {
  z-index: 1;
  width: min(94vmax, 1280px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.46;
  will-change: transform, opacity;
}

.site-atmosphere__aurora--a {
  top: -52%;
  left: -30%;
  background: radial-gradient(circle, rgb(51 157 151 / 0.44) 0%, rgb(24 73 82 / 0.20) 38%, transparent 70%);
  animation: atmosphere-aurora-a 24s ease-in-out infinite alternate;
}

.site-atmosphere__aurora--b {
  top: 2%;
  right: -46%;
  opacity: 0.34;
  background: radial-gradient(circle, rgb(161 104 36 / 0.40) 0%, rgb(77 48 21 / 0.18) 40%, transparent 70%);
  animation: atmosphere-aurora-b 31s ease-in-out infinite alternate;
}

.site-atmosphere__aurora--c {
  bottom: -58%;
  left: 12%;
  opacity: 0.32;
  background: radial-gradient(circle, rgb(42 109 119 / 0.38) 0%, rgb(20 51 68 / 0.16) 42%, transparent 72%);
  animation: atmosphere-aurora-c 28s ease-in-out infinite alternate;
}

.site-atmosphere__grid {
  inset: -42% -24%;
  z-index: 2;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(90deg, rgb(104 222 208 / 0.15) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(ellipse at 64% 48%, #000 0%, rgb(0 0 0 / 0.72) 34%, transparent 74%);
  transform: perspective(920px) rotateX(61deg) rotateZ(-9deg) scale(1.28);
  transform-origin: 62% 52%;
  will-change: transform, opacity;
  animation: atmosphere-grid-drift 34s linear infinite alternate;
}

.site-atmosphere__ring {
  z-index: 3;
  aspect-ratio: 1;
  border: 1px solid rgb(104 222 208 / 0.14);
  border-radius: 50%;
  opacity: 0.44;
  will-change: transform, opacity;
}

.site-atmosphere__ring::before,
.site-atmosphere__ring::after {
  position: absolute;
  content: "";
  border: 1px solid rgb(245 247 248 / 0.08);
  border-radius: inherit;
}

.site-atmosphere__ring::before {
  inset: 14%;
}

.site-atmosphere__ring::after {
  inset: 34%;
  border-color: rgb(243 184 63 / 0.12);
}

.site-atmosphere__ring--a {
  top: 7%;
  right: 4%;
  width: min(42vw, 620px);
  animation: atmosphere-ring-a 30s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.site-atmosphere__ring--b {
  bottom: -18%;
  left: -8%;
  width: min(34vw, 480px);
  opacity: 0.28;
  animation: atmosphere-ring-b 36s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.site-atmosphere__beam {
  top: -30%;
  left: -34vw;
  z-index: 4;
  width: min(26vw, 440px);
  height: 160%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgb(104 222 208 / 0.10) 44%, rgb(243 184 63 / 0.06) 58%, transparent);
  transform: skewX(-16deg) translate3d(-26vw, 0, 0);
  will-change: transform, opacity;
  animation: atmosphere-beam-sweep 22s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a,
summary {
  -webkit-tap-highlight-color: rgb(104 222 208 / 0.18);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(8 11 15 / 0.96);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 170px;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a,
.header-login {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.primary-nav a:hover,
.header-login:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.button {
  appearance: none;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms ease-out, border-color 160ms ease-out, background-color 160ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--compact {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.button--primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.button--primary:hover {
  background: #ffca5d;
}

.button--secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--muted);
  background: var(--surface);
}

.hero-intro {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding-bottom: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
}

.hero-intro__eyebrow {
  margin: 0 0 8px;
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: intro-content-rise 620ms 80ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-intro__title {
  max-width: 1200px;
  font-size: clamp(2.15rem, 2.8vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
  animation: intro-content-rise 720ms 150ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-intro__title span {
  display: inline;
}

.hero-intro__description {
  max-width: 1100px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.45;
  text-wrap: pretty;
  animation: intro-content-rise 720ms 230ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-intro__cta {
  min-width: 230px;
  min-height: 48px;
  margin-top: 12px;
  padding-inline: 24px;
  gap: 12px;
  border-color: rgb(202 255 96 / 0.44);
  background: linear-gradient(90deg, #c8ff58 0%, #b9f7bd 100%);
  color: #07110a;
  box-shadow: 0 12px 30px rgb(121 216 106 / 0.12);
  animation: intro-content-rise 720ms 310ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-intro__cta:hover {
  border-color: rgb(216 255 139 / 0.72);
  background: linear-gradient(90deg, #d2ff70 0%, #c5fac9 100%);
}

.hero-intro__cta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease-out;
}

.hero-intro__cta:hover svg {
  transform: translateX(3px);
}

.hero-intro__cta:disabled {
  opacity: 0.72;
  cursor: wait;
}

@keyframes intro-content-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.scroll-reveal-enabled [data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 720ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--scroll-reveal-delay, 0ms);
}

html.scroll-reveal-enabled [data-scroll-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#product-overview[data-scroll-reveal] {
  --scroll-reveal-delay: 360ms;
}

.hero {
  padding: clamp(1.25rem, 1.8vw, 1.75rem) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-areas:
    "copy media"
    "support media";
  grid-template-columns: minmax(300px, 0.62fr) minmax(620px, 1.38fr);
  column-gap: clamp(36px, 4vw, 64px);
  row-gap: 0;
  align-items: start;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
}

.hero-support {
  grid-area: support;
  align-self: start;
}

.eyebrow,
.story-label {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.eyebrow span {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--aqua);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.85rem, 4.25vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero-deck {
  max-width: 42ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  text-wrap: pretty;
}

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

.hero-proof {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--dim);
  font-size: 0.88rem;
  list-style: none;
}

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

.hero-proof li::before {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--aqua);
}

.product-stage {
  grid-area: media;
  align-self: center;
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-product);
}

.product-stage__bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.75rem;
}

.product-stage__bar span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.product-stage__bar strong {
  margin-left: auto;
  font-weight: 600;
}

.video-stage__trigger {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #070a0e;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.video-stage__trigger[hidden],
.video-stage__player[hidden] {
  display: none;
}

.video-stage__poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: blur(2px) saturate(0.9) brightness(0.78);
  transform: scale(1.02);
  transition: filter 260ms ease-out, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(4 7 10 / 0.08) 30%, rgb(4 7 10 / 0.74) 100%),
    radial-gradient(circle at 50% 45%, transparent 0 22%, rgb(4 7 10 / 0.18) 68%, rgb(4 7 10 / 0.46) 100%);
  transition: opacity 220ms ease-out;
}

.video-stage__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.42);
  border-radius: 50%;
  background: rgb(245 247 248 / 0.94);
  color: #080b0f;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.44);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out;
}

.video-stage__play svg {
  width: 31px;
  height: 31px;
  margin-left: 3px;
  fill: currentColor;
}

.video-stage__copy {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  gap: 4px;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.9);
}

.video-stage__copy small {
  color: var(--aqua);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-stage__copy strong {
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 600;
}

.video-stage__trigger:hover .video-stage__poster,
.video-stage__trigger:focus-visible .video-stage__poster {
  filter: blur(0) saturate(1.02) brightness(0.92);
  transform: scale(1.035);
}

.video-stage__trigger:hover .video-stage__veil,
.video-stage__trigger:focus-visible .video-stage__veil {
  opacity: 0.78;
}

.video-stage__trigger:hover .video-stage__play,
.video-stage__trigger:focus-visible .video-stage__play {
  background: #fff;
  box-shadow: 0 22px 56px rgb(0 0 0 / 0.54);
  transform: translate(-50%, -50%) scale(1.07);
}

.video-stage__trigger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -5px;
}

.video-stage__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-stage__player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-stage__fallback {
  display: block;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--aqua);
  font-size: 0.86rem;
}

.video-modal {
  width: min(80vw, 142vh, 1440px);
  width: min(80vw, 142svh, 1440px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 18px;
  color: var(--ink);
  background: #020304;
  box-shadow: 0 32px 100px rgb(0 0 0 / 0.82);
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal::backdrop {
  background: rgb(1 3 5 / 0.86);
  backdrop-filter: blur(10px);
}

.video-modal__surface {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
  animation: video-modal-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.video-modal__player {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgb(4 7 10 / 0.78);
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.42);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out;
}

.video-modal__close:hover {
  border-color: var(--gold);
  background: rgb(4 7 10 / 0.96);
  transform: scale(1.05);
}

.video-modal__close:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@keyframes video-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-stage figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.product-stage figcaption strong {
  color: var(--ink);
}

.section {
  padding: var(--section-space) 0;
}

#workflows {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.section--surface {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.model-heading > p:last-child,
.install-copy > p:not(.story-label),
.learn-copy > p:not(.story-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.story {
  padding: clamp(2.6rem, 5vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.story:last-child {
  border-bottom: 1px solid var(--line);
}

.story--reverse .story-media {
  order: 2;
}

.story-media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #070a0e;
}

.story-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-viewer-trigger {
  position: relative;
  display: block;
  color: inherit;
  line-height: 0;
  text-decoration: none;
  cursor: zoom-in;
}

.image-viewer-trigger::after {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  content: "View full size";
  color: #f4f6f8;
  background: rgb(5 8 12 / 0.78);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.image-viewer-trigger img {
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 220ms ease;
}

.image-viewer-trigger:hover::after,
.image-viewer-trigger:focus-visible::after {
  border-color: rgb(97 216 201 / 0.58);
  opacity: 1;
  transform: translateY(0);
}

.image-viewer-trigger:hover img,
.image-viewer-trigger:focus-visible img {
  filter: brightness(0.92);
  transform: scale(1.018);
}

.image-viewer-trigger:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: -2px;
}

.story-copy > p:not(.story-label) {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.68;
  text-wrap: pretty;
}

.story-facts {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.story-facts div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.story-facts dt {
  color: var(--dim);
  font-size: 0.82rem;
}

.story-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 130px);
}

.model-heading h2 {
  max-width: 9ch;
}

.model-heading > p:last-child {
  max-width: 52ch;
  margin-top: 28px;
}

.model-ledger {
  border-top: 1px solid var(--line-strong);
}

.model-row {
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.4fr) auto;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.model-row strong {
  font-size: 1rem;
}

.model-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.model-row b {
  color: var(--aqua);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.install-panel {
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

.install-copy h2 {
  max-width: 10ch;
}

.install-copy > p:not(.story-label) {
  max-width: 56ch;
  margin-top: 26px;
}

.install-copy .button {
  margin-top: 34px;
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.install-steps li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.install-steps > li > span {
  color: var(--aqua);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.install-steps strong {
  display: block;
  font-size: 1.08rem;
}

.install-steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.learn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.learn-media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.learn-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-lightbox {
  width: min(80vw, 142vh, 1440px);
  width: min(80vw, 142svh, 1440px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 18px;
  color: var(--ink);
  background: #020304;
  box-shadow: 0 32px 100px rgb(0 0 0 / 0.82);
}

body.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox::backdrop {
  background: rgb(1 3 5 / 0.86);
  backdrop-filter: blur(10px);
}

.image-lightbox__surface {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
  animation: video-modal-in 220ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.image-lightbox__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.image-lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-lightbox__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  padding: 46px 20px 18px;
  color: rgb(245 247 248 / 0.88);
  background: linear-gradient(180deg, transparent, rgb(2 4 7 / 0.88));
  font-size: 0.88rem;
  line-height: 1.45;
  pointer-events: none;
}

.image-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgb(4 7 10 / 0.78);
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.42);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out;
}

.image-lightbox__close:hover {
  border-color: var(--gold);
  background: rgb(4 7 10 / 0.96);
  transform: scale(1.05);
}

.image-lightbox__close:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.learn-copy h2 {
  max-width: 10ch;
}

.learn-copy > p:not(.story-label) {
  margin-top: 26px;
}

.learn-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.text-action {
  display: inline-flex;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--aqua);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.text-action--quiet {
  color: var(--muted);
  text-decoration-color: var(--line-strong);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 10vw, 140px);
}

.faq-layout h2 {
  max-width: 7ch;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--aqua);
  font-size: 1.45rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 66ch;
  margin: 0;
  padding: 0 52px 24px 0;
  color: var(--muted);
  text-wrap: pretty;
}

.site-footer {
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-grid strong {
  font-size: 1.2rem;
}

.footer-grid p {
  max-width: 48ch;
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 24px;
  }

  .primary-nav {
    gap: 18px;
  }

  .hero-grid,
  .story,
  .model-layout,
  .install-panel,
  .learn-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "media"
      "support";
    gap: 0;
  }

  .hero-grid > .product-stage {
    margin-top: 48px;
  }

  .hero-title {
    max-width: 12ch;
  }

  .story-copy,
  .learn-copy,
  .model-heading {
    max-width: 720px;
  }

  .story--reverse .story-media {
    order: 0;
  }

  .install-panel {
    gap: 56px;
  }

  .faq-layout {
    gap: 48px;
  }

  .faq-layout h2 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 0;
    padding-block: 10px 0;
    grid-template-columns: auto 1fr;
    gap: 0 18px;
  }

  .brand img {
    width: 146px;
  }

  .header-login {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
  }

  .hero-intro {
    padding-bottom: 2rem;
  }

  .hero-intro__eyebrow {
    margin-bottom: 8px;
  }

  .hero-intro__title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.05rem, 9.4vw, 2.4rem);
    line-height: 1;
  }

  .hero-intro__title span {
    display: inline;
  }

  .hero-intro__description {
    max-width: 36ch;
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .hero-intro__cta {
    width: min(100%, 320px);
    min-height: 46px;
    margin-top: 14px;
    padding-inline: 18px;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .product-stage figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .video-stage__play {
    width: 68px;
    height: 68px;
  }

  .video-stage__copy {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-facts div {
    grid-template-columns: 105px 1fr;
  }

  .model-row {
    grid-template-columns: 1fr auto;
    gap: 7px 18px;
  }

  .model-row span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .model-row b {
    grid-column: 2;
    grid-row: 1;
  }

  .install-panel {
    padding: 28px 22px;
  }

  .footer-grid {
    display: grid;
    gap: 30px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .brand img {
    width: 128px;
  }

  .button--compact {
    min-height: 40px;
    padding-inline: 14px;
  }

  .image-viewer-trigger::after {
    top: 10px;
    right: 10px;
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.66rem;
    opacity: 0.9;
    transform: none;
  }

  .image-lightbox {
    width: min(calc(100vw - 24px), 142vh);
    width: min(calc(100vw - 24px), 142svh);
    border-radius: 12px;
  }

  .image-lightbox__caption {
    padding: 40px 14px 13px;
    font-size: 0.8rem;
  }

  .image-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .video-modal {
    width: min(calc(100vw - 24px), 142vh);
    width: min(calc(100vw - 24px), 142svh);
    border-radius: 12px;
  }

  .video-modal__close {
    top: 10px;
    right: 10px;
  }

  .video-stage__play {
    width: 58px;
    height: 58px;
  }

  .video-stage__play svg {
    width: 25px;
    height: 25px;
  }

  .video-stage__copy {
    right: 14px;
    bottom: 13px;
    left: 14px;
  }

  .video-stage__copy small {
    font-size: 0.6rem;
  }

  .video-stage__copy strong {
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 13vw, 3.45rem);
  }

  .model-row {
    padding-block: 18px;
  }

  .faq-list summary {
    min-height: 66px;
    font-size: 1rem;
  }

  .faq-list details p {
    padding-right: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  html.scroll-reveal-enabled [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-intro__eyebrow,
  .hero-intro__title,
  .hero-intro__description,
  .hero-intro__cta {
    animation: none;
  }

  .image-viewer-trigger img,
  .image-viewer-trigger::after,
  .image-lightbox__surface {
    animation: none;
    transition: none;
  }

  .video-modal__surface {
    animation: none;
    transition: none;
  }
}


/* Production integration: auth state and shared landing atmosphere. */
.site-landing .hidden {
  display: none !important;
}

.header-login {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.header-dev {
  color: var(--aqua);
}

#headerCabinetBtn.primary {
  min-height: 42px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
}

#headerCabinetBtn.primary:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.hero-intro,
.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-depth-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
  transform-style: preserve-3d;
  contain: paint;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, #000 54%, #000 96%, transparent 100%);
}

.hero-depth-object {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
  animation: depth-float 18s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.hero-depth-object::before,
.hero-depth-object::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-depth-object--sphere {
  top: 12%;
  right: -2%;
  width: clamp(96px, 10vw, 154px);
  aspect-ratio: 1;
  opacity: 0.28;
  filter: blur(1.2px);
  animation-delay: -8s;
  animation-duration: 21s;
}

.hero-depth-object--sphere::before {
  border: 1px solid rgb(97 216 201 / 0.20);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgb(244 246 248 / 0.44), transparent 9%),
    radial-gradient(circle at 38% 34%, rgb(97 216 201 / 0.32), rgb(16 21 28 / 0.08) 46%, rgb(5 7 10 / 0.72) 72%);
  box-shadow: inset -22px -28px 44px rgb(0 0 0 / 0.56), 0 18px 50px rgb(34 116 111 / 0.12);
}

.hero-depth-object--sphere::after {
  inset: 16%;
  border: 1px solid rgb(244 246 248 / 0.10);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-18deg);
}

.hero-depth-object--ring {
  top: 7%;
  right: 35%;
  width: clamp(74px, 7vw, 112px);
  aspect-ratio: 1;
  opacity: 0.34;
  animation-delay: -3.2s;
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}

.hero-depth-object--ring::before {
  border: 9px solid rgb(97 216 201 / 0.18);
  border-top-color: rgb(244 246 248 / 0.38);
  border-right-color: rgb(97 216 201 / 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 18px rgb(97 216 201 / 0.12), 0 0 28px rgb(97 216 201 / 0.08);
  transform: rotateX(68deg) rotateZ(24deg);
}

.hero-depth-object--ring::after {
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(244 246 248 / 0.22), transparent 66%);
  transform: translateZ(28px);
}

.hero-depth-object--shard {
  right: 44%;
  bottom: 20%;
  width: clamp(58px, 6vw, 92px);
  aspect-ratio: 0.72;
  opacity: 0.22;
  filter: blur(0.6px);
  animation-delay: -12s;
  animation-duration: 19s;
}

.hero-depth-object--shard::before {
  clip-path: polygon(50% 0, 100% 36%, 72% 100%, 18% 82%, 0 24%);
  background: linear-gradient(145deg, rgb(244 246 248 / 0.26), rgb(97 216 201 / 0.12) 46%, rgb(8 11 15 / 0.04) 47%);
  box-shadow: inset -18px -12px 24px rgb(0 0 0 / 0.40);
}

.hero-depth-object--shard::after {
  inset: 18% 22%;
  clip-path: polygon(50% 0, 100% 100%, 0 72%);
  background: rgb(244 246 248 / 0.12);
  transform: translateZ(18px);
}

.hero-depth-object--layer {
  right: 5%;
  bottom: 4%;
  width: clamp(120px, 14vw, 210px);
  aspect-ratio: 1.6;
  opacity: 0.18;
  filter: blur(2px);
  animation-delay: -5.5s;
  animation-duration: 23s;
  animation-direction: alternate-reverse;
}

.hero-depth-object--layer::before {
  border: 1px solid rgb(244 246 248 / 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgb(97 216 201 / 0.11), rgb(16 21 28 / 0.03));
  box-shadow: inset 0 1px rgb(255 255 255 / 0.10), 0 28px 52px rgb(0 0 0 / 0.28);
  transform: rotateX(58deg) rotateZ(-12deg);
}

.hero-depth-object--layer::after {
  inset: 18% 12%;
  border: 1px solid rgb(97 216 201 / 0.16);
  border-radius: 6px;
  transform: translate3d(-18px, 16px, -24px) rotateX(58deg) rotateZ(-12deg);
}

@keyframes atmosphere-aurora-a {
  from {
    opacity: 0.34;
    transform: translate3d(-6%, -4%, 0) scale(0.94);
  }
  to {
    opacity: 0.52;
    transform: translate3d(10%, 8%, 0) scale(1.08);
  }
}

@keyframes atmosphere-aurora-b {
  from {
    opacity: 0.24;
    transform: translate3d(8%, -8%, 0) scale(0.92);
  }
  to {
    opacity: 0.40;
    transform: translate3d(-12%, 12%, 0) scale(1.10);
  }
}

@keyframes atmosphere-aurora-c {
  from {
    opacity: 0.20;
    transform: translate3d(-8%, 8%, 0) scale(0.96);
  }
  to {
    opacity: 0.38;
    transform: translate3d(14%, -10%, 0) scale(1.12);
  }
}

@keyframes atmosphere-grid-drift {
  from {
    opacity: 0.12;
    transform: perspective(920px) rotateX(61deg) rotateZ(-9deg) translate3d(-3%, 2%, 0) scale(1.24);
  }
  to {
    opacity: 0.22;
    transform: perspective(920px) rotateX(61deg) rotateZ(-9deg) translate3d(4%, -3%, 0) scale(1.32);
  }
}

@keyframes atmosphere-ring-a {
  from {
    opacity: 0.24;
    transform: translate3d(5%, -4%, 0) rotate(-8deg) scale(0.94);
  }
  to {
    opacity: 0.48;
    transform: translate3d(-8%, 8%, 0) rotate(18deg) scale(1.08);
  }
}

@keyframes atmosphere-ring-b {
  from {
    opacity: 0.16;
    transform: translate3d(-8%, 8%, 0) rotate(10deg) scale(0.92);
  }
  to {
    opacity: 0.32;
    transform: translate3d(12%, -12%, 0) rotate(-20deg) scale(1.10);
  }
}

@keyframes atmosphere-beam-sweep {
  0%, 12% {
    opacity: 0;
    transform: skewX(-16deg) translate3d(-26vw, 0, 0);
  }
  34% {
    opacity: 0.42;
  }
  68% {
    opacity: 0.16;
  }
  88%, 100% {
    opacity: 0;
    transform: skewX(-16deg) translate3d(168vw, 0, 0);
  }
}

@keyframes depth-float {
  0% {
    opacity: 0.14;
    transform: translate3d(-12px, 12px, -42px) rotate3d(0.8, 1, 0.2, -9deg);
  }
  46% {
    opacity: 0.34;
  }
  100% {
    opacity: 0.2;
    transform: translate3d(24px, -26px, 48px) rotate3d(0.8, 1, 0.2, 18deg);
  }
}

@media (max-width: 760px) {
  .site-atmosphere__aurora {
    width: min(132vmax, 920px);
  }

  .site-atmosphere__aurora--a {
    top: -42%;
    left: -72%;
  }

  .site-atmosphere__aurora--b {
    top: 10%;
    right: -84%;
  }

  .site-atmosphere__aurora--c {
    bottom: -52%;
    left: -36%;
  }

  .site-atmosphere__grid {
    inset: -48% -76%;
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse at 62% 48%, #000 0%, rgb(0 0 0 / 0.64) 32%, transparent 72%);
  }

  .site-atmosphere__ring--a {
    top: 12%;
    right: -46%;
    width: min(102vw, 540px);
  }

  .site-atmosphere__ring--b {
    display: none;
  }

  .site-atmosphere__beam {
    left: -54vw;
    width: min(44vw, 280px);
    animation-duration: 28s;
  }

  .hero-depth-scene {
    mask-image: linear-gradient(to bottom, transparent 0, transparent 500px, #000 620px, #000 1180px, transparent 1450px);
  }

  .hero-depth-object--sphere {
    top: clamp(650px, 82svh, 760px);
    right: -12%;
  }

  .hero-depth-object--ring {
    top: clamp(540px, 68svh, 640px);
    right: 68%;
  }

  .hero-depth-object--shard,
  .hero-depth-object--layer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-atmosphere__aurora,
  .site-atmosphere__grid,
  .site-atmosphere__ring,
  .site-atmosphere__beam {
    animation: none;
  }

  .site-atmosphere__beam {
    display: none;
  }

  .hero-depth-object {
    opacity: 0.18;
    animation: none;
  }

  .video-stage__poster,
  .video-stage__veil,
  .video-stage__play {
    transition: none;
  }

  .video-stage__trigger:hover .video-stage__poster,
  .video-stage__trigger:focus-visible .video-stage__poster {
    transform: scale(1.02);
  }
}
