:root {
  --night: #071421;
  --deep: #0e1a2b;
  --midnight: #1a203a;
  --lavender: #a98cff;
  --purple: #7b61ff;
  --gold: #d8b15b;
  --muted-gold: #c4a04e;
  --text: #f5f3fa;
  --muted: #b8b0c8;
  --line: rgba(245, 243, 250, 0.1);
  --shell: min(1080px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--night);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(123, 97, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 82% 22%, rgba(216, 177, 91, 0.12), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, var(--deep) 52%, #09111d 100%);
}

.site-aurora {
  position: absolute;
  inset: -10% 0 auto;
  height: 55vh;
  background:
    radial-gradient(ellipse 40% 70% at 30% 40%, rgba(169, 140, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 35% 60% at 70% 30%, rgba(123, 97, 255, 0.12), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}

.site-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 42%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 67% 14%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 82% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 45% 28%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 91% 72%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 18% 78%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 55% 85%, rgba(255, 255, 255, 0.28), transparent);
  animation: twinkle 8s ease-in-out infinite alternate;
}

.site-moon {
  position: absolute;
  top: 8%;
  right: 7%;
  width: min(34vw, 220px);
  height: min(34vw, 220px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #f8f0d8 0%, #e6d4a0 40%, #c4a04e 100%);
  opacity: 0.42;
  animation: drift 16s ease-in-out infinite alternate;
}

.site-moon::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 22%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: rgba(14, 26, 43, 0.18);
}

.site-page {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 20, 33, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--gold);
}

.hero {
  min-height: calc(100vh - 4.25rem);
  min-height: calc(100dvh - 4.25rem);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  animation: rise 0.9s ease-out both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 10vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  animation: rise 0.9s ease-out 0.08s both;
}

.hero-tagline {
  margin: 0 auto 1rem;
  max-width: 18ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--lavender);
  animation: rise 0.9s ease-out 0.16s both;
}

.hero-text {
  margin: 0 auto 2rem;
  max-width: 38ch;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.08rem;
  animation: rise 0.9s ease-out 0.24s both;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  animation: rise 0.9s ease-out 0.32s both;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 200px;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(216, 177, 91, 0.32);
  background: rgba(26, 32, 58, 0.7);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-btn:hover,
.store-btn:focus-visible {
  color: var(--text);
  border-color: var(--gold);
  background: rgba(26, 32, 58, 0.92);
  transform: translateY(-2px);
}

.store-btn.is-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.9;
}

.store-btn i {
  font-size: 1.55rem;
  color: var(--gold);
}

.store-btn .eyebrow {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-gold);
  font-weight: 600;
}

.store-btn .name {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
}

.hero-note {
  margin: 0;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  animation: rise 0.9s ease-out 0.4s both;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about-inner h2,
.cta-inner h2 {
  margin: 0 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-head p,
.about-inner p,
.cta-inner p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.2rem;
}

.step-item h3,
.feature-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.step-item p,
.feature-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  max-width: 42ch;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(123, 97, 255, 0.16);
  color: var(--lavender);
  font-size: 1.2rem;
}

.about-section {
  padding-top: 2rem;
}

.about-inner {
  max-width: 38rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner p {
  max-width: 48ch;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-inner h2 {
  margin-bottom: 0.75rem;
}

.cta-inner p {
  margin-bottom: 1.75rem;
}

.cta-inner .store-actions {
  animation: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: rgba(184, 176, 200, 0.78);
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.35rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.footer-copy {
  margin: 0;
}

@keyframes twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(14px) scale(1.03); }
}

@keyframes aurora {
  from { transform: translateY(0) scale(1); opacity: 0.85; }
  to { transform: translateY(18px) scale(1.05); opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(7, 20, 33, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(245, 243, 250, 0.06);
  }

  .site-menu a:last-child {
    border-bottom: 0;
  }

  .site-moon {
    opacity: 0.24;
    width: 140px;
    height: 140px;
  }

  .hero {
    padding: 3.25rem 0 4rem;
  }

  .step-item {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.9rem;
  }
}

@media (min-width: 821px) {
  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-stars,
  .site-moon,
  .site-aurora,
  .hero-icon,
  .hero-brand,
  .hero-tagline,
  .hero-text,
  .store-actions,
  .hero-note {
    animation: none !important;
  }
}
