:root {
  --cream: #f8f6e8;
  --cream-deep: #efe9d2;
  --ink: #3e6545;
  --ink-soft: #5a7a5c;
  --pattern: rgba(62, 101, 69, 0.07);
  --card: #ffffff;
  --radius: 1.35rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  overflow: hidden;
}

.page__pattern {
  position: absolute;
  inset: -8%;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%233e6545' stroke-width='2' opacity='0.09'%3E%3Ccircle cx='40' cy='36' r='10'/%3E%3Ccircle cx='58' cy='30' r='8'/%3E%3Ccircle cx='54' cy='48' r='9'/%3E%3Cpath d='M48 56v18'/%3E%3Cpath d='M150 28c8 0 14 8 12 16-6 2-12-2-14-8-2-6 2-8 2-8z'/%3E%3Cpath d='M146 44c-2 10 4 18 12 20'/%3E%3Cpath d='M28 140c8-2 18 4 18 14s-10 14-18 12c-6-2-10-8-10-14s4-10 10-12z'/%3E%3Cpath d='M36 166v16'/%3E%3Cpath d='M170 150h18c2 8-2 18-12 20s-16-6-14-14c2-4 4-6 8-6z'/%3E%3Cpath d='M112 120c10-14 28-12 34 2 4 10-2 22-14 24s-22-6-20-16c0-4 0-6 0-10z'/%3E%3Cpath d='M90 170c12-4 22 6 20 16-10 6-22 2-26-8-2-6 0-8 6-8z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: drift 28s linear infinite;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  text-align: center;
  animation: enter 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0;
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
}

.slogan {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.soon {
  margin: 1.35rem 0 0;
  font-size: clamp(0.95rem, 3.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-soft);
}

.stores {
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.store {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.qr {
  position: relative;
  width: min(42vw, 9.5rem);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(62, 101, 69, 0.08);
  border: 1px solid rgba(62, 101, 69, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.qr__grid {
  position: absolute;
  inset: 14%;
  border-radius: 0.55rem;
  background:
    linear-gradient(90deg, var(--pattern) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(var(--pattern) 1px, transparent 1px) 0 0 / 12px 12px,
    var(--cream-deep);
  opacity: 0.95;
}

.qr__grid::before,
.qr__grid::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 22%;
  border: 2px solid rgba(62, 101, 69, 0.35);
  border-radius: 0.2rem;
}

.qr__grid::before {
  top: 8%;
  left: 8%;
  border-right: 0;
  border-bottom: 0;
}

.qr__grid::after {
  right: 8%;
  bottom: 8%;
  border-left: 0;
  border-top: 0;
}

.qr__label {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(62, 101, 69, 0.45);
}

.store figcaption {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-40px, -28px, 0);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page__pattern,
  .hero {
    animation: none;
  }
}
