:root {
  color-scheme: dark;
  --ink: #03120f;
  --ink-2: #071915;
  --panel: rgba(7, 27, 22, 0.76);
  --panel-solid: #08251e;
  --text: #fff8df;
  --muted: #cbd5ca;
  --soft: #8fa499;
  --gold: #dbb35a;
  --gold-2: #ffe8a3;
  --emerald: #11a06a;
  --mint: #6ff09a;
  --line: rgba(255, 232, 163, 0.18);
  --line-strong: rgba(255, 232, 163, 0.34);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ink);
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(115deg, rgba(216, 179, 90, 0.12), transparent 28rem),
    radial-gradient(circle at 20% 10%, rgba(17, 160, 106, 0.28), transparent 25rem),
    radial-gradient(circle at 86% 4%, rgba(255, 232, 163, 0.14), transparent 22rem),
    linear-gradient(180deg, #03120f 0%, #061a15 44%, #03120f 100%);
  color: var(--text);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 232, 163, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 232, 163, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 58%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

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

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  width: 32rem;
  aspect-ratio: 1;
  border: 1px solid rgba(219, 179, 90, 0.15);
  border-radius: 999px;
  filter: blur(0.2px);
  transform: rotate(24deg);
}

.ambient span:nth-child(1) {
  top: 8%;
  right: -12rem;
}

.ambient span:nth-child(2) {
  width: 24rem;
  left: -10rem;
  bottom: 16%;
  border-color: rgba(111, 240, 154, 0.12);
}

.ambient span:nth-child(3) {
  width: 42rem;
  right: 20%;
  bottom: -28rem;
  border-color: rgba(255, 232, 163, 0.09);
}

.siteHeader,
main,
footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 232, 163, 0.22);
}

.brand span {
  overflow-wrap: anywhere;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
  min-height: auto;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 3rem) 0 clamp(4rem, 7vw, 7rem);
}

.heroCopy {
  max-width: 680px;
  min-width: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  max-width: 8ch;
  margin-bottom: 1.2rem;
  font-family: Georgia, ui-serif, serif;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.intro {
  max-width: 41rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.72;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.18rem;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.primary {
  background: linear-gradient(180deg, #ffe092, var(--gold));
  color: #171006;
  box-shadow: 0 16px 34px rgba(219, 179, 90, 0.18);
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.heroStage {
  position: relative;
  width: min(820px, 100%);
  max-width: 100%;
  min-height: clamp(520px, 58vw, 650px);
  margin-inline: auto;
  perspective: 1100px;
}

.featurePlate {
  position: absolute;
  inset: 8% 2% auto 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotateX(6deg) rotateY(-13deg) rotateZ(-2deg);
  transform-origin: center;
}

.featurePlate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16) 42%, transparent 58%),
    linear-gradient(180deg, rgba(3, 18, 15, 0.02), rgba(3, 18, 15, 0.55));
  mix-blend-mode: screen;
}

.featurePlate img {
  width: 100%;
  height: auto;
}

.phoneStack {
  position: absolute;
  inset: 0;
  max-width: 100%;
  display: grid;
  place-items: end center;
  pointer-events: none;
}

.phone {
  position: absolute;
  width: min(30vw, 245px);
  min-width: 190px;
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 163, 0.28);
  border-radius: 28px;
  background: #020705;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62), 0 0 0 8px rgba(255, 255, 255, 0.035);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(116deg, rgba(255, 255, 255, 0.16), transparent 34%, transparent 62%, rgba(255, 232, 163, 0.08));
  pointer-events: none;
}

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

.phoneFront {
  right: 2%;
  bottom: 0;
  transform: rotate(-4deg);
}

.phoneBack {
  right: 30%;
  bottom: 8%;
  opacity: 0.82;
  transform: scale(0.86) rotate(8deg);
}

.phoneDemo {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0.68rem;
  color: var(--text);
}

.phoneDemo::after {
  content: none;
}

.demoTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.28rem;
  border: 1px solid rgba(255, 232, 163, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
}

.demoTab {
  min-height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--soft);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.demoTabScan {
  animation: scanTabActive 9s var(--ease) infinite;
}

.demoTabCollection {
  animation: collectionTabActive 9s var(--ease) infinite;
}

.demoViewport {
  position: relative;
  margin-top: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 163, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 34%, rgba(111, 240, 154, 0.12), transparent 8rem),
    linear-gradient(180deg, rgba(255, 232, 163, 0.06), rgba(0, 0, 0, 0.58));
}

.scannerSequence,
.collectionSequence {
  position: absolute;
  inset: 0;
}

.scannerSequence {
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.7rem;
  padding: 1rem;
  animation: scannerScene 9s var(--ease) infinite;
}

.captureFrame {
  position: relative;
  min-height: 0;
  border: 1px solid rgba(219, 179, 90, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 40%),
    rgba(4, 15, 12, 0.68);
}

.corner {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-color: rgba(255, 232, 163, 0.64);
}

.topLeft {
  top: 0.65rem;
  left: 0.65rem;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 8px 0 0 0;
}

.topRight {
  top: 0.65rem;
  right: 0.65rem;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 8px 0 0;
}

.bottomLeft {
  bottom: 0.65rem;
  left: 0.65rem;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 8px;
}

.bottomRight {
  right: 0.65rem;
  bottom: 0.65rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 8px 0;
}

.demoCard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  aspect-ratio: 0.72;
  padding: 0.75rem 0.62rem;
  border: 1px solid rgba(255, 232, 163, 0.38);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255, 232, 163, 0.26), rgba(17, 160, 106, 0.08) 42%, rgba(2, 7, 5, 0.9)),
    #10251d;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  transform-origin: center;
  animation: cardScanMotion 9s var(--ease) infinite;
}

.demoCard::before {
  content: "";
  display: block;
  height: 48%;
  margin-bottom: 0.55rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 232, 163, 0.36), transparent 35%),
    linear-gradient(145deg, rgba(111, 240, 154, 0.24), rgba(0, 0, 0, 0.36));
}

.demoCardTitle,
.demoCardType {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demoCardTitle {
  font-size: 0.7rem;
  font-weight: 900;
}

.demoCardType {
  margin-top: 0.2rem;
  color: var(--soft);
  font-size: 0.55rem;
  font-weight: 800;
}

.scanLine {
  position: absolute;
  z-index: 3;
  left: 1.2rem;
  right: 1.2rem;
  top: 18%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--mint), var(--gold-2), transparent);
  box-shadow: 0 0 20px rgba(111, 240, 154, 0.62), 0 0 34px rgba(219, 179, 90, 0.28);
  animation: intentionalScanLine 9s var(--ease) infinite;
}

.scanResult {
  min-height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 240, 154, 0.28);
  border-radius: 999px;
  background: rgba(17, 160, 106, 0.13);
  color: var(--mint);
  font-size: 0.62rem;
  font-weight: 900;
  animation: resultPulse 9s var(--ease) infinite;
}

.collectionSequence {
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.7rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 76% 12%, rgba(111, 240, 154, 0.12), transparent 7rem),
    linear-gradient(180deg, rgba(6, 31, 25, 0.98), rgba(3, 12, 10, 0.98));
  animation: collectionScene 9s var(--ease) infinite;
}

.collectionTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 900;
}

.collectionTop strong {
  color: var(--muted);
  font-size: 0.55rem;
}

.libraryList {
  display: grid;
  gap: 0.45rem;
  animation: libraryScroll 9s var(--ease) infinite;
}

.libraryList div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 232, 163, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.libraryList span {
  overflow: hidden;
  color: var(--text);
  font-size: 0.66rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.libraryList strong {
  color: var(--soft);
  font-size: 0.52rem;
}

.demoNav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-top: 0.65rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.48);
}

.demoNav span {
  min-width: 0;
  overflow: hidden;
  padding: 0.42rem 0.2rem;
  border-radius: 10px;
  color: var(--soft);
  font-size: 0.5rem;
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navScan {
  animation: navScanActive 9s var(--ease) infinite;
}

.navCollection {
  animation: navCollectionActive 9s var(--ease) infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.metrics div {
  min-height: 116px;
  padding: 1.1rem;
  background: rgba(7, 25, 21, 0.86);
}

.metrics span,
.featureCard span,
.linkList span,
.appScreen figcaption {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  margin-top: 0.75rem;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.08;
}

.featureBand,
.screenShowcase,
.deepPanel {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.sectionIntro,
.showcaseCopy {
  max-width: 760px;
}

.sectionIntro h2,
.showcaseCopy h2,
.panelCopy h2 {
  margin-top: 0.72rem;
}

.showcaseCopy p,
.panelCopy p,
.featureCard p {
  color: var(--muted);
  line-height: 1.72;
}

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

.featureCard {
  position: relative;
  min-height: 270px;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 232, 163, 0.11), transparent 44%),
    rgba(8, 37, 30, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.featureCard::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(111, 240, 154, 0.18);
  border-radius: 50%;
}

.featureCard h3 {
  margin-top: 5rem;
}

.featureCard p {
  margin-bottom: 0;
}

.screenShowcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.screenRail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.3rem);
  align-items: start;
}

.appScreen {
  position: relative;
  margin: 0;
  padding: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 232, 163, 0.12), rgba(8, 37, 30, 0.8));
  box-shadow: var(--shadow);
}

.appScreen:nth-child(2) {
  margin-top: 3.3rem;
}

.appScreen:nth-child(3) {
  margin-top: 1.2rem;
}

.appScreen img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  object-fit: cover;
}

.appScreen figcaption {
  padding: 0.8rem 0.35rem 0.2rem;
  color: var(--gold);
}

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

.deviceMosaic {
  position: relative;
  min-height: 620px;
}

.deviceMosaic img {
  position: absolute;
  width: min(48vw, 310px);
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.mosaicMain {
  left: 0;
  top: 0;
}

.mosaicSmall {
  right: 6%;
  bottom: 0;
  transform: scale(0.82) rotate(5deg);
}

.linkList {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.linkList a {
  display: grid;
  gap: 0.45rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.linkList a:hover,
.linkList a:focus-visible {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: rgba(17, 160, 106, 0.12);
  outline: none;
}

.linkList span {
  color: var(--gold);
}

.linkList strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.6rem 0 3.4rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

footer p {
  max-width: 720px;
  margin-bottom: 0;
}

footer a {
  flex: 0 0 auto;
  color: var(--gold);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-visible {
  animation: revealUp 760ms var(--ease) both;
  animation-delay: var(--delay, 0ms);
}

.js .hero .reveal.is-visible {
  animation: none;
}

.legalPage {
  width: min(54rem, calc(100% - 2rem));
  padding: 2rem 0 4rem;
}

.textNav {
  display: flex;
  justify-content: flex-start;
  gap: 0.65rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.textNav a {
  color: var(--gold);
}

.legalHero {
  padding: 4rem 0 2rem;
}

.legalHero h1 {
  max-width: 18ch;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
}

.effective {
  margin: 1rem 0 0;
  color: var(--emerald);
  font-weight: 800;
}

.policy {
  display: grid;
  gap: 1px;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--line);
}

.policy section {
  padding: clamp(1.15rem, 4vw, 1.8rem);
  background: rgba(6, 35, 28, 0.96);
}

.policy h2 {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.policy p,
.policy li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.policy p {
  margin: 0;
}

.policy ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy li + li {
  margin-top: 0.55rem;
}

.policy a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanTabActive {
  0%, 43%, 100% {
    background: linear-gradient(180deg, #ffe092, var(--gold));
    color: #171006;
  }

  48%, 92% {
    background: transparent;
    color: var(--soft);
  }
}

@keyframes collectionTabActive {
  0%, 43%, 100% {
    background: transparent;
    color: var(--soft);
  }

  48%, 92% {
    background: rgba(17, 160, 106, 0.22);
    color: var(--mint);
  }
}

@keyframes scannerScene {
  0%, 39%, 100% {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }

  44%, 92% {
    opacity: 0;
    transform: translateX(-18px);
    visibility: hidden;
  }
}

@keyframes collectionScene {
  0%, 42%, 100% {
    opacity: 0;
    transform: translateX(18px);
    visibility: hidden;
  }

  47%, 92% {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }
}

@keyframes cardScanMotion {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, 20%) rotate(8deg) scale(0.92);
  }

  10%, 25% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-3deg) scale(1);
  }

  32%, 39% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-3deg) scale(0.96);
  }

  46% {
    opacity: 0;
    transform: translate(-78%, -50%) rotate(-10deg) scale(0.72);
  }
}

@keyframes intentionalScanLine {
  0%, 9%, 38%, 100% {
    opacity: 0;
    transform: translateY(0);
  }

  13% {
    opacity: 1;
    transform: translateY(0);
  }

  28% {
    opacity: 1;
    transform: translateY(185px);
  }

  34% {
    opacity: 0;
    transform: translateY(185px);
  }
}

@keyframes resultPulse {
  0%, 25%, 100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  31%, 42% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes libraryScroll {
  0%, 52% {
    transform: translateY(0);
  }

  86%, 100% {
    transform: translateY(-6.2rem);
  }
}

@keyframes navScanActive {
  0%, 43%, 100% {
    background: rgba(219, 179, 90, 0.2);
    color: var(--gold-2);
  }

  48%, 92% {
    background: transparent;
    color: var(--soft);
  }
}

@keyframes navCollectionActive {
  0%, 43%, 100% {
    background: transparent;
    color: var(--soft);
  }

  48%, 92% {
    background: rgba(17, 160, 106, 0.18);
    color: var(--mint);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .collectionSequence {
    display: none;
  }
}

@media (max-width: 1320px) {
  .siteHeader,
  main,
  footer {
    width: min(100% - 24px, 1100px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(1.4rem, 4vw, 3rem);
    min-height: auto;
    padding-top: clamp(1.2rem, 4vw, 3rem);
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.8rem, 10vw, 7rem);
  }

  .intro {
    max-width: 36rem;
  }

  .heroStage {
    width: min(760px, 100%);
    min-height: clamp(520px, 58vw, 650px);
    margin-inline: auto;
  }

  .phone {
    width: min(30vw, 245px);
  }

  .phoneBack {
    right: 30%;
  }
}

@media (max-width: 980px) {
  .hero,
  .screenShowcase,
  .deepPanel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .heroStage {
    min-height: 680px;
  }

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

  .screenShowcase {
    gap: 2rem;
  }

  .deviceMosaic {
    min-height: 600px;
  }

  .deviceMosaic img {
    width: min(58vw, 300px);
  }
}

@media (max-width: 700px) {
  .siteHeader,
  main,
  footer {
    width: min(340px, calc(100% - 24px));
    margin-left: 12px;
    margin-right: auto;
  }

  .siteHeader,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .siteHeader {
    position: relative;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    min-height: 2.35rem;
    padding-inline: 0.58rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.15rem, 16vw, 5.1rem);
  }

  .intro {
    max-width: 32ch;
    font-size: 1rem;
  }

  .heroStage {
    min-height: 560px;
  }

  .featurePlate {
    inset: 0 0 auto;
    transform: rotateX(4deg) rotateY(-8deg) rotateZ(-2deg);
  }

  .phone {
    width: min(54vw, 230px);
    min-width: 160px;
    border-radius: 22px;
  }

  .phoneFront {
    right: 0;
  }

  .phoneBack {
    right: 35%;
  }

  .metrics,
  .featureGrid {
    grid-template-columns: 1fr;
  }

  .screenRail {
    display: flex;
    gap: 0.9rem;
    margin-inline: -16px;
    padding: 0 16px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .appScreen {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
  }

  .appScreen:nth-child(2),
  .appScreen:nth-child(3) {
    margin-top: 0;
  }

  .deviceMosaic {
    min-height: 510px;
  }

  .deviceMosaic img {
    width: min(66vw, 250px);
    border-radius: 22px;
  }

  .mosaicSmall {
    right: 0;
  }
}

@media (max-width: 430px) {
  .siteHeader,
  main,
  footer {
    width: min(330px, calc(100% - 24px));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .heroStage {
    min-height: 500px;
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .sectionIntro h2,
  .showcaseCopy h2,
  .panelCopy h2 {
    max-width: 12ch;
  }

  .sectionIntro,
  .showcaseCopy,
  .panelCopy {
    max-width: 28ch;
  }

  .featureCard p,
  .showcaseCopy p,
  .panelCopy p {
    max-width: 28ch;
    font-size: 0.95rem;
  }

  .phoneBack {
    right: 31%;
  }

  .metrics div,
  .featureCard,
  .linkList a {
    min-height: auto;
  }

  .deviceMosaic {
    min-height: 460px;
  }
}
