@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #05060d;
  --ink-2: #080b16;
  --surface: #0c1120;
  --surface-2: #11182a;
  --surface-3: #171f35;
  --text: #f8f7f4;
  --muted: #b4b6c8;
  --muted-2: #8a8da5;
  --line: rgba(248, 247, 244, 0.12);
  --line-strong: rgba(248, 247, 244, 0.22);
  --ember: #f7600a;
  --ember-soft: #ff9a57;
  --flame: #e23b2e;
  --red: #cc252a;
  --gold: #f4a119;
  --violet: #8a63ba;
  --indigo: #2a32aa;
  --cyan: #23b9d5;
  --green: #3ddc97;
  --grad-hot: linear-gradient(110deg, #ffd166, #f4a119 24%, #f7600a 58%, #cc252a);
  --grad-cool: linear-gradient(120deg, #23b9d5, #2a32aa 55%, #8a63ba);
  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.75rem;
  --radius: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient glow lives on its own fixed, non-blended layer. A `fixed` pseudo-
   element is composited once, whereas `background-attachment: fixed` on the
   body forces a full-viewport repaint on every scroll frame. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(58rem 42rem at 10% -6%, rgba(204, 37, 42, 0.2), transparent 62%),
    radial-gradient(52rem 38rem at 94% 4%, rgba(42, 50, 170, 0.22), transparent 64%),
    radial-gradient(48rem 34rem at 50% 108%, rgba(247, 96, 10, 0.08), transparent 66%);
}

/* Film grain. Kept as a plain alpha overlay: `mix-blend-mode` here would force
   the browser to blend the whole viewport on every composite. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: var(--ember);
  color: #160a06;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 300;
  padding: 0.8rem 1.1rem;
  border-radius: 0.7rem;
  background: var(--text);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#main:focus {
  outline: none;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid transparent;
  /* Don't transition the blur itself — animating a backdrop-filter re-blurs
     the strip behind the header on every frame while scrolling. */
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 6, 13, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--container);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  box-shadow: 0 6px 22px rgba(247, 96, 10, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-left: auto;
}

.nav > a:not(.btn) {
  position: relative;
  padding-block: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav > a:not(.btn):hover,
.nav > a[aria-current='page'] {
  color: var(--text);
}

.nav > a:not(.btn):hover::after,
.nav > a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav .nav__cta {
  display: none;
}

.header-cta {
  flex: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  translate: -50% 0;
  transition: rotate 0.25s ease, translate 0.25s ease, top 0.25s ease;
}

.menu-toggle span:first-child {
  top: 1.15rem;
}

.menu-toggle span:last-child {
  top: 1.55rem;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  top: 1.35rem;
  rotate: 45deg;
}

.menu-toggle[aria-expanded='true'] span:last-child {
  top: 1.35rem;
  rotate: -45deg;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn .icon {
  width: 1rem;
  height: 1rem;
}

.btn--primary {
  background: var(--grad-hot);
  color: #180806;
  box-shadow: 0 12px 32px rgba(247, 96, 10, 0.25);
}

.btn--primary:hover {
  color: #180806;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(247, 96, 10, 0.34);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--text);
}

.btn--sm {
  min-height: 2.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

/* ---------- shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--ember-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--cta {
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.section__head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  max-width: none;
}

.section__head h2,
.split__copy h2,
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section__head h2 em,
.split__copy h2 em,
.cta-panel h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.02em;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.section__head .section__lede {
  margin-top: 1.1rem;
}

.section__head--split .section__lede {
  margin-top: 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  overflow: clip;
}

.hero__aura {
  position: absolute;
  inset: -12% -15% auto;
  height: 95%;
  pointer-events: none;
  /* The gradients already fade to transparent, so a 55px blur adds cost
     without changing the look. */
  background:
    radial-gradient(38% 48% at 16% 28%, rgba(204, 37, 42, 0.32), transparent 66%),
    radial-gradient(34% 44% at 78% 20%, rgba(42, 50, 170, 0.34), transparent 66%),
    radial-gradient(30% 36% at 58% 82%, rgba(247, 96, 10, 0.16), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__copy {
  position: relative;
  z-index: 4;
  max-width: 42rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill__dot,
.live-dot {
  position: relative;
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0.5rem rgba(247, 96, 10, 0.45);
}

/* The pulse ring is a scaled/faded pseudo-element so it runs on the
   compositor; animating `box-shadow` repainted the dot on every frame. */
.pill__dot::after,
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(247, 96, 10, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

.display {
  margin: 1.4rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.display em {
  display: inline-block;
  padding-right: 0.05em;
  font-family: var(--font-serif);
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 30rem;
  margin-top: 1.6rem;
}

.platform {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.platform__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.platform__mark--firefox {
  background: var(--grad-hot);
  color: #160806;
}

.platform__mark--chrome {
  background: var(--grad-cool);
  color: #f7fbff;
}

.platform small,
.float small,
.fox-chip,
.tile__tag {
  display: block;
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
}

.platform__meta {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 700;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero__proof .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--green);
}

.hero__stage {
  position: relative;
  z-index: 3;
  height: clamp(31rem, 46vw, 40rem);
}

.stage__grid {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 0, transparent 68%);
}

.stage__ring {
  position: absolute;
  top: 48%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 247, 244, 0.08);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.stage__ring--one {
  width: 86%;
  border-style: dashed;
  animation: spin 48s linear infinite;
}

.stage__ring--two {
  width: 60%;
  border-color: rgba(247, 96, 10, 0.22);
  animation: spin-back 36s linear infinite;
}

.os-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 46rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background: #070915;
  box-shadow:
    0 3rem 7rem rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(247, 96, 10, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%) rotate(-1.6deg);
}

.os-window__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.os-window__dots {
  display: flex;
  gap: 0.3rem;
}

.os-window__dots i {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.55;
}

.os-window__dots i:first-child {
  background: var(--flame);
}

.os-window__dots i:nth-child(2) {
  background: var(--gold);
}

.os-window__dots i:last-child {
  background: var(--green);
}

.os-window__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.os-window__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-window__live i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.os-window__body img {
  width: 100%;
  height: auto;
}

.float {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  /* Nearly opaque already; the blur only cost frames (these chips float). */
  background: rgba(12, 17, 32, 0.94);
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.45);
  font-size: 0.7rem;
  animation: bob 6s ease-in-out infinite;
}

.float small {
  line-height: 1.2;
}

.float strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
}

.float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 0.55rem;
  background: rgba(247, 96, 10, 0.18);
  color: var(--ember-soft);
}

.float__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.float__icon--violet {
  background: rgba(138, 99, 186, 0.2);
  color: #c8a9ee;
}

.float__icon--cyan {
  background: rgba(35, 185, 213, 0.16);
  color: #8ee7f8;
}

.float__icon--gold {
  background: rgba(244, 161, 25, 0.18);
  color: var(--gold);
}

.float--theme {
  top: 11%;
  left: -4%;
  animation-delay: -1s;
}

.float--ai {
  top: 30%;
  right: -5%;
  animation-delay: -2.4s;
}

.float--history {
  bottom: 19%;
  left: -5%;
  animation-delay: -3.6s;
}

.float--perf {
  right: -2%;
  bottom: 7%;
  animation-delay: -4.8s;
}

.theme-swatches {
  display: flex;
  gap: 0.18rem;
  margin-left: auto;
}

.theme-swatches i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.theme-swatches i:nth-child(2) {
  background: var(--ember);
}

.theme-swatches i:nth-child(3) {
  background: var(--violet);
}

.theme-swatches i:nth-child(4) {
  background: var(--cyan);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  padding-block: 0.95rem;
  animation: marquee 44s linear infinite;
}

.marquee__track span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee__track .icon {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--ember);
}

/* ---------- feature moves ---------- */

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

.move {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(247, 96, 10, 0.08), transparent 60%),
    var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.move:hover {
  border-color: rgba(247, 96, 10, 0.4);
  transform: translateY(-4px);
}

.move__index {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  color: rgba(248, 247, 244, 0.12);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.move__icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(247, 96, 10, 0.25);
  border-radius: 0.8rem;
  background: rgba(247, 96, 10, 0.1);
  color: var(--ember-soft);
}

.move__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.move h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.move p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.move__meta {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--muted-2);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.move__visual {
  position: relative;
  display: flex;
  margin-top: 1.3rem;
  padding: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.move__visual--theme {
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(247, 96, 10, 0.13), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.move__visual--search {
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(42, 50, 170, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.move__visual--focus {
  background:
    radial-gradient(90% 90% at 50% 100%, rgba(61, 220, 151, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.mini-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-width: 24rem;
  min-height: 8.1rem;
  margin-inline: auto;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.75rem;
  background: rgba(7, 9, 21, 0.82);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.24);
}

.mini-panel__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-2);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mini-preview {
  position: relative;
  flex: 1;
  min-height: 3.4rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  background:
    radial-gradient(70% 90% at 18% 20%, rgba(244, 161, 25, 0.38), transparent 45%),
    radial-gradient(70% 90% at 82% 72%, rgba(42, 50, 170, 0.65), transparent 52%),
    linear-gradient(145deg, #151326, #080b18 58%, #171026);
}

.mini-preview i {
  position: absolute;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.45);
}

.mini-preview i:nth-child(1) {
  top: 22%;
  left: 24%;
}

.mini-preview i:nth-child(2) {
  top: 42%;
  right: 22%;
}

.mini-preview i:nth-child(3) {
  right: 38%;
  bottom: 18%;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-2);
  font-size: 0.54rem;
  font-weight: 700;
}

.mini-row b {
  margin-left: auto;
  color: var(--text);
  font-size: 0.54rem;
}

.mini-slider {
  position: relative;
  flex: 1;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-slider i {
  position: absolute;
  inset: 0 32% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--ember));
}

.mini-slider i::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.22rem;
  width: 0.46rem;
  height: 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--text);
  translate: 0 -50%;
}

.mini-toggle {
  display: flex;
  align-items: center;
  width: 1.6rem;
  height: 0.85rem;
  margin-left: auto;
  padding: 0.12rem;
  border: 1px solid rgba(247, 96, 10, 0.35);
  border-radius: 999px;
  background: rgba(247, 96, 10, 0.16);
}

.mini-toggle i {
  width: 0.5rem;
  height: 0.5rem;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ember-soft);
  box-shadow: 0 0 0.6rem rgba(247, 96, 10, 0.8);
}

.mini-panel--search {
  gap: 0.55rem;
}

.mini-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.58rem;
}

.mini-search .icon {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--ember-soft);
}

.mini-search kbd {
  margin-left: auto;
  padding: 0.1rem 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.3rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.48rem;
}

.mini-results {
  display: grid;
  gap: 0.25rem;
}

.mini-result {
  display: grid;
  grid-template-columns: 0.85rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.35rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.54rem;
}

.mini-result:first-child {
  background: rgba(247, 96, 10, 0.09);
  color: var(--text);
}

.mini-result .icon {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--ember-soft);
}

.mini-result b {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-result small {
  color: var(--muted-2);
  font-size: 0.46rem;
}

.mini-focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem;
}

.mini-timer {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--ember-soft) 0 68%, rgba(255, 255, 255, 0.08) 68% 100%);
  box-shadow: 0 0 2rem rgba(247, 96, 10, 0.16);
}

.mini-timer::before {
  content: '';
  position: absolute;
  inset: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: #0b1020;
}

.mini-timer > span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
}

.mini-timer strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mini-timer small {
  color: var(--muted-2);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.mini-modes span {
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mini-modes .is-active {
  border-color: rgba(247, 96, 10, 0.35);
  background: rgba(247, 96, 10, 0.12);
  color: var(--ember-soft);
}

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.split__copy .section__lede {
  margin-top: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  color: var(--green);
}

.split__visual {
  position: relative;
  padding: 1.5rem 1rem;
}

.shot-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  background: #070915;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.55);
  transform: rotate(1.4deg);
}

.shot-frame img {
  width: 100%;
  height: auto;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 17, 32, 0.95);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  animation: bob 6.5s ease-in-out infinite;
}

.chip--theme {
  top: 1%;
  left: -1%;
}

.chip--theme .theme-swatches {
  margin-left: 0;
}

.chip--effect {
  right: -1%;
  bottom: 4%;
  color: var(--ember-soft);
  animation-delay: -2.5s;
}

.chip--effect .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tile:hover {
  border-color: rgba(247, 96, 10, 0.35);
  transform: translateY(-3px);
}

.tile--ai {
  grid-column: span 7;
}

.tile--history {
  grid-column: span 5;
}

.tile__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070915;
}

.tile__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 6, 13, 0.84);
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tile__badge .icon {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--ember-soft);
}

.tile__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile:hover .tile__media img {
  transform: scale(1.03);
}

.tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.tile__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ember-soft);
}

.tile__tag .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.tile h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.tile p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- gallery ---------- */

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

.shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.2s ease, box-shadow 0.3s ease;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot:hover,
.shot:focus-visible {
  z-index: 3;
  border-color: rgba(247, 96, 10, 0.55);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.shot-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.8rem 0.65rem;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 13, 0.9) 58%);
  color: #f2f0ee;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shot:hover .shot-cap,
.shot:focus-visible .shot-cap {
  opacity: 1;
}

/* ---------- privacy / trust ---------- */

.privacy-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(247, 96, 10, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(247, 96, 10, 0.14), transparent 60%),
    radial-gradient(55% 120% at 100% 100%, rgba(42, 50, 170, 0.18), transparent 62%),
    var(--surface);
}

.privacy-panel__stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.privacy-panel__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-panel__stat span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-panel > p {
  grid-column: span 2;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface);
}

.card__tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--ember-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

.quote {
  position: relative;
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 100% at 8% 0%, rgba(247, 96, 10, 0.14), transparent 62%),
    radial-gradient(55% 90% at 100% 100%, rgba(138, 99, 186, 0.16), transparent 64%),
    var(--ink-2);
}

.quote__mark {
  position: absolute;
  top: 0.4rem;
  right: 1.6rem;
  color: rgba(248, 247, 244, 0.08);
  font-family: var(--font-serif);
  font-size: 9rem;
  line-height: 1;
}

.quote blockquote {
  position: relative;
  max-width: 58rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.quote figcaption img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
}

.quote figcaption strong {
  display: block;
  color: var(--text);
  font-size: 0.85rem;
}

.quote figcaption small {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.quote__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  color: var(--ember-soft);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.quote__link:hover {
  color: var(--text);
}

/* ---------- install CTA ---------- */

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(247, 96, 10, 0.24);
  border-radius: 1.8rem;
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(247, 96, 10, 0.18), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(42, 50, 170, 0.2), transparent 65%),
    var(--surface);
}

.cta-panel .hero__actions {
  margin-top: 1.6rem;
}

.form-note {
  margin-top: 0.9rem;
  color: var(--muted-2);
  font-size: 0.74rem;
}

.cta-panel__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
}

.fox-orb {
  position: absolute;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 96, 10, 0.32), rgba(42, 50, 170, 0.14) 45%, transparent 70%);
  filter: blur(10px);
}

.fox-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.fox-orbit--one {
  width: min(23rem, 88%);
  animation: spin 42s linear infinite;
}

.fox-orbit--two {
  width: min(16rem, 64%);
  border-color: rgba(247, 96, 10, 0.22);
  animation: spin-back 28s linear infinite;
}

.fox-spark {
  position: absolute;
  top: 19%;
  right: 22%;
  z-index: 1;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1.1rem rgba(244, 161, 25, 0.9);
  animation: bob 5.5s ease-in-out infinite;
}

.fox-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 13rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.3rem;
  background: rgba(8, 11, 22, 0.94);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
  text-align: center;
}

.fox-card img {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 0.5rem;
  border-radius: 1.4rem;
  box-shadow: 0 1rem 2.5rem rgba(247, 96, 10, 0.3);
}

.fox-card strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.fox-card > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.fox-card__chip {
  margin-top: 0.5rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fox-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 17, 32, 0.92);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 0.64rem;
  font-weight: 800;
  animation: bob 6s ease-in-out infinite;
}

.fox-chip .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--ember-soft);
}

.fox-chip--one {
  top: 12%;
  left: 0;
}

.fox-chip--two {
  right: 0;
  bottom: 14%;
  animation-delay: -2.6s;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
  padding-block: clamp(2.5rem, 5vw, 4rem) calc(1.5rem + env(safe-area-inset-bottom));
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer__brand p {
  max-width: 22rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer__col h2 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__col a {
  display: block;
  padding-block: 0.28rem;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-block: 0.28rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer__status--soon .live-dot {
  background: var(--gold);
  box-shadow: 0 0 0.5rem rgba(244, 161, 25, 0.45);
}

.footer__status--soon .live-dot::after {
  background: rgba(244, 161, 25, 0.55);
}

.footer__version {
  margin-top: 0.5rem;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.7rem;
}

/* ---------- hover preview ---------- */

.shot-preview {
  position: fixed;
  z-index: 150;
  display: flex;
  flex-direction: column;
  width: min(92vw, 900px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: #070915;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 0.68, 0.32, 1);
  pointer-events: none;
}

.shot-preview.is-visible {
  opacity: 1;
  transform: none;
}

.shot-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #070915;
}

.shot-preview-cap {
  padding: 0.6rem 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- viewer ---------- */

body.viewer-open {
  overflow: hidden;
}

.viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 3vw, 2.5rem);
  background: rgba(3, 4, 9, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: viewer-fade 0.26s ease both;
}

.viewer[hidden] {
  display: none;
}

.viewer-stage {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.viewer-stage img {
  width: auto;
  height: auto;
  max-width: min(76vw, 880px);
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.viewer-stage figcaption {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.88rem;
}

.viewer-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.viewer-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.06);
}

.viewer-close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 2.5rem);
  right: clamp(0.75rem, 3vw, 2.5rem);
}

/* ---------- inner pages ---------- */

.page-main {
  padding-top: var(--header-h);
}

.page-main > .container > .prose {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.hero--inner {
  display: block;
  min-height: 0;
  justify-content: flex-start;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

.hero--inner h1 {
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero--inner h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero--inner .lede {
  margin-top: 1.1rem;
}

.inner-section {
  padding-block: clamp(2rem, 4vw, 3rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.inner-section h2 {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

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

.card .btn {
  margin-top: 1rem;
}

.faq {
  max-width: 60rem;
}

details {
  margin-bottom: 0.7rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

summary::marker {
  color: var(--ember);
}

details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  max-width: 74ch;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.prose h1 {
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.prose h3 {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p,
.prose > ul,
.prose > ol {
  max-width: 72ch;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0.9rem 0;
}

.prose li {
  margin: 0.45rem 0;
}

.prose a {
  color: var(--ember-soft);
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

code {
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(247, 96, 10, 0.22);
  border-radius: 0.35rem;
  background: rgba(247, 96, 10, 0.08);
  color: var(--ember-soft);
  font-family: var(--font-mono);
  font-size: 0.86em;
  word-break: break-word;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

td code {
  white-space: nowrap;
}

/* ---------- 404 ---------- */

.error-main {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.error-main .display {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
}

/* ---------- animations ---------- */

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@keyframes spin-back {
  to {
    rotate: -360deg;
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.45rem;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes viewer-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes viewer-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.3rem);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 72rem) {
  .float--theme {
    left: -1%;
  }

  .float--history {
    left: -2%;
  }

  .float--ai {
    right: -2%;
  }
}

@media (max-width: 62rem) {
  .hero__stage {
    height: 34rem;
  }

  .float--theme,
  .float--history {
    left: 0;
  }

  .float--ai,
  .float--perf {
    right: 0;
  }

  .split {
    gap: 2rem;
  }

  .bento .tile {
    grid-column: span 6;
  }

  .bento .tile--ai,
  .bento .tile--history {
    grid-column: span 6;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 56rem) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 13, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    translate: 0 0;
  }

  .menu-ready .nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    translate: 0 -0.7rem;
    transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s linear 0.25s;
  }

  .menu-ready .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    translate: 0 0;
    transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s;
  }

  .nav > a:not(.btn) {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .nav > a:not(.btn)::after {
    display: none;
  }

  .nav .nav__cta {
    display: inline-flex;
    margin-top: 1rem;
  }

  .menu-ready .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

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

  .hero__copy {
    max-width: 44rem;
  }

  .hero__stage {
    width: 100%;
    max-width: 42rem;
    height: 32rem;
    margin: 1.5rem auto 0;
  }

  .hero__scroll {
    display: none;
  }

  .section__head--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .move {
    min-height: 0;
  }

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

  .split__visual {
    padding-inline: 0.35rem;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel__visual {
    min-height: 17rem;
  }

  .privacy-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .privacy-panel > p {
    grid-column: span 3;
  }

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

  .page-main {
    padding-top: var(--header-h);
  }
}

@media (max-width: 40rem) {
  .brand span {
    font-size: 0.94rem;
  }

  .brand img {
    width: 2rem;
    height: 2rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2rem);
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions > .btn {
    width: 100%;
  }

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

  .hero__stage {
    height: 27rem;
  }

  .os-window {
    width: 100%;
    transform: translate(-50%, -50%) rotate(-1deg);
  }

  .float--ai,
  .float--history {
    display: none;
  }

  .float--theme {
    top: 2%;
    left: 0;
    scale: 0.9;
    transform-origin: left top;
  }

  .float--perf {
    right: 0;
    bottom: 1%;
    scale: 0.9;
    transform-origin: right bottom;
  }

  .bento .tile,
  .bento .tile--ai,
  .bento .tile--history {
    grid-column: span 12;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-panel > p {
    grid-column: 1;
  }

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

  .quote figcaption {
    align-items: flex-start;
  }

  .quote__link {
    margin-left: 0;
    width: 100%;
    padding-top: 0.4rem;
  }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 26rem) {
  .display {
    font-size: 2.7rem;
  }

  .hero__stage {
    height: 24rem;
  }

  .float--theme,
  .float--perf {
    scale: 0.82;
  }

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

  .chip--theme {
    left: 0;
  }

  .chip--effect {
    right: 0;
  }
}

@media (pointer: coarse) {
  .shot:hover {
    transform: none;
  }

  .shot-cap {
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

@media (forced-colors: active) {
  .display em,
  .section__head h2 em,
  .split__copy h2 em,
  .cta-panel h2 em,
  .hero--inner h1 em,
  .privacy-panel__stat strong {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }

  .btn--primary,
  .platform__mark,
  .tile__tag,
  .card__tag,
  .quote__link {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    -webkit-text-fill-color: ButtonText;
  }

  .os-window,
  .shot-frame,
  .float,
  .chip,
  .fox-card,
  .fox-chip,
  .shot,
  .tile,
  .move,
  .card,
  .quote,
  .cta-panel {
    border: 1px solid CanvasText;
  }
}
