:root {
  --bg-0: #0a110f;
  --bg-1: #0f1b17;
  --ink: #ecf3ef;
  --ink-soft: rgba(236, 243, 239, 0.80);
  --ink-mute: rgba(149, 175, 163, 0.86);
  --cyan: #84bfa4;
  --cyan-dim: rgba(132, 191, 164, 0.36);
  --line: rgba(199, 230, 214, 0.11);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background: var(--bg-0);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -10%, #162b23 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 48%, #070d0b 100%);
}

.sky__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.sky__glow--a {
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, rgba(132, 191, 164, 0.28), transparent 70%);
}

.sky__glow--b {
  width: min(70vw, 36rem);
  height: min(70vw, 36rem);
  bottom: 5%;
  left: -12%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.16), transparent 70%);
  animation-delay: -6s;
}

.sky__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 28% 42%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 62% 22%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 78% 58%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 88% 14%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 44% 72%, rgba(255, 255, 255, 0.25), transparent);
  opacity: 0.7;
  animation: twinkle 7s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.06); }
}

@keyframes twinkle {
  from { opacity: 0.45; }
  to { opacity: 0.8; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--space);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand__icon {
  border-radius: 0.55rem;
  box-shadow: 0 0 0 1px var(--line);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.top__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-mute);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.lang__btn.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn--ghost {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--cyan-dim);
}

.btn--primary {
  padding: 0.85rem 1.5rem;
  background: var(--cyan);
  color: #0a1611;
  border: 0;
}

.btn--primary:hover {
  background: #98ccb4;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100svh - 4.5rem);
  padding: 1.5rem var(--space) 3rem;
}

.hero__copy {
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.hero__lede {
  margin: 0 0 1.6rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
  max-width: 30rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.hero__visual {
  justify-self: center;
  width: min(100%, 22rem);
  animation: rise 1.1s 0.15s ease both, floaty 5.5s 1.2s ease-in-out infinite alternate;
}

.hero__shot {
  width: 100%;
  border-radius: 1.6rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.45);
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem var(--space);
  border-top: 1px solid var(--line);
}

.feature__text h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature__text p {
  margin: 0;
  color: var(--ink-mute);
  max-width: 28rem;
  font-size: 1.05rem;
}

.feature__shot {
  width: min(100%, 18rem);
  justify-self: center;
  border-radius: 1.35rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 18px 50px rgba(0, 0, 0, 0.35);
}

.closing {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--space) 4rem;
  border-top: 1px solid var(--line);
}

.closing__brand {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.closing__lede {
  margin: 0 auto 1.6rem;
  color: var(--ink-mute);
  max-width: 24rem;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--space) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot__note {
  margin: 0 0 1rem;
  color: var(--ink-mute);
  font-size: 0.88rem;
}

.foot__links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.foot__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.foot__links a:hover {
  color: var(--cyan);
}

.foot__copy {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.8rem;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
    padding-top: 2rem;
  }

  .hero__visual {
    justify-self: end;
    width: min(100%, 24rem);
  }

  .feature {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding-block: 4.5rem;
  }

  .feature--flip .feature__text {
    order: 2;
  }

  .feature--flip .feature__shot {
    order: 1;
    justify-self: start;
  }

  .feature__shot {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky__glow,
  .sky__stars,
  .hero__copy,
  .hero__visual {
    animation: none !important;
  }
}
