@font-face {
  font-family: "Righteous";
  src: url("fonts/Righteous-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Alfa Slab One";
  src: url("fonts/AlfaSlabOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #070a12;
  --surface: #0d1320;
  --raised: #121b2b;
  --cyan: #65e7ff;
  --blue: #6578ff;
  --violet: #b66cff;
  --pink: #ff66c7;
  --white: #f6f8ff;
  --soft: #dbe4f5;
  --muted: #8f9bb1;
  --line: rgba(101, 231, 255, 0.18);
  --hairline: rgba(255, 255, 255, 0.1);
  --page: min(1200px, calc(100vw - 64px));
  --display: "Righteous", "Arial Black", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(90, 66, 170, 0.18), transparent 26rem),
    radial-gradient(circle at 8% 7%, rgba(42, 145, 177, 0.1), transparent 24rem),
    var(--ink);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%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='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

img,
svg {
  display: block;
}

.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: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  transition: height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  width: 100%;
  height: 68px;
  padding-inline: max(32px, calc((100vw - 1200px) / 2));
  border-color: var(--hairline);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.83rem;
  color: var(--soft);
}

.site-nav > a:not(.nav-cta) {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.72rem 1rem 0.72rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-cta span {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  width: var(--page);
  min-height: min(900px, 100svh);
  padding: 128px 0 72px;
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.eyebrow > span {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  max-width: 700px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 6.4vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

h1 em,
.download-section h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(246, 248, 255, 0.76);
  text-shadow: 0 0 45px rgba(101, 231, 255, 0.16);
}

.hero-intro {
  max-width: 540px;
  margin-bottom: 2.2rem;
  color: var(--soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: var(--cyan);
  color: #071016;
  box-shadow: 0 12px 42px rgba(101, 231, 255, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.72), transparent 70%);
  transform: translateX(-140%);
  transition: transform 540ms ease;
}

.button-primary:hover {
  box-shadow: 0 16px 56px rgba(101, 231, 255, 0.25);
  transform: translateY(-2px);
}

.button-primary:hover::before {
  transform: translateX(140%);
}

.button-primary > * {
  position: relative;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--soft);
  font-size: 0.86rem;
}

.text-link span {
  color: var(--cyan);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63f5b5;
  box-shadow: 0 0 14px #63f5b5;
}

.motion-stage {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 48% 48% 8px 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(75, 94, 210, 0.24), transparent 31%),
    linear-gradient(155deg, rgba(18, 27, 43, 0.96), rgba(5, 7, 14, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px rgba(0, 0, 0, 0.28);
  perspective: 1000px;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
  transform: rotateX(62deg) scale(1.5) translateY(18%);
}

.time-label {
  position: absolute;
  top: 26%;
  z-index: 2;
  color: rgba(219, 228, 245, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.label-start { left: 5%; }
.label-end { right: 5%; }

.frame-stack {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(62%, 380px);
  aspect-ratio: 0.86;
  transform: translate(-50%, -50%);
}

.hero-frame,
.ghost-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(101, 231, 255, 0.32);
  border-radius: 28px;
}

.hero-frame {
  z-index: 3;
  padding: 6%;
  background: #070916;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.52), 0 0 70px rgba(101, 120, 255, 0.16);
  animation: frame-breathe 5.5s ease-in-out infinite;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.ghost-frame {
  background: linear-gradient(140deg, rgba(101, 231, 255, 0.14), rgba(182, 108, 255, 0.05));
}

.ghost-one {
  opacity: 0.4;
  transform: translateX(-20%) rotateY(18deg) scale(0.92);
}

.ghost-two {
  opacity: 0.24;
  transform: translateX(20%) rotateY(-18deg) scale(0.92);
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: 6%;
  right: 6%;
  left: 6%;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: scan 4.6s ease-in-out infinite;
}

.frame-corner {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 22px;
  border-color: var(--cyan);
  border-style: solid;
}

.corner-tl { top: 3.5%; left: 3.5%; border-width: 1px 0 0 1px; }
.corner-tr { top: 3.5%; right: 3.5%; border-width: 1px 1px 0 0; }
.corner-bl { bottom: 3.5%; left: 3.5%; border-width: 0 0 1px 1px; }
.corner-br { right: 3.5%; bottom: 3.5%; border-width: 0 1px 1px 0; }

.orbit {
  position: absolute;
  top: 47%;
  left: 50%;
  border: 1px solid rgba(101, 231, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
}

.orbit::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
}

.orbit-one {
  width: 93%;
  aspect-ratio: 1.9;
  animation: orbit-rock 7s ease-in-out infinite;
}

.orbit-one::after { top: 48%; right: -3px; }

.orbit-two {
  width: 72%;
  aspect-ratio: 1.35;
  border-color: rgba(182, 108, 255, 0.14);
  transform: translate(-50%, -50%) rotate(58deg);
}

.orbit-two::after { bottom: 10%; left: 10%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }

.timeline {
  position: absolute;
  z-index: 6;
  right: 7%;
  bottom: 6.5%;
  left: 7%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.play-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 10, 18, 0.78);
  cursor: pointer;
  place-items: center;
}

.play-toggle svg { width: 100%; fill: var(--cyan); }
.play-toggle .play-icon { display: none; }
.motion-stage.paused .pause-icon { display: none; }
.motion-stage.paused .play-icon { display: block; }
.motion-stage.paused * { animation-play-state: paused !important; }

.timeline-track {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline-fill {
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  animation: timeline 6s linear infinite;
}

.timeline-head {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 14px var(--cyan);
  transform: translate(-50%, -50%);
  animation: timeline-head 6s linear infinite;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 38px;
  display: grid;
  grid-template-columns: auto 70px auto;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
}

.hero-index i { height: 1px; background: var(--hairline); }

.manifesto {
  width: 100%;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 0;
  border-block: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.012);
}

.manifesto-kicker {
  width: var(--page);
  margin: 0 auto 2.2rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.manifesto-line {
  display: flex;
  width: max-content;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  animation: marquee 28s linear infinite;
}

.manifesto-line span { margin-right: 0.35em; }
.manifesto-line .muted { color: #303849; }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(101, 231, 255, 0.55); }

.section-shell {
  width: var(--page);
  padding-block: clamp(6rem, 11vw, 10rem);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.section-heading.compact { grid-template-columns: 1fr; }

.section-heading h2,
.studio-copy h2,
.privacy-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading > p,
.studio-copy > p,
.privacy-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.workflow-card {
  padding: 1.25rem clamp(1.1rem, 2.6vw, 2.25rem) 2.4rem;
  border-right: 1px solid var(--hairline);
}

.workflow-card:last-child { border-right: 0; }

.step-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.step-meta span:last-child { color: var(--cyan); }

.workflow-visual {
  position: relative;
  display: grid;
  height: 235px;
  margin-block: 1.2rem 1.7rem;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(18, 27, 43, 0.72), rgba(9, 13, 24, 0.42));
  place-items: center;
}

.workflow-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.45;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 32px 32px;
}

.upload-frame {
  position: relative;
  display: grid;
  width: 40%;
  aspect-ratio: 1;
  border: 1px dashed rgba(101, 231, 255, 0.6);
  border-radius: 8px;
  background: rgba(101, 231, 255, 0.035);
  place-items: center;
}

.upload-frame::before,
.upload-frame::after {
  position: absolute;
  width: 78%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.35;
}

.upload-frame::before { transform: rotate(45deg); }
.upload-frame::after { transform: rotate(-45deg); }
.upload-frame svg { position: relative; z-index: 2; width: 34px; fill: none; stroke: var(--cyan); stroke-width: 1.2; }

.prompt-visual { place-items: start; padding: 35px; }
.prompt-line { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 13px; width: 100%; }
.prompt-line i { display: block; height: 1px; background: rgba(219, 228, 245, 0.24); }
.prompt-line i:nth-child(2) { width: 78%; }
.prompt-line i:nth-child(3) { width: 45%; background: var(--cyan); box-shadow: 0 0 12px rgba(101, 231, 255, 0.7); }
.cursor { position: absolute; z-index: 2; top: 73px; left: 48%; width: 1px; height: 16px; background: var(--cyan); animation: blink 1s step-end infinite; }
.prompt-chip { position: absolute; z-index: 2; right: 24px; bottom: 25px; padding: 7px 10px; border: 1px solid rgba(182, 108, 255, 0.3); border-radius: 999px; background: rgba(182, 108, 255, 0.1); color: #d8b6ff; font-family: ui-monospace, monospace; font-size: 0.58rem; }
.prompt-chip.second { right: auto; bottom: 58px; left: 30px; border-color: var(--line); background: rgba(101, 231, 255, 0.08); color: var(--cyan); }

.output-ring { position: relative; z-index: 1; width: 110px; height: 110px; border: 1px solid rgba(101, 231, 255, 0.45); border-radius: 50%; box-shadow: inset 0 0 35px rgba(101, 231, 255, 0.08), 0 0 38px rgba(101, 120, 255, 0.12); }
.output-ring::after { position: absolute; inset: 13px; border: 1px solid rgba(182, 108, 255, 0.33); border-radius: 50%; content: ""; }
.output-play { position: absolute; z-index: 2; display: grid; width: 38px; height: 38px; border-radius: 50%; background: var(--white); place-items: center; }
.output-play svg { width: 22px; fill: var(--ink); }
.spark { position: absolute; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.spark-a { top: 26%; right: 26%; }
.spark-b { bottom: 25%; left: 22%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.workflow-card h3,
.case-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.workflow-card > p,
.case-card > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.studio-section {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  min-height: 800px;
}

.studio-copy h2 { margin-bottom: 1.8rem; }
.studio-copy > p { margin-bottom: 1.5rem; }

.tool-orbit {
  position: relative;
  min-height: 580px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(101, 120, 255, 0.16), transparent 28%),
    radial-gradient(circle, transparent 48%, rgba(101, 231, 255, 0.04) 48.3%, transparent 49%);
}

.tool-orbit::before,
.tool-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.tool-orbit::before { width: 70%; height: 70%; }
.tool-orbit::after { width: 42%; height: 42%; }

.orbit-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  padding: 8px;
  border: 1px solid rgba(101, 231, 255, 0.24);
  border-radius: 34px;
  background: rgba(7, 10, 18, 0.72);
  box-shadow: 0 0 70px rgba(101, 120, 255, 0.2);
  transform: translate(-50%, -50%) rotate(6deg);
}

.orbit-core img { width: 100%; height: 100%; border-radius: 27px; }

.tool-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 175px;
  padding: 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(13, 19, 32, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.tool-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(101, 231, 255, 0.06);
  place-items: center;
}

.tool-icon svg { width: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.4; }
.tool-icon svg path[d^="m9"] { fill: var(--cyan); stroke: none; }
.tool-card strong,
.tool-card small { display: block; }
.tool-card strong { margin-bottom: 0.25rem; font-size: 0.8rem; }
.tool-card small { color: var(--muted); font-size: 0.65rem; }
.tool-motion { top: 7%; left: 40%; }
.tool-image { top: 37%; right: -3%; }
.tool-cutout { bottom: 8%; left: 39%; }
.tool-looks { top: 38%; left: -4%; }

.use-cases { padding-top: 4rem; }
.case-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); }
.case-card { position: relative; padding: 1rem 1rem 1.7rem; background: var(--ink); }
.case-number { position: absolute; z-index: 3; top: 1.7rem; left: 1.7rem; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.62rem; }
.case-art { position: relative; height: 370px; margin-bottom: 1.5rem; overflow: hidden; background: #0c1220; }
.case-art::before { position: absolute; inset: 0; z-index: 2; content: ""; background: linear-gradient(to bottom, transparent 56%, rgba(7,10,18,.58)); pointer-events: none; }
.case-art::after { position: absolute; z-index: 3; inset: 12px; border: 1px solid rgba(101, 231, 255, 0.16); content: ""; pointer-events: none; }
.case-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.72,.2,1), filter 700ms ease; }
.case-card:hover .case-art img { transform: scale(1.035); filter: saturate(1.08); }

.privacy-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  border-top: 1px solid var(--hairline);
}

.privacy-mark { display: grid; min-height: 430px; border-right: 1px solid var(--hairline); place-items: center; }
.privacy-mark svg { width: min(70%, 270px); fill: rgba(101, 231, 255, 0.035); stroke: var(--cyan); stroke-width: 1.2; filter: drop-shadow(0 0 36px rgba(101, 231, 255, 0.18)); }
.privacy-mark svg path:last-child { fill: none; stroke-width: 2; }
.privacy-copy h2 { margin-bottom: 1.4rem; }
.privacy-copy > p { max-width: 680px; }
.legal-links { display: flex; gap: 2rem; margin-top: 2rem; }
.legal-links a { padding-bottom: 0.4rem; border-bottom: 1px solid var(--hairline); font-size: 0.82rem; }
.legal-links span { margin-left: 0.5rem; color: var(--cyan); }

.download-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 720px;
  padding: clamp(7rem, 12vw, 11rem) 2rem;
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  text-align: center;
}

.download-section::before { position: absolute; inset: 0; content: ""; background-image: url("images/aqeloria-generated-p4.webp"); background-position: center 46%; background-size: cover; opacity: 0.16; filter: saturate(1.2); }
.download-section::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to bottom, var(--ink), transparent 28%, transparent 70%, var(--ink)); }
.download-section > *:not(.download-glow) { position: relative; z-index: 2; }
.download-glow { position: absolute; z-index: 1; top: 27%; left: 50%; width: 520px; height: 250px; border-radius: 50%; background: rgba(101, 120, 255, 0.25); filter: blur(80px); transform: translateX(-50%); }
.download-logo { width: 82px; height: 82px; margin-bottom: 2rem; border-radius: 23px; box-shadow: 0 15px 45px rgba(0,0,0,.42); }
.download-section .eyebrow { justify-content: center; }
.download-section h2 { max-width: 950px; margin-bottom: 1.5rem; font-size: clamp(3rem, 6vw, 6.5rem); line-height: 0.95; letter-spacing: -0.05em; }
.download-section > p:not(.eyebrow) { max-width: 540px; margin-bottom: 2rem; color: var(--soft); line-height: 1.7; }
.download-section small { margin-top: 1rem; color: var(--muted); font-size: 0.68rem; }

.site-footer { width: var(--page); padding: 5rem 0 2rem; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: space-between; padding-bottom: 3.5rem; border-bottom: 1px solid var(--hairline); }
.footer-brand p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3.5rem 0; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.footer-links span { margin-bottom: 0.5rem; color: var(--muted); font-family: ui-monospace, monospace; font-size: 0.61rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links a { font-size: 0.78rem; color: var(--soft); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid var(--hairline); color: #69758b; font-family: ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.08em; }

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 0.3rem;
  max-width: min(370px, calc(100vw - 48px));
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 19, 32, 0.94);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}
.toast.visible { opacity: 1; transform: translateY(0); }
.toast strong { font-size: 0.8rem; }
.toast span { color: var(--muted); font-size: 0.68rem; line-height: 1.5; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.72,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.workflow-card:nth-child(2), .case-card:nth-child(2) { transition-delay: 100ms; }
.workflow-card:nth-child(3), .case-card:nth-child(3) { transition-delay: 200ms; }

.legal-page { background: var(--ink); }
.legal-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hairline); background: rgba(7,10,18,.88); backdrop-filter: blur(18px); }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; width: var(--page); height: 72px; margin: 0 auto; }
.back-link { color: var(--soft); font-size: 0.78rem; }
.back-link span { margin-right: .55rem; color: var(--cyan); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(3rem, 8vw, 8rem); width: var(--page); padding: 6rem 0 9rem; margin: 0 auto; }
.legal-aside { position: sticky; top: 120px; align-self: start; }
.legal-aside .eyebrow { margin-bottom: 1rem; }
.legal-aside p { color: var(--muted); font-size: .73rem; line-height: 1.6; }
.legal-aside nav { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.legal-aside nav a { color: var(--muted); font-size: .72rem; }
.legal-aside nav a:hover { color: var(--cyan); }
.legal-document h1 { margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 5.6rem); }
.legal-document .effective { margin-bottom: 4rem; color: var(--cyan); font-family: ui-monospace, monospace; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-document .lead { color: var(--soft); font-size: 1.05rem; line-height: 1.8; }
.legal-document section { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--hairline); }
.legal-document h2 { margin-bottom: 1.5rem; font-family: var(--display); font-size: 1.75rem; letter-spacing: -.02em; }
.legal-document h3 { margin: 1.7rem 0 .7rem; color: var(--soft); font-size: .96rem; }
.legal-document p,
.legal-document li { color: #aab5c9; font-size: .86rem; line-height: 1.82; }
.legal-document ul,
.legal-document ol { padding-left: 1.3rem; }
.legal-document li { margin-bottom: .6rem; padding-left: .3rem; }
.legal-document a { color: var(--cyan); border-bottom: 1px solid rgba(101,231,255,.28); }

@keyframes scan {
  0%, 100% { top: 6%; opacity: 0; }
  12%, 88% { opacity: 0.8; }
  50% { top: 92%; }
}

@keyframes frame-breathe {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0.7deg); }
}

@keyframes orbit-rock {
  0%, 100% { transform: translate(-50%, -50%) rotate(-17deg); }
  50% { transform: translate(-50%, -50%) rotate(-10deg); }
}

@keyframes timeline { to { width: 100%; } }
@keyframes timeline-head { to { left: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  :root { --page: min(100% - 40px, 760px); }
  .site-header.scrolled { padding-inline: 20px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; background: rgba(13,19,32,.8); cursor: pointer; place-content: center; gap: 6px; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 17px; height: 1px; background: var(--white); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; top: 68px; right: 0; left: 0; display: grid; padding: 2rem 20px 2.5rem; border-bottom: 1px solid var(--hairline); background: rgba(7,10,18,.97); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-cta { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .motion-stage { min-height: 610px; }
  .hero-index { display: none; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .section-heading > p { max-width: 540px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .workflow-card:last-child { border-bottom: 0; }
  .workflow-visual { height: 270px; }
  .studio-section { grid-template-columns: 1fr; }
  .studio-copy { max-width: 600px; }
  .tool-orbit { min-height: 600px; }
  .case-strip { grid-template-columns: 1fr; }
  .case-art { height: 500px; }
  .privacy-section { grid-template-columns: 1fr; }
  .privacy-mark { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .privacy-mark svg { width: 180px; }
  .legal-layout { grid-template-columns: 1fr; padding-top: 4rem; }
  .legal-aside { position: static; }
  .legal-aside nav { display: none; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 32px); }
  .site-header { height: 72px; }
  .site-header.scrolled { padding-inline: 16px; }
  .brand { font-size: .92rem; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .hero { gap: 3rem; min-height: auto; padding: 128px 0 64px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .button { width: 100%; }
  .motion-stage { min-height: 490px; border-radius: 42% 42% 8px 8px; }
  .frame-stack { width: 67%; }
  .timeline { right: 5%; left: 5%; gap: .6rem; }
  .time-label { display: none; }
  .manifesto-line { font-size: 3.1rem; }
  .section-shell { padding-block: 6rem; }
  .section-heading { margin-bottom: 3rem; }
  .workflow-card { padding-inline: .25rem; }
  .workflow-visual { height: 230px; }
  .tool-orbit { min-height: 490px; margin-top: 1rem; }
  .orbit-core { width: 100px; height: 100px; border-radius: 26px; }
  .orbit-core img { border-radius: 20px; }
  .tool-card { min-width: 138px; padding: .55rem; }
  .tool-icon { width: 34px; height: 34px; }
  .tool-card small { font-size: .57rem; }
  .tool-motion { left: 30%; }
  .tool-image { right: -2%; }
  .tool-cutout { left: 28%; }
  .tool-looks { left: -2%; }
  .case-art { height: 360px; }
  .legal-links { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .download-section { min-height: 650px; padding-inline: 16px; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .legal-header-inner { height: 64px; }
  .legal-layout { padding: 3.5rem 0 7rem; }
  .legal-document h1 { font-size: 3.2rem; }
  .legal-document .effective { margin-bottom: 3rem; }
}

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