*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Inter, system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

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

html, body {
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(3 3 7 / var(--tw-bg-opacity, 1));
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

button {
  font-family: inherit;
}

button:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a78bfa;
  cursor: pointer;
  -webkit-transition: transform 0.1s, background 0.1s;
  transition: transform 0.1s, background 0.1s;
  box-shadow: 0 0 6px rgba(167,139,250,0.5);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: #c4b5fd;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-\[-5\%\] {
  bottom: -5%;
}

.bottom-\[3\%\] {
  bottom: 3%;
}

.bottom-\[5\%\] {
  bottom: 5%;
}

.left-\[-10\%\] {
  left: -10%;
}

.left-\[2\%\] {
  left: 2%;
}

.left-\[8\%\] {
  left: 8%;
}

.right-\[-10\%\] {
  right: -10%;
}

.right-\[4\%\] {
  right: 4%;
}

.right-\[7\%\] {
  right: 7%;
}

.top-\[-5\%\] {
  top: -5%;
}

.top-\[2\%\] {
  top: 2%;
}

.top-\[5\%\] {
  top: 5%;
}

.z-\[1\] {
  z-index: 1;
}

.z-\[2\] {
  z-index: 2;
}

.z-\[3\] {
  z-index: 3;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-\[290px\] {
  height: 290px;
}

.h-\[320px\] {
  height: 320px;
}

.h-\[340px\] {
  height: 340px;
}

.h-\[380px\] {
  height: 380px;
}

.h-full {
  height: 100%;
}

.w-\[390px\] {
  width: 390px;
}

.w-\[450px\] {
  width: 450px;
}

.w-\[460px\] {
  width: 460px;
}

.w-\[520px\] {
  width: 520px;
}

.w-full {
  width: 100%;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes chromaOrb1 {
  0%, 100% {
    transform: translate(0px,   0px)  scale(1);
    opacity: 0.13;
  }

  33% {
    transform: translate(45px, -35px) scale(1.22);
    opacity: 0.20;
  }

  66% {
    transform: translate(-25px, 22px) scale(0.83);
    opacity: 0.10;
  }
}

.animate-chroma-1 {
  animation: chromaOrb1 21s ease-in-out infinite;
}

@keyframes chromaOrb2 {
  0%, 100% {
    transform: translate(0px,   0px)  scale(1);
    opacity: 0.09;
  }

  40% {
    transform: translate(-55px, 35px) scale(1.18);
    opacity: 0.15;
  }

  70% {
    transform: translate(35px, -18px) scale(0.88);
    opacity: 0.07;
  }
}

.animate-chroma-2 {
  animation: chromaOrb2 27s ease-in-out infinite;
}

@keyframes chromaOrb3 {
  0%, 100% {
    transform: translate(0px,  0px)  scale(1);
    opacity: 0.08;
  }

  50% {
    transform: translate(22px, 45px) scale(1.14);
    opacity: 0.14;
  }
}

.animate-chroma-3 {
  animation: chromaOrb3 19s ease-in-out infinite;
}

@keyframes chromaOrb4 {
  0%, 100% {
    transform: translate(0px,   0px)  scale(1);
    opacity: 0.11;
  }

  45% {
    transform: translate(-35px,-45px) scale(1.28);
    opacity: 0.18;
  }

  75% {
    transform: translate(28px,  22px) scale(0.78);
    opacity: 0.09;
  }
}

.animate-chroma-4 {
  animation: chromaOrb4 24s ease-in-out infinite;
}

@keyframes driftUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.animate-drift-up {
  animation: driftUp 110s linear infinite;
}

.resize {
  resize: both;
}

.flex-col {
  flex-direction: column;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-\[10px\] {
  border-radius: 10px;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-white\/\[0\.07\] {
  border-color: rgb(255 255 255 / 0.07);
}

.bg-\[\#0c0c18\] {
  --tw-bg-opacity: 1;
  background-color: rgb(12 12 24 / var(--tw-bg-opacity, 1));
}

.bg-amber-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}

.bg-cyan-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 211 238 / var(--tw-bg-opacity, 1));
}

.bg-violet-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(124 58 237 / var(--tw-bg-opacity, 1));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-white\/\[0\.05\] {
  --tw-gradient-from: rgb(255 255 255 / 0.05) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}

.font-black {
  font-weight: 900;
}

.opacity-0 {
  opacity: 0;
}

.blur-\[105px\] {
  --tw-blur: blur(105px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[115px\] {
  --tw-blur: blur(115px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[125px\] {
  --tw-blur: blur(125px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[140px\] {
  --tw-blur: blur(140px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-\[280ms\] {
  transition-duration: 280ms;
}

.duration-\[320ms\] {
  transition-duration: 320ms;
}

.duration-\[350ms\] {
  transition-duration: 350ms;
}

.ease-\[cubic-bezier\(0\.22\2c 1\2c 0\.36\2c 1\)\] {
  transition-timing-function: cubic-bezier(0.22,1,0.36,1);
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.will-change-transform {
  will-change: transform;
}

@media (max-width: 768px) {
  body {
    touch-action: pan-y;
  }
}

/* ── Masonry backdrop grid ─────────────────────────────────── */

.grid-layer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 52px;
  grid-auto-flow: dense;
  gap: 7px;
  padding: 7px;
}

/* ── Vignette ──────────────────────────────────────────────── */

.vignette {
  background:
      radial-gradient(ellipse 58% 62% at 50% 50%,
        rgba(3,3,7,0.50) 0%,
        rgba(3,3,7,0.86) 56%,
        #030307         100%),
      linear-gradient(to bottom,
        rgba(3,3,7,0.55) 0%,
        transparent      18%,
        rgba(3,3,7,0.18) 68%,
        rgba(3,3,7,0.64) 86%,
        #030307         100%);
}

/* ══════════════════════════════════════════════════════════════
     Fixed hero + scroll-spacer layout
  ══════════════════════════════════════════════════════════════ */

/* Hero covers the entire viewport and stays fixed while the scroll-spacer
     gives the page scroll room for the reveal animation */

.hero-fixed {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 1;
  /* Opaque base — when the visual stack fades, scrolling must not “punch through”
       to the mosaic layer or document underneath */
  background-color: #030307;
}

/* Subtle bottom blend when hero stack has scrolled away (stack is transparent; sits above base bg) */

.hero-fixed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58vh;
  background: linear-gradient(
      to bottom,
      rgba(3,3,7,0) 0%,
      rgba(3,3,7,0.18) 14%,
      rgba(3,3,7,0.56) 40%,
      rgba(3,3,7,0.9) 74%,
      #030307 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Same fade inside .hero-visual-stack so the grid is dimmed at the bottom without stacking over the CTA */

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64vh;
  pointer-events: none;
  z-index: 5;
  /* Cancel parent stack translate so fade stays pinned to viewport bottom. */
  transform: translate3d(0, calc(var(--hero-stack-shift-y, 0px) * -1), 0);
  background: linear-gradient(
      to bottom,
      rgba(3,3,7,0) 0%,
      rgba(3,3,7,0.28) 18%,
      rgba(3,3,7,0.70) 46%,
      rgba(3,3,7,0.94) 74%,
      #030307 100%
    );
}

.site-nav,
  .ite-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 22px 28px 0;
  pointer-events: none;
}

.site-brand {
  justify-self: start;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-brand-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(0,0,0,0.3));
}

.site-nav-trailing {
  justify-self: end;
  pointer-events: auto;
  display: flex;
  align-items: center;
}

.site-nav-actions,
  .ite-nav-action {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-open-btn,
  .ite-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  background:
      linear-gradient(165deg, rgba(255,255,255,0.22) 0%, rgba(34,211,238,0.14) 42%, rgba(249,115,22,0.08) 100%),
      rgba(18,20,34,0.82);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.18) inset,
      0 12px 40px rgba(0,0,0,0.38),
      0 0 32px rgba(34,211,238,0.12),
      0 0 48px rgba(34,211,238,0.06);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.site-open-btn span,
  .ite-open-btn span {
  color: #22d3ee;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
  filter: drop-shadow(0 0 3px rgba(34,211,238,0.35));
}

.site-open-btn:hover,
  .ite-open-btn:hover {
  transform: translateY(-2px);
  background:
      linear-gradient(165deg, rgba(255,255,255,0.28) 0%, rgba(34,211,238,0.20) 45%, rgba(249,115,22,0.10) 100%),
      rgba(22,24,40,0.88);
  border-color: rgba(34,211,238,0.42);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.22) inset,
      0 16px 48px rgba(0,0,0,0.42),
      0 0 40px rgba(34,211,238,0.18),
      0 0 64px rgba(34,211,238,0.08);
}

.site-open-btn:hover span,
  .ite-open-btn:hover span {
  transform: translateX(3px);
}

/* Full-viewport layer: backdrop + hero copy. Fades/slides away on scroll. */

.hero-visual-stack {
  position: absolute;
  inset: 0;
  /* Above .hero-fixed::after (z-7 bottom fade), below .site-nav (z-12) */
  z-index: 8;
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-visual-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-curved-grid {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 6%;
  bottom: -9%;
  pointer-events: none;
  z-index: 4;
  opacity: 0.3;
  background-image:
      linear-gradient(
        to bottom,
        rgba(6,10,20,0.88) 0%,
        rgba(6,10,20,0.24) 24%,
        rgba(6,10,20,0.18) 54%,
        rgba(6,10,20,0.82) 100%
      ),
      url('../assets/curved-grid.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 86% 74% at 50% 50%, transparent 0%, transparent 36%, rgba(0,0,0,0.36) 56%, rgba(0,0,0,0.84) 78%, rgba(0,0,0,0.98) 100%);
  -webkit-mask-image: radial-gradient(ellipse 86% 74% at 50% 50%, transparent 0%, transparent 36%, rgba(0,0,0,0.36) 56%, rgba(0,0,0,0.84) 78%, rgba(0,0,0,0.98) 100%);
  animation: heroCurvedGridDrift 40s linear infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroCurvedGridDrift {
  0% {
    transform: translate3d(-8px, 0px, 0) scale(1.01);
    opacity: 0.2;
  }

  100% {
    transform: translate3d(10px, -8px, 0) scale(1.03);
    opacity: 0.3;
  }
}

/* ══════════════════════════════════════════════════════════════
     Hero copy — centered in viewport (player is a separate fixed layer)
  ══════════════════════════════════════════════════════════════ */

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  /* Extra bottom padding so the demo never overlaps hero copy (no hero CTA) */
  padding: clamp(108px, 16vh, 168px) 24px clamp(280px, 34vh, 420px);
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}

/* ── Wordmark pill ─────────────────────────────────────────── */

.hero-seo-kicker,
  .wordmark-pill,
  .hero-h1-line,
  .hero-subtitle {
  will-change: opacity, transform, filter;
}

/* Spacing rhythm: tight between pill→H1→subtitle */

.hero-content > .hero-seo-kicker {
  margin-bottom: 14px;
}

.hero-content > .wordmark-pill  {
  margin-bottom: 18px;
}

.hero-content > .hero-h1        {
  margin-bottom: 20px;
}

.hero-content > .hero-subtitle  {
  margin-bottom: 0;
}

.hero-seo-kicker {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: auto;
}

.wordmark-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid rgba(249,115,22,0.34);
  color: rgba(255,169,112,0.95);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: linear-gradient(180deg, rgba(249,115,22,0.16) 0%, rgba(249,115,22,0.08) 100%);
  box-shadow:
      inset 0 1px 0 rgba(255,208,173,0.28),
      0 0 22px rgba(249,115,22,0.18);
}

/* ── Headline ──────────────────────────────────────────────── */

.hero-h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  line-height: 0.98;
  gap: 4px;
  text-align: center;
}

.hero-h1-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
  white-space: nowrap;
  letter-spacing: -0.045em;
}

.accent-em {
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #22d3ee;
  filter: drop-shadow(0 0 22px rgba(34,211,238,0.30));
}

.orange-em {
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #f97316;
  filter: drop-shadow(0 0 22px rgba(249,115,22,0.28));
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.45vw, 1.02rem);
  font-weight: 300;
  line-height: 1.82;
  color: rgba(255,255,255,0.48);
  text-align: center;
  max-width: 520px;
  text-wrap: pretty;
}

/* ── CTA button (glassmorphism) ───────────────────────────── */

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.10) inset,
      0 16px 48px -8px rgba(0,0,0,0.35);
  cursor: pointer;
  pointer-events: auto;
  transition:
      background 0.3s cubic-bezier(0.22,1,0.36,1),
      border-color 0.3s cubic-bezier(0.22,1,0.36,1),
      box-shadow 0.3s cubic-bezier(0.22,1,0.36,1),
      transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.cta-btn:hover {
  background: rgba(34,211,238,0.14);
  border-color: rgba(34,211,238,0.36);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.12) inset,
      0 20px 56px -8px rgba(0,0,0,0.4),
      0 0 48px -4px rgba(34,211,238,0.18);
  transform: translateY(-2px);
}

.cta-open-label {
  font: inherit;
}

.cta-open-arrow {
  font-size: 1.15rem;
  color: rgba(34,211,238,0.8);
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), color 0.25s;
}

.cta-btn:hover .cta-open-arrow {
  transform: translateX(4px);
  color: #22d3ee;
}

/* ══════════════════════════════════════════════════════════════
     Micro copy above demo (desktop)
  ══════════════════════════════════════════════════════════════ */

.demo-micro {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 720px;
  margin: clamp(28px, 4.5vh, 56px) auto 0;
  padding: 0 20px 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  pointer-events: none;
}

.demo-micro__hook {
  margin: 0;
  max-width: 40ch;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.55vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: balance;
}

.demo-micro__hook-accent {
  color: #22d3ee;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

.demo-micro__text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1.45vw, 0.98rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  text-wrap: balance;
}

.demo-micro__note {
  margin: 0;
  max-width: 52ch;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.76rem, 1.15vw, 0.86rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.4);
  text-wrap: pretty;
}

/* ══════════════════════════════════════════════════════════════
     Demo stage — fixed to viewport bottom; width & height set by JS on scroll
  ══════════════════════════════════════════════════════════════ */

.demo-reveal-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  /* Pull demo up into the viewport — tune with .hero-content bottom padding if copy overlaps */
  margin-top: -46vh;
  padding: 0 0 18vh 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.demo-reveal-wrap::before,
  .demo-reveal-wrap::after {
  content: none;
}

/* Lives at body level, positioned by JS — no transformed ancestor to clip it */

.demo-top-glow {
  position: fixed;
  left: 50%;
  bottom: -999px;
  /* hidden until JS positions it */
  transform: translateX(-50%);
  width: min(86vw, 1100px);
  height: 300px;
  transform-origin: center bottom;
  pointer-events: none;
  z-index: 19;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.demo-ambient-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 18;
  overflow: hidden;
  isolation: isolate;
}

.demo-ambient-fx::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
      radial-gradient(58% 38% at 50% 102%, rgba(59,130,246,0.20) 0%, transparent 74%),
      radial-gradient(36% 30% at 50% 101%, rgba(244,114,182,0.15) 0%, transparent 78%),
      radial-gradient(30% 34% at 12% 88%, rgba(251,146,60,0.10) 0%, transparent 82%),
      radial-gradient(30% 34% at 88% 88%, rgba(59,130,246,0.10) 0%, transparent 82%),
      radial-gradient(26% 30% at 2% 52%, rgba(59,130,246,0.08) 0%, transparent 84%),
      radial-gradient(26% 30% at 98% 52%, rgba(236,72,153,0.08) 0%, transparent 84%);
  filter: blur(2px);
  will-change: transform, opacity;
}

.demo-ambient-fx::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6vh;
  width: min(1200px, 96vw);
  height: min(340px, 34vh);
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.62;
  background:
      radial-gradient(circle at 50% 86%, rgba(56,189,248,0.9) 1px, transparent 2.2px),
      radial-gradient(circle at 14% 82%, rgba(251,146,60,0.86) 1px, transparent 2px),
      radial-gradient(circle at 86% 82%, rgba(244,114,182,0.84) 1px, transparent 2px),
      radial-gradient(circle at 22% 70%, rgba(96,165,250,0.7) 1px, transparent 2px),
      radial-gradient(circle at 78% 70%, rgba(249,115,22,0.68) 1px, transparent 2px),
      radial-gradient(circle at 62% 74%, rgba(236,72,153,0.7) 1px, transparent 2px),
      radial-gradient(circle at 38% 76%, rgba(59,130,246,0.7) 1px, transparent 2px);
  filter: drop-shadow(0 0 8px rgba(56,189,248,0.26)) drop-shadow(0 0 10px rgba(251,146,60,0.2));
  animation: edgeParticlesDrift 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes edgeParticlesDrift {
  0% {
    transform: translateX(-50%) translateY(0px) scale(1);
    opacity: 0.52;
  }

  100% {
    transform: translateX(-50%) translateY(-12px) scale(1.02);
    opacity: 0.72;
  }
}

/* Blurred gradient spike — isolated so blur doesn't affect the noise layer */

.demo-top-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
      /* sharp center spike */
      radial-gradient(ellipse 6% 100% at 50% 100%, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.28) 18%, transparent 64%),
      /* medium center column */
      radial-gradient(ellipse 15% 80% at 50% 100%, rgba(34,211,238,0.56) 0%, rgba(34,211,238,0.22) 26%, transparent 68%),
      /* wider base bloom */
      radial-gradient(ellipse 44% 48% at 50% 100%, rgba(34,211,238,0.28) 0%, rgba(34,211,238,0.08) 40%, transparent 72%),
      /* left wing */
      radial-gradient(ellipse 22% 20% at 10% 100%, rgba(34,211,238,0.20) 0%, transparent 66%),
      /* right wing */
      radial-gradient(ellipse 22% 20% at 90% 100%, rgba(249,115,22,0.18) 0%, transparent 66%),
      /* floor glow */
      linear-gradient(to top, rgba(255,255,255,0.12) 0%, transparent 32%);
  filter: blur(18px);
}

/* Grain noise layer — not blurred so texture stays crisp */

.demo-top-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, black 0%, transparent 78%);
}

/* ══════════════════════════════════════════════════════════════
     App window chrome
  ══════════════════════════════════════════════════════════════ */

.demo-window-frame {
  display: inline-flex;
  padding: 14px;
  background: linear-gradient(150deg, rgba(255,255,255,0.08) 0%, rgba(34,211,238,0.04) 50%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 28px;
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow: none;
  opacity: 0;
  animation: demoFadeIn 0.55s ease 0.25s forwards;
}

.demo-window {
  width: 95vw;
  max-width: 1220px;
  height: 76vh;
  max-height: min(76vh, 820px);
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  opacity: 0;
  animation: demoFadeIn 0.55s ease 0.25s forwards;
  transition:
      border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes demoFadeIn {
  to {
    opacity: 1;
  }
}

/* Docked to bottom of viewport — no bottom border (no longer docked, it just floats naturally) */

.demo-window--docked, .demo-window--floating {
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 14px;
  box-shadow: none;
}

/* Title bar */

.demo-titlebar {
  position: relative;
  height: 40px;
  background: #0e0e1b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  gap: 8px;
  flex-shrink: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.demo-live-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.95);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.15);
}

.demo-window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.demo-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.85;
}

.demo-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex: 0 0 auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.demo-titlebar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  min-height: 30px;
  box-sizing: border-box;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  background:
      linear-gradient(165deg, rgba(255,255,255,0.20) 0%, rgba(34,211,238,0.14) 45%, rgba(249,115,22,0.08) 100%),
      rgba(18,20,34,0.78);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.14) inset,
      0 6px 20px rgba(0,0,0,0.35),
      0 0 20px rgba(34,211,238,0.10);
  transition: background 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.demo-open-btn span {
  color: #22d3ee;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1);
  filter: drop-shadow(0 0 2px rgba(34,211,238,0.3));
}

.demo-open-btn:hover {
  background:
      linear-gradient(165deg, rgba(255,255,255,0.26) 0%, rgba(34,211,238,0.20) 45%, rgba(249,115,22,0.10) 100%),
      rgba(26,28,44,0.88);
  border-color: rgba(34,211,238,0.38);
  transform: translateY(-1px);
  box-shadow:
      0 1px 0 0 rgba(255,255,255,0.16) inset,
      0 8px 24px rgba(0,0,0,0.38),
      0 0 28px rgba(34,211,238,0.14);
}

.demo-open-btn:hover span {
  transform: translateX(2px);
}

.demo-transport-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.demo-transport-btn:hover {
  background: rgba(34,211,238,0.10);
  color: #22d3ee;
  border-color: rgba(34,211,238,0.25);
}

/* ── Grid area ─────────────────────────────────────────────── */

.demo-grid-area {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: #09090e;
  min-height: 0;
}

/* ── Split containers ──────────────────────────────────────── */

.demo-split {
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.demo-split--h {
  flex-direction: row;
}

.demo-split--v {
  flex-direction: column;
}

/* ── Tiles ─────────────────────────────────────────────────── */

.demo-tile {
  position: relative;
  background: #0d0d16;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: border-color 0.15s;
  min-width: 0;
  min-height: 0;
}

.demo-tile:hover {
  border-color: rgba(255,255,255,0.12);
}

.demo-tile.drop-hover {
  border-color: rgba(139,92,246,0.8) !important;
  background: rgba(139,92,246,0.04);
}

/* Tile content wrapper */

.tile-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.demo-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Filename badge */

.demo-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0,0,0,0.62);
  color: #c4b5fd;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  pointer-events: none;
  max-width: 70%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 5;
}

.demo-tile:hover .demo-badge {
  opacity: 1;
}

/* Per-tile controls overlay */

.demo-tile-controls {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 5;
}

.demo-tile:hover .demo-tile-controls {
  opacity: 1;
}

.demo-ctrl-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: rgba(0,0,0,0.58);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.demo-ctrl-btn:hover {
  background: rgba(34,211,238,0.15);
  color: #22d3ee;
}

/* Empty tile state */

.demo-tile--empty {
  cursor: default;
}

.demo-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.14);
  font-family: 'Inter', sans-serif;
  gap: 6px;
  transition: color 0.2s;
  padding: 12px;
  pointer-events: none;
  z-index: 2;
}

.demo-tile--empty:hover .demo-empty-state {
  color: rgba(255,255,255,0.26);
}

.demo-empty-label {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
}

.demo-empty-hint {
  font-size: 9.5px;
  opacity: 0.55;
  text-align: center;
}

/* ── Resize handles ────────────────────────────────────────── */

.demo-resize-handle {
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
  transition: background 0.15s;
  position: relative;
  z-index: 10;
}

.demo-resize-handle:hover,
  .demo-resize-handle.is-dragging {
  background: rgba(34,211,238,0.22);
}

.demo-resize-handle--v {
  width: 4px;
  height: 100%;
  cursor: col-resize;
}

.demo-resize-handle--h {
  width: 100%;
  height: 4px;
  cursor: row-resize;
}

/* ── Remove button ─────────────────────────────────────────── */

.tile-remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.52);
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
  z-index: 22;
  pointer-events: auto;
  font-size: 12px;
  line-height: 1;
}

.demo-tile:hover .tile-remove-btn {
  opacity: 1;
}

.tile-remove-btn:hover {
  background: rgba(220,38,38,0.8) !important;
}

@media (min-width: 1025px) {
  .cta-btn {
    padding: 18px 42px;
    font-size: 1.3rem;
  }
}

@media (max-width: 1024px) {
  .demo-reveal-wrap {
    margin-top: -40vh;
  }
}

/* Short viewports (laptops ~720-860px tall) — scale down so all copy fits */

@media (max-height: 860px) and (min-width: 769px) {
  .hero-content {
    padding-top: clamp(72px, 10vh, 108px);
    padding-bottom: clamp(160px, 22vh, 240px);
  }

  .hero-content > .wordmark-pill  {
    margin-bottom: 12px;
  }

  .hero-content > .hero-h1        {
    margin-bottom: 14px;
  }

  .hero-content > .hero-subtitle  {
    margin-bottom: 28px;
  }

  .hero-h1-line {
    font-size: clamp(1.9rem, 3.8vw, 3.9rem);
  }
}

@media (max-width: 768px) {
  .demo-micro,
    .demo-reveal-wrap,
    .demo-ambient-fx,
    .demo-top-glow {
    display: none !important;
  }

  .site-nav {
    padding: 18px 16px 0;
  }

  .site-nav:not(.site-nav--static) {
    display: flex;
    justify-content: flex-start;
  }

  .site-nav:not(.site-nav--static) .site-nav-links,
    .site-nav:not(.site-nav--static) .site-nav-trailing {
    display: none;
  }

  .hero-content {
    padding: clamp(88px, 13vh, 120px) 16px clamp(120px, 20vh, 180px);
  }

  .hero-content > .hero-seo-kicker {
    margin-bottom: 10px;
  }

  .hero-content > .wordmark-pill  {
    margin-bottom: 12px;
  }

  .hero-content > .hero-h1        {
    margin-bottom: 12px;
  }

  .hero-content > .hero-subtitle  {
    margin-bottom: 20px;
  }

  .wordmark-pill {
    display: none;
  }

  .hero-h1 {
    gap: 2px;
  }

  .hero-h1-line {
    font-size: clamp(2.2rem, 10.4vw, 3.2rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
    white-space: normal;
  }

  .hero-subtitle {
    max-width: 360px;
    font-size: 1.95vh;
    line-height: 1.5;
    color: rgba(255,255,255,0.62);
  }

  .cta-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
     Static content pages (About, Policy, FAQ)
  ══════════════════════════════════════════════════════════════ */

.page-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-nav.site-nav--static {
  position: relative;
  left: auto;
  right: auto;
  z-index: 20;
  padding: 22px 28px 20px;
  pointer-events: auto;
  background: linear-gradient(
      to bottom,
      rgba(3, 3, 7, 0.98) 0%,
      rgba(3, 3, 7, 0.88) 70%,
      transparent 100%
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav.site-nav--static .site-brand {
  pointer-events: auto;
}

.site-nav-links {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  pointer-events: auto;
}

.page-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s, text-shadow 0.2s;
}

.page-nav-link:hover {
  color: #22d3ee;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}

.page-nav-link[aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.site-nav.site-nav--static .site-open-btn {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.page-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  box-sizing: border-box;
}

.landing-main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  box-sizing: border-box;
}

.landing-section {
  margin-bottom: 48px;
}

.landing-section--intro {
  max-width: 760px;
}

.landing-h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.16;
  margin-bottom: 16px;
}

.landing-section-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 16px;
}

.landing-prose {
  max-width: 760px;
}

.post-demo-cta {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  box-sizing: border-box;
  text-align: center;
}

.post-demo-cta__title {
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.post-demo-cta__link {
  font: inherit;
  color: #fff;
  text-decoration: none;
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.25));
}

.post-demo-cta__link:hover {
  color: #22d3ee;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.45));
}

.post-demo-cta__link span {
  color: #22d3ee;
  transition: transform 0.2s ease;
}

.post-demo-cta__link:hover span {
  transform: translateX(4px);
}

.post-demo-cta__sub {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.how-it-works-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: howstep;
  max-width: 560px;
}

.how-it-works-steps li {
  counter-increment: howstep;
  position: relative;
  padding: 12px 0 12px 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.how-it-works-steps li:last-child {
  border-bottom: none;
}

.how-it-works-steps li::before {
  content: counter(howstep);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
}

.landing-feature-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
      linear-gradient(165deg, rgba(34, 211, 238, 0.05) 0%, rgba(249, 115, 22, 0.03) 100%),
      rgba(8, 9, 18, 0.85);
  overflow: hidden;
}

.landing-feature-strip li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-feature-strip li:last-child {
  border-bottom: none;
}

.landing-feature-strip__lead {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.landing-feature-strip__rest {
  color: rgba(255, 255, 255, 0.52);
}

@media (min-width: 900px) {
  .landing-feature-strip {
    flex-direction: row;
  }

  .landing-feature-strip li {
    flex: 1;
    flex-direction: column;
    gap: 6px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .landing-feature-strip li:last-child {
    border-right: none;
  }
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
      linear-gradient(165deg, rgba(34, 211, 238, 0.06) 0%, rgba(249, 115, 22, 0.03) 100%),
      rgba(8, 9, 18, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.landing-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px;
}

.landing-card-copy {
  margin-bottom: 0;
}

.landing-section--faq {
  max-width: 860px;
}

.landing-more-link {
  margin-top: 16px;
}

.page-main--wide {
  max-width: 800px;
}

.page-hero {
  margin-bottom: 40px;
}

.page-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 115, 22, 0.9);
  margin: 0 0 16px;
}

.page-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 16px;
}

.page-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.52);
  margin: 0;
  max-width: 560px;
}

.page-section {
  margin-bottom: 44px;
}

.page-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 14px;
}

.page-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 24px 0 10px;
}

.page-prose {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 14px;
}

.page-prose strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.page-prose a {
  color: #22d3ee;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.page-prose a:hover {
  color: #67e8f9;
  border-bottom-color: rgba(103, 232, 249, 0.55);
}

.policy-inline-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.07);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.policy-inline-notice strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.page-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.page-list li {
  margin-bottom: 8px;
}

.page-list li::marker {
  color: rgba(34, 211, 238, 0.55);
}

.page-quote {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(249, 115, 22, 0.45);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 12px 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.page-pro-card {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
      linear-gradient(165deg, rgba(34, 211, 238, 0.08) 0%, rgba(249, 115, 22, 0.04) 100%),
      rgba(8, 9, 18, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.page-pro-card .page-h2 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-pro-card .page-prose:last-child {
  margin-bottom: 0;
}

.page-pro-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #22d3ee;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.page-pro-card-cta:hover {
  color: #67e8f9;
  transform: translateX(3px);
}

.page-footer {
  margin-top: auto;
  padding: 32px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.page-footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 16px;
}

.page-footer-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 18px 0 10px;
}

.page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
}

.page-footer-nav a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.page-footer-nav a:hover {
  color: #22d3ee;
}

.page-footer-sep {
  color: rgba(255, 255, 255, 0.2);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.policy-updated {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 28px;
}

/* FAQ accordion (native details/summary) */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.faq-details[open] {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.04);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

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

.faq-summary::after {
  content: '+';
  flex-shrink: 0;
  font-weight: 400;
  font-size: 1.1rem;
  color: #22d3ee;
  line-height: 1.2;
  transition: transform 0.2s;
}

.faq-details[open] .faq-summary::after {
  content: '–';
  transform: rotate(0deg);
}

.faq-summary:hover {
  color: #fff;
}

.faq-body {
  padding: 0 20px 18px 20px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.55);
}

.faq-body p {
  margin: 0 0 10px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .site-nav.site-nav--static {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 16px 16px;
  }

  .site-nav.site-nav--static .site-brand {
    align-self: flex-start;
  }

  .site-nav.site-nav--static .site-nav-links {
    width: 100%;
    justify-content: center;
  }

  .site-nav.site-nav--static .site-nav-trailing {
    width: 100%;
  }

  .site-nav.site-nav--static .site-open-btn {
    width: 100%;
    justify-content: center;
  }

  .page-main {
    padding: 24px 16px 64px;
  }

  .landing-main {
    padding: 48px 16px 64px;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }
}

.hover\:z-20:hover {
  z-index: 20;
}

.hover\:border-cyan-400\/40:hover {
  border-color: rgb(34 211 238 / 0.4);
}

.hover\:shadow-\[0_12px_40px_rgba\(0\2c 0\2c 0\2c 0\.65\)\2c 0_0_0_1px_rgba\(34\2c 211\2c 238\2c 0\.18\)\]:hover {
  --tw-shadow: 0 12px 40px rgba(0,0,0,0.65),0 0 0 1px rgba(34,211,238,0.18);
  --tw-shadow-colored: 0 12px 40px var(--tw-shadow-color), 0 0 0 1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

