:root {
  color-scheme: dark;
  --background: #080b10;
  --surface: rgba(19, 26, 35, 0.72);
  --surface-high: rgba(28, 37, 49, 0.82);
  --outline: rgba(107, 123, 145, 0.22);
  --outline-strong: rgba(139, 124, 255, 0.32);
  --accent: #8b7cff;
  --accent-blue: #347eff;
  --gold: #e7b95a;
  --text: #f4f7fb;
  --muted: #a0acbd;
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 10%, rgba(139, 124, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 16% 22%, rgba(231, 185, 90, 0.07), transparent 25rem),
    linear-gradient(180deg, #06080c 0%, var(--background) 38%, #05070a 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.42;
}

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

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

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.78;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-violet {
  top: 3vh;
  right: 3vw;
  width: min(46vw, 640px);
  height: min(46vw, 640px);
  background: rgba(139, 124, 255, 0.12);
}

.ambient-gold {
  top: 44vh;
  left: -14vw;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  background: rgba(231, 185, 90, 0.08);
  animation-delay: -7s;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.top-bar,
.hero,
.screen-story,
.axio-section,
.founding-idea,
.store-section,
.footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(139, 124, 255, 0.34);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(236, 241, 248, 0.14), rgba(20, 28, 37, 0.42)),
    rgba(25, 34, 45, 0.76);
  object-fit: cover;
  box-shadow:
    0 14px 28px rgba(139, 124, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.top-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 124, 255, 0.34);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(28, 26, 58, 0.38);
  color: rgba(244, 247, 251, 0.92);
  font-size: 0.8rem;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 520px);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  min-height: calc(100vh - 74px);
  padding: clamp(36px, 6vw, 78px) 0 clamp(72px, 9vw, 122px);
}

.hero-copy {
  padding-top: clamp(18px, 3vh, 34px);
}

.eyebrow,
h1,
h2,
p,
figure {
  margin-top: 0;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 124, 255, 0.5);
  border-radius: 16px;
  padding: 0 20px;
  background:
    linear-gradient(135deg, rgba(185, 174, 255, 0.98), rgba(139, 124, 255, 0.96)),
    var(--accent);
  box-shadow:
    0 20px 42px rgba(139, 124, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #070a0f;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 900;
}

.phone-feature,
.screen-stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 0;
}

.hero-visual,
.screen-stage,
.axio-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.halo {
  position: absolute;
  inset: 14% 2% auto;
  z-index: -1;
  height: 62%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(139, 124, 255, 0.2), transparent 62%),
    radial-gradient(circle at 72% 28%, rgba(231, 185, 90, 0.14), transparent 40%);
  filter: blur(28px);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 500ms ease;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--outline);
  background: rgba(8, 11, 16, 0.8);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(139, 124, 255, 0.08),
    inset 0 1px 0 rgba(232, 238, 248, 0.08);
  animation: phoneFloat 7s ease-in-out infinite;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 500ms ease, border-color 500ms ease, box-shadow 500ms ease;
}

.hero-visual:hover .phone-frame,
.screen-stage:hover .phone-frame {
  border-color: rgba(139, 124, 255, 0.38);
  box-shadow:
    0 42px 96px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(139, 124, 255, 0.16),
    0 0 64px rgba(139, 124, 255, 0.10),
    inset 0 1px 0 rgba(232, 238, 248, 0.08);
}

.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: #05070a;
  transform: translateX(-50%);
  content: "";
}

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

.phone-frame img.shot-crop-right {
  width: 107%;
  max-width: none;
  transform: translateX(-3.5%);
}

.hero-phone {
  width: min(100%, 410px);
  aspect-ratio: 1320 / 2868;
  border-radius: 42px;
  padding: 10px;
}

.story-phone {
  width: min(100%, 430px);
  aspect-ratio: 1320 / 2868;
  border-radius: 42px;
  padding: 10px;
  animation-delay: -2.5s;
}

.hero-phone img,
.story-phone img {
  border-radius: 32px;
}

.screen-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
  min-height: 92vh;
  padding: clamp(62px, 9vw, 126px) 0;
}

.screen-story.reverse {
  grid-template-columns: minmax(320px, 520px) minmax(260px, 0.78fr);
}

.screen-story.reverse .story-copy {
  order: 2;
}

.screen-story.reverse .screen-stage {
  order: 1;
}

.story-copy {
  align-self: center;
}

.story-copy h2,
.axio-copy h2,
.store-section h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5.2vw, 5.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.screen-stage::after {
  position: absolute;
  inset: 20% 8% 12%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(139, 124, 255, 0.12);
  filter: blur(42px);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 500ms ease;
  content: "";
}

.signal {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 160px;
  gap: 2px;
  border: 1px solid rgba(139, 124, 255, 0.26);
  border-radius: 18px;
  padding: 12px 14px;
  background:
    linear-gradient(145deg, rgba(244, 247, 251, 0.12), rgba(18, 25, 34, 0.58)),
    rgba(12, 17, 24, 0.72);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  color: var(--text);
  pointer-events: none;
  animation: signalFloat 6.8s ease-in-out infinite;
}

.signal span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.signal strong {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
}

.signal-left {
  left: 0;
}

.signal-right {
  right: 0;
}

.signal-hero-a {
  top: 17%;
  transform: translateX(-34%);
}

.signal-hero-b {
  bottom: 25%;
  transform: translateX(28%);
  animation-delay: -2.2s;
}

.story-signal {
  top: 18%;
  min-width: 178px;
  transform: translateX(28%);
}

.screen-story.reverse .story-signal {
  transform: translateX(-28%);
}

.axio-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 420px);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  min-height: 76vh;
  padding: clamp(60px, 9vw, 110px) 0;
}

.axio-section::before {
  position: absolute;
  inset: 18% 0 12% auto;
  z-index: -1;
  width: min(58vw, 640px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 54% 45%, rgba(139, 124, 255, 0.16), transparent 55%),
    radial-gradient(circle at 42% 62%, rgba(231, 185, 90, 0.09), transparent 44%);
  filter: blur(36px);
  content: "";
}

.axio-figure {
  width: min(100%, 390px);
  justify-self: center;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.42));
  animation: axioFloat 5.8s ease-in-out infinite;
}

.axio-stage {
  position: relative;
  display: grid;
  justify-items: center;
}

.axio-signal {
  right: 4%;
  bottom: 10%;
  border-color: rgba(231, 185, 90, 0.28);
  transform: translateX(22%);
}

.founding-idea {
  max-width: 920px;
  padding: clamp(76px, 11vw, 136px) 0;
}

.founding-idea p {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 5.4vw, 5.65rem);
  font-weight: 900;
  line-height: 0.96;
}

.founding-idea p + p {
  margin-top: 8px;
}

.founding-idea p:nth-child(2) {
  color: var(--muted);
}

.store-section {
  display: grid;
  justify-items: center;
  padding: clamp(78px, 12vw, 138px) 0 clamp(86px, 12vw, 150px);
  text-align: center;
}

.store-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border: 1px solid rgba(231, 185, 90, 0.24);
  border-radius: 22px;
  object-fit: cover;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(231, 185, 90, 0.12);
}

.store-section .eyebrow {
  color: var(--gold);
}

.store-section h2 {
  max-width: 680px;
}

.app-store-badge {
  display: grid;
  min-width: min(100%, 260px);
  min-height: 82px;
  align-content: center;
  margin-top: 34px;
  border: 1px solid rgba(232, 238, 248, 0.18);
  border-radius: 20px;
  padding: 13px 22px;
  background: #05070a;
  color: var(--text);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-store-badge:hover {
  border-color: rgba(139, 124, 255, 0.42);
  transform: translateY(-2px);
}

.app-store-badge span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.app-store-badge strong {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.reveal {
  animation: revealUp 780ms ease both;
}

.hero-visual {
  animation-delay: 120ms;
}

.motion-ready .reveal {
  opacity: 0;
  animation: none;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 880ms ease,
    transform 880ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-ready .screen-stage.reveal {
  transform: translateY(36px) scale(0.975);
}

.motion-ready .screen-stage.reveal.in-view {
  transform: translateY(0) scale(1);
}

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

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

@keyframes phoneFloat {
  0%,
  100% {
    transform:
      perspective(1100px)
      translateY(0)
      rotateX(var(--tilt-x))
      rotateY(var(--tilt-y))
      rotate(-0.6deg);
  }

  50% {
    transform:
      perspective(1100px)
      translateY(-12px)
      rotateX(var(--tilt-x))
      rotateY(var(--tilt-y))
      rotate(0.35deg);
  }
}

@keyframes axioFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.015);
  }
}

@keyframes signalFloat {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -10px;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-3%, 4%, 0) scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero,
  .screen-story,
  .screen-story.reverse,
  .axio-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .screen-story.reverse .story-copy,
  .screen-story.reverse .screen-stage {
    order: initial;
  }

  .hero {
    padding-top: 42px;
    text-align: left;
  }

  .hero-copy,
  .story-copy,
  .axio-copy {
    max-width: 720px;
  }

  .phone-feature,
  .screen-stage {
    justify-items: center;
  }

  .signal {
    min-width: 146px;
  }

  .signal-hero-a,
  .signal-hero-b,
  .story-signal,
  .screen-story.reverse .story-signal {
    transform: none;
  }

  .signal-hero-a {
    left: 3%;
  }

  .signal-hero-b,
  .story-signal {
    right: 3%;
  }

  .hero-phone,
  .story-phone {
    max-width: 360px;
  }

  .axio-section {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .top-bar,
  .hero,
  .screen-story,
  .axio-section,
  .founding-idea,
  .store-section,
  .footer {
    width: min(100% - 24px, var(--max-width));
  }

  .top-bar {
    padding: 14px 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .top-pill {
    min-height: 32px;
    padding: 0 11px;
  }

  h1 {
    font-size: clamp(3.7rem, 16vw, 5rem);
  }

  .hero-subtitle {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .hero-phone,
  .story-phone {
    max-width: 318px;
    border-radius: 36px;
    padding: 8px;
  }

  .hero-phone img,
  .story-phone img {
    border-radius: 28px;
  }

  .phone-frame::before {
    top: 8px;
    height: 18px;
  }

  .signal {
    display: none;
  }

  .screen-story {
    gap: 30px;
    padding: 68px 0;
  }

  .story-copy h2,
  .axio-copy h2,
  .store-section h2 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .axio-section {
    gap: 28px;
    padding: 72px 0;
  }

  .axio-figure {
    max-width: 300px;
  }

  .founding-idea p {
    font-size: clamp(2.35rem, 11vw, 4.2rem);
  }

  .app-store-badge {
    width: 100%;
  }

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
