:root {
  --bg: #030507;
  --bg-deep: #000000;
  --ink: #eef5ff;
  --ink-soft: #9aa8c0;
  --line: rgba(57, 255, 208, 0.18);
  --brand: #39ffd0;
  --brand-deep: #1fd6b0;
  --hero-ink: #f7fcff;
  --glow: 0 0 32px rgba(57, 255, 208, 0.35);
  --font-display: "Eczar", "Times New Roman", serif;
  --font-body: "Eczar", "Times New Roman", serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg-deep);
  overflow-x: hidden;
  position: relative;
}

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

.site-backdrop__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.05) brightness(0.55);
  animation: hero-cinematic 26s ease-in-out infinite alternate;
}

.site-backdrop__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.78) 68%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(600px 360px at 50% 40%, rgba(57, 255, 208, 0.12), transparent 70%),
    radial-gradient(500px 300px at 85% 70%, rgba(255, 138, 31, 0.08), transparent 65%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--brand);
  color: #04110d;
  border-radius: 10px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1rem var(--space);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.4rem);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-past-hero {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header__inner,
.site-footer__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.82;
  color: var(--hero-ink);
  text-shadow: 0 0 18px rgba(57, 255, 208, 0.35);
}

.brand-mark span {
  display: block;
}

.brand-mark span:last-child {
  padding-left: 0.35em;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--hero-ink);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero__content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 5.5rem var(--space);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.82;
  color: var(--hero-ink);
  text-shadow: 0 0 28px rgba(57, 255, 208, 0.28);
  outline: none;
  animation: studio-reveal 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__brand span {
  display: block;
}

.hero__brand span:last-child {
  padding-left: 0.35em;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.75rem);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.45;
  color: var(--ink-soft);
  transition: opacity 0.25s ease, color 0.25s ease;
  animation: studio-fade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  opacity: 0.8;
  color: var(--hero-ink);
}

.hero__scroll:focus-visible {
  outline: 1px solid rgba(57, 255, 208, 0.45);
  outline-offset: 4px;
  border-radius: 999px;
}

.hero__scroll-mouse {
  position: relative;
  width: 1.15rem;
  height: 1.85rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.hero__scroll-dot {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--brand);
  color: #04110d;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  background: #64ffe0;
  box-shadow: 0 0 36px rgba(57, 255, 208, 0.45);
}

.btn--secondary {
  border: 1px solid rgba(120, 220, 255, 0.28);
  color: var(--ink);
  background: rgba(12, 18, 28, 0.7);
}

.btn--secondary:hover {
  border-color: rgba(57, 255, 208, 0.55);
  background: rgba(18, 28, 40, 0.95);
  box-shadow: 0 0 18px rgba(57, 255, 208, 0.15);
}

.app-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
  margin-top: 1.35rem;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(232, 238, 247, 0.25));
}

.store-badge:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.store-badge img {
  width: 150px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.btn--site {
  width: 150px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  border-radius: 8px;
  font-size: 0.95rem;
}

.app-panel {
  box-sizing: border-box;
  min-height: 100svh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(4.5rem, 10vh, 6rem) var(--space) clamp(1.5rem, 4vh, 2.5rem);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.sendoff {
  box-sizing: border-box;
  position: relative;
  min-height: 100svh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(4.5rem, 10vh, 6rem) var(--space) clamp(1.25rem, 3vh, 2rem);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.7) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.sendoff__content {
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
}

.sendoff__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--hero-ink);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.sendoff.is-active .sendoff__title {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.app-feature {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.45rem;
  width: min(100%, var(--max));
  margin-inline: auto;
  color: var(--accent);
  text-align: center;
}

.app-feature__body {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 40rem);
}

.app-feature__icon {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 10px var(--accent));
}

.app-feature h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
  color: var(--hero-ink);
}

.app-feature__tag {
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.app-feature p:not(.app-feature__tag) {
  max-width: 40rem;
  color: var(--ink-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.meta-row li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.meta-row li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--accent, var(--brand));
  box-shadow: 0 0 8px var(--accent, var(--brand));
  vertical-align: 0.1rem;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.85rem var(--space) 1.15rem;
  border-top: 1px solid transparent;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72) 45%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.55rem);
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
}

.site-footer.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-top-color: var(--line);
}

.site-footer__inner {
  display: flex;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer__meta {
  text-align: center;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  max-width: 40rem;
}

.site-footer__sep {
  margin: 0 0.45rem;
  opacity: 0.55;
}

.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  transform: translateY(0);
}

@keyframes studio-reveal {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes studio-fade {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes scroll-cue {
  0%,
  20% {
    opacity: 0.9;
    transform: translateX(-50%) translateY(0);
  }
  60% {
    opacity: 0.15;
    transform: translateX(-50%) translateY(0.55rem);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0.7rem);
  }
}

@keyframes hero-cinematic {
  from {
    transform: scale(1.12) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(-1%, -1.2%, 0);
  }
}

@media (max-width: 720px) {
  .app-feature h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .app-feature__tag {
    font-size: 0.95rem;
  }
}

@media (max-height: 700px) {
  .app-panel {
    padding-top: 3.5rem;
    padding-bottom: 1rem;
  }

  .app-feature__icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 0.45rem;
  }

  .app-feature__actions {
    margin-top: 0.85rem;
  }
}

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

  .site-backdrop__media,
  .hero__brand,
  .hero__scroll,
  .hero__scroll-dot,
  .reveal,
  .sendoff__title {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .site-footer {
    transition: none;
  }

  .hero__scroll {
    opacity: 0.45 !important;
    transform: translateX(-50%) !important;
  }

  .hero__scroll-dot {
    transform: translateX(-50%) !important;
  }

  .site-header {
    transition: none;
  }
}
