:root {
  --surface: #f1fcf4;
  --surface-deep: #e5f1e8;
  --ink: #032217;
  --ink-soft: #2f4d3f;
  --muted: #424844;
  --line: #c1c8c2;
  --amber: #825500;
  --amber-soft: #ffc166;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--surface);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(173, 206, 188, 0.55), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(255, 193, 102, 0.28), transparent 55%),
    linear-gradient(165deg, #f7fdf9 0%, #e8f3ec 48%, #dfece4 100%);
}

.grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(3, 34, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 34, 23, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  animation: drift 28s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  right: -8%;
  top: 18%;
  background: radial-gradient(circle at 35% 35%, rgba(200, 234, 215, 0.9), rgba(26, 56, 43, 0.08) 70%);
  animation: float 9s ease-in-out infinite;
}

.orb-b {
  width: min(38vw, 280px);
  height: min(38vw, 280px);
  left: -6%;
  bottom: 8%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 221, 178, 0.75), rgba(130, 85, 0, 0.06) 72%);
  animation: float 11s ease-in-out infinite reverse;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 920px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  animation: markIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 36ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.store {
  min-width: min(100%, 220px);
  padding: 0.95rem 1.15rem;
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, var(--white) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.store:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ink) 28%, var(--line));
  background: var(--white);
}

.store-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.store-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--amber);
}

.foot {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-56px, -56px, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes markIn {
  from {
    opacity: 0;
    transform: scale(0.86) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@media (max-width: 560px) {
  .cta {
    flex-direction: column;
  }

  .store {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .brand-mark,
  .grid,
  .orb {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
